/* =========================================================================
   Trinativa Travel — plantilla base
   Tokens sacados del logo: verde selva, verde hoja, dorado del aro,
   rosado del bufeo (acción principal) y azul del río.
   ========================================================================= */

:root {
  /* Marca */
  --selva-950: #072a15;
  --selva-900: #0b3d1e;
  --selva-700: #12592b;
  --selva-600: #1a6e35;
  --hoja-500: #3e9b1f;
  --hoja-100: #e6f2df;
  --hoja-50:  #f3f8ef;
  --oro-500:  #d9a21b;
  --oro-300:  #f0cf6a;
  --oro-700:  #8a6410;
  --rosa-600: #d0216b;   /* bufeo: botón principal */
  --rosa-700: #ad1556;
  --rosa-100: #fde4ef;
  --rio-600:  #0a7db0;
  --rio-100:  #e0f2fa;

  /* Neutros (ligeramente verdes, no grises fríos) */
  --ink:      #15231a;
  --text:     #2a3a2f;
  --muted:    #55665a;
  --line:     #dbe4d6;
  --line-2:   #c8d4c2;
  --bg:       #ffffff;
  --bg-soft:  #f4f7f1;

  --ok:   #1a7f3c;
  --err:  #b42318;

  /* Tipografía */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-2xl: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);

  /* Espaciado 4/8 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-card: 0 1px 2px rgba(11, 61, 30, .06), 0 8px 24px rgba(11, 61, 30, .08);
  --shadow-float: 0 18px 50px rgba(7, 42, 21, .22);

  --wrap: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--rio-600); text-underline-offset: 3px; }
a:hover { color: var(--selva-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 var(--s-4);
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); font-weight: 800; }
h2 { font-size: var(--fs-xl); font-weight: 750; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
::selection { background: var(--hoja-100); color: var(--selva-900); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rio-600); outline-offset: 2px; border-radius: 6px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--selva-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--s-9); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: var(--s-8); }
.section__head { max-width: 640px; margin-bottom: var(--s-7); }
.section__head p { color: var(--muted); font-size: var(--fs-md); margin: 0; }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.section__head--row > div { max-width: 640px; }
.lead { font-size: var(--fs-md); color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  --bg-btn: var(--rosa-600);
  --fg-btn: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border: 2px solid transparent; border-radius: var(--r-pill);
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease), border-color .18s;
  white-space: nowrap;
}
.btn:hover { background: var(--rosa-700); color: #fff; box-shadow: 0 6px 18px rgba(208, 33, 107, .28); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--selva-700); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--hoja-50); color: var(--selva-700); border-color: var(--selva-600); box-shadow: none; }
.btn--green { --bg-btn: var(--selva-700); }
.btn--green:hover { background: var(--selva-900); box-shadow: 0 6px 18px rgba(18, 89, 43, .25); }
.btn--light { --bg-btn: #fff; --fg-btn: var(--selva-900); }
.btn--light:hover { background: var(--hoja-100); color: var(--selva-900); }
.btn--text { --bg-btn: transparent; --fg-btn: var(--muted); padding-inline: var(--s-3); }
.btn--text:hover { background: var(--bg-soft); color: var(--ink); box-shadow: none; transform: none; }
.btn--sm { min-height: 40px; padding-inline: var(--s-4); font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--selva-700); text-decoration: none; }
.link-arrow .icon { transition: transform .18s var(--ease); }
.link-arrow:hover { color: var(--rosa-600); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { height: var(--header-h); display: flex; align-items: center; gap: var(--s-5); }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--selva-700); letter-spacing: .01em; }
.brand__name span { font-size: .75rem; font-weight: 700; color: var(--oro-700); letter-spacing: .26em; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav a, .nav__drop > button {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--muted); font-weight: 600; text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav__drop > button:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--selva-700); box-shadow: inset 0 -2px 0 var(--rosa-600); border-radius: 0; }
.nav__drop { position: relative; }
.nav__drop .icon { width: 16px; height: 16px; transition: transform .18s; }
.nav__drop[data-open] > button .icon { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-float); padding: var(--s-2);
  display: none;
}
.nav__drop[data-open] .nav__menu { display: block; }
/* Puente invisible sobre el hueco entre el botón y el menú: el mouse no "sale" al cruzarlo */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }
.nav__menu a { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3); color: var(--ink); }
.nav__menu a small { display: block; color: var(--muted); font-weight: 500; }
.nav__menu .icon { color: var(--selva-600); margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.lang-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: var(--r-sm); color: var(--muted); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.lang-link:hover { color: var(--ink); background: var(--bg-soft); }
.lang-link .icon { width: 18px; height: 18px; }
@media (max-width: 640px) { .lang-link { display: none; } }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 480px) {
  .header-actions .btn { display: none; }
  .brand__name strong { font-size: 1.15rem; }
}

/* Drawer móvil */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer[data-open] { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(7, 42, 21, .45); }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 360px);
  background: #fff; padding: var(--s-5); overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--s-1);
  animation: drawerIn .22s var(--ease);
}
@keyframes drawerIn { from { transform: translateX(24px); opacity: 0; } }
.drawer__panel a:not(.btn) { padding: 14px var(--s-2); color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer__panel a.sub { padding-left: var(--s-5); font-weight: 500; color: var(--muted); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-4); }
.drawer__panel .btn { margin-top: var(--s-4); }

/* ---------- Hero (slider) ---------- */
.hero { position: relative; color: #fff; background: var(--selva-950); overflow: hidden; --hero-time: 7s; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; isolation: isolate; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__bg img { transform: scale(1.06); transition: transform 0s .9s; }
.hero__slide.is-active .hero__bg img { transform: scale(1); transition: transform calc(var(--hero-time) + 1s) linear; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 42, 21, .84) 0%, rgba(7, 42, 21, .6) 45%, rgba(7, 42, 21, 0) 78%),
    linear-gradient(0deg, rgba(7, 42, 21, .55) 0%, rgba(7, 42, 21, 0) 40%);
}
.hero__in { min-height: min(84vh, 720px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: var(--s-8) 210px; }
.hero h1, .hero__title { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; color: #fff; max-width: 13ch; margin: 0 0 var(--s-4); }
.hero h1 em, .hero__title em { font-style: normal; color: var(--oro-300); }
.hero h1, .hero__title, .hero p, .page-head:not(.page-head--plain) h1, .page-head:not(.page-head--plain) p { text-shadow: 0 1px 2px rgba(7, 42, 21, .35), 0 2px 24px rgba(7, 42, 21, .5); }
.hero p { font-size: var(--fs-md); max-width: 46ch; color: rgba(255, 255, 255, .92); }
.hero__slide .btn { margin-top: var(--s-2); }
.hero__slide.is-active .hero__in > * { animation: heroIn .8s var(--ease) both; }
.hero__slide.is-active .hero__in > *:nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__in > *:nth-child(3) { animation-delay: .24s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } }

.hero__arrow {
  position: absolute; top: calc(50% - 55px); z-index: 3; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(7, 42, 21, .28); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s, transform .15s var(--ease);
}
.hero__arrow:hover { background: rgba(255, 255, 255, .95); color: var(--selva-900); border-color: #fff; }
.hero__arrow:active { transform: translateY(-50%) scale(.94); }
.hero__arrow .icon { width: 24px; height: 24px; }
.hero__arrow--prev { left: max(16px, calc((100vw - var(--wrap)) / 2 - 76px)); }
.hero__arrow--next { right: max(16px, calc((100vw - var(--wrap)) / 2 - 76px)); }

.hero__nav { position: absolute; left: 0; right: 0; bottom: 172px; z-index: 3; display: flex; justify-content: center; align-items: center; gap: var(--s-2); }
.hero__dot { position: relative; width: 56px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot::before, .hero__dot i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; }
.hero__dot::before { background: rgba(255, 255, 255, .38); transition: background-color .2s; }
.hero__dot:hover::before { background: rgba(255, 255, 255, .6); }
.hero__dot i { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-current="true"] i { animation: heroBar var(--hero-time) linear both; }
/* pausa: botón, mouse sobre el texto o los controles, o foco de teclado */
.hero.is-paused .hero__dot[aria-current="true"] i,
.hero:has(.is-active .hero__in > :hover, .hero__arrow:hover, .hero__nav:hover, :focus-visible) .hero__dot[aria-current="true"] i { animation-play-state: paused; }
.hero.is-static .hero__dot[aria-current="true"] i { animation: none; transform: scaleX(1); }
@keyframes heroBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause { width: 32px; height: 32px; margin-left: var(--s-1); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(7, 42, 21, .28); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero__pause:hover { background: rgba(255, 255, 255, .2); }
.hero__pause .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
@media (max-width: 639px) {
  /* En móvil el texto ocupa todo el ancho: el velo va de abajo hacia arriba */
  .hero__slide::after { background: linear-gradient(0deg, rgba(7, 42, 21, .9) 0%, rgba(7, 42, 21, .72) 45%, rgba(7, 42, 21, .35) 100%); }
  .hero__in { justify-content: flex-end; }
}
@media (max-width: 760px) {
  .hero__arrow { display: none; }
  .hero__nav { bottom: 164px; }
  .hero__dot { width: 40px; }
}

/* ---------- Buscador ---------- */
.search-dock { position: relative; z-index: 5; margin-top: -148px; }
/* Sin el tablero de salidas (se apaga en el panel) le sigue una sección gris: el tramo bajo el hero toma su fondo */
.search-dock:has(+ .section--soft) { background: linear-gradient(transparent 148px, var(--bg-soft) 148px); }
.search-dock + .section--soft { padding-top: var(--s-8); }
/* Aéreo | Fluvial: cada modo carga sus propias rutas */
.search-modo { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: var(--s-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow-float); }
.search-modo__opt { position: relative; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-5); border-radius: var(--r-pill); font-weight: 700; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s; }
.search-modo__opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.search-modo__opt:hover { color: var(--ink); background: var(--bg-soft); }
.search-modo__opt:has(input:checked) { background: var(--selva-900); color: #fff; }
.search-modo__opt:has(input:focus-visible) { outline: 3px solid var(--rio-600); outline-offset: 2px; }
.search-modo .icon { width: 20px; height: 20px; }
.search {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-float);
  display: grid; grid-template-columns: 1.25fr 0fr 1.25fr 1fr 1fr auto;
  align-items: stretch; padding: var(--s-2); gap: 0;
  border: 1px solid var(--line);
}
.sf { position: relative; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); min-width: 0; }
.sf + .sf, .sf + .swap + .sf { border-left: 1px solid var(--line); }
.sf:focus-within { background: var(--hoja-50); }
.sf.is-invalid { background: #fff4f2; }
.sf__label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.sf__label small { font-weight: 600; letter-spacing: 0; text-transform: none; }
.sf__control { display: flex; align-items: center; gap: var(--s-2); color: var(--rio-600); min-height: 32px; position: relative; }
.sf .cs__btn { border: 0; background: transparent; min-height: 32px; padding: 4px 0; font-weight: 700; box-shadow: none !important; }
.sf .cs__btn:focus-visible { outline: none; }
.sf .cs.is-placeholder .cs__val { color: var(--ink); }
.sf .cs.is-disabled .cs__val { color: var(--muted); font-weight: 600; }
.sf .cs__list { left: -40px; min-width: calc(100% + 56px); top: calc(100% + 18px); }
.sf .cs--up .cs__list { top: auto; bottom: calc(100% + 18px); }
.sf:has(.cs__btn:focus-visible), .sf:has(.sf__date:focus-visible) { outline: 3px solid var(--rio-600); outline-offset: -3px; }
.sf__date:focus-visible { outline: none; }
.sf__date { flex: 1; display: flex; align-items: center; gap: var(--s-2); background: none; border: 0; padding: 4px 0; text-align: left; font-weight: 700; color: var(--ink); cursor: pointer; min-width: 0; }
.sf__date span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf__date[data-empty] span { color: var(--ink); }
.sf--optional .sf__date[data-empty] span { color: var(--muted); font-weight: 600; }
.sf__clear { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sf__clear:hover { background: var(--line); color: var(--ink); }
.sf__clear .icon { width: 14px; height: 14px; }
.sf__error { position: absolute; left: var(--s-4); bottom: -2px; transform: translateY(100%); margin: 0; font-size: .8rem; font-weight: 600; color: var(--err); display: flex; gap: 4px; align-items: center; background: #fff; padding: 2px 8px; border-radius: 6px; box-shadow: var(--shadow-card); z-index: 3; white-space: nowrap; }
.sf__error .icon { width: 14px; height: 14px; }
.swap { position: relative; width: 0; z-index: 2; }
.swap button {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--rio-600); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .25s var(--ease), border-color .2s;
}
.swap button:hover { border-color: var(--rio-600); transform: translate(-50%, -50%) rotate(180deg); }
.swap .icon { width: 18px; height: 18px; }
.search__go { margin: var(--s-1); min-height: 64px; padding-inline: var(--s-6); border-radius: var(--r-md); font-size: 1.05rem; }
.search-help { display: flex; justify-content: center; margin-top: var(--s-5); }
.search-resume { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-4); padding: var(--s-3) var(--s-4); background: #fff; border: 1px solid var(--hoja-100); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.search-resume > .icon { color: var(--selva-600); }
.search-resume > span { flex: 1; min-width: 200px; }
.chip-help {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 10px 18px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  color: var(--rio-600); font-weight: 700; cursor: pointer;
  transition: transform .15s var(--ease), border-color .2s;
}
.chip-help:hover { border-color: var(--rio-600); transform: translateY(-1px); }

@media (max-width: 960px) {
  .search { grid-template-columns: 1fr 1fr; padding: var(--s-2); }
  .sf + .sf, .sf + .swap + .sf { border-left: 0; }
  .sf { border-bottom: 1px solid var(--line); border-radius: 0; }
  .sf[data-field="origen"], .sf[data-field="destino"] { grid-column: 1 / -1; }
  .sf[data-field="vuelta"] { border-left: 1px solid var(--line) !important; }
  .swap { grid-column: 1 / -1; height: 0; width: auto; }
  .swap button { left: auto; right: var(--s-4); transform: translateY(-50%) rotate(90deg); }
  .swap button:hover { transform: translateY(-50%) rotate(270deg); }
  .search__go { grid-column: 1 / -1; min-height: 54px; margin-top: var(--s-2); }
  .sf__error { position: static; transform: none; box-shadow: none; padding: 4px 0 0; background: none; white-space: normal; }
}
@media (max-width: 380px) {
  .search { grid-template-columns: 1fr; }
  .sf[data-field="vuelta"] { border-left: 0 !important; }
}

/* ---------- Select propio (ui.js) ---------- */
.cs { position: relative; width: 100%; }
.cs__native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.cs__btn {
  width: 100%; min-height: 48px; padding: 10px 14px; display: flex; align-items: center; gap: var(--s-2);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink);
  font-weight: 600; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.cs__btn:hover { border-color: var(--selva-600); }
.cs__btn:focus-visible, .cs.is-open .cs__btn { outline: none; border-color: var(--rio-600); box-shadow: 0 0 0 3px rgba(10, 125, 176, .18); }
.cs__btn:disabled { cursor: not-allowed; }
.cs__val { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs.is-placeholder .cs__val { color: var(--muted); }
.cs__chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease); }
.cs.is-open .cs__chev { transform: rotate(180deg); color: var(--rio-600); }
.cs__list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; max-height: 320px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-float); animation: popIn .16s var(--ease); outline: none;
}
.cs--up .cs__list { top: auto; bottom: calc(100% + 6px); }
.cs__list li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; cursor: pointer; white-space: nowrap; }
.cs__list li.is-active { background: var(--hoja-50); }
.cs__list li[aria-selected="true"] { color: var(--selva-700); font-weight: 800; }
.cs__ico { width: 18px; height: 18px; color: var(--rio-600); }
.cs__tick { width: 18px; height: 18px; margin-left: auto; padding-left: 4px; color: var(--hoja-500); opacity: 0; }
.cs__list li[aria-selected="true"] .cs__tick { opacity: 1; }
.cs.input-narrow { max-width: 220px; }
.field.is-invalid .cs__btn { border-color: var(--err); }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Calendario propio (ui.js) ---------- */
.dp {
  position: absolute; z-index: 50; top: calc(100% + 14px); left: 0; width: max-content;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-float);
  padding: var(--s-4) var(--s-5); color: var(--ink); animation: popIn .18s var(--ease); cursor: default;
}
.dp--right { left: auto; right: 0; }
.dp__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); padding-bottom: var(--s-3); margin-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.dp__kicker { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.dp__picked { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.dp__x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dp__x:hover { background: var(--line); }
.dp__x .icon { width: 18px; height: 18px; }
.dp__body { position: relative; }
.dp__months { display: flex; gap: var(--s-6); }
.dp__title { margin: 0 0 var(--s-2); height: 40px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-transform: capitalize; }
.dp__title span { color: var(--muted); font-weight: 600; margin-left: 6px; }
.dp__nav { position: absolute; top: 0; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dp__nav:hover:not(:disabled) { border-color: var(--selva-600); background: var(--hoja-50); }
.dp__nav:disabled { opacity: .35; cursor: not-allowed; }
.dp__nav--prev { left: 0; }
.dp__nav--next { right: 0; }
.dp__grid { display: grid; grid-template-columns: repeat(7, 42px); row-gap: 2px; }
.dp__wd { height: 32px; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.dp__day {
  position: relative; height: 42px; border: 0; background: none; padding: 0; cursor: pointer;
  font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; isolation: isolate;
}
.dp__day::before { content: ""; position: absolute; inset: 1px; border-radius: 50%; z-index: -1; transition: background-color .12s; }
.dp__day:hover:not(:disabled)::before { background: var(--hoja-100); }
.dp__day:disabled { color: #b5c0b0; cursor: not-allowed; }
.dp__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--rosa-600); }
.dp__day.in-range { background: var(--hoja-50); color: var(--selva-700); }
.dp__day.is-from::before { background: var(--hoja-100); box-shadow: inset 0 0 0 2px var(--selva-600); }
.dp__day.is-sel { color: #fff; font-weight: 800; }
.dp__day.is-sel::before, .dp__day.is-sel:hover::before { background: var(--selva-700); }
.dp__day.is-sel::after { background: #fff; }
.dp__day:focus-visible { outline: none; }
.dp__day:focus-visible::before { box-shadow: 0 0 0 3px var(--rio-600); }
.dp__foot { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.dp__chip { min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; color: var(--text); font-weight: 600; font-size: .88rem; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dp__chip:hover { border-color: var(--selva-600); background: var(--hoja-50); }
.dp__chip.is-on { background: var(--selva-700); border-color: var(--selva-700); color: #fff; }
.dp-scrim { display: none; }
@media (max-width: 639px) {
  .dp { position: fixed; z-index: 96; inset: auto 0 0 0; width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: var(--s-5) var(--s-4) calc(var(--s-5) + env(safe-area-inset-bottom)); animation: sheetIn .22s var(--ease); }
  .dp__grid { grid-template-columns: repeat(7, 1fr); }
  .dp__day { height: 44px; }
  .dp__day::before { inset: 1px calc(50% - 21px); }
  .dp__months { justify-content: center; }
  .dp__months > * { flex: 1; max-width: 360px; }
  .dp-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 95; background: rgba(7, 42, 21, .45); }
}
@keyframes sheetIn { from { transform: translateY(24px); opacity: 0; } }

/* ---------- Tablero de salidas (inicio) ---------- */
.section--board { padding-top: var(--s-8); }
.board__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-5); }
.board__head h2 { margin-bottom: var(--s-2); }
.board__head p { margin: 0; color: var(--muted); font-size: var(--fs-md); max-width: 52ch; }
.board__tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.board__tabs button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--s-4); border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; color: var(--muted); font-weight: 700; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.board__tabs button:hover { border-color: var(--selva-600); color: var(--ink); }
.board__tabs button[aria-pressed="true"] { background: var(--selva-900); border-color: var(--selva-900); color: #fff; }
.board__tabs .icon { width: 18px; height: 18px; }
.board__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--selva-900); }
.zarpe { display: grid; grid-template-columns: 150px 1fr auto auto; gap: var(--s-5); align-items: center; padding: var(--s-4) var(--s-2); border-bottom: 1px solid var(--line); transition: background-color .15s; }
.zarpe:hover { background: var(--hoja-50); }
.zarpe__when { display: flex; flex-direction: column; line-height: 1.1; font-variant-numeric: tabular-nums; }
.zarpe__when strong { font-size: .85rem; font-weight: 800; color: var(--rosa-700); text-transform: capitalize; }
.zarpe__when span { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.zarpe__when .zarpe__varios { font-size: 1.15rem; letter-spacing: 0; line-height: 1.3; }
.zarpe__to { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zarpe__to strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.zarpe__to span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }
.zarpe__to .icon { width: 17px; height: 17px; color: var(--rio-600); }
.zarpe__price { text-align: right; line-height: 1.15; font-variant-numeric: tabular-nums; }
.zarpe__price small { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); }
.zarpe__price strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--selva-700); }
.zarpe__price span { display: block; font-size: .8rem; color: var(--muted); }
.board__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); margin-top: var(--s-4); }
.board__season { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0; color: var(--text); font-size: .92rem; }
.board__season:empty { display: none; }
.board__season .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--rio-600); }
.board__note { margin: 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) {
  .board__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; width: calc(100% + 40px); }
  .board__tabs::-webkit-scrollbar { display: none; }
  .board__tabs button { flex: none; }
  .zarpe { grid-template-columns: 76px 1fr auto; gap: var(--s-1) var(--s-3); padding-inline: 0; align-items: start; }
  .zarpe__when { grid-row: span 2; padding-top: 2px; }
  .zarpe__when span { font-size: 1.45rem; }
  .zarpe__to { grid-column: 2 / -1; }
  .zarpe__to strong { font-size: 1.08rem; }
  .zarpe__to span { display: block; }
  .zarpe__to .icon { display: inline-block; vertical-align: -3px; margin-right: 4px; }
  .zarpe__price { grid-column: 2; text-align: left; align-self: center; }
  .zarpe__price small, .zarpe__price span { display: inline; }
  .zarpe__price strong { font-size: 1.15rem; white-space: nowrap; margin-inline: 2px 4px; }
  .zarpe__go { grid-column: 3; align-self: center; }
  .zarpe:nth-child(n+6) { display: none; }
}
@media (min-width: 761px) { .zarpe { grid-template-columns: 150px minmax(0, 1fr) 150px auto; } }

/* ---------- Servicios (dos caminos) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.path {
  position: relative; display: grid; grid-template-rows: 280px auto; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.path:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); color: inherit; }
.path__img { overflow: hidden; }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.path:hover .path__img img { transform: scale(1.03); }
.path__body { padding: var(--s-5) var(--s-6) var(--s-6); }
.path__body h3 { display: flex; align-items: center; gap: var(--s-3); }
.path__body h3 .icon { width: 28px; height: 28px; color: var(--hoja-500); }
.path__body p { color: var(--muted); }
.path ul { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-2); }
.path li { display: flex; gap: var(--s-2); align-items: flex-start; }
.path li .icon { width: 18px; height: 18px; color: var(--hoja-500); margin-top: 3px; }
@media (max-width: 800px) { .paths { grid-template-columns: 1fr; } .path { grid-template-rows: 220px auto; } }

/* ---------- Paquetes ---------- */
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.pk-grid--feature { grid-template-columns: 1.4fr 1fr 1fr; }
.pk-grid--feature .pk:first-child { grid-row: span 2; }
.pk-grid--feature .pk:first-child .pk__img { aspect-ratio: auto; flex: 1; min-height: 300px; }
.pk {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pk:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); color: inherit; }
.pk__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pk__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pk:hover .pk__img img { transform: scale(1.03); }
.pk__tag { position: absolute; left: var(--s-3); top: var(--s-3); background: #fff; color: var(--selva-700); font-size: .8rem; font-weight: 800; padding: 6px 10px; border-radius: var(--r-pill); display: inline-flex; gap: 6px; align-items: center; }
.pk__tag .icon { width: 14px; height: 14px; }
.pk__body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 0 0 auto; }
.pk__body h3 { font-size: 1.2rem; margin: 0; }
.pk__body p { color: var(--muted); margin: 0; font-size: .95rem; }
.pk__foot { display: flex; align-items: end; justify-content: space-between; margin-top: var(--s-2); gap: var(--s-3); }
.price { line-height: 1.1; }
.price small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.price strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--selva-700); font-variant-numeric: tabular-nums; }
.price span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.pk__foot .link-arrow { white-space: nowrap; }
@media (max-width: 960px) {
  .pk-grid, .pk-grid--feature { grid-template-columns: 1fr 1fr; }
  .pk-grid--feature .pk:first-child { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 620px) { .pk-grid, .pk-grid--feature { grid-template-columns: 1fr; } }

/* ---------- Momento de marca: Descubre / Conecta / Vive ---------- */
.motto { background: var(--selva-900); color: #fff; padding-block: var(--s-9); overflow: hidden; }
.motto__row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-7); padding-block: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .12); }
.motto__row:first-of-type { border-top: 0; }
.motto__row:nth-child(even) > div:first-child { order: 2; }
.motto__row .motto__word { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 1.5rem + 8vw, 8.5rem); line-height: .9; letter-spacing: -.04em; color: #fff; margin: 0; }
.motto__word span { color: var(--oro-500); }
.motto__text { color: rgba(255, 255, 255, .78); max-width: 38ch; margin: var(--s-4) 0 0; font-size: var(--fs-md); }
.motto__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.motto__img img { width: 100%; height: 100%; object-fit: cover; }
.motto__row[data-reveal] .motto__word { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .motto__row[data-reveal]:not(.is-in) .motto__word { transform: translateY(40px); opacity: 0; }
@media (max-width: 800px) {
  .motto__row { grid-template-columns: 1fr; gap: var(--s-4); }
  .motto__row:nth-child(even) > div:first-child { order: 0; }
}

/* ---------- Nosotros (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.split__media { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-3); }
.split__media img { border-radius: var(--r-md); width: 100%; height: 100%; object-fit: cover; }
.split__media img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.split__media img:not(:first-child) { aspect-ratio: 4 / 3; }
.historia > p:first-child { font-size: var(--fs-md); color: var(--muted); }
.historia > :last-child { margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); display: grid; gap: var(--s-3); }
.checks li { display: flex; gap: var(--s-3); align-items: flex-start; }
.checks .icon { color: #fff; background: var(--hoja-500); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); margin: 0; }
.quote__trip { display: flex; align-items: center; gap: var(--s-2); margin: 0; padding-bottom: var(--s-4); border-bottom: 1px dashed var(--line-2); font-weight: 700; color: var(--selva-700); }
.quote__trip .icon { color: var(--rio-600); }
.quote__trip small { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--muted); }
.quote blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); flex: 1; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote figcaption span { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Galería ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: var(--s-3); }
.mosaic a, .mosaic button { display: block; overflow: hidden; border-radius: var(--r-md); border: 0; padding: 0; cursor: zoom-in; background: var(--bg-soft); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mosaic a:hover img, .mosaic button:hover img { transform: scale(1.03); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 800px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.filters button { min-height: 40px; padding: 0 var(--s-4); border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font-weight: 600; cursor: pointer; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--selva-700); border-color: var(--selva-700); color: #fff; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 20, 12, .9); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--r-md); user-select: none; -webkit-user-drag: none; }
.lightbox img.is-swap { animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.985); } }
.lightbox figcaption { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-3); color: rgba(255, 255, 255, .9); font-weight: 600; }
.lightbox figcaption span:last-child { color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lightbox__close, .lightbox__nav { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .15s var(--ease), background-color .15s, color .15s; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.lightbox__nav:hover { background: #fff; color: var(--ink); }
.lightbox__nav:active { transform: translateY(-50%) scale(.94); }
.lightbox__nav .icon { width: 26px; height: 26px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
@media (max-width: 760px) {
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav:active { transform: scale(.94); }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.post { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post__img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: var(--s-4); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post:hover .post__img img { transform: scale(1.03); }
.post__meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-2); }
.post h3 { font-size: 1.2rem; margin-bottom: var(--s-2); transition: color .18s var(--ease); }
.post:hover h3 { color: var(--rosa-600); }
.post p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

.article { max-width: 720px; margin-inline: auto; }
.article__cover { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; margin-block: var(--s-6); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article p, .article li { font-size: 1.075rem; line-height: 1.7; }
.article h2 { font-size: 1.6rem; margin-top: var(--s-7); }

/* ---------- Bloque contacto / CTA ---------- */
.cta-band { position: relative; isolation: isolate; color: #fff; border-radius: var(--r-lg); overflow: hidden; padding: var(--s-8) var(--s-7); display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-6); align-items: center; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 42, 21, .88), rgba(7, 42, 21, .55)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: flex-end; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: var(--s-6) var(--s-5); } .cta-band__actions { justify-content: flex-start; } }

/* ---------- Page head (páginas internas) ---------- */
.page-head { position: relative; isolation: isolate; color: #fff; padding-block: var(--s-8) var(--s-7); }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 42, 21, .88), rgba(7, 42, 21, .62)); }
.page-head h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: var(--s-3); }
.page-head p { color: rgba(255, 255, 255, .88); max-width: 60ch; margin: 0; font-size: var(--fs-md); }
.page-head--plain { color: var(--ink); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head--plain::after { display: none; }
.page-head--plain h1 { color: var(--ink); }
.page-head--plain p { color: var(--muted); }
.crumbs { font-size: var(--fs-sm); margin-bottom: var(--s-4); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: inherit; opacity: .85; }
.page-head:not(.page-head--plain) .crumbs { color: rgba(255, 255, 255, .85); }

/* ---------- Tarjetas info, FAQ, prosa ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.info { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); }
.info .icon { width: 28px; height: 28px; color: var(--hoja-500); margin-bottom: var(--s-3); }
.info h3 { font-size: 1.1rem; margin-bottom: var(--s-2); }
.info p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

.faq { display: grid; gap: var(--s-3); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s-4) var(--s-5); font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 var(--s-5) var(--s-5); color: var(--text); }
.faq details > div > p { max-width: 62ch; }
.faq details > div > p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-7); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.faq-nav a { padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--muted); font-weight: 600; }
.faq-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.faq-group + .faq-group { margin-top: var(--s-7); }
.intl { padding-top: var(--s-6); border-top: 3px solid var(--rio-600); }
.intl .lead { max-width: 60ch; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; display: flex; flex-wrap: wrap; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: var(--s-7); }
.prose p, .prose li { color: var(--text); }

/* ---------- Formularios ---------- */
.form { display: grid; gap: var(--s-5); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); }
.card h2 { font-size: 1.3rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); }
.grid2 .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } .card { padding: var(--s-5); } }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.field label, .field .label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field label span, .field .label span { font-weight: 500; color: var(--muted); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rio-600); box-shadow: 0 0 0 3px rgba(10, 125, 176, .18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field__hint { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.field__err { font-size: var(--fs-sm); color: var(--err); font-weight: 600; margin: 0; display: flex; align-items: center; gap: 4px; }
.field__err .icon { width: 14px; height: 14px; }
.input-group { display: flex; gap: var(--s-2); }
.input-group > :first-child { flex: 1; }
.input-narrow { max-width: 220px; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--selva-700); flex: none; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border: 1.5px solid var(--line-2); border-radius: var(--r-md); cursor: pointer; background: #fff; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--selva-600); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; margin-top: 1px; display: grid; place-items: center; transition: border-color .15s; }
.choice__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--selva-700); transform: scale(0); transition: transform .15s var(--ease); }
.choice:has(input:checked) { border-color: var(--selva-700); background: var(--hoja-50); }
.choice:has(input:checked) .choice__dot { border-color: var(--selva-700); }
.choice:has(input:checked) .choice__dot::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 3px solid var(--rio-600); outline-offset: 2px; }
.choice strong { display: block; color: var(--ink); }
.choice small { display: block; color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) { .choice__price small { display: block; } }
.choice__img { width: 76px; height: 64px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.choice__price { align-self: center; margin-left: auto; text-align: right; font-weight: 800; color: var(--selva-700); white-space: nowrap; font-variant-numeric: tabular-nums; }
.choice__price small { font-weight: 600; }

.alert { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); }
.alert .icon { margin-top: 2px; }
.alert--ok { background: #e9f6ee; color: #10512a; border: 1px solid #b9e0c7; }
.alert--info { background: var(--rio-100); color: #075a80; border: 1px solid #b6dff0; }
.alert--warn { background: #fff7e0; color: #6b4d06; border: 1px solid #f3dc97; }
.alert--err { background: #fdecea; color: #8c1d13; border: 1px solid #f5c2bd; }
.alert a { color: inherit; font-weight: 700; text-decoration: underline; }
.alert a:hover { color: inherit; text-decoration-thickness: 2px; }
.btns-inline { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }

.hp { position: absolute; left: -9999px; }

/* ---------- Contador (+/-) ---------- */
.counter-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.counter-row:last-child { border-bottom: 0; }
.counter-row strong { display: block; color: var(--ink); }
.counter-row small { color: var(--muted); }
.counter { display: inline-flex; align-items: center; gap: var(--s-3); }
.counter button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--selva-700); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.counter button:hover:not(:disabled) { border-color: var(--selva-700); background: var(--hoja-50); }
.counter button:disabled { opacity: .4; cursor: not-allowed; }
.counter output { min-width: 28px; text-align: center; font-weight: 800; font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Modal de reserva (dialog) ---------- */
.rmodal { width: min(860px, 100vw - 32px); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-float); color: var(--text); overflow: hidden; }
.rmodal[open] { display: flex; flex-direction: column; animation: modalIn .25s var(--ease); }
.rmodal::backdrop { background: rgba(7, 42, 21, .55); backdrop-filter: blur(2px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 640px) {
  .rmodal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
}
/* Modal del mensaje de WhatsApp: compacto también en móvil */
.rmodal--msg { width: min(560px, 100vw - 32px); }
.rmodal--msg .wz__top { margin-bottom: 0; align-items: center; }
@media (max-width: 640px) { .rmodal--msg { width: calc(100vw - 24px); height: auto; max-height: 88dvh; border-radius: var(--r-lg); margin: auto; } }
.rmodal--msg .wa-preview { max-height: none; overflow: visible; font-size: .95rem; }
.link-btn { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 700; cursor: pointer; }
.link-btn .icon { width: 18px; height: 18px; }
.wz { display: flex; flex-direction: column; min-height: 0; flex: 1; background: #fff; }
.wz--inline { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.wz__head { padding: var(--s-5) var(--s-6) var(--s-4); border-bottom: 1px solid var(--line); }
.wz__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); margin-bottom: var(--s-4); }
.wz__title { font-size: 1.35rem; margin: 0 0 4px; }
.wz__trip { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .92rem; color: var(--muted); }
.wz__trip strong { color: var(--ink); }
.wz__trip .icon { width: 16px; height: 16px; color: var(--rio-600); }
.wz__trip button { background: none; border: 0; color: var(--rio-600); font-weight: 700; cursor: pointer; padding: 4px; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--line); }

.steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.steps li { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.steps li + li::before { content: ""; width: 16px; height: 2px; background: var(--line); border-radius: 2px; }
.steps li.is-done + li::before { background: var(--hoja-500); }
.step-dot { display: inline-flex; align-items: center; gap: var(--s-2); background: none; border: 0; padding: 4px; border-radius: var(--r-pill); font-weight: 600; font-size: .88rem; color: var(--muted); cursor: default; }
.step-dot b { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .85rem; color: var(--muted); }
.step-dot b .icon { width: 15px; height: 15px; }
.is-done .step-dot { cursor: pointer; color: var(--selva-700); }
.is-done .step-dot b { background: var(--hoja-500); border-color: var(--hoja-500); color: #fff; }
.is-current .step-dot { color: var(--ink); font-weight: 800; }
.is-current .step-dot b { background: var(--rosa-600); border-color: var(--rosa-600); color: #fff; }
@media (max-width: 900px) { .steps .step-dot span { display: none; } .steps li.is-current .step-dot span { display: inline; } }

.wz__body { padding: var(--s-6); overflow-y: auto; flex: 1; min-height: 0; }
.wz__body h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.wz__body > .wz__pane > p.lead { margin-bottom: var(--s-5); font-size: 1rem; }
.wz__foot { padding: var(--s-4) var(--s-6); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); background: #fff; }
.wz__foot .count { font-size: var(--fs-sm); color: var(--muted); }
.wz__foot .btns { display: flex; gap: var(--s-2); margin-left: auto; }
@media (max-width: 640px) { .wz__head, .wz__body, .wz__foot { padding-inline: var(--s-4); } .wz__foot .count { display: none; } .wz__foot .btns { width: 100%; } .wz__foot .btns .btn { flex: 1; } }

.summary { display: grid; gap: 0; margin: 0 0 var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.summary div { display: grid; grid-template-columns: 170px 1fr auto; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--line); align-items: start; }
.summary div:first-child { border-top: 0; }
.summary dt { font-weight: 700; color: var(--muted); font-size: .92rem; }
.summary dd { margin: 0; color: var(--ink); font-weight: 600; }
.summary button { background: none; border: 0; color: var(--rio-600); font-weight: 700; cursor: pointer; font-size: .85rem; padding: 2px 4px; }
@media (max-width: 560px) { .summary div { grid-template-columns: 1fr auto; } .summary dd { grid-column: 1 / -1; grid-row: 2; } }

.wz__sub { font-size: 1.1rem; margin: var(--s-6) 0 var(--s-2); }
.muted { color: var(--muted); }
.wz__pane > .field__err { margin-bottom: var(--s-3); }
.opt { align-items: flex-start; }
.opt__ico { width: 44px; height: 44px; flex: none; border-radius: var(--r-sm); background: var(--rio-100); color: var(--rio-600); display: grid; place-items: center; }
.opt__ico .icon { width: 24px; height: 24px; }
.opt__body { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wz__pane h3:focus { outline: none; }
.opt__facts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; color: var(--text); font-weight: 600; }
.opt__facts .icon, .opt__ok .icon, .opt__warn .icon { width: 15px; height: 15px; }
.opt__ok, .opt__warn { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; }
.opt__ok { color: var(--ok); }
.opt__warn { color: #8a5a00; }
.choice__price small:last-child { display: block; font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) {
  .opt { flex-wrap: wrap; }
  .opt .choice__price { margin-left: calc(22px + var(--s-3)); text-align: left; width: 100%; }
  .opt .choice__price small, .opt .choice__price small:last-child { display: inline; font-size: .8rem; margin-right: 4px; }
  .opt .choice__price small:last-child { margin-left: 6px; }
  .opt__ico { display: none; }
}
.estimate { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s-4); align-items: baseline; margin: 0 0 var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--hoja-50); border: 1px solid var(--hoja-100); }
.estimate span { font-weight: 700; color: var(--ink); }
.estimate strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--selva-700); font-variant-numeric: tabular-nums; }
.estimate small { grid-column: 1 / -1; color: var(--muted); }
.wa-preview { background: #e7f6ea; border-radius: var(--r-md); padding: var(--s-4); font-size: .9rem; white-space: pre-wrap; color: #1b3a24; border: 1px solid #c9e8cf; max-height: 220px; overflow: auto; font-family: var(--font-body); }
.done { text-align: center; padding: var(--s-6) var(--s-4); }
.done__ico { width: 72px; height: 72px; margin: 0 auto var(--s-4); border-radius: 50%; background: var(--hoja-100); color: var(--selva-700); display: grid; place-items: center; }
.done__ico .icon { width: 36px; height: 36px; }
.done__ico--warn { background: #fff7e0; color: #8a5a00; }
.done h3 { font-size: 1.45rem; }
.done .lead { max-width: 44ch; margin-inline: auto; }
.done__when { display: flex; gap: var(--s-2); align-items: flex-start; justify-content: center; max-width: 48ch; margin: 0 auto var(--s-5); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--bg-soft); text-align: left; color: var(--text); }
.done__when .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--selva-600); }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }

/* ---------- Página reservar ---------- */
.reserve-intro { max-width: 58ch; margin: 0 auto var(--s-6); }
.wz--inline .wz__body { overflow: visible; }
.pk-date { position: relative; max-width: 360px; }
.pk-date__btn { display: flex; align-items: center; gap: var(--s-2); width: 100%; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); font-weight: 700; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pk-date__btn:hover { border-color: var(--selva-600); }
.pk-date__btn:focus-visible, .pk-date__btn[aria-expanded="true"] { outline: none; border-color: var(--rio-600); box-shadow: 0 0 0 3px rgba(10, 125, 176, .18); }
.pk-date__btn .icon { color: var(--rio-600); }
.field.is-invalid .pk-date__btn { border-color: var(--err); }

/* ---------- Tramos (servicios.html) ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-bottom: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.modes p { display: flex; gap: var(--s-3); margin: 0; color: var(--muted); }
.modes strong { color: var(--ink); }
.modes .icon { width: 28px; height: 28px; color: var(--rio-600); flex: none; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; gap: var(--s-4); } }
.tramos { display: grid; gap: var(--s-4); }
.tramos__t { display: flex; align-items: center; gap: var(--s-2); margin: var(--s-4) 0 0; font-size: var(--fs-lg); }
.tramos__t:first-child { margin-top: 0; }
.tramos__t .icon { width: 24px; height: 24px; color: var(--rio-600); }
.ruta { padding: var(--s-5); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.ruta__head { margin-bottom: var(--s-4); }
.ruta__head h4 { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-1); font-size: 1.15rem; }
.ruta__head h4 .icon { width: 20px; height: 20px; color: var(--rio-600); }
.ruta__head p { margin: 0; color: var(--muted); }
.ruta__scroll { overflow-x: auto; }
.ruta__tabla { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ruta__tabla th, .ruta__tabla td { padding: 10px var(--s-3); text-align: left; border-top: 1px solid var(--line); white-space: nowrap; }
.ruta__tabla thead th { border-top: 0; font-size: .75rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.ruta__tabla tbody th { font-weight: 700; color: var(--ink); white-space: normal; }
.ruta__tabla em { font-style: normal; color: var(--muted); font-size: .88rem; }
.ruta__tabla td:last-child { text-align: right; }
.ruta__tabla tbody tr:hover { background: var(--hoja-50); }
.ruta__precio { font-weight: 700; color: var(--selva-700); }
.ruta__nota { margin: var(--s-3) 0 0; color: var(--muted); font-size: .88rem; }
.ruta__ciudades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s-2); }
.ruta__ciudades a { display: flex; flex-direction: column; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.ruta__ciudades a:hover { border-color: var(--rio-600); background: var(--rio-100); }
.ruta__ciudades small { color: var(--muted); font-size: .82rem; }
@media (max-width: 640px) {
  .ruta { padding: var(--s-4); }
  .ruta__tabla th, .ruta__tabla td { padding-inline: var(--s-2); }
  .ruta__tabla td:last-child .link-arrow { font-size: 0; }
  .ruta__tabla td:last-child .link-arrow .icon { width: 20px; height: 20px; }
}
.tramo { display: grid; grid-template-columns: 260px 1fr; gap: var(--s-3) var(--s-6); padding: var(--s-5); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.tramo__t { grid-row: span 2; font-size: 1.15rem; margin: 0; display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 4px 8px; }
.tramo__t .icon { width: 18px; height: 18px; color: var(--muted); }
.tramo__svc { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.tramo__svc li { display: grid; grid-template-columns: 130px 1.3fr 1fr 1.3fr; gap: var(--s-3); align-items: center; padding-block: var(--s-2); border-top: 1px solid var(--line); }
.tramo__svc li:first-child { border-top: 0; padding-top: 0; }
.tramo__tipo { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--ink); }
.tramo__tipo .icon { color: var(--rio-600); align-self: center; }
.tramo__dato { color: var(--text); font-variant-numeric: tabular-nums; }
.tramo__dato small { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); }
.tramo__dato em { font-style: normal; color: var(--muted); font-size: .88rem; }
.tramo__precio { font-weight: 700; color: var(--selva-700); }
.tramo__go { grid-column: 2; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0; }
.tramo__go .link-arrow { font-size: .95rem; }
@media (max-width: 900px) {
  .tramo { grid-template-columns: 1fr; }
  .tramo__t { grid-row: auto; }
  .tramo__go { grid-column: auto; }
  .tramo__svc li { grid-template-columns: 1fr 1fr; }
  .tramo__tipo, .tramo__precio { grid-column: 1 / -1; }
}

/* ---------- Cómo funciona (pasos animados) ---------- */
.how { --how-cycle: 6s; position: relative; margin-top: var(--s-6); }
.how__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.how__track { position: absolute; z-index: 1; top: 60px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; background: var(--line); border-radius: 2px; }
.how__track::before { content: ""; position: absolute; inset: 0; background: var(--hoja-500); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.how.is-in .how__track::before { transform: scaleX(1); }
.how__runner { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--rosa-600); box-shadow: 0 0 0 4px rgba(208, 33, 107, .18); opacity: 0; }
.how.is-in .how__runner { animation: howRun var(--how-cycle) ease-in-out 1.8s infinite; }
/* Llega al paso 2 al 30 % del ciclo, se detiene y llega al paso 3 al 64 % (sincronizado con howPing) */
@keyframes howRun { 0% { left: 0; opacity: 0; } 4% { left: 0; opacity: 1; } 30%, 38% { left: 50%; opacity: 1; } 64% { left: 100%; opacity: 1; } 72%, 100% { left: 100%; opacity: 0; } }
.how__step { position: relative; text-align: center; padding: var(--s-6) var(--s-5) var(--s-5); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .3s; }
.js .how:not(.is-in) .how__step { opacity: 0; transform: translateY(18px); }
.how.is-in .how__step:nth-of-type(2) { transition-delay: .2s, .2s, 0s; }
.how.is-in .how__step:nth-of-type(3) { transition-delay: .4s, .4s, 0s; }
.how__step:hover { box-shadow: var(--shadow-card); }
.how__badge { position: relative; z-index: 2; width: 56px; height: 56px; margin: 0 auto var(--s-4); border-radius: 50%; display: grid; place-items: center; background: var(--hoja-100); color: var(--selva-700); }
.how__badge .icon { width: 26px; height: 26px; }
.how__badge b { position: absolute; top: -4px; right: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; background: var(--selva-700); color: #fff; border: 2px solid #fff; }
.how.is-in .how__badge { animation: howPing var(--how-cycle) var(--ease) 1.8s infinite; }
.how.is-in .how__step:nth-of-type(2) .how__badge { animation-delay: calc(1.8s + var(--how-cycle) * .26); }
.how.is-in .how__step:nth-of-type(3) .how__badge { animation-delay: calc(1.8s + var(--how-cycle) * .60); }
@keyframes howPing {
  0% { box-shadow: 0 0 0 0 rgba(62, 155, 31, .45); background: var(--hoja-100); color: var(--selva-700); transform: scale(1); }
  4% { background: var(--hoja-500); color: #fff; transform: scale(1.1); }
  16% { box-shadow: 0 0 0 14px rgba(62, 155, 31, 0); background: var(--hoja-500); color: #fff; transform: scale(1); }
  26%, 100% { box-shadow: 0 0 0 0 rgba(62, 155, 31, 0); background: var(--hoja-100); color: var(--selva-700); }
}
.how__step h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.how__step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .how__list { grid-template-columns: 1fr; gap: var(--s-3); }
  .how__track { top: 44px; bottom: 44px; left: 52px; right: auto; width: 2px; height: auto; }
  .how__track::before { transform: scaleY(0); transform-origin: top; }
  .how.is-in .how__track::before { transform: scaleY(1); }
  .how__runner { display: none; }
  .how__step { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--s-4); text-align: left; padding: var(--s-4) var(--s-5); align-items: center; }
  .how__badge { grid-row: span 2; margin: 0; }
  .how__step h3 { margin-bottom: 2px; }
}

/* ---------- Tour guiado ---------- */
.tour-spot { position: fixed; z-index: 120; border-radius: var(--r-md); box-shadow: 0 0 0 9999px rgba(7, 42, 21, .55), 0 0 0 3px var(--rio-600); pointer-events: none; transition: all .3s var(--ease); }
.tour-spot--none { box-shadow: 0 0 0 9999px rgba(7, 42, 21, .55); }
.tour-blocker { position: fixed; inset: 0; z-index: 119; }
.tour-pop { position: fixed; z-index: 121; width: min(360px, calc(100vw - 32px)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-float); padding: var(--s-5); transition: top .3s var(--ease), left .3s var(--ease); }
.tour-pop h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.tour-pop p { color: var(--muted); margin-bottom: var(--s-4); }
.tour-bars { display: flex; gap: 6px; margin-bottom: var(--s-4); }
.tour-bars i { height: 4px; width: 22px; border-radius: 4px; background: var(--line); }
.tour-bars i.on { background: var(--rio-600); }
.tour-actions { display: flex; align-items: center; gap: var(--s-2); }
.tour-actions .btn--text:first-child { margin-right: auto; padding-left: 0; }
.tour-count { display: block; font-size: .8rem; color: var(--muted); margin-top: var(--s-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--selva-950); color: rgba(255, 255, 255, .78); padding-top: var(--s-8); display: flow-root; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-7); padding-bottom: var(--s-7); }
.footer-brand .brand__name strong { color: #fff; }
.footer-brand .brand__name span { color: var(--oro-300); }
.footer-brand p { margin: var(--s-4) 0; max-width: 36ch; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: var(--s-2); align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--oro-300); margin-top: 3px; }
.socials { display: flex; gap: var(--s-2); }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.socials a:hover { background: rgba(255, 255, 255, .1); }
.socials .icon { width: 18px; height: 18px; }
.libro-badge { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); background: #fff; color: var(--ink) !important; border-radius: var(--r-md); padding: var(--s-3) var(--s-4); max-width: 260px; transition: transform .15s var(--ease); }
.libro-badge:hover { transform: translateY(-2px); text-decoration: none !important; }
.libro-badge svg { width: 44px; height: 44px; flex: none; }
.libro-badge strong { display: block; color: var(--rio-600); font-size: .95rem; line-height: 1.2; }
.libro-badge small { color: var(--muted); font-size: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: var(--s-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-sm); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* WhatsApp flotante (a la izquierda: Tawk ocupa la derecha) + selector de asesores */
.wa-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: #1f9e4f; color: #fff; display: grid; place-items: center; isolation: isolate;
  box-shadow: 0 8px 22px rgba(31, 158, 79, .45); transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; opacity: 0; animation: waPulse 2.4s ease-out 1.5s 2; }
.wa-float { transition: transform .3s var(--ease), opacity .3s var(--ease), box-shadow .2s; }
.wa-float.is-away { transform: translateY(24px) scale(.8); opacity: 0; pointer-events: none; }
body.has-dock .wa-float { bottom: 92px; }
.wa-float::after { animation-delay: 2.7s; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(31, 158, 79, .6); }
.wa-float .icon { width: 32px; height: 32px; }
@keyframes waPulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }

.wa-modal { inset: auto auto 96px 20px; margin: 0; padding: 0; border: 0; width: min(360px, calc(100vw - 40px)); max-width: none; border-radius: var(--r-lg); overflow: hidden; background: #fff; color: var(--text); box-shadow: 0 25px 60px rgba(7, 42, 21, .35); }
.wa-modal[open] { animation: waIn .25s var(--ease); transform-origin: bottom left; }
.wa-modal::backdrop { background: rgba(7, 20, 12, .45); backdrop-filter: blur(3px); }
@keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.wa-modal__head { position: relative; padding: var(--s-6) var(--s-6) var(--s-5); text-align: center; color: #fff; background: linear-gradient(135deg, #0b6b3a 0%, #1f9e4f 100%); }
.wa-modal__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .2); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .15s; }
.wa-modal__close:hover { background: rgba(0, 0, 0, .4); }
.wa-modal__close .icon { width: 16px; height: 16px; }
.wa-modal__icon { width: 60px; height: 60px; margin: 0 auto var(--s-3); border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.wa-modal__icon .icon { width: 32px; height: 32px; }
.wa-modal__head h2 { color: #fff; font-size: 1.3rem; margin-bottom: var(--s-2); }
.wa-modal__head p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .92); }
.wa-modal__body { padding: var(--s-4) var(--s-4) var(--s-5); }
.wa-modal__label { margin: 4px 4px var(--s-3); font-size: .85rem; font-weight: 600; color: var(--muted); }
.wa-agent { display: flex; align-items: center; gap: var(--s-3); padding: 12px 14px; margin-bottom: var(--s-2); border-radius: var(--r-md); background: var(--bg-soft); color: var(--ink); text-decoration: none; transition: background-color .15s, transform .15s var(--ease); }
.wa-agent:hover { background: var(--hoja-100); color: var(--ink); transform: translateY(-1px); }
.wa-agent--chat { width: 100%; border: 0; font: inherit; text-align: left; cursor: pointer; }
.wa-agent__avatar--ico { display: grid; place-items: center; color: var(--selva-700); }
.wa-agent__avatar--ico .icon { width: 22px; height: 22px; }
.wa-agent__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.wa-agent__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.wa-agent__name { font-weight: 700; }
.wa-agent__role { font-size: .8rem; color: var(--muted); }
.wa-agent__status { display: flex; align-items: center; gap: 6px; flex: none; font-size: .8rem; font-weight: 700; color: var(--muted); }
.wa-agent__status .dot { width: 8px; height: 8px; border-radius: 50%; background: #b5c0b0; }
.wa-agent__status.is-online { color: var(--ok); }
.wa-agent__status.is-online .dot { background: #25d366; animation: waDot 1.6s infinite; }
@keyframes waDot { from { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70%, to { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } }
.wa-modal__note { display: flex; gap: var(--s-2); align-items: center; margin: var(--s-3) 4px 0; font-size: .85rem; color: var(--muted); }
.wa-modal__note .icon { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .wa-modal { inset: auto 0 0 0; width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .wa-modal[open] { animation-name: sheetIn; }
}

/* ---------- Detalle de paquete ---------- */
.pk-detail { display: grid; grid-template-columns: 1fr 360px; gap: var(--s-7); align-items: start; }
.pk-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.pk-facts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--hoja-100); color: var(--selva-700); font-weight: 700; font-size: .88rem; }
.pill .icon { width: 16px; height: 16px; }
.itinerary { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.itinerary li { position: relative; padding: 0 0 var(--s-5) var(--s-5); }
.itinerary li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--hoja-500); }
.itinerary strong { display: block; color: var(--ink); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.two-lists ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.two-lists li { display: flex; gap: 8px; }
.two-lists li .icon { width: 18px; height: 18px; margin-top: 3px; }
.yes .icon { color: var(--hoja-500); }
.no .icon { color: var(--err); }
.pk-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px; gap: var(--s-3); margin-bottom: var(--s-6); }
.pk-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.pk-gallery img:first-child { grid-row: span 2; }
@media (max-width: 960px) { .pk-detail { grid-template-columns: 1fr; } .pk-aside { position: static; } }
@media (max-width: 560px) { .two-lists { grid-template-columns: 1fr; } .pk-gallery { grid-template-rows: 160px 120px; } }

.pk-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--s-5) calc(var(--s-3) + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 61, 30, .08); }
.pk-dock .price strong { font-size: 1.25rem; }
.pk-dock .btn { padding-inline: var(--s-6); }
body.has-dock .site-footer { padding-bottom: 80px; }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-7); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: grid; gap: var(--s-4); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list .ico { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--hoja-100); color: var(--selva-700); display: grid; place-items: center; flex: none; }
.contact-list strong { display: block; color: var(--ink); }
.map-box { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; position: relative; }
.map-box img { width: 100%; height: 100%; object-fit: cover; }
.map-box a { position: absolute; left: var(--s-4); bottom: var(--s-4); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Libro de reclamaciones ---------- */
.libro { display: grid; grid-template-columns: 340px 1fr; gap: var(--s-6); align-items: start; }
.libro__prov { position: sticky; top: calc(var(--header-h) + 24px); }
.datalist { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: var(--s-3); }
.datalist span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.datalist strong { color: var(--ink); }
.note { font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .libro { grid-template-columns: 1fr; } .libro__prov { position: static; } }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: var(--s-3); }
[hidden] { display: none !important; }

[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .motto__row[data-reveal]:not(.is-in) .motto__word, .js .how:not(.is-in) .how__step { transform: none; opacity: 1; }
}
