/* ─── 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 {
    /* 48px no bastaban: la navegación fija mide unos 62px, así que el título
       de la sección entraba por debajo de la barra y quedaba cortado al
       entrar en la página. El aire de arriba tiene que superar el alto de
       la navegación, no ser una cifra suelta. */
    padding: 88px 0 48px;
  }
}

/* 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;
  /* Cuando la barra de viaje está abierta, el botón del itinerario sube para
     no quedar debajo: los dos son acciones sobre el mismo carrito y uno
     tapando al otro hace que los dos parezcan rotos. */
  transition: bottom 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
body.tour-trip-bar-abierto .acciones-flotantes { bottom: calc(var(--pnt-bar-reserva, 64px) + 176px); }
@media (max-width: 900px) {
  body.tour-trip-bar-abierto .acciones-flotantes { bottom: calc(var(--pnt-bar-reserva, 64px) + 216px); }
}
@media (max-width: 700px) {
  body.tour-trip-bar-abierto .acciones-flotantes { bottom: calc(var(--pnt-bar-reserva, 64px) + 266px); }
}

/* 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: #52685b;
  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: #52685b;
  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: #52685b;
}
.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 (retirados) ======
   La barra de filtros del listado viejo (`filter-bar` con dos grupos de
   botones) se sustituyó por los chips que cuentan, del tablero. Sus reglas
   están al final de la hoja, en "EL TABLERO DE TOURS". */

/* El contador de resultados vive en el tablero; esta regla solo le da el
   aire de arriba. */
.filter-count { text-align: center; margin-bottom: 18px; color: #52685b; font-size: 0.9rem; }

/* ====== ACORDEÓN (retirado) ======
   El listado en acordeón (una tarjeta por fila, la foto a media altura y el
   botón de reserva dentro del desplegable) fue sustituido por el tablero: una
   rejilla de tarjetas donde el precio, la duración y la acción principal están
   a la vista sin desplegar nada.

   Sus reglas vivían aquí y se han ido con él. Las del tablero están al final
   de la hoja, en "EL TABLERO DE TOURS". */

/* El cuerpo de la tarjeta: lo que se lee, no lo que se decide mirando.
   El alto lo manda `hidden` (JavaScript), no `max-height`: el bloque crece
   con su contenido y no hay un tope que corte un itinerario largo. */
.tour-body-inner { padding-top: 18px; }
.tour-body-inner h3 { font-size: 1.05rem; font-weight: 700; color: #1e3b2e; margin: 18px 0 6px; }

/* ─── 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: #52685b; 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: #52685b; 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 ↔
     Puerto Nariño» y el subtítulo «Viaja entre Leticia y Puerto Nariño», 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;
}

/* ── 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 {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  color: #2a6a4a;
}
.payment-option .payment-icon svg { width: 26px; height: 26px; display: block; }

/* La tarjeta, dibujada: una mini tarjeta con relieve en lugar del emoji 💳.
   Los emojis cambian de forma, tamaño y peso entre Windows, Android e iOS, así
   que el mismo bloque se veía distinto en cada teléfono. La idea del relieve
   viene de crd-ui, pero es SOLO decorativa: los datos de la tarjeta se escriben
   dentro de la pasarela de Wompi, que sigue siendo la única dueña del cobro. */
.payment-card-icon {
  position: relative;
  width: 40px;
  height: 27px;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(130% 150% at 12% -10%, rgba(255, 255, 255, 0.5), transparent 46%),
    linear-gradient(135deg, #327a58 0%, #1d4b36 58%, #143a29 100%);
  box-shadow: 0 2px 6px rgba(20, 50, 37, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: perspective(140px) rotateX(6deg) rotateY(-10deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.payment-card-icon::before {
  /* chip dorado */
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 8px;
  height: 6px;
  border-radius: 1.5px;
  background: linear-gradient(135deg, #edcf8a, #c9a24e);
  box-shadow: inset 0 0 0 0.5px rgba(120, 90, 20, 0.45);
}
.payment-card-icon::after {
  /* número enmascarado, en cuatro grupos como una tarjeta real */
  content: "";
  position: absolute;
  left: 6px;
  right: 7px;
  bottom: 5px;
  height: 3px;
  border-radius: 2px;
  opacity: 0.72;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0 22%,
    transparent 22% 30%,
    rgba(255, 255, 255, 0.9) 30% 52%,
    transparent 52% 60%,
    rgba(255, 255, 255, 0.9) 60% 82%,
    transparent 82% 90%,
    rgba(255, 255, 255, 0.9) 90% 100%
  );
}
.payment-card-sheen {
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.42) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}
/* El brillo y el enderezado de la tarjeta solo con puntero fino: en táctil el
   :hover se queda pegado después de tocar y la tarjeta quedaría inclinada. */
@media (hover: hover) and (pointer: fine) {
  .payment-option:hover .payment-card-icon,
  .payment-option.is-selected .payment-card-icon {
    transform: perspective(140px) rotateX(0deg) rotateY(0deg) translateY(-1px) scale(1.03);
    box-shadow: 0 4px 10px rgba(20, 50, 37, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
  .payment-option:hover .payment-card-sheen,
  .payment-option.is-selected .payment-card-sheen { transform: translateX(130%); }
}
.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;
}
/* El recargo de tarjeta se lee como una condición del precio, no como un error:
   mismo tono cálido del aviso, con más peso en la cifra. */
.payment-note-surcharge {
  border-color: #e3cd9b;
  background: #fff8e8;
  color: #6b5330;
  font-weight: 600;
}
.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 rejilla de tarjetas ya se adapta sola con `auto-fill`. */
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  /* 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-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; }
  .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) {
  .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: #52685b; 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: #52685b;
}

.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;
}

/* Modo reserva: el viajero llegó desde su reserva. La banda tiene que leerse
   ANTES que el catálogo —responde «¿esto es una compra nueva?»— así que va
   arriba y con un borde que la separa del resto del panel sin gritar. */
.itin-reserva {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #eef4f0;
  border-left: 3px solid #0a6b3d;
  border-radius: 10px;
}
.itin-reserva-kicker {
  margin: 0 0 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a6b3d;
}
.itin-reserva-titular {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  color: #1e3b2e;
}
.itin-reserva-titular strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.itin-reserva-ref {
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: #46604f;
}
.itin-reserva-nota {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #46604f;
}

/* El estado de la suma: error o aviso. `min-height` no: cuando no hay nada que
   decir, no ocupa hueco. */
.itin-reserva-estado {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #46604f;
}
.itin-reserva-estado-error {
  color: #a22b1c;
  font-weight: 600;
}

/* Confirmación de la suma. Reemplaza la lista: el carrito ya está vacío y lo
   único que queda por hacer es volver a la reserva. */
.itin-reserva-hecho {
  margin: 14px 0 0;
  padding: 14px;
  background: #eef4f0;
  border-radius: 12px;
  text-align: center;
}
.itin-reserva-hecho-titulo {
  margin: 0 0 4px;
  font-weight: 700;
  color: #1e3b2e;
}
.itin-reserva-hecho-cuenta {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: #46604f;
}
.itin-reserva-volver {
  display: block;
  text-align: center;
  text-decoration: none;
}

/* 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;
  }
  /* La mini tarjeta de los métodos de pago: sin inclinación ni brillo. */
  .payment-card-icon { transform: none; transition: none; }
  .payment-card-sheen { display: none; }
  .payment-option:hover .payment-card-icon,
  .payment-option.is-selected .payment-card-icon { transform: none; }
}

/* El aviso del recargo de tarjeta dentro del formulario del chat. */
.pnt-reserva-recargo {
  margin: 8px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #6b5330;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EL TABLERO DE TOURS
   ═══════════════════════════════════════════════════════════════════════════
   Reemplaza al listado en acordeón. El cambio de fondo no es de color: es de
   QUÉ SE VE SIN DESPLEGAR NADA. Antes había que abrir una tarjeta para
   encontrar el precio, la duración y la forma de reservarla; ahora los tres
   están en la tarjeta, y el desplegable guarda lo que de verdad se lee.

   Va al final de la hoja a propósito: así estas reglas ganan a las del
   listado viejo, que se quedan debajo por si otra página las usa. */

/* ─── La cabecera de conversion ────────────────────────────────────────────
   Esta página recibe tráfico de anuncios. La primera pantalla tiene que decir
   qué se vende, desde dónde y con qué garantías, y dejar el catálogo a un dedo
   de distancia. Sin hero a pantalla completa: quien viene de un anuncio quiere
   precios, no un manifiesto. */
.tour-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: end;
  padding: 16px 0 20px;
}
.tour-title {
  font-size: clamp(1.7rem, 2.9vw, 2.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1e3b2e;
  text-wrap: balance;
}
.tour-anchor {
  margin-top: 9px;
  font-size: 0.92rem;
  color: #3a5a48;
  font-variant-numeric: tabular-nums;
}
.tour-anchor strong {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e5c3a;
  letter-spacing: -0.02em;
}
.tour-anchor small { font-size: 0.78rem; color: #52685b; }
.tour-lede {
  margin-top: 7px;
  max-width: 60ch;
  color: #3a5a48;
  font-size: 0.96rem;
  line-height: 1.55;
}
.tour-masthead-main { min-width: 0; }
.tour-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
  list-style: none;
  padding: 0;
}
.tour-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #3a5a48;
}
.tour-proof-ico { width: 15px; height: 15px; flex: 0 0 auto; color: #2a7a50; }
.tour-proof-corto { display: none; }

/* El teléfono, a la vista. Quien no quiere pagar en línea convierte por aquí,
   y es la duda que más frena una reserva de varios días. */
.tour-wa {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  background: #1e3b2e;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.18s ease;
}
.tour-wa:hover { background: #173026; }
.tour-wa:focus-visible { outline: 2px solid #2a7a50; outline-offset: 3px; }
.tour-wa-ico { width: 26px; height: 26px; flex: 0 0 auto; color: #8fdcb2; }
.tour-wa-texto { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tour-wa-texto small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cfe3d5;
}
.tour-wa-texto strong {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  color: #ffffff;
}
.tour-wa-flecha { margin-left: auto; font-size: 1.1rem; color: #8fdcb2; }

/* ─── Las dos notas que se leen antes de elegir ──────────────────────────── */
.tour-notes {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0 13px;
  border-top: 1px solid #e2e7dc;
  border-bottom: 1px solid #e2e7dc;
}
.tour-policy {
  margin: 0;
  max-width: 66ch;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #52685b;
}
.tour-policy strong { color: #3a5a48; }
.tour-policy-mas { display: inline; }
.tour-policy-mas summary {
  display: inline;
  cursor: pointer;
  font-weight: 700;
  color: #2a7a50;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tour-policy-mas summary:focus-visible { outline: 2px solid #2a7a50; outline-offset: 2px; }
.tour-policy-mas span { display: block; margin-top: 5px; max-width: 60ch; }
.tour-policy-mas[open] { display: block; margin-top: 5px; }

.tour-shared {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #3a5a48;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.tour-shared:hover { border-bottom-color: #2a7a50; }
.tour-shared-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2a7a50;
  white-space: nowrap;
}
.tour-shared-title { font-weight: 600; }
.tour-shared-flecha { color: #2a7a50; font-weight: 700; }

/* ─── La barra de filtros: una línea ─────────────────────────────────────────
   El chip era bonito y caro: tres renglones empujaban la primera tarjeta fuera
   de la pantalla, y en un móvil la barra se comía la primera pantalla entera.
   Un selector nativo ocupa una línea y sigue diciendo cuántos tours hay. */
.tour-toolbar {
  position: sticky;
  top: 57px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) repeat(3, minmax(118px, 0.85fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 13px 0 14px;
  background: rgba(243, 239, 232, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tour-search { min-width: 0; }
.tour-search-label,
.tour-select-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #52685b;
  margin-bottom: 5px;
}
.tour-search-field { position: relative; }
.tour-search-field::before {
  /* Un icono dibujado, no un emoji. */
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
  border: 2px solid #6b8175;
  border-radius: 50%;
  pointer-events: none;
}
.tour-search-field::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 66%;
  width: 7px;
  height: 2px;
  background: #6b8175;
  border-radius: 2px;
  transform: rotate(45deg);
  pointer-events: none;
}
.tour-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  border-radius: 11px;
  border: 1.5px solid #d5e0d2;
  background: #ffffff;
  color: #1e3b2e;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tour-search input::placeholder { color: #52685b; opacity: 1; }
.tour-search input:focus {
  outline: none;
  border-color: #2a7a50;
  box-shadow: 0 0 0 3px rgba(42, 122, 80, 0.16);
}
.tour-select { display: flex; flex-direction: column; min-width: 0; }
.tour-select select {
  height: 44px;
  width: 100%;
  padding: 0 32px 0 11px;
  border-radius: 11px;
  border: 1.5px solid #d5e0d2;
  background-color: #ffffff;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M1 1.5 6 6.5l5-5" stroke="%235a7565" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 11px center;
  appearance: none;
  -webkit-appearance: none;
  color: #1e3b2e;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  text-overflow: ellipsis;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tour-select select:hover { border-color: #2a7a50; }
.tour-select select:focus {
  outline: none;
  border-color: #2a7a50;
  box-shadow: 0 0 0 3px rgba(42, 122, 80, 0.16);
}
.tour-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  white-space: nowrap;
}
.filter-count { margin: 0; font-size: 0.84rem; color: #52685b; text-align: left; }
.filter-count strong {
  color: #1e3b2e;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.tour-clear {
  min-height: 44px;
  padding: 0 4px;
  border: none;
  background: none;
  color: #2a7a50;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.tour-clear:focus-visible { outline: 2px solid #2a7a50; outline-offset: 2px; }
.tour-wa-mini { display: none; }

/* ─── La rejilla de tarjetas ──────────────────────────────────────────────── */
.tour-accordion {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  /* `start` y no `stretch`: con dos tarjetas abiertas, la que no se abrió
     quedaba con un hueco blanco hasta abajo. Cada tarjeta mide lo suyo. */
  align-items: start;
}
.tour-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7ece3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30, 59, 46, 0.05);
  transition: box-shadow 0.26s ease, border-color 0.26s ease;
}
.tour-item:hover {
  border-color: #d6e1d2;
  box-shadow: 0 18px 34px -22px rgba(30, 59, 46, 0.4);
}
.tour-card { display: flex; flex-direction: column; }

/* La foto. Se acorta para que la tarjeta llegue al precio en el primer
   vistazo: una foto de 250px empujaba la acción fuera de la pantalla. */
.tour-media {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 170px;
  background: linear-gradient(150deg, #355f4b 0%, #1e3b2e 100%);
  overflow: hidden;
}
.tour-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 90% at 50% 40%, rgba(255, 255, 255, 0.13) 0%, transparent 70%);
  animation: tour-img-respira 2.1s ease-in-out infinite;
  pointer-events: none;
}
.tour-media:has(img.is-loaded)::before { animation: none; opacity: 0; }
@keyframes tour-img-respira {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-media::before { animation: none; opacity: 0.35; }
}
.tour-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: filter 0.4s ease, opacity 0.45s ease;
}
.tour-media img.is-loaded { opacity: 1; }
.tour-item:hover .tour-media img { filter: brightness(1.04) saturate(1.04); }
.tour-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0) 32%);
}
.tour-media-top {
  position: absolute;
  top: 11px;
  left: 11px;
  right: 11px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tour-media-top .origin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: #f1c40f;
  color: #1e3b2e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
.origin-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e3b2e;
  flex: 0 0 auto;
}

.tour-card-body {
  --tour-card-pad: 17px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px var(--tour-card-pad) 14px;
}
.tour-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3b2e;
  line-height: 1.24;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.tour-card-tags {
  margin-top: -3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #52685b;
}
.tour-card-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
  font-size: 0.8rem;
  color: #3a5a48;
}
.tour-fact-sep { color: #b9cbb4; font-style: normal; }
.tour-card-dif { display: inline-flex; align-items: center; gap: 6px; }
.tour-dif-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.tour-dif-baja { background: #2a7a50; }
.tour-dif-media { background: #d19a1a; }
.tour-dif-alta { background: #c0452f; }
.tour-card-resumen {
  color: #3a5a48;
  font-size: 0.87rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── El menú de opciones: la pieza que convierte ───────────────────────────
   Cada renglón es una forma de hacer el tour, con su precio y su acción. Es un
   botón entero: el objetivo táctil es la fila completa, no un "Agregar" al pie
   que suma la opción base aunque el visitante quisiera la cabaña. */
.tour-options {
  /* Sangra hasta los bordes de la tarjeta: es una banda de precios DENTRO de
     la tarjeta, no una tarjeta dentro de otra. Con borde y radio propios se
     leía como un panel anidado. */
  margin: 4px calc(-1 * var(--tour-card-pad)) 0;
  border-top: 1px solid #e3e9dd;
  border-bottom: 1px solid #e3e9dd;
  background: transparent;
}
.tour-options-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px var(--tour-card-pad);
  background: #f3f6ef;
  border-bottom: 1px solid #e8ece2;
  font-size: 0.78rem;
}
.tour-options-desde {
  white-space: nowrap;
  font-size: 0.96rem;
  font-weight: 700;
  color: #1e3b2e;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.tour-options-desde-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #52685b;
}
.tour-options-count { color: #52685b; text-align: right; white-space: nowrap; }
.tour-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'nombre precio' 'nota accion';
  gap: 2px 12px;
  width: 100%;
  padding: 10px var(--tour-card-pad);
  border: 0;
  border-top: 1px solid #edf1e9;
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.16s ease;
}
.tour-option:first-of-type { border-top: 0; }
.tour-option:hover { background: #f2f8ef; }
.tour-option:focus-visible { outline: 2px solid #2a7a50; outline-offset: -2px; }
.tour-option-nombre {
  grid-area: nombre;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e3b2e;
  line-height: 1.32;
  text-wrap: pretty;
}
.tour-option-precio {
  grid-area: precio;
  font-size: 1rem;
  font-weight: 700;
  color: #1e5c3a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
  white-space: nowrap;
  text-align: right;
}
.tour-option-nota {
  grid-area: nota;
  font-size: 0.77rem;
  color: #52685b;
  line-height: 1.35;
}
.tour-option-accion {
  grid-area: accion;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2a7a50;
  white-space: nowrap;
  text-align: right;
}
.tour-option-accion i { font-style: normal; }

/* La tarjeta de una sola opción: precio grande y botón ancho. */
.tour-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px calc(-1 * var(--tour-card-pad)) 0;
  padding: 11px var(--tour-card-pad);
  border-top: 1px solid #e3e9dd;
  border-bottom: 1px solid #e3e9dd;
  background: transparent;
}
.tour-buy-precio {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  min-width: 0;
}
.tour-buy-desde {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #52685b;
}
.tour-buy-precio strong {
  font-size: 1.28rem;
  font-weight: 700;
  color: #1e5c3a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.tour-buy-nota { width: 100%; font-size: 0.77rem; color: #52685b; }
.tour-buy-a-consultar {
  font-size: 1.1rem !important;
  font-style: italic;
  color: #6b8175 !important;
}
.tour-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 17px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(180deg, #2a7a50, #1e5c3a);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 16px -10px rgba(30, 92, 58, 0.9);
  transition: filter 0.18s ease, transform 0.16s ease;
}
.tour-buy-btn:hover { filter: brightness(1.06); }
.tour-buy-btn:active { transform: scale(0.98); }
.tour-buy-btn:focus-visible { outline: 2px solid #1e3b2e; outline-offset: 2px; }
.tour-buy-wa { background: #1e3b2e; }

/* ─── El pie de la tarjeta: el detalle ────────────────────────────────────── */
.tour-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #edf1e9;
}
.tour-detalle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: none;
  background: none;
  color: #3a5a48;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.tour-detalle-btn:hover { color: #1e3b2e; }
.tour-detalle-btn:hover .tour-detalle-caret { border-color: #1e3b2e; }
.tour-detalle-btn:focus-visible { outline: 2px solid #2a7a50; outline-offset: 2px; }
.tour-detalle-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #d5e0d2;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
  transition: transform 0.26s ease, border-color 0.2s ease;
}
.tour-detalle-caret.is-open { transform: rotate(180deg); }

/* ─── El detalle desplegado ───────────────────────────────────────────────── */
.tour-body {
  border-top: 1px solid #edede6;
  background: #fcfdfb;
  animation: tour-detail-in 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes tour-detail-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.tour-body-inner { padding: 16px 17px 18px; }
.tour-body-inner h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e3b2e;
  margin: 16px 0 6px;
}
.tour-body-inner h3:first-of-type { margin-top: 0; }
.tour-body-inner p {
  margin-bottom: 10px;
  line-height: 1.65;
  color: #3a5a48;
  font-size: 0.88rem;
}
.tour-descripcion { color: #3a5a48; }
.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.86rem;
}
.tour-body-inner .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0; }
.tour-body-inner .highlight-box {
  background: #f6faf6;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid #d6e6d4;
  margin: 14px 0;
  color: #3a5a48;
  font-size: 0.88rem;
}
.tour-body-inner .btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1.5px solid #d5e0d2;
  border-radius: 10px;
  background: #ffffff;
  color: #3a5a48;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.tour-body-inner .btn-download-pdf:hover { border-color: #2a7a50; color: #1e3b2e; }

/* ─── El cierre: quien no eligió, no se va sin salida ─────────────────────── */
.tour-cierre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #1e3b2e;
}
.tour-cierre-texto h2 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.tour-cierre-texto p {
  margin-top: 6px;
  max-width: 62ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cfe3d5;
}
.tour-cierre-acciones { display: flex; gap: 10px; flex-wrap: wrap; }
.tour-cierre-wa,
.tour-cierre-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.tour-cierre-wa { background: #25d366; color: #0b3d1f; }
.tour-cierre-wa:hover { filter: brightness(1.04); }
.tour-cierre-tel { border: 1.5px solid rgba(255, 255, 255, 0.4); color: #ffffff; }
.tour-cierre-tel:hover { background: rgba(255, 255, 255, 0.08); }
.tour-cierre-wa:focus-visible,
.tour-cierre-tel:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* ─── El estado vacío ─────────────────────────────────────────────────────── */
.tour-vacio {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 56px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed #d5e0d2;
  border-radius: 20px;
}
.tour-vacio-titulo {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3b2e;
}
.tour-vacio-texto { color: #52685b; font-size: 0.9rem; }
.tour-vacio-btn {
  margin-top: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  background: #1e3b2e;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.tour-vacio-btn:hover { background: #2a6a4a; }
.tour-vacio-btn:focus-visible { outline: 2px solid #2a7a50; outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   LA BARRA DE VIAJE
   ═══════════════════════════════════════════════════════════════════════════
   El ancla que convierte un catálogo en un plan. Va fija abajo, porque el
   carrito tiene que estar a la vista mientras se mira el catálogo: si solo
   aparece al final de la página, nadie lo ve. */
.tour-trip-bar {
  position: fixed;
  left: 0;
  right: 0;
  /* Encima de la barra inferior del sitio, no debajo: esa barra tiene
     `z-index: 25000` y ocupa los últimos 64px de la pantalla. Sin esta resta,
     la barra de viaje quedaba tapada justo donde está el botón de pagar.
     El píxel de más es para que las dos barras no se toquen: dos bloques
     pegados sin separación se ven como uno roto. */
  bottom: calc(var(--pnt-bar-reserva, 64px) + 8px);
  z-index: 9500;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid #dfe8dc;
  box-shadow: 0 -12px 32px -22px rgba(30, 59, 46, 0.55);
  animation: tour-bar-in 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes tour-bar-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.tour-trip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr);
  grid-template-areas:
    'head list'
    'foot list';
  gap: 6px 28px;
  align-items: center;
}
.tour-trip-head {
  grid-area: head;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tour-trip-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e3b2e;
}
.tour-trip-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: #52685b;
  padding: 2px 8px;
  border-radius: 20px;
  background: #eef3ea;
}
.tour-trip-list {
  grid-area: list;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  max-height: 92px;
  overflow-y: auto;
  padding: 2px;
  justify-content: flex-end;
}
.tour-trip-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 11px;
  border: 1px solid #dfe8dc;
  border-radius: 9px;
  background: #ffffff;
  font-size: 0.82rem;
  max-width: 100%;
}
.tour-trip-line-name {
  color: #1e3b2e;
  font-weight: 600;
  /* El nombre se recorta solo si de verdad no cabe: los nombres largos son
     "Lagos del Tarapoto · Safari nocturno en el agua (6 h)" y con 220px de
     tope se leía "Paseo e…", que no dice nada. */
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tour-trip-line-price {
  color: #2a7a50;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tour-trip-remove {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #eef3ea;
  color: #52685b;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.tour-trip-remove:hover { background: #f6e3e0; color: #a63a2a; }
.tour-trip-remove:focus-visible { outline: 2px solid #2a7a50; outline-offset: 1px; }

.tour-trip-foot {
  grid-area: foot;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tour-trip-total {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.tour-trip-total-label {
  font-size: 0.78rem;
  color: #52685b;
  white-space: nowrap;
}
.tour-trip-total-value {
  font-size: 1.14rem;
  font-weight: 700;
  color: #1e5c3a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.tour-trip-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tour-trip-add {
  min-height: 36px;
  padding: 6px 12px;
  border: 1.5px dashed #b9cbb4;
  border-radius: 10px;
  background: #ffffff;
  color: #3a5a48;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.tour-trip-add:hover { border-color: #2a7a50; color: #1e3b2e; background: #f7faf6; }
.tour-trip-add:focus-visible { outline: 2px solid #2a7a50; outline-offset: 2px; }
.tour-trip-checkout {
  min-height: 40px;
  padding: 9px 20px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(180deg, #2a7a50, #1e5c3a);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 16px -10px rgba(30, 92, 58, 0.9);
  transition: filter 0.18s ease, transform 0.16s ease;
}
.tour-trip-checkout:hover { filter: brightness(1.06); }
.tour-trip-checkout:active { transform: scale(0.98); }
.tour-trip-checkout:focus-visible { outline: 2px solid #1e3b2e; outline-offset: 2px; }

/* ─── Adaptación ──────────────────────────────────────────────────────────── */

/* Portátiles de 800px de alto o menos (la mayoría): el primer precio tiene que
   verse sin hacer scroll. Se retira la frase de alcance —el titular, el precio
   desde y las tres garantías siguen diciendo lo mismo— y la foto se acorta. */
@media (min-width: 901px) and (max-height: 860px) {
  .tour-lede { display: none; }
  .tour-masthead { padding: 8px 0 14px; }
  .tour-anchor { margin-top: 5px; }
  .tour-media { max-height: 150px; }
  .tour-notes { padding: 9px 0 10px; }
  .tour-toolbar { padding: 10px 0 11px; }
}

/* Portátil: la barra de filtros pierde el contador de su columna y lo pasa a
   una línea propia, que es donde no empuja nada. */
@media (max-width: 1180px) {
  .tour-toolbar { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .tour-toolbar-meta { grid-column: 1 / -1; height: auto; padding-top: 1px; }
}

/* Tablet: la cabecera a una columna y el buscador a su propia fila. */
@media (max-width: 900px) {
  .tour-masthead { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .tour-wa { max-width: 380px; }
  .tour-toolbar {
    position: static;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 8px;
    padding: 12px 0 13px;
  }
  .tour-search { grid-column: 1 / -1; }
  .tour-select select { font-size: 0.82rem; padding-left: 9px; }
  .tour-accordion { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
  .tour-body-inner .grid-2 { grid-template-columns: 1fr; }
  .tour-cierre { grid-template-columns: 1fr; }

  /* La barra de viaje en dos filas. */
  .tour-trip-inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'head' 'list' 'foot';
    gap: 8px;
  }
  .tour-trip-list { max-height: 64px; }
  .tour-trip-foot { justify-content: space-between; }
}

/* Móvil: una tarjeta por fila y la barra de filtros en tres columnas. */
@media (max-width: 700px) {
  #tours.spa-section { padding-top: 72px; }
  .tour-masthead { padding: 8px 0 12px; gap: 10px; }
  .tour-anchor { margin-top: 4px; font-size: 0.86rem; }
  .tour-anchor strong { font-size: 1.12rem; }
  .tour-title { font-size: 1.5rem; max-width: none; }
  /* En móvil la primera pantalla es oro: la frase de alcance y el teléfono
     siguen ahí, pero compactos, para que el primer precio entre sin scroll. */
  .tour-lede { display: none; }
  .tour-proof {
    gap: 4px 14px;
    padding-bottom: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tour-proof::-webkit-scrollbar { display: none; }
  .tour-proof li { font-size: 0.78rem; white-space: nowrap; }
  .tour-proof li:last-child { display: none; }
  .tour-proof-largo { display: none; }
  .tour-proof-corto { display: inline; }
  /* El teléfono ya no es una tarjeta en móvil: ocupa una fila entera y empuja
     el primer precio fuera de la pantalla. Queda como enlace compacto en la
     barra de filtros (y el chat flotante sigue ahí). */
  .tour-wa { display: none; }
  .tour-wa-mini {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-left: auto;
    padding: 0 11px;
    border: 1.5px solid #cfdcc9;
    border-radius: 999px;
    color: #1e3b2e;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }


  .tour-notes { flex-direction: column; gap: 3px; padding: 7px 0 8px; }
  .tour-policy { font-size: 0.78rem; line-height: 1.4; }
  .tour-policy-mas { display: none; }
  .tour-shared { max-width: none; flex-wrap: wrap; font-size: 0.78rem; gap: 5px; }
  .tour-shared-kicker { display: none; }

  .tour-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 8px 0 9px; }
  .tour-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .tour-search input { height: 42px; }
  .tour-select select {
    height: 42px;
    font-size: 0.79rem;
    padding: 0 22px 0 8px;
    background-position: right 7px center;
  }
  .tour-toolbar-meta { grid-column: 1 / -1; justify-content: space-between; height: auto; }
  .tour-accordion { grid-template-columns: 1fr; gap: 16px; }
  .tour-media { height: 140px; aspect-ratio: auto; max-height: none; }
  .tour-card-body { --tour-card-pad: 15px; padding: 14px 15px 12px; gap: 8px; }
  .tour-card-title { font-size: 1.12rem; }
  .tour-option { padding: 11px 15px; }
  .tour-option-nombre { font-size: 0.86rem; }
  .tour-option-precio { font-size: 0.98rem; }
  .tour-buy { flex-wrap: wrap; gap: 10px; }
  .tour-buy-btn { flex: 1 1 100%; }
  .tour-cierre { margin-top: 24px; padding: 18px; gap: 16px; }
  .tour-cierre-acciones { flex-direction: column; align-items: stretch; }

  .tour-trip-inner { padding: 10px 14px 12px; }
  .tour-trip-foot { gap: 8px; }
  .tour-trip-actions { order: 3; width: 100%; }
  .tour-trip-add { flex: 1 1 0; text-align: center; }
  .tour-trip-checkout { width: 100%; order: 2; }
  .tour-trip-total { order: 1; }
  .tour-trip-line-name { max-width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .tour-item,
  .tour-detalle-caret,
  .tour-option { transition: none; }
  .tour-body { animation: none; }
}
/* Con la barra visible, el contenido de la página no puede quedar debajo.
   El hueco es el de la barra de viaje MÁS el de la barra inferior del sitio,
   que ya se reserva sola con `--pnt-bar-reserva`. */
body.tour-trip-bar-abierto { padding-bottom: calc(var(--pnt-bar-reserva, 64px) + 158px); }
@media (max-width: 900px) {
  body.tour-trip-bar-abierto { padding-bottom: calc(var(--pnt-bar-reserva, 64px) + 190px); }
}
@media (max-width: 700px) {
  body.tour-trip-bar-abierto { padding-bottom: calc(var(--pnt-bar-reserva, 64px) + 240px); }
}
