/* ─── RESET & BASE ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

/* `hidden` es una promesa de que algo no está, y el CSS del proyecto la incumple
   en cuanto un bloque define `display: flex`. Eso pasó con todos los campos que
   el itinerario decide no preguntar: en el DOM estaban escondidos y en pantalla
   seguían occupying su sitio. Esta regla cierra la puerta por si vuelve a pasar
   con un bloque nuevo, sin tener que acordarse de escribir la suya. */
[hidden] { display: none !important; }

/* ─── SECTION NAV (persistent top buttons) ─── */
.section-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(30, 59, 46, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* El carril de los botones. Se queda con todo el ancho que deja el selector de
   idioma y se desplaza en horizontal cuando los cinco botones no caben: así la
   barra nunca crece en alto (no tapa el contenido) ni deja un botón debajo del
   selector. */
.section-nav-carril {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Los bordes se difuminan: a 390px los cinco botones miden 482px y el carril
     deja 243, así que un rótulo se corta a media palabra ("Tr…"). Sin ninguna
     señal, eso se lee como un fallo de maquetación; el degradado dice que sigue
     habiendo botones hacia ese lado. */
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  /* `safe` centra cuando caben y alinea al inicio cuando no, para que al
     desplazar no quede el primer botón fuera de alcance. */
  justify-content: center;
  justify-content: safe center;
}
.section-nav-carril::-webkit-scrollbar { display: none; }

.section-nav-logo {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.section-nav-logo img { width: 100%; height: 100%; display: block; }

.section-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  /* Blanco al 70% sobre el verde oscuro del nav daba ~2:1. Subido a 0.92 para
     cumplir AA (4.5:1) sin perder la jerarquía visual del inactivo. */
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
  /* Objetivo táctil mínimo en vertical: la barra se muestra también en
     pantallas anchas donde se puede tocar. */
  min-height: 44px;
}

.section-nav-btn:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.section-nav-btn.active {
  /* La sección activa se marca con el fondo verde; el texto va en verde
     oscuro para no caer en 1.98:1 como el resto de CTA verdes. */
  color: #0b3d1f;
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

/* ─── SPA TRANSITIONS ─── */
.spa-section {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.spa-visible {
  opacity: 1;
  transform: translateY(0);
}
.spa-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* ─── LINKTREE HERO (replaces old hero) ─── */
.linktree-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
}
#linktree-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.linktree-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 59, 46, 0.65) 0%, rgba(50, 100, 70, 0.60) 100%);
  z-index: -1;
  pointer-events: none;
}
.linktree-card {
  max-width: 400px;
  width: 100%;
  background: transparent;
  border-radius: 44px 44px 32px 32px;
  padding: 40px 28px 28px;
  text-align: center;
  position: relative;
}
.linktree-card::before {
  content: "🌿";
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 6rem;
  opacity: 0.12;
  transform: rotate(25deg);
  pointer-events: none;
}
.linktree-card::after {
  content: "🌱";
  position: absolute;
  bottom: -10px;
  left: -10px;
  font-size: 4.5rem;
  opacity: 0.12;
  transform: rotate(-15deg);
  pointer-events: none;
}
.linktree-card .profile { margin-bottom: 20px; }
.linktree-card .profile-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(217, 227, 212, 0.85), rgba(184, 205, 176, 0.85));
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.4);
}
.linktree-card .profile h1 {
  font-size: 1.5rem; font-weight: 700; color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.linktree-card .profile p {
  font-size: 0.95rem; color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.linktree-card .profile p span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  padding: 2px 14px; border-radius: 40px;
  font-size: 0.75rem; color: white; font-weight: 600;
  margin-top: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.linktree-card .links-grid { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 20px; }
.linktree-card .link-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 60px;
  font-weight: 600; font-size: 1rem;
  color: #1e3b2e; text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-family: 'Quicksand', sans-serif;
}
.linktree-card .link-btn .icon { font-size: 1.6rem; }
.linktree-card .link-btn .arrow { margin-left: auto; font-size: 1.2rem; opacity: 0.35; }
.linktree-card .link-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.linktree-card .link-btn:active { transform: scale(0.97); }
.linktree-card .link-btn.whatsapp {
  background: rgba(37, 211, 102, 0.78);
  border-color: rgba(37, 211, 102, 0.4); color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.linktree-card .link-btn.whatsapp:hover { background: rgba(37, 211, 102, 0.92); }
.linktree-card .social-bar { display: flex; justify-content: center; gap: 24px; margin: 16px 0 10px; }
.linktree-card .social-bar a {
  font-size: 1.5rem; color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: color 0.2s, transform 0.2s;
}
.linktree-card .social-bar a:hover { color: white; transform: scale(1.1); }
.linktree-card .social-bar a:active { transform: scale(0.95); }
.linktree-card .footer-text {
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.65);
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}
.linktree-card .footer-text a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.linktree-card .footer-text a:hover { text-decoration: underline; color: white; }

@media (max-width: 420px) {
  .section-nav { gap: 4px; padding: 8px 10px; }
  .section-nav-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 4px;
    /* Antes 34px de alto: por debajo del mínimo táctil. */
    min-height: 44px;
  }
  .linktree-card { padding: 28px 18px 24px; }
  .linktree-card .profile-avatar { width: 76px; height: 76px; font-size: 2.4rem; }
  .linktree-card .profile h1 { font-size: 1.3rem; }
  .linktree-card .link-btn { padding: 14px 16px; font-size: 0.9rem; }
  .linktree-card .link-btn .icon { font-size: 1.4rem; }
}

body {
  font-family: 'Quicksand', 'Segoe UI', system-ui, sans-serif;
  background: #f3efe8;
  color: #1e3b2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── FONDO DE VÍDEO DE TODA LA PÁGINA ─── */
/* Una capa fija por detrás del contenido. El velo claro existe porque el texto
   del sitio es verde oscuro: sin él, sobre la imagen no se leería. `pointer-events`
   en `none` para que no se coma un clic que iba a un botón. */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #f3efe8;
}
.bg-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bg-video-velo {
  position: absolute;
  inset: 0;
  background: rgba(243, 239, 232, 0.86);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

@media (max-width: 640px) {
  section {
    padding: 48px 0;
  }
}

/* Ese aire de las secciones es para las secciones de la página, que llenan el
   ancho entre bloques muy separados. Los dos pasos del itinerario también son
   `<section>`, pero viven dentro de un panel flotante que ya tiene su propio
   margen: con la regla global, el formulario empezaba 80 px por debajo de donde
   debía, con un hueco vacío encima que parecía que faltaba algo por cargar. */
.itin-inner > section {
  padding: 0;
}

/* ====== WHATSAPP FLOAT ====== */
/* ─── LAS ACCIONES FLOTANTES ──────────────────────────────────────────────────

   Un solo contenedor para todos los botones de la esquina. Antes cada uno llevaba
   su `position: fixed` con el mismo `bottom` y el mismo `right`: se pisaban, y el
   de arriba tapaba al de abajo sin que ninguno pareciera roto.

   Apilados, el orden es explícito y añadir un tercero no obliga a recalcular
   coordenadas. Hoy queda uno solo —el itinerario, que desaparece al terminar la
   reserva—; WhatsApp salió de acá y se contacta desde el chat. */

.acciones-flotantes {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 19100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

/* Los hijos no fijan su posición: donde estén, lo pone la columna. Sin esto
   seguirían fuera del contenedor y el apilado no significaría nada.
   `pointer-events` se devuelve a los hijos porque el contenedor no los necesita:
   es un hueco invisible alrededor que, si capturara clics, taparía la página. */
.acciones-flotantes > .itin-flotante {
  position: static;
  right: auto;
  bottom: auto;
  z-index: auto;
  pointer-events: auto;
}

/* ====== LANG PILL ====== */
/* El selector de idioma vive DENTRO de la barra, a la derecha de los botones.
   No lleva fondo ni sombra propios: se lee como parte de la barra, no como una
   píldora flotante encima. */
.lang-pill {
  position: static;
  flex: 0 0 auto;
  display: flex;
  background: transparent;
  border-radius: 30px;
  padding: 0;
  gap: 2px;
}
.lang-pill-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Quicksand', sans-serif;
}
.lang-pill-btn.active {
  background: #25d366;
  /* Verde oscuro sobre el verde de WhatsApp: el blanco daba 1.98:1 y era
     ilegible. Ahora 6.22:1 (AA). */
  color: #0b3d1f;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}
.lang-pill-btn:hover:not(.active) { color: white; }
@media (max-width: 640px) {
  /* Tamaño táctil mínimo recomendado (WCAG 2.5.5): 44px de alto.
     Antes 27x42 en tablet y 22x36 en móvil. */
  .lang-pill-btn {
    font-size: 0.78rem;
    padding: 11px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
/* En tablet y desktop el selector de idioma medía 27px de alto: por debajo del
   mínimo táctil incluso con ratón. */
@media (min-width: 641px) {
  .lang-pill-btn { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ====== LINKTREE LANDING ====== */
.linktree-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  background: linear-gradient(160deg, #f3efe8 0%, #e8ede2 100%);
}
.linktree-card {
  max-width: 400px;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(2px);
  border-radius: 44px 44px 32px 32px;
  padding: 40px 28px 28px;
  box-shadow: 0 20px 60px rgba(60, 80, 60, 0.12), 0 8px 24px rgba(60, 80, 60, 0.04);
  text-align: center;
  border: 1px solid rgba(180, 195, 170, 0.15);
  position: relative;
  overflow: hidden;
}
.linktree-card::before {
  content: "🌿";
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 6rem;
  opacity: 0.04;
  transform: rotate(25deg);
  pointer-events: none;
}
.linktree-card::after {
  content: "🌱";
  position: absolute;
  bottom: -10px;
  left: -10px;
  font-size: 4.5rem;
  opacity: 0.04;
  transform: rotate(-15deg);
  pointer-events: none;
}
.profile { margin-bottom: 20px; }
.profile-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d9e3d4, #b8cdb0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 6px 16px rgba(80, 110, 80, 0.15);
  border: 4px solid white;
  overflow: hidden;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3b2e;
  letter-spacing: -0.3px;
}
.profile p {
  font-size: 0.95rem;
  color: #5a7565;
  font-weight: 400;
  margin-top: 2px;
  padding: 0 10px;
}
.profile p span {
  display: inline-block;
  background: #eef4eb;
  padding: 2px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  color: #3a5a48;
  font-weight: 600;
  margin-top: 6px;
}
.links-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 20px;
}
.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: white;
  border: 1.5px solid #e4ece0;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  color: #1e3b2e;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  font-family: 'Quicksand', sans-serif;
}
.link-btn .icon { font-size: 1.6rem; line-height: 1; }
.link-btn .arrow {
  margin-left: auto;
  font-size: 1.2rem;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.link-btn:hover {
  background: #f5faf4;
  border-color: #8aaa80;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(70, 110, 70, 0.08);
}
.link-btn:hover .arrow { opacity: 0.8; }
.link-btn.whatsapp {
  background: #e5f2e5;
  border-color: #b3d0b3;
}
.link-btn.whatsapp:hover {
  background: #d4e8d4;
  border-color: #7aaa7a;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.12);
}
.link-btn.reserva {
  background: #eef4ee;
  border-color: #b3d0b3;
}
.link-btn.reserva:hover {
  background: #e2efe2;
  border-color: #7aaa7a;
  box-shadow: 0 8px 20px rgba(30, 59, 46, 0.12);
}
.social-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0 10px;
}
.social-bar a {
  font-size: 1.5rem;
  color: #5a7565;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}
.social-bar a:hover {
  color: #1e3b2e;
  transform: scale(1.1);
}
.footer-text {
  font-size: 0.75rem;
  color: #8fa396;
  margin-top: 16px;
  letter-spacing: 0.3px;
  border-top: 1px solid #ecf1ea;
  padding-top: 16px;
}
.footer-text a {
  color: #4a7a5a;
  text-decoration: none;
  font-weight: 600;
  /* Enlaces de contacto sueltos dentro de un <p>: su alto dependía de la
     línea y quedaban en ~22px, por debajo del mínimo táctil. Se agranda el área
     sin alterar el diseño ni el tamaño del texto. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
}
.footer-text a:hover { text-decoration: underline; }

@media (max-width: 420px) {
  .linktree-card { padding: 28px 18px 24px; border-radius: 32px; }
  .profile-avatar { width: 76px; height: 76px; font-size: 2.4rem; }
  .profile h1 { font-size: 1.3rem; }
  .link-btn { padding: 14px 16px; font-size: 0.9rem; }
  .link-btn .icon { font-size: 1.4rem; }
}
@media (max-width: 360px) {
  .linktree-card { padding: 20px 14px; }
  .link-btn { padding: 12px 12px; font-size: 0.85rem; gap: 8px; }
  .link-btn .icon { font-size: 1.2rem; }
}

/* ====== SECTION TITLES ====== */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #1e3b2e;
  letter-spacing: -0.3px;
}
.section-sub {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 44px;
  font-size: 1.1rem;
  color: #5a7565;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ====== VIDEO CONTAINER ====== */
/* El vídeo es vertical: 720×1280, que es 9:16 clavado.

   El contenedor no lo era —449×400, proporción 1,12— y `object-fit: cover` lo
   recortaba por arriba y por abajo para encajarlo. Se veía una franja de un
   vídeo grabado en vertical, que es justo lo que no se quiere: el encuadre está
   pensado para eso.

   Así que se le da la proporción al CONTENEDOR y el alto al vídeo, no al revés.
   El ancho sale de la proporción: 400 px de alto son 225 px de ancho. */

/* La rejilla del bloque de contacto reparte el ancho a partes iguales, pero un
   vídeo vertical en la mitad derecha deja más de 200 px de borde muerto a cada
   lado. La segunda columna pasa a medir lo que ocupa: el vídeo toma lo suyo y el
   texto se lleva el resto, sin huecos que disimular.

   Solo por encima de 900 px, que es donde la rejilla todavía tiene dos columnas.
   Por debajo se apila, y entonces la pregunta ni se plantea. */
@media (min-width: 901px) {
  .grid-2.hero-video { grid-template-columns: minmax(0, 1fr) auto; }
}

.tour-video-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  height: min(500px, 80vh);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  user-select: none;
  -webkit-user-select: none;
}

/* El vídeo ocupa el contenedor entero. Los `max-height` y `min-height` de antes
  chocan con la proporción: si el contenedor baja de 280 px —en un móvil corto— el
   mínimo del vídeo lo desbordaría. */
.tour-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: #0a2a20;
}
.tour-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tour-video-container::after {
  content: "🎬 Amazonas Colombia";
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(30, 59, 46, 0.85);
  color: white;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
}

/* ====== CARD ====== */
.card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(60, 80, 60, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(60, 80, 60, 0.10); }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; color: #1e3b2e; }
.card .price { font-weight: 700; color: #2a7a50; font-size: 1.2rem; margin: 8px 0; }
.card .badge { display: inline-block; background: #eef4eb; padding: 4px 14px; border-radius: 30px; font-size: 0.8rem; font-weight: 600; color: #1e3b2e; margin-bottom: 8px; }
.card ul { list-style: none; margin: 12px 0; }
.card ul li { padding: 4px 0 4px 24px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%232a7a50" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') left center no-repeat; background-size: 16px; }

.btn-card {
  display: inline-block;
  background: #1e3b2e;
  color: white;
  padding: 12px 30px;
  border-radius: 60px;
  font-weight: 600;
  margin: 10px 8px 0 0;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: 'Quicksand', sans-serif;
}
.btn-card:hover { background: #2a6a4a; transform: translateY(-1px); }
.btn-card:active { transform: scale(0.97); }

/* ====== TOURS ====== */
.tours-section { background: transparent; }

/* ====== FILTERS ====== */
/* Barra de filtros: compacta y pegada arriba mientras se recorre el listado.
   Antes ocupaba una tarjeta de ~100px y se iba con el scroll, así que cambiar
   de origen o duración obligaba a subir otra vez. `top` coincide con
   `scroll-padding-top` (el alto del nav fijo) para no quedar debajo de él. */
.filter-bar {
  position: sticky;
  top: 70px;
  z-index: 9000;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid #e4ece0;
  border-radius: 18px;
  padding: 8px 14px;
  box-shadow: 0 10px 24px -18px rgba(30, 59, 46, 0.55);
}
.filter-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.filter-label { font-weight: 700; color: white; font-size: 0.84rem; background: #1e3b2e; padding: 4px 12px; border-radius: 30px; white-space: nowrap; }
.filter-btn {
  background: white;
  border: 1.5px solid #c5d0bc;
  color: #5a7565;
  padding: 5px 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.2;
  min-height: 36px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Quicksand', sans-serif;
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: #2a6a4a;
  color: #2a6a4a;
  box-shadow: 0 4px 12px rgba(30, 59, 46, 0.08);
}
.filter-btn.active {
  background: #1e3b2e;
  border-color: #1e3b2e;
  color: white;
  box-shadow: 0 4px 12px rgba(30, 59, 46, 0.18);
}
.filter-btn:active { transform: scale(0.97); }
.filter-count { text-align: center; margin-bottom: 14px; color: #5a7565; font-size: 0.9rem; }

/* ====== ACCORDION ====== */
/* Una tarjeta por fila: la foto manda. En pantallas anchas la imagen ocupa la
   mitad izquierda a toda altura; el texto respira a la derecha. */
.tour-accordion { display: grid; grid-template-columns: 1fr; gap: 26px; transition: opacity 0.15s ease; }
.tour-accordion.is-filtering { opacity: 0; }
.tour-item {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: white;
  border: 1px solid #e7ece3;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(30, 59, 46, 0.05);
  overflow: hidden;
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}
.tour-item:hover {
  box-shadow: 0 22px 44px -22px rgba(30, 59, 46, 0.35);
  border-color: #d6e1d2;
}

/* La imagen se estira con la fila (position absolute + inset) para que nunca
   quede una franja vacía si el texto crece. */
.tour-media { position: relative; min-height: 220px; background: #dfe7dc; overflow: hidden; }
.tour-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.tour-item:hover .tour-media img { filter: brightness(1.08) saturate(1.06); }
/* Velo suave arriba y abajo: da contraste a la insignia y al precio sin
   apagar la foto. */
.tour-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0) 38%);
}
.tour-media-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tour-media-top .origin-badge { margin: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22); }
.tour-media-top .tour-price {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px 30px 28px;
  cursor: pointer;
  background: white;
  transition: background 0.2s;
  gap: 16px;
}
.tour-header:hover { background: #f7faf6; }
.tour-header:focus-visible { outline: 2px solid #2a7a50; outline-offset: -2px; }
.tour-header-left { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.tour-header-left h2 { font-size: 1.45rem; font-weight: 700; color: #1e3b2e; line-height: 1.2; letter-spacing: -0.01em; }
.tour-header-left .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: #5a7565; }
.tour-header-left .meta strong { color: #1e3b2e; }
.tour-price { font-weight: 700; font-size: 0.95rem; color: #1e5c3a; background: #eef4eb; padding: 5px 14px; border-radius: 40px; white-space: nowrap; }
.tour-toggle {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef4eb;
  color: #1e3b2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  user-select: none;
  transition: transform 0.3s ease, background 0.2s ease;
}
.tour-header:hover .tour-toggle { background: #dce8d8; }
.tour-toggle.open { transform: rotate(180deg); }

/* El cuerpo cruza las dos columnas: se lee como una ficha, no como un
   acordeón angosto. */
.tour-body {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease;
  padding: 0 30px;
  background: white;
}
.tour-body.open { max-height: 2800px; padding: 0 30px 30px; }
.tour-body-inner { border-top: 1px solid #edede6; padding-top: 18px; }
.tour-body-inner h3 { font-size: 1.05rem; font-weight: 700; color: #1e3b2e; margin: 18px 0 6px; }
.tour-body-inner h3:first-of-type { margin-top: 0; }
.tour-body-inner p { margin-bottom: 10px; line-height: 1.7; color: #3a5a48; font-size: 0.92rem; }
.tour-body-inner ul { list-style: none; padding-left: 0; }
.tour-body-inner ul li { padding: 4px 0 4px 24px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%232a7a50" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') left center no-repeat; background-size: 16px; font-size: 0.92rem; }
.tour-body-inner .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 10px 0; }
.tour-body-inner .highlight-box { background: #f6faf6; padding: 16px 20px; border-radius: 14px; border-left: 4px solid #1e3b2e; margin: 14px 0; color: #3a5a48; font-size: 0.92rem; }

/* ─── Tour price calculator ─── */
.tour-calc {
  background: #f6faf6;
  border: 1px solid #dce8d8;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 14px 0;
}
.tour-calc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.tour-calc-row:last-child { margin-bottom: 0; }
.tour-calc-label { font-size: 0.88rem; font-weight: 500; color: #3a5a48; }
.tour-calc-total-row { padding-top: 8px; border-top: 1px solid #dce8d8; }
.tour-calc-price { font-weight: 700; font-size: 1rem; color: #2a7a50; }

/* Selector de opción del tour: la tabla puede traer varias (paseo, safari, noche
   en cabaña…). Se reserva la que se elija, no solo la base. */
.tour-option-select {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cfd8cf;
  background: #fff;
  color: #1e3b2e;
  font-family: inherit;
  font-size: 0.9rem;
}
/* Aviso de la opción elegida dentro del modal de reserva (solo lectura). */
.form-option-note {
  margin: 8px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b6b3a;
  background: #e8f7ee;
  border: 1px solid #bfe6cd;
  border-radius: 10px;
  padding: 8px 12px;
}
.tour-pax-stepper { display: inline-flex; align-items: center; border: 1.5px solid #c5d0bc; border-radius: 8px; overflow: hidden; height: 32px; }
.tour-pax-stepper .pax-btn {
  /* 44px: el mínimo táctil recomendado. Antes 32x32, que en móvil obliga a
     apuntar con precisión. */
  width: 44px;
  height: 44px;
  font-size: 1.15rem;
  background: white;
  border: none;
  cursor: pointer;
  color: #1e3b2e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.tour-pax-stepper .pax-btn:hover { background: #dce8d8; }
.tour-pax-stepper .pax-value { min-width: 32px; text-align: center; font-weight: 700; font-size: 0.95rem; color: #1e3b2e; background: white; user-select: none; }
.tour-body-inner .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; border-radius: 12px; border: 1px solid #e9e9e2; }
.tour-body-inner .table-wrap table { min-width: 360px; width: 100%; font-size: 0.85rem; }
.tour-body-inner .table-wrap table th, .tour-body-inner .table-wrap table td { padding: 8px 12px; white-space: nowrap; }

.origin-badge {
  display: inline-block;
  background: #f1c40f;
  padding: 3px 10px;
  border-radius: 30px;
  /* 0.65rem ≈ 10.4px: ilegible en móvil con luz solar. */
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e3b2e;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tour-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 2px 0;
}

.tour-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tour-tag {
  display: inline-block;
  background: #e9f0ea;
  color: #2a6a4a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid #cfe0d4;
  white-space: nowrap;
}

.tour-difficulty {
  display: inline-block;
  background: #fdf3e2;
  /* #b8860b sobre #fdf3e2 daba 2.96:1. Este marrón oscuro llega a 5.4:1. */
  color: #7a5a05;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid #ecd8b0;
  white-space: nowrap;
}

.btn-reserva {
  display: inline-block;
  background: #1e3b2e;
  color: white;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 60px;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: 'Quicksand', sans-serif;
}
.btn-reserva:hover { background: #2a6a4a; transform: scale(1.02); }
.btn-reserva.whatsapp { background: #25d366; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25); }
.btn-reserva.whatsapp:hover { background: #1ebe5c; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35); }

.btn-download-pdf {
  display: inline-block;
  background: #f3efe8;
  color: #1e3b2e;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 60px;
  text-decoration: none;
  margin-top: 12px;
  margin-left: 8px;
  border: 1.5px solid #1e3b2e;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: 'Quicksand', sans-serif;
}
.btn-download-pdf:hover { background: #1e3b2e; color: white; transform: scale(1.02); }

/* ====== PRICING TABLE ====== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: white; border-radius: 24px; box-shadow: 0 4px 16px rgba(60, 80, 60, 0.06); padding: 4px; }
.price-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.95rem; background: white; }
.price-table thead { background: #1e3b2e; color: white; }
.price-table thead th { padding: 16px 14px; text-align: left; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.3px; white-space: nowrap; }
.price-table tbody tr { border-bottom: 1px solid #edede6; transition: background 0.15s; }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table tbody tr:hover { background: #f3f8f3; }
.price-table tbody td { padding: 12px 14px; vertical-align: middle; }
.footnote { margin-top: 24px; padding: 20px 24px; background: #f6f9f6; border-radius: 16px; border-left: 4px solid #1e3b2e; font-size: 0.95rem; color: #3a5a48; }
.footnote strong { color: #1e3b2e; }
.footnote a { color: #2a6a4a; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.footnote a:hover { text-decoration: underline; }

/* ====== HOTEL / ROOMS ====== */
.hotel-section { background: #edf2ea; }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.room-card { background: white; border-radius: 24px; box-shadow: 0 4px 16px rgba(60, 80, 60, 0.05); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; display: flex; flex-direction: column; }
.room-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(60, 80, 60, 0.10); }
.room-image { width: 100%; height: 180px; position: relative; overflow: hidden; background: #1e3b2e; }
.room-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 0.4s ease, opacity 0.4s ease; }
.room-card:hover .room-image img { filter: brightness(1.08) saturate(1.06); }
.room-image .badge-top { position: absolute; top: 10px; right: 10px; background: #f1c40f; color: #1e3b2e; font-weight: 700; font-size: 0.75rem; padding: 3px 10px; border-radius: 30px; text-transform: uppercase; letter-spacing: 0.5px; z-index: 2; }
.room-body { padding: 18px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.room-body h3 { font-size: 1.1rem; font-weight: 700; color: #1e3b2e; margin-bottom: 4px; }
.room-body .room-desc { font-size: 0.88rem; color: #5a7565; margin-bottom: 10px; }
.room-body .room-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.83rem; color: #3d5a4b; margin-bottom: 12px; }
.room-body .room-meta span { display: flex; align-items: center; gap: 4px; }
.room-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.room-price .amount { font-size: 1.6rem; font-weight: 700; color: #2a7a50; }
.room-price .period { font-size: 0.88rem; color: #5a7565; font-weight: 500; }
.quantity-selector { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; background: #f6f9f6; padding: 7px 12px; border-radius: 40px; border: 1px solid #dce8d8; align-self: flex-start; }
.quantity-selector .qty-label { font-weight: 600; color: #1e3b2e; font-size: 0.88rem; }
.quantity-selector .qty-btn { width: 44px; height: 44px; border-radius: 50%; border: none; background: #1e3b2e; color: white; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.16s ease-out; display: flex; align-items: center; justify-content: center; }
.quantity-selector .qty-btn:hover { background: #2a6a4a; }
.quantity-selector .qty-btn:active { transform: scale(0.97); }
.quantity-selector .qty-value { font-size: 1rem; font-weight: 700; color: #1e3b2e; min-width: 22px; text-align: center; }
.btn-reserve { display: inline-block; background: #25d366; color: #05330f; font-weight: 600; padding: 11px 22px; border-radius: 60px; text-decoration: none; text-align: center; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; font-size: 0.95rem; margin-top: auto; width: 100%; font-family: 'Quicksand', sans-serif; min-height: 44px; }
.btn-reserve:hover { background: #1ebe5c; transform: scale(1.02); }
.btn-reserve:active { transform: scale(0.97); }

/* ====== BOATS — Premium Rainforest Redesign ====== */
.boats-section {
  background: linear-gradient(160deg, #eaf0e6 0%, #f3efe8 100%);
  position: relative;
}
/* ── Unified Card ── */
.boat-card-unified {
  background: white;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(30, 59, 46, 0.08);
  border: 1px solid rgba(220, 232, 216, 0.5);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  /* El aire de arriba venía de la cabecera de la tarjeta, que se fue por
     repetida: el título de la sección dice ya «Traslados fluviales · Leticia ↔
     Cabaña Tarapoto» y el subtítulo «Viaja entre Leticia y Cabaña Tarapoto», todo a
     la vista. Sin esto el formulario se pegaba al borde superior de la tarjeta. */
  padding-top: 28px;
}
.unified-schedule-row {
  padding: 0 32px;
  margin-bottom: 16px;
}
.unified-meta-row {
  padding: 0 24px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 16px;
}
.unified-form-section {
  padding: 0 24px 24px;
}
.unified-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.unified-form-grid .form-group { margin-bottom: 0; }
.unified-form-grid .form-group#boat-return-group,
.unified-form-grid .form-group#boat-passengers-group {
  grid-column: 1 / -1;
}
.unified-form-grid .boat-total-bar { grid-column: 1 / -1; }

/* ── Schedule elements inside unified card ── */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.schedule-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(30, 59, 46, 0.06);
  border: 1px solid rgba(220, 232, 216, 0.5);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.schedule-box:hover {
  box-shadow: 0 8px 32px rgba(30, 59, 46, 0.10);
  transform: translateY(-2px);
  border-color: rgba(42, 106, 74, 0.2);
}
.schedule-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1e3b2e;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Route number badge + title (visual route picker) */
.route-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.route-badge-green { background: #2a7a50; }
.route-badge-blue  { background: #2563eb; }
.route-title { line-height: 1.25; }

/* Highlight a schedule card when one of its time chips is active */
.schedule-box.active {
  background: #ffffff;
  border-color: #2a6a4a;
  box-shadow: 0 10px 32px rgba(42, 106, 74, 0.16);
}

/* Prompt + live summary around the route buttons */
.schedule-prompt {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1e3b2e;
  margin: 0 0 12px;
}
/* ── El resumen de la ruta, flotante ──────────────────────────────────────────
 *
 * Antes era un recuadro en medio del formulario. Cuando había que bajar a elegir
 * pasajeros o a pagar, la ruta quedaba arriba y fuera de la vista, así que el
 * recuadro solo servía mientras se miraba justo encima.
 *
 * Ahora flota bajo la barra de navegación. Va FIJO y no `sticky` por dos motivos:
 * el primero, que `sticky` se comporta según el ancestro con scroll más cercano y
 * aquí está la tarjeta, con `overflow: hidden`, que es un contenedor de scroll que
 * no scrollea —el resumen se quedaría clavado donde está igual que antes. El
 * segundo, que un `position: fixed` se puede medir de verdad: un `sticky` solo se
 * comprueba haciendo scroll, y no hay forma de verificarlo midiendo cajas.
 *
 * Arriba y no abajo porque abajo vive `#accionesFlotantes` —el itinerario— y a
 * 360 px ocupa todo el ancho. Colisionar ahí habría sido rápido.
 *
 * El `z-index` va por debajo del de la navegación (10000) y del de las acciones
 * (19100): el resumen se cuela por debajo de lo que ya estaba, no los empuja. */
.schedule-summary {
  position: fixed;
  top: 73px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  width: max-content;
  max-width: min(680px, calc(100vw - 24px));
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #cfe3d3;
  box-shadow: 0 10px 28px rgba(30, 59, 46, 0.18);
  color: #1e3b2e;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.resumen-flota-fila {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.resumen-flota-fila + .resumen-flota-fila {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e6efe7;
}
.resumen-flota-icono { font-size: 0.95rem; }

/* Etiqueta en versalitas y apagada: dice QUÉ es esta fila sin competir con la
   fecha, que es lo que hay que leer. */
.resumen-flota-etiqueta {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c7d6c;
  font-weight: 700;
}

/* La fecha manda. Es el dato que decide si el traslado existe, y enterrada en una
   frase larga no se lee: va en grande, en negrita y en su propio hueco. */
.resumen-flota-fecha {
  font-size: 1.05rem;
  font-weight: 700;
  color: #14382a;
  white-space: nowrap;
}

/* Sin fecha la fila se avisa en vez de callarse. Un resumen que no dice lo que le
   falta se lee como si estuviera completo. */
.resumen-flota-fecha.falta {
  color: #9a3412;
  background: #fff4e6;
  border-radius: 8px;
  padding: 0 6px;
  font-size: 0.85rem;
}

.resumen-flota-hora {
  font-weight: 700;
  color: #2a6a4a;
  white-space: nowrap;
}
.resumen-flota-ruta {
  font-weight: 500;
  font-size: 0.82rem;
  color: #5c7d6c;
}

/* El flotante tiene que esquivar también al selector de idioma. Por debajo de
   640 px ese selector se cuelga del borde inferior de la barra —`top: 72px`— y
   ocupa hasta los 122, así que el resumen arranca a 130. Medido a 360 y 480: con
   el `top` de escritorio se solapaban en 53 px de alto. */
@media (max-width: 640px) {
  .schedule-summary { top: 130px; padding: 10px 12px; font-size: 0.82rem; }
  .resumen-flota-fecha { font-size: 0.95rem; }
  .resumen-flota-ruta { font-size: 0.76rem; }
}
/* The route combo box is now hidden: route is chosen via the schedule buttons. */
.route-hidden-field { display: none !important; }
/* Interactive time chips */
.boat-time-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.boat-time-chips .time-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4eb;
  border: 1.5px solid transparent;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.82rem;
  color: #1e3b2e;
  transition: all 0.25s ease;
  cursor: pointer;
  /* 44px: elegir la hora del traslado es obligatorio para reservar y con 38px
     hay que apuntar con precisión en móvil. */
  min-height: 44px;
  line-height: 1;
  /* Los chips son <button> para que funcionen con teclado (WCAG 2.1.1); hay
     que neutralizar el estilo por defecto del navegador. */
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* Foco visible: sin teclado no se podía ni siquiera ver dónde estabas. */
.boat-time-chips .time-chip:focus-visible {
  outline: 3px solid #1e3b2e;
  outline-offset: 2px;
}
.boat-time-chips .time-chip:hover {
  background: #dcedd6;
  border-color: #2a6a4a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 106, 74, 0.15);
}
.boat-time-chips .time-chip.active {
  background: #1e3b2e;
  border-color: #1e3b2e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 59, 46, 0.25);
}
.boat-time-chips .time-chip:active { transform: scale(0.97); }
.boat-time-chips .time-chip .icon-clock {
  font-size: 0.75rem;
  margin-right: 5px;
  opacity: 0.6;
}
/* Notice banner */
.boat-notice {
  background: linear-gradient(135deg, #fef9e7, #fdf2d5);
  border: 1px solid #ead9a8;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #7a6320;
  box-shadow: 0 2px 8px rgba(234, 217, 168, 0.2);
}
.boat-notice .notice-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.boat-prep-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3b2e;
  background: #ffffff;
  border: 1px solid rgba(30, 59, 46, 0.18);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30, 59, 46, 0.06);
}
.boat-prep-link:hover {
  background: #f3f8f1;
  border-color: #1e3b2e;
}

/* ── Form inputs inside unified card ── */
.boat-card-unified #boatBookingForm .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e3b2e;
  font-size: 0.88rem;
}

/* ── Form field refinements ── */
#boatBookingForm .form-group { margin-bottom: 16px; }
#boatBookingForm label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e3b2e;
  font-size: 0.88rem;
}
#boatBookingForm select,
#boatBookingForm input[type="date"],
#boatBookingForm input[type="number"],
#boatBookingForm input[type="tel"],
#boatBookingForm input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0dfd8;
  border-radius: 12px;
  font-size: 0.92rem;
  background: #fcfcfa;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: 'Quicksand', sans-serif;
  -webkit-appearance: none;
  appearance: none;
}
#boatBookingForm select:focus,
#boatBookingForm input:focus {
  outline: none;
  border-color: #2a6a4a;
  box-shadow: 0 0 0 3px rgba(42, 106, 74, 0.10);
  background: white;
}
#boatBookingForm select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e3b2e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ── Passenger sub-fields ── */
.boat-passenger-fields {
  border: 1px solid #dce8d8;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: #fafcfa;
}
.boat-passenger-fields .passenger-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e3b2e;
  margin-bottom: 8px;
  display: block;
}
.boat-passenger-fields input { margin-bottom: 6px; }
.boat-passenger-fields input:last-child { margin-bottom: 0; }
.boat-name-input { margin-bottom: 6px; }

/* ── Pax stepper ── */
.pax-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #f6f9f6;
  border: 1.5px solid #e0dfd8;
  border-radius: 12px;
  overflow: hidden;
}
.pax-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #1e3b2e;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.16s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  line-height: 1;
}
.pax-btn:hover { background: #dce8d8; }
.pax-btn:active { background: #c5d8c0; transform: scale(0.97); }
.pax-btn:focus-visible { outline: 2px solid #2a6a4a; outline-offset: -2px; }
.pax-value {
  min-width: 48px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3b2e;
  padding: 0 8px;
  user-select: none;
}


/* ── Room booking modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(30, 59, 46, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.2s ease;
  /* Red de seguridad: ... */
  overflow-y: auto;
  align-items: safe center;
}
.modal-overlay.is-closing {
  opacity: 0;
  pointer-events: none;
}
/* La tarjeta nunca puede crecer más que la pantalla.

   Sin esto, en un móvil con el formulario de reserva completo (9 campos +
   métodos de pago) la tarjeta llegaba a medir 1322px en una pantalla de 667px:
   el botón "Enviar reserva" quedaba 316px por debajo del borde inferior y era
   IMPOSIBLE de pulsar. Y no había forma de llegar hasta él porque al abrir el
   modal el <body> recibe overflow:hidden (js/main.js) y la tarjeta no tenía
   scroll propio: el contenido se cortaba sin salida.

   El reparto: la tarjeta se limita a la altura disponible y se convierte en
   columna flexible; solo .modal-body se desplaza. Así la cabecera y el botón de
   envío permanecen siempre a la vista, que es lo que espera cualquiera que
   llega al final de un formulario largo. */
.modal-card {
  background: white;
  border-radius: 28px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(30, 59, 46, 0.25);
  position: relative;
  animation: modalIn 0.25s ease;
  display: flex;
  flex-direction: column;
  /* dvh (altura dinámica) es la que se adapta a la barra de direcciones del
     móvil; la línea vh anterior es el respaldo para navegadores sin dvh. */
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
}
/* El <form> es el hijo intermedio entre la tarjeta y el cuerpo. Sin convertirlo
   en columna flexible, .modal-body no puede encogerse para dejar sitio al
   botón de envío. */
.modal-card > form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.modal-header,
.modal-total-bar,
.modal-card > form > .booking-status,
.modal-card > form > button[type="submit"],
.modal-card > .modal-body + button {
  flex-shrink: 0;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(8px) scale(0.97); }
}
.modal-overlay.is-closing .modal-card {
  animation: modalOut 0.2s ease forwards;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #eef4eb;
  color: #1e3b2e;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.16s ease-out;
}
.modal-close:hover { background: #dce8d8; }
.modal-close:active { transform: scale(0.97); }
.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid #eef4eb;
}
.modal-header-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1e3b2e, #2a6a4a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e3b2e;
  margin-bottom: 2px;
}
.modal-room-name {
  font-size: 0.88rem;
  color: #2a7a50;
  font-weight: 600;
}
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 18px;
  /* Es la parte que se desplaza cuando el formulario no cabe. min-height:0 es
     lo que permite que un hijo de flex se encoja por debajo de su contenido;
     sin él el grid mantiene su altura natural y vuelve a desbordar. */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* Un poco de aire al desplazar, para que el primer campo no quede pegado
     al borde del área desplazable. */
  padding-right: 4px;
}
.modal-qty {
  display: inline-block;
  background: #eef4eb;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  color: #1e3b2e;
  font-size: 1rem;
}
.modal-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1e3b2e, #296a4a);
  color: white;
  padding: 14px 20px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(30, 59, 46, 0.12);
}
.modal-total-label { opacity: 0.85; font-weight: 600; font-size: 0.9rem; }
.modal-total-amount { font-size: 1.2rem; }
.modal-guests-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.modal-price-indicator {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2a7a50;
  background: #eef4eb;
  padding: 4px 12px;
  border-radius: 30px;
  white-space: nowrap;
}

/* ── Booking policy notice pop-up ── */
.notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 25000;
  background: rgba(15, 28, 22, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.28s ease;
}
.notice-overlay.is-closing {
  opacity: 0;
  pointer-events: none;
}
.notice-overlay.is-closing .notice-modal {
  animation: noticeOut 0.28s ease forwards;
}
.notice-modal {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 28px 26px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(15, 28, 22, 0.35);
  position: relative;
  animation: noticeIn 0.28s ease;
}
@keyframes noticeIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes noticeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}
.notice-modal h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e3b2e;
  margin: 0 0 14px;
  line-height: 1.25;
}
.notice-modal h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e3b2e;
  margin: 18px 0 8px;
}
.notice-modal p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #3a5a48;
  margin: 0;
}
.notice-list {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notice-list li {
  background: #f3f8f3;
  border: 1px solid #dce8d8;
  border-left: 4px solid #2a6a4a;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.94rem;
  color: #1e3b2e;
  line-height: 1.45;
}
.notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  /* 44px: el mínimo táctil. Antes 34px. */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #eef4eb;
  color: #1e3b2e;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.notice-close:hover { background: #dce8d8; }
.notice-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #25d366, #1ebe5c);
  /* Igual que los demás CTA verdes: el blanco daba 1.98:1. */
  color: #05330f;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 24px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  margin-top: 20px;
  font-family: 'Quicksand', sans-serif;
  transition: transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.notice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* ── Hotel rooms layout ── */
.hotel-layout {
  display: block;
  width: 100%;
}
/* Default (desktop): 2-column grid of vertical room cards — distributes space
   better than full-width rows and gives the imagery more presence. */
.hotel-rooms-col .rooms-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.hotel-rooms-col .room-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
}
.hotel-rooms-col .room-image {
  height: 220px;
  min-height: 0;
}
.hotel-rooms-col .room-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hotel-rooms-col .room-price .amount {
  font-size: 1.4rem;
}
/* Keep the reserve button and qty control anchored to the bottom of the card
   regardless of description length. */
.hotel-rooms-col .quantity-selector {
  margin-top: auto;
}
.hotel-rooms-col .btn-reserve {
  font-size: 0.9rem;
  padding: 12px 18px;
}
/* ── Total bar ── */
.boat-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1e3b2e 0%, #296a4a 100%);
  color: white;
  padding: 14px 20px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(30, 59, 46, 0.12);
}
/* opacity:0.85 sobre el verde claro del gradiente (#296a4a) dejaba el texto en
   4.71:1, justo por debajo de AA. Sin opacity llega a 6.45:1. */
.boat-total-bar span:first-child { font-weight: 600; }
.boat-total-bar span:last-child { font-size: 1.2rem; }

/* ── Submit button ── */
.boat-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #25d366, #1ebe5c);
  /* El verde de WhatsApp con texto blanco daba 1.98:1. A 0.95rem/700 no cuenta
     como texto grande, así que incumplía AA por mucho. Verde oscuro: 6.22:1. */
  color: #05330f;
  font-weight: 700;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  font-family: 'Quicksand', sans-serif;
}
.boat-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #1ebe5c, #19a84f);
}
.boat-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.boat-submit-btn .btn-icon { font-size: 1.2rem; }

/* ====== BOOKING FORM ====== */
.form-card { background: white; border-radius: 28px; padding: 44px; box-shadow: 0 8px 32px rgba(60, 80, 60, 0.06); max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: #1e3b2e; font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0dfd8;
  border-radius: 14px;
  font-size: 0.95rem;
  background: #fcfcfa;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Quicksand', sans-serif;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #2a6a4a;
  box-shadow: 0 0 0 3px rgba(42, 106, 74, 0.1);
}

.booking-status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: 0.92rem; line-height: 1.4; }
.booking-status.success { display: block; background: #e6f4ea; color: #1e6b3c; border: 1px solid #bfe3c8; }
.booking-status.error { display: block; background: #fdeaea; color: #a33; border: 1px solid #f2c2c2; }
.booking-status.info { display: block; background: #eef4fb; color: #1d4e89; border: 1px solid #c5d9f2; }
.form-group textarea { min-height: 80px; resize: vertical; }

/* ====== MÉTODOS DE PAGO ====== */
.payment-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.payment-methods .payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  padding: 14px 16px;
  border: 1.5px solid #e0dfd8;
  border-radius: 14px;
  background: #fcfcfa;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.payment-methods .payment-option:hover { border-color: #b9cdbf; }
.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
}
.payment-option .payment-icon { font-size: 1.6rem; line-height: 1; }
.payment-option .payment-text { display: flex; flex-direction: column; }
.payment-option .payment-text strong { color: #1e3b2e; font-size: 0.95rem; }
.payment-option .payment-text small { color: #6b7d70; font-size: 0.78rem; font-weight: 400; }
.payment-option.is-selected {
  border-color: #2a6a4a;
  background: #eef6f0;
  box-shadow: 0 0 0 3px rgba(42, 106, 74, 0.12);
}
.payment-option.is-hidden { display: none; }
.payment-option.is-disabled { opacity: 0.55; cursor: not-allowed; filter: grayscale(0.35); }
/* El formulario de traslados redefine `label` con mayor especificidad. */
#boatBookingForm .payment-methods .payment-option {
  display: flex;
  margin-bottom: 0;
  font-weight: 400;
}
#boatBookingForm .payment-methods .payment-option.is-hidden { display: none; }
.payment-note {
  margin: 10px 2px 0;
  padding: 8px 12px;
  border: 1px solid #f0e2bd;
  border-radius: 10px;
  background: #fdf7e6;
  color: #8a6d3b;
  font-size: 0.82rem;
  line-height: 1.4;
}
.btn-submit {
  background: #1e3b2e;
  color: white;
  font-weight: 700;
  padding: 15px 40px;
  border: none;
  border-radius: 60px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  font-family: 'Quicksand', sans-serif;
}
.btn-submit:hover { background: #2a6a4a; transform: translateY(-1px); }

/* ====== CONTACT / FOOTER ====== */
.contact-info { background: #1e3b2e; color: #e8ede6; padding: 48px 0; text-align: center; }
.contact-info a { color: #b8d4b0; font-weight: 500; }
.contact-info .socials { margin-top: 14px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
/* Los enlaces de redes y contacto colgaban de la altura de la línea (22-26px).
   Se les da área táctil sin cambiar el texto ni el color. */
.contact-info .socials a,
.contact-info p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}
.footer-copy { background: #0f241c; color: #9ab8a3; text-align: center; padding: 24px 0; font-size: 0.88rem; }

/* La barra inferior es fija y `body` reserva su alto (js/bottom-bar.js), así
   que el pie ya no necesita un colchón propio. */
.footer-copy {
  padding-bottom: 24px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
  /* La tarjeta ya es de una sola columna: el ancho se lo reparte la propia
     tarjeta (foto / texto). */
  .tour-accordion { gap: 22px; }
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .tour-accordion { grid-template-columns: 1fr; }
  /* En pantallas angostas la foto se apila arriba, con el aspecto nativo de
     las imágenes del sitio (800×270) para no recortarlas ni ampliarlas. */
  .tour-item { grid-template-columns: 1fr; }
  .tour-media { min-height: 0; aspect-ratio: 800 / 270; }
  /* Tablet: return to single-column rows so each room card stays readable;
     keep the image+body side-by-side form for efficient use of width. */
  .hotel-rooms-col .rooms-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hotel-rooms-col .room-card {
    display: grid;
    grid-template-columns: 200px 1fr;
  }
  .hotel-rooms-col .room-image {
    height: 100%;
    min-height: 180px;
  }
  .unified-form-grid { grid-template-columns: 1fr; }
  .boat-card-unified { padding-top: 24px; }
  .unified-schedule-row { padding: 0 24px; }
  .unified-meta-row { padding: 0 24px; }
  .unified-form-section { padding: 0 24px 24px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .schedule-box { padding: 16px; }
  .boat-time-chips { gap: 6px; }
  /* min-height 34px estaba por debajo del mínimo táctil; en móvil es donde más
     molesta porque se reserva con el dedo. */
  .boat-time-chips .time-chip { padding: 8px 12px; font-size: 0.8rem; min-height: 44px; }
  }

@media (max-width: 700px) {
  /* Mobile: stack each room card (image on top), and let the controls breathe. */
  .hotel-rooms-col .rooms-grid { grid-template-columns: 1fr; gap: 18px; }
  .hotel-rooms-col .room-card { display: flex; flex-direction: column; }
  .hotel-rooms-col .room-image { height: 200px; min-height: 0; }
  .hotel-rooms-col .room-body { padding: 16px 18px 20px; }
  .tour-accordion { gap: 16px; }
  .tour-item { border-radius: 20px; }
  .tour-header { padding: 20px; gap: 12px; }
  .tour-header-left h2 { font-size: 1.12rem; }
  .tour-header-left .meta { font-size: 0.8rem; gap: 4px 10px; }
  .tour-price { font-size: 0.85rem; padding: 4px 11px; }
  .tour-toggle { width: 38px; height: 38px; font-size: 1.1rem; }
  .tour-media-top { top: 10px; left: 10px; right: 10px; }
  .tour-body.open { padding: 0 14px 16px; }
  .tour-body-inner { padding-top: 14px; }
  .tour-body-inner p { font-size: 0.88rem; }
  .tour-body-inner h3 { font-size: 0.95rem; margin: 14px 0 5px; }
  .tour-body-inner ul li { font-size: 0.88rem; }
  .btn-reserva { padding: 10px 20px; font-size: 0.88rem; display: block; text-align: center; }
  /* En móvil la barra queda en UNA fila con scroll horizontal: si envolviera,
     al quedar pegada arriba se comería media pantalla. */
  .filter-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 8px;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 14px;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-group { flex-wrap: nowrap; flex: 0 0 auto; }
  .filter-btn { padding: 6px 12px; font-size: 0.8rem; min-height: 44px; }
  .filter-label { font-size: 0.8rem; padding: 4px 10px; }
  .price-table { min-width: 560px; font-size: 0.75rem; }
  .price-table thead th { padding: 8px 6px; font-size: 0.78rem; }
  .price-table tbody td { padding: 8px 6px; }
  .boat-submit-btn { padding: 14px 20px; font-size: 0.95rem; }
  .pax-btn { width: 40px; height: 40px; font-size: 1.1rem; }
  .pax-value { min-width: 40px; font-size: 1.05rem; }
  .boat-total-bar { padding: 12px 16px; font-size: 0.92rem; }
  .boat-total-bar span:last-child { font-size: 1.05rem; }
  .boat-card-unified { padding-top: 20px; }
  .unified-schedule-row { padding: 0 20px; }
  .unified-meta-row { padding: 0 20px; }
  .unified-form-section { padding: 0 20px 20px; }
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .form-card { padding: 24px; }
  .form-group input, .form-group textarea { font-size: 0.88rem; padding: 11px 14px; }
  .rooms-grid { grid-template-columns: 1fr; gap: 18px; }
  .room-image { height: 150px; }
  .room-price .amount { font-size: 1.4rem; }
  .quantity-selector { align-self: stretch; justify-content: space-between; }
  .btn-reserve { padding: 12px; }
}

@media (max-width: 400px) {
  .tour-header { padding: 16px; }
  .tour-header-left h2 { font-size: 1.05rem; }
  .tour-price { font-size: 0.82rem; }
  .filter-btn { padding: 6px 10px; font-size: 0.75rem; min-height: 44px; }
  .section-title { font-size: 1.4rem; }
}

/* ─── Booking modal (reserva de tours) — mismo patrón que el modal de hotel ─── */
.booking-card {
  max-width: 560px;
}
.booking-card .modal-body {
  gap: 14px 16px;
}
.booking-card textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
}
.booking-card .booking-status {
  margin: 4px 0 14px;
}
#bookingModal .boat-submit-btn {
  width: 100%;
}

/* ─── UI audit fixes (responsive) ─── */
/* Los botones de la barra no se encogen: si no caben, el carril se desplaza. */
.section-nav-btn { flex-shrink: 0; }

@media (max-width: 420px) {
  /* Modales: más aire y una sola columna en pantallas muy estrechas para
     que fecha/hora/teléfono no queden aplastados. */
  .modal-overlay { padding: 12px; }
  .modal-card { padding: 24px 16px 20px; border-radius: 20px; }
  .modal-body { grid-template-columns: 1fr; gap: 12px; }
  .modal-card h3 { font-size: 1rem; }
  .modal-header { gap: 10px; margin-bottom: 16px; }
  .modal-header-icon { width: 38px; height: 38px; font-size: 1.1rem; }
  .modal-close { top: 10px; right: 10px; width: 30px; height: 30px; }
}
/* ─── Botón de PRUEBA de pago ─── */
.test-service-box {
  background: #fffbe6;
  border: 2px dashed #d4a853;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 18px;
}
.test-service-box[hidden] { display: none; }
.test-service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #7a5a05;
  margin: 0 0 6px;
  border: none;
  padding: 0;
}
.test-service-desc {
  font-size: 0.88rem;
  color: #5c4a10;
  margin: 0 0 12px;
  line-height: 1.5;
}
.test-service-fields { margin-bottom: 10px; }
.test-service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 13px 20px;
  border: none;
  border-radius: 60px;
  background: #d4a853;
  color: #3d2e02;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
}
.test-service-btn:hover { background: #c69b45; }
.test-service-btn:disabled { opacity: 0.6; cursor: wait; }


/* ── Cuánto paga hoy ──────────────────────────────────────────────────────
   El bloque va justo debajo de los métodos de pago, cuando el cliente ya
   eligió cómo pagar. Ahí la duda real es "¿cuánto adelanto?", y contestarla en
   el mismo sitio, con un control que se puede arrastrar, evita el abandono.

   El control es de verdad un <input type="range"> más un campo de texto, no
   dos divs con onclick: el teclado y los lectores de pantalla llegan a él sin
   nada extra. Los botones − / + son el atajo de quien no quiere arrastrar. */

.amount {
  /* El modal-body es un grid: sin `grid-column` el bloque cae en una celda
     estrecha y ocupa la mitad del ancho disponible. */
  grid-column: 1 / -1;
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid #bfe3c8;
  border-radius: 14px;
  background: linear-gradient(180deg, #f2fbf5 0%, #ffffff 100%);
}

.amount[hidden] { display: none; }

.amount-msg {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e3b2e;
}

.amount-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
}

/* 44 px de alto mínimo: por debajo el objetivo táctil es incómodo, y este
   control se usa sobre todo desde el celular. */
.amount-step {
  width: 44px;
  min-height: 44px;
  border: 1.5px solid #bcd9c6;
  border-radius: 12px;
  background: #fff;
  color: #1e6b3c;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.16s ease-out;
}

.amount-step:hover { border-color: #1e6b3c; background: #f2fbf5; }
.amount-step:active { transform: scale(0.97); }

.amount-field {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  border: 1.5px solid #bcd9c6;
  border-radius: 12px;
  background: #fff;
}

.amount-field:focus-within { border-color: #1e6b3c; }

.amount-prefix { color: #5a7565; font-size: 1rem; }

.amount-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3b2e;
  font-family: inherit;
  text-align: right;
}

.amount-input:focus { outline: none; }

/* El deslizador se pinta a mano: el control nativo, sin estilo, se ve como una
   barra gris ajena al resto del formulario. */
.amount-range {
  width: 100%;
  margin: 16px 0 0;
  height: 22px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.amount-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: #d8e8de;
}

.amount-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #1e6b3c;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(30, 59, 46, 0.3);
}

.amount-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #d8e8de;
}

.amount-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1e6b3c;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(30, 59, 46, 0.3);
}

.amount-range:focus-visible {
  outline: 2px solid #1e6b3c;
  outline-offset: 4px;
  border-radius: 999px;
}

.amount-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.78rem;
  color: #5a7565;
}

.amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.amount-chip {
  padding: 7px 14px;
  border: 1.5px solid #bcd9c6;
  border-radius: 999px;
  background: #fff;
  color: #1e6b3c;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.amount-chip:hover { background: #f2fbf5; border-color: #1e6b3c; }

.amount-error {
  margin: 10px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a1341f;
}

.amount-error[hidden] { display: none; }

.amount-summary {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #d8e8de;
}

.amount-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 4px 0;
  font-size: 0.9rem;
  color: #405a4a;
}

.amount-summary-row[hidden] { display: none; }

.amount-summary-row strong { font-size: 1rem; color: #1e3b2e; }

/* La política se lee al final y en positivo primero. */
.amount-refund {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2ece5;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #405a4a;
}

.amount-refund strong { color: #1e6b3c; }

.amount-refund ul { margin: 6px 0 0; padding-left: 18px; }

.amount-refund li { margin: 3px 0; }

@media (max-width: 480px) {
  .amount { padding: 14px; }
  .amount-picker { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; }
  .amount-step { width: 40px; }
  .amount-input { font-size: 1.05rem; }
}

/* ─── ITINERARIO ───────────────────────────────────────────────────────────

   A diferencia de los modales de reserva, este panel NO tapa la página con un
   velo ni bloquea el scroll. El itinerario se arma mientras se sigue mirando el
   catálogo, y obligar a cerrar el panel para volver a mirar un tour es la forma
   más rápida de que nadie arme uno. Es una tarjeta fija que acompaña.

   Los colores son los mismos del sitio, escritos a mano como el resto del
   archivo: el archivo no define variables de color, así que se escriben a mano como el resto. */
.itin-panel {
  position: fixed;
  right: 20px;
  bottom: calc(var(--pnt-bar-reserva, 64px) + 10px);
  z-index: 19000;
  width: min(480px, calc(100vw - 40px));
  max-height: min(78vh, 700px);
  background: white;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(30, 59, 46, 0.25);
  padding: 24px;
  overflow-y: auto;
  animation: modalIn 0.25s ease;
  color: #1e3b2e;
}
.itin-panel.is-closing {
  animation: modalOut 0.2s ease forwards;
  pointer-events: none;
}
.itin-panel[hidden] { display: none; }

/* Popup de pago: los datos que falten y el método, justo antes de pagar. Va por
   encima del panel y por debajo de los modales (que abren desde el panel). */
.itin-pago-overlay {
  position: fixed;
  inset: 0;
  z-index: 19500;
  background: rgba(15, 36, 28, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.itin-pago-overlay[hidden] { display: none; }
.itin-pago-card {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(30, 59, 46, 0.35);
}
.itin-confirmar { width: 100%; margin-top: 10px; }

.itin-cerrar {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px; height: 32px;
  border: none;
  border-radius: 50%;
  background: #eef4f0;
  color: #1e3b2e;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.itin-cerrar:hover { background: #dde8e1; }
/* El glifo de minimizar es un triángulo chico (`▾`), no una ✕: la ✕ pesa igual
   en las dos formas y a este tamaño se ve como un punto. Se agranda un poco para
   que se lea como una flecha y no como una mota. */
#itinCerrar { font-size: 1.1rem; line-height: 1; }

.itin-titulo {
  margin: 0 0 16px;
  font-size: 1.25rem;
  color: #1e3b2e;
}

/* El resumen: una cabecera por día y debajo sus servicios. Es lo que convierte
   una lista plana en algo que se lee como un viaje. */
/* ─── Línea de tiempo del itinerario ────────────────────────────────────────
   Cada día es un nodo y cada servicio un punto sobre una línea vertical. Va en
   orden cronológico (lo garantiza `agruparPorDia`) y con la hora de salida
   delante, para leerlo como un plan de viaje y no como una lista. */
.itin-servicios {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.itin-servicios::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: #cfe0d3;
}

.itin-dia { position: relative; }
.itin-dia-fecha {
  position: relative;
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1e3b2e;
  text-transform: uppercase;
}
/* El punto del día, sobre la línea. */
.itin-dia-fecha::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #1e3b2e;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.itin-linea {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.95rem;
}
/* El punto de cada servicio. */
.itin-linea::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #7aa88a;
  border: 2px solid #fff;
  box-sizing: border-box;
}
.itin-linea-hora {
  flex-shrink: 0;
  min-width: 80px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #2a7a50;
}
.itin-linea-nombre { flex: 1; min-width: 0; }
.itin-quitar {
  border: none;
  background: transparent;
  color: #8a9a92;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  flex-shrink: 0;
}
.itin-quitar:hover { background: #fdeaea; color: #b23b3b; }

/* Una sola cifra, grande. Es el único precio que se ve en el resumen: el total
   completo y el mínimo están en el selector de importe, y repetirlos aquí hacía
   que la misma cantidad apareciera en dos sitios. */
.itin-total {
  margin: 16px 0 8px;
  padding: 12px;
  background: #eef4f0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e3b2e;
}

/* El formulario único */
.itin-form { display: flex; flex-direction: column; gap: 14px; }
.itin-campo { display: flex; flex-direction: column; gap: 6px; }
/* `display: flex` gana al atributo `hidden`, que por sí solo vale `display:
   none` en la hoja del navegador. Sin esta regla, todo campo que el itinerary
   decide no preguntar seguía en pantalla ocupando su sitio: es decir, se
   escondía en el DOM pero no a la vista. */
.itin-campo[hidden] { display: none; }

/* Datos que solo pide una actividad (tours): se agrupan bajo una línea para que
   se lean como "lo que pide el tour", no como parte de tus datos de contacto. */
.itin-datos-tour {
  margin: 4px 0 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(30, 59, 46, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.itin-datos-tour[hidden] { display: none; }
.itin-label, .itin-campo label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3b2e;
}
.itin-campo input {
  padding: 12px 14px;
  border: 1px solid #cfdcd5;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: #1e3b2e;
}
.itin-campo input:focus {
  outline: 2px solid #1e3b2e;
  outline-offset: 1px;
  border-color: #1e3b2e;
}
.itin-error {
  margin: 0;
  min-height: 1em;
  font-size: 0.82rem;
  color: #b23b3b;
}

@media (max-width: 640px) {
  /* En móvil el panel ocupa el ancho y se ancla abajo: a la derecha se comería
     media pantalla y taparía el catálogo que se está mirando. */
  .itin-panel {
    right: 10px; left: 10px; bottom: calc(var(--pnt-bar-reserva, 64px) + 10px);
    width: auto;
    max-height: 78vh;
    padding: 18px;
    border-radius: 20px;
  }
}

/* La nota que explica el mínimo cuando hay bote. */
.itin-nota {
  margin: -8px 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #5b6f65;
}
.itin-nota[hidden] { display: none; }

/* El resumen del viaje: en lugar de pedir una fecha que ya está decidida,
   informa de cuándo empieza y acaba cada servicio. Se lee como una ficha, no
   como un formulario. */
.itin-fechas-resumen {
  padding: 10px 12px;
  border: 1px solid rgba(30, 59, 46, 0.12);
  border-radius: 10px;
  background: rgba(30, 59, 46, 0.04);
}

/* La ficha del tour dentro del popup de la fecha: lo mismo que se ve en la
   tarjeta, para poder revisar la actividad antes de confirmar. */
.itin-tour-ficha[hidden] { display: none; }
.itin-tour-ficha {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}
.itin-tour-imagen {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(30, 59, 46, 0.06);
}
.itin-tour-imagen img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.itin-tour-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.itin-tour-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(30, 59, 46, 0.08);
  font-size: 0.76rem;
  color: #1e3b2e;
}
.itin-tour-descripcion {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #35493f;
}
.itin-fechas-resumen[hidden] { display: none; }
.itin-fechas-titulo {
  margin: 0 0 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6f65;
}
.itin-fechas-rango {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #1e3b2e;
}
/* Los destacados: cuánto dura, cuántos van y qué lleva. Van en pastillas y con
   el número delante porque es lo que se comprueba de un vistazo antes de pagar. */
.itin-fechas-destacados {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.itin-fechas-destacados li {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(30, 59, 46, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e3b2e;
}
.itin-fechas-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.itin-fechas-lista li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #1e3b2e;
}
.itin-fechas-servicio { min-width: 0; flex: 1 1 auto; }
/* El precio de cada servicio, en su propia columna: pegado al día se leería como
   parte de la fecha, y sumado al nombre como parte del nombre. */
.itin-fechas-precio {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #1e3b2e;
}
/* Y el total al pie, separado con una línea: es la suma de arriba, no un servicio
   más de la lista. */
.itin-fechas-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(30, 59, 46, 0.2);
  font-size: 0.95rem;
  color: #1e3b2e;
}
.itin-fechas-total strong { font-variant-numeric: tabular-nums; }
.itin-fechas-dia {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: #5b6f65;
}

/* Quién viaja: una fila por persona. Se lee como una ficha, no como un
   formulario con veinte casillas sueltas: cada fila es una persona completa y
   está delimitada para que sea evidente a quién pertenece cada dato. */
.itin-pax[hidden] { display: none; }
.itin-pax-cabecera {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.itin-pax-contador {
  font-size: 0.8rem;
  color: #5b6f65;
}
.itin-pax-fila {
  margin: 0 0 8px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(30, 59, 46, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.itin-pax-num {
  padding: 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6f65;
}
.itin-pax-campo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.itin-pax-campo label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #1e3b2e;
}
.itin-pax-campo input,
.itin-pax-campo select {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid rgba(30, 59, 46, 0.22);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: #1e3b2e;
}
/* Tipo y número van juntos: el tipo sin el número no dice nada, y el número sin
   el tipo no se sabe interpretar. */
.itin-pax-doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 6px;
  align-items: end;
}
.itin-pax-doc label {
  grid-column: 1 / -1;
}
.itin-pax-acciones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.itin-pax-mas,
.itin-pax-menos {
  padding: 6px 10px;
  border: 1px dashed rgba(30, 59, 46, 0.3);
  border-radius: 8px;
  background: transparent;
  font-size: 0.82rem;
  color: #1e3b2e;
  cursor: pointer;
}
.itin-pax-mas:hover,
.itin-pax-menos:hover { background: rgba(30, 59, 46, 0.06); }
@media (min-width: 520px) {
  .itin-pax-fila { grid-template-columns: 1fr 1fr; }
}

/* ─── LA PREGUNTA PREVIA ───────────────────────────────────────────────────

   Un velo y una tarjeta centrada, con la misma receta que los modales del sitio
   para que no parezca otra cosa. Es una decisión, no una pantalla: entra, se
   contesta y se cierra. */

.itin-cruce {
  position: fixed;
  inset: 0;
  z-index: 21000;
  background: rgba(30, 59, 46, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.itin-cruce[hidden] { display: none; }

.itin-cruce-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(30, 59, 46, 0.25);
  animation: modalIn 0.25s ease;
  color: #1e3b2e;
}

.itin-cruce-titulo {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}
.itin-cruce-texto {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5b6f65;
}
.itin-cruce-acciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* La opción principal es la de añadir más: es lo que beneficia a la reserva y
   al cliente. La de seguir está debajo y sin standout, para no empujar a nadie
   hacia ella con el botón más grande. */
.itin-cruce-acciones .boat-submit-btn { width: 100%; }
/* El botón de "seguir sin más" queda por debajo del botón principal a propósito:
   el que hace crecer la reserva va primero y destacado, y este solo cierra la
   ventana.

   `min-height` está porque el texto se hizo más largo y con el `padding` a pelo
   quedó en 39 px de alto —por debajo de los 44 que recomendación el táctil pide—.
   Medido en el navegador, no estimado. */
.itin-cruce-no {
  border: none;
  background: transparent;
  color: #5b6f65;
  font-size: 0.92rem;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.itin-cruce-no:hover { background: #eef4f0; }

/* Foco visible: quien recorre con el teclado tiene que saber dónde está. */
.itin-cruce-card button:focus-visible {
  outline: 3px solid #1e3b2e;
  outline-offset: 2px;
}

/* ─── El selector de importe, simplificado ─────────────────────────────────

   El bloque se quedó en tres controles: la cifra, y los dos signos para
   ajustarla. La barra y los tres botones de atajo sequitaron.

   Este es solo el renglón de límites, que antes era una barra de dos cifras
   separadas por el ancho del bloque: el suelo a la izquierda y el total a la
   derecha, sin nada que dijera cuál era cuál. Ahora se lee como una frase. */
.amount-scale {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 8px;
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: #5b6f65;
}
.amount-scale strong { color: #1e3b2e; font-weight: 700; }
.amount-dot { color: #b3c2bb; }

/* El saldo se queda como una línea propia. Ya no comparte bloque con "pagas hoy"
   porque ese dato está en el campo, en grande, justo encima. */
.amount-balance-row {
  margin: 10px 0 0;
  font-size: 0.9rem;
}
.amount-balance-row strong { margin-left: 6px; }

/* Los controles que se quitaron siguen teniendo reglas por si alguna página
   antigua los sirve. No se borran: borrarlas rompería un HTML desplegado que
   aún los tenga, y no aportan nada. */

/* El itinerario vacío y fijado: alguien acaba de decir "quiero ver más" y aún no
   ha añadido nada. Un recuadro con nada dentro parece roto; con una frase que dice
   qué hacer, es una invitación. */
.itin-vacio {
  margin: 0;
  padding: 14px 16px;
  background: #f5f9f7;
  border: 1px dashed #cfdcd5;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #5b6f65;
  text-align: center;
}

/* ─── LAS FECHAS DEL VIAJE ────────────────────────────────────────────────

   Va arriba de todo en la página de hotel, antes incluso del título, porque es la
   primera decisión real que hay que tomar: sin fechas, el precio de una habitación
   no significa nada.

   Se lee como una frase —"llegada → salida"— y no como dos campos sueltos, porque
   es un rango: quien las ve sabe que tiene que elegir las dos. */

.fechas-viaje {
  background: white;
  border: 1px solid #d8e4dc;
  border-radius: 20px;
  padding: 18px 22px;
  margin: 0 0 28px;
  box-shadow: 0 2px 10px rgba(30, 59, 46, 0.06);
}

.fechas-viaje-campos {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.fechas-viaje-campo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 170px;
  min-width: 0;
}

.fechas-viaje-campo label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5b6f65;
}

/* Fecha grande y fácil de acertar con el dedo. Es el control que más se toca en
   móvil, y el tamaño por defecto del input de fecha es diminuto. */
.fechas-viaje-campo input {
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #1e3b2e;
  background: #fbfdfc;
  border: 1.5px solid #cfdcd5;
  border-radius: 12px;
  min-height: 48px;
}
.fechas-viaje-campo input:focus {
  outline: 2px solid #1e3b2e;
  outline-offset: 1px;
  border-color: #1e3b2e;
}

.fechas-viaje-guion {
  font-size: 1.2rem;
  color: #8a9a92;
  padding-bottom: 13px;
}

.fechas-viaje-info {
  margin: 10px 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
}
.fechas-viaje-info.fechas-viaje-ok { color: #1e6b3c; }
.fechas-viaje-info.fechas-viaje-error { color: #b23b3b; }

/* El borde se aviva cuando las fechas no encajan. El mensaje está en el propio
   bloque, así que el color es una segunda señal, no la única. */
.fechas-viaje-error {
  border-color: #e0b4b4;
  background: #fdf8f8;
}

@media (max-width: 640px) {
  .fechas-viaje { padding: 14px; border-radius: 16px; }
  .fechas-viaje-guion { display: none; }
  .fechas-viaje-campo { flex: 1 1 100%; }
}

/* ─── EL AVISO DE "AÑADIDO" ────────────────────────────────────────────────

   Vive suelto, fuera del panel, y no dentro a propósito. El panel se puede cerrar:
   un aviso dentro de él desaparecería al cerrarlo, y el clic parecería no haber
   hecho nada. Un clic que no da ninguna señal hace que la persona repita la
   acción. */

.itin-aviso {
  position: fixed;
  left: 50%;
  bottom: calc(var(--pnt-bar-reserva, 64px) + 16px);
  transform: translateX(-50%);
  z-index: 19500;
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 20px;
  border-radius: 999px;
  background: #1e3b2e;
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 12px 32px rgba(30, 59, 46, 0.3);
  animation: itinAvisoEntra 0.22s ease;
}
.itin-aviso[hidden] { display: none; }
.itin-aviso-ok { background: #1e6b3c; }
.itin-aviso-error { background: #a33636; }

@keyframes itinAvisoEntra {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ─── EL BOTÓN FLOTANTE ──────────────────────────────────────────────────────

   Fijo y abajo a la derecha, junto al panel pero sin ser parte de él. Cuando el
   panel está abierto se aparta: si no, se pisan. */

.itin-flotante {
  /* La posición la pone `.acciones-flotantes`, no este botón. */
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: none;
  border-radius: 999px;
  background: #1e6b3c;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(30, 59, 46, 0.3);
  animation: itinFlotanteEntra 0.22s ease;
}
.itin-flotante[hidden] { display: none; }
.itin-flotante:hover { background: #17572f; }
.itin-flotante:focus-visible { outline: 3px solid #1e3b2e; outline-offset: 3px; }
.itin-flotante-icono { font-size: 1.05rem; }

.itin-flotante-cuenta {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  text-align: center;
}

@keyframes itinFlotanteEntra {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Con el panel abierto, el que se aparta es el PANEL, no la columna.
   La columna se sube arriba antes de que la tapaba la barra de navegación fija:
   197 px de solape con la barra y 93 con el selector de idioma. Ahora el panel se
   va al otro lado y la columna se queda donde estaba, lejos de todo lo demás. */
@media (min-width: 820px) {
  body.itin-panel-abierto .itin-panel {
    right: auto;
    left: 20px;
  }
}

/* Entre 641 y 819px no caben el panel a un lado y los botones al otro: con el
   panel abierto se esconden (el panel trae su propio cierre) en vez de quedar el
   panel DEBAJO de ellos. Antes ese tramo no lo cubría ninguna regla y los botones
   tapaban el panel. */
@media (max-width: 819px) {
  body.itin-panel-abierto .acciones-flotantes { display: none; }
  body.itin-panel-abierto .itin-aviso { bottom: calc(var(--pnt-bar-reserva, 64px) + 16px); }
}

@media (max-width: 640px) {
  /* En móvil la esquina es estrecha: la columna toma el ancho y cada botón se
     estira, para no dejar dos cosas diminutas apiladas. */
  .acciones-flotantes { left: 10px; right: 10px; bottom: 10px; align-items: stretch; }
  .itin-flotante { justify-content: center; }

  /* El panel ocupa la pantalla; la columna desaparece detrás. El panel trae su
     propio botón de continuar y de cerrar, así que no se pierde ninguna acción. */
  body.itin-panel-abierto .acciones-flotantes { display: none; }
  body.itin-panel-abierto .itin-aviso { bottom: calc(var(--pnt-bar-reserva, 64px) + 16px); }
}

/* Los huéspedes van con las fechas: es la segunda decisión que cambia el catálogo,
   y tiene el mismo peso visual que las otras dos. */
.fechas-viaje-pax { flex: 0 0 130px; }

.fechas-viaje-pax select {
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #1e3b2e;
  background: #fbfdfc;
  border: 1.5px solid #cfdcd5;
  border-radius: 12px;
  min-height: 48px;
}
.fechas-viaje-pax select:focus {
  outline: 2px solid #1e3b2e;
  outline-offset: 1px;
  border-color: #1e3b2e;
}

/* Lo que dice cuántas habitaciones quedan. Va debajo porque informa, no invita a
   tocar nada: quien ya ha elegido sus huéspedes no necesita que le animen. */
.fechas-viaje-filtro {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: #5b6f65;
}
.fechas-viaje-filtro[hidden] { display: none; }

/* Las habitaciones que no caben se esconden, no se borran: quien las está
   mirando con el teclado no debe encontrarse un hueco en la lista. */
.room-card[hidden] { display: none; }

@media (max-width: 640px) {
  .fechas-viaje-pax { flex: 1 1 100%; }
}

/* ─── LAS COMBINACIONES DE HABITACIONES ──────────────────────────────────────

   Para tres o más huéspedes, una habitación puede no bastar. Van DEBAJO de las
   habitaciones y no en su lugar: para tres personas la triple sigue siendo la
   respuesta más sensata, y esconderla para enseñar un "dormitorio + doble"
   sería empujar a la gente hacia algo peor. */

.combinaciones {
  margin-top: 28px;
  padding: 20px 22px;
  background: white;
  border: 1px solid #d8e4dc;
  border-radius: 20px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
  @starting-style {
    opacity: 0;
    transform: scale(0.97);
  }
}
.combinaciones[hidden] { display: none; }

.combinaciones-titulo {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #1e3b2e;
}
.combinaciones-sub {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #5b6f65;
}

.combinaciones-lista { margin: 0; padding: 0; list-style: none; }

.combinacion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef3f0;
}
.combinacion:last-child { border-bottom: none; }

.combinacion-nombre {
  flex: 1;
  min-width: 0;
  font-size: 0.93rem;
  line-height: 1.35;
  color: #1e3b2e;
}
.combinacion-total {
  font-size: 0.82rem;
  color: #5b6f65;
  white-space: nowrap;
}
.combinacion-boton {
  flex-shrink: 0;
  padding: 7px 14px;
  border: 1.5px solid #1e6b3c;
  border-radius: 999px;
  background: white;
  color: #1e6b3c;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.combinacion-boton:hover { background: #1e6b3c; color: white; }
.combinacion-boton:focus-visible { outline: 3px solid #1e3b2e; outline-offset: 2px; }

@media (max-width: 640px) {
  .combinacion { flex-wrap: wrap; }
  .combinacion-nombre { flex: 1 1 100%; }
  .combinacion-total { flex: 1; }
}

/* Por qué el botón de reservar está apagado. Vive junto al bloque de fechas, que
   es donde está lo que falta, y no junto al botón, que se lee tarde. */
.fechas-viaje-bloqueo {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #8a6d1f;
}
.fechas-viaje-bloqueo[hidden] { display: none; }

/* El botón apagado tiene que parecerlo: si solo se atenúa, parece roto. */
.room-card .btn-reserve:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

/* ─── El aviso de reserva con pago manual (transferencia) ──────────────────────

   Es la confirmación de que la reserva existe, y hasta ahora no tenía NINGÚN
   estilo: salía como párrafos y una lista sueltos, pegados al botón, y con la
   misma pinta que un error. Se lee como una ficha porque es una ficha: un
   título, lo que hay que hacer, los datos y la consecuencia. */
.manual-payment {
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(30, 59, 46, 0.16);
  border-radius: 12px;
  background: #f3f8f3;
  color: #1e3b2e;
  font-size: 0.95rem;
  line-height: 1.5;
}
.manual-payment p { margin: 0 0 8px; }
.manual-payment p:last-child { margin-bottom: 0; }

.manual-payment-title {
  font-size: 1.1rem;
  font-weight: 700;
}

/* El plazo, destacado: es la única instrucción que corre prisa. */
.manual-payment-plazo {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdf3d8;
  border-left: 4px solid #e0a800;
}

/* Los datos de la cuenta, en filas: se copian uno a uno. */
.manual-payment-account {
  margin: 0 0 10px;
  padding: 10px 12px;
  list-style: none;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(30, 59, 46, 0.12);
  font-variant-numeric: tabular-nums;
}
.manual-payment-account li { padding: 2px 0; }

/* La consecuencia y el aviso de que falta cuenta van apagados: son contexto, no
   la instrucción. */
.manual-payment-hold,
.manual-payment-warn {
  font-size: 0.86rem;
  color: #5b6f65;
}

/* ─── Ocultar objetos flotantes mientras se scrollea tours/habitaciones ─────
   La clase la pone js/scroll-ui.js en <body> mientras hay scroll. Solo se
   ocultan los elementos de "chrome" (navegación, barra inferior, resumen de
   traslados, panel/aviso del itinerario, columna de acciones); los modales y
   el contenido del catálogo siguen visibles. */
body.pnt-scrolling .section-nav,
body.pnt-scrolling .lang-pill,
body.pnt-scrolling .acciones-flotantes,
body.pnt-scrolling .pnt-bar,
body.pnt-scrolling .schedule-summary,
body.pnt-scrolling .itin-panel,
body.pnt-scrolling .itin-aviso,
body.pnt-scrolling .itin-flotante {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

/* ── Smooth open/close for native <details> on mi-reserva ── */
details.card {
  overflow: hidden;
}
details.card > summary {
  cursor: pointer;
  list-style: none;
}
details.card > summary::-webkit-details-marker { display: none; }
details.card > .details-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
details.card[open] > .details-body {
  grid-template-rows: 1fr;
  opacity: 1;
}
details.card > .details-body > * {
  overflow: hidden;
  min-height: 0;
}
@media (prefers-reduced-motion: reduce) {
  .quantity-selector .qty-btn:active,
  .filter-btn:active,
  .boat-time-chips .time-chip:active,
  .btn-reserve:active,
  .btn-card:active,
  .linktree-card .link-btn:active,
  .modal-close:active,
  .amount-step:active,
  .pax-btn:active,
  .linktree-card .social-bar a:active {
    transform: none;
  }
  details.card > .details-body {
    transition: none;
  }
}
