/* ============================================================
   Sumak Allpa Tour — Amazonía ecuatoriana
   Paleta tomada de las fotografías: verde dosel, fibra de
   chambira teñida, achiote, limo del Napo.
   ============================================================ */

:root {
  /* Superficies */
  --ink:        #14261c;   /* sombra de selva húmeda */
  --ink-2:      #1b3325;
  --canopy:     #2c5741;   /* verde dosel — color primario */
  --canopy-lit: #3d7355;
  --paper:      #f6f3ec;   /* papel de cuaderno de campo */
  --paper-2:    #ece7db;
  --white:      #fffefb;

  /* Acentos (de la fibra de chambira y del achiote) */
  --chambira:   #d8a03d;
  --chambira-d: #b8842b;
  --achiote:    #c0522f;

  /* Neutros */
  --river:      #8d9a83;   /* limo del río */
  --bark:       #6b4f3a;
  --text:       #22301f;
  --text-soft:  #5a6a56;
  --text-inv:   #e8eee4;
  --text-inv-s: #a9bba9;
  --line:       #d9d3c4;
  --line-dark:  rgba(216, 160, 61, 0.22);

  /* Tipografía */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body:    'Karla', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Ritmo */
  --shell:   1180px;
  --gutter:  clamp(20px, 5vw, 48px);
  --sect-y:  clamp(72px, 9vw, 126px);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 26px;

  --sh-sm: 0 2px 10px rgba(20, 38, 28, 0.07);
  --sh-md: 0 14px 34px rgba(20, 38, 28, 0.12);
  --sh-lg: 0 28px 64px rgba(20, 38, 28, 0.20);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------
   Reset
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a, button, input, textarea, select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
  font-variation-settings: 'SOFT' 22, 'WONK' 1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2.5px solid var(--chambira);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--chambira); color: var(--ink); }

.skip-link {
  position: absolute;
  top: -200%;
  left: 12px;
  z-index: 9999;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------
   Estructura
   ------------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sect-y); }
.section--tight { padding-block: clamp(52px, 6.5vw, 88px); }

.section--paper { background: var(--paper); }
.section--sand  { background: var(--paper-2); }
.section--ink   { background: var(--ink); color: var(--text-inv); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink p { color: var(--text-inv-s); }

[id] { scroll-margin-top: 96px; }

/* Firma del sitio: hilo de chambira tejido.
   Separa las secciones igual que la fibra teje las canastas
   que hacen las mujeres de la comunidad. */
.weave {
  height: 7px;
  border: 0;
  background-image:
    repeating-linear-gradient( 45deg, var(--chambira) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, var(--bark)     0 2px, transparent 2px 7px);
  background-color: var(--paper-2);
  opacity: 0.85;
}
.weave--on-ink { background-color: var(--ink-2); opacity: 0.6; }

/* ------------------------------------------------------------
   Tipografía de página
   ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chambira-d);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.section--ink .eyebrow { color: var(--chambira); }

.title {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.4rem);
  color: var(--canopy);
  max-width: 19ch;
}
.section--ink .title { color: var(--white); }

.title--wide { max-width: 24ch; }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--text-soft);
  max-width: 58ch;
  margin-top: 20px;
}
.section--ink .lede { color: var(--text-inv-s); }

.head { margin-bottom: clamp(40px, 5vw, 64px); }
.head--center { text-align: center; }
.head--center .title, .head--center .lede { margin-inline: auto; }
.head--center .eyebrow::before { display: none; }

/* ------------------------------------------------------------
   Botones
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.22s var(--ease), background-color 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--chambira);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(216, 160, 61, 0.34);
}
.btn--primary:hover { background: #e6b055; }

.btn--solid {
  background: var(--canopy);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(44, 87, 65, 0.28);
}
.btn--solid:hover { background: var(--canopy-lit); }

.btn--ghost {
  border-color: currentColor;
  color: var(--canopy);
}
.btn--ghost:hover { background: var(--canopy); color: var(--white); border-color: var(--canopy); }

.section--ink .btn--ghost { color: var(--text-inv); }
.section--ink .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn--on-photo {
  background: rgba(255, 254, 251, 0.14);
  color: var(--white);
  border-color: rgba(255, 254, 251, 0.55);
  backdrop-filter: blur(8px);
}
.btn--on-photo:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn .material-icons { font-size: 19px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--canopy);
  border-bottom: 2px solid var(--chambira);
  padding-bottom: 3px;
  transition: gap 0.2s var(--ease), color 0.2s;
}
.link-more:hover { gap: 14px; color: var(--chambira-d); }
.section--ink .link-more { color: var(--chambira); }

/* ------------------------------------------------------------
   Barra de navegación
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding-block: 16px;
  transition: background-color 0.32s var(--ease), padding 0.32s var(--ease), box-shadow 0.32s;
}
.nav.is-stuck {
  background: rgba(20, 38, 28, 0.94);
  backdrop-filter: blur(14px);
  padding-block: 9px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.26);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* El nombre va en mayúsculas y sans pesada, como en el logo del cliente,
   no en la serif del resto del sitio. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--body);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
/* El logo del cliente es tinta marrón sobre claro: sobre el verde oscuro de la
   barra se pierde, así que va sobre su propia placa circular color papel.
   Así se usa el logo tal cual, sin recolorearlo. */
.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  padding: 5px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
.brand__name small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--chambira);
  margin-top: 1px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
}
@media (min-width: 940px) { .nav__links { display: flex; } }

.nav__links a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s, color 0.2s;
}
.nav__links a:hover { background: rgba(255, 255, 255, 0.14); }
.nav__links a[aria-current="page"] {
  color: var(--chambira);
  background: rgba(216, 160, 61, 0.14);
}

.nav__cta {
  margin-left: 8px;
  background: var(--chambira);
  color: var(--ink) !important;
  text-shadow: none !important;
  padding: 10px 22px !important;
  font-weight: 700;
}
.nav__cta:hover { background: #e6b055 !important; }

.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(20, 38, 28, 0.42);
  backdrop-filter: blur(6px);
}
@media (min-width: 940px) { .burger { display: none; } }
.burger .material-icons { font-size: 27px; }

/* Menú móvil */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(10, 20, 14, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 950;
  width: min(360px, 88vw);
  height: 100dvh;
  padding: 26px 26px calc(26px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--text-inv);
  transform: translateX(102%);
  transition: transform 0.36s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }

.drawer__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}
.drawer__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--text-inv);
  background: rgba(255, 255, 255, 0.08);
}

.drawer a {
  padding: 15px 4px;
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: color 0.2s, padding-left 0.2s var(--ease);
}
.drawer a:hover, .drawer a[aria-current="page"] { color: var(--chambira); padding-left: 10px; }
.drawer .btn { margin-top: 22px; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(94svh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero--inner { min-height: min(58svh, 520px); }

.hero__media {
  position: absolute;
  inset: -6% 0 0 0;
  height: 112%;
  z-index: -2;
  will-change: transform;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(11, 22, 16, 0.94) 4%, rgba(11, 22, 16, 0.55) 42%, rgba(11, 22, 16, 0.34) 100%),
    linear-gradient(to right, rgba(11, 22, 16, 0.6), transparent 62%);
}

.hero__body {
  position: relative;
  padding-block: 150px clamp(58px, 8vw, 104px);
  color: var(--white);
  max-width: 40rem;
}
.hero--inner .hero__body { padding-block: 150px clamp(44px, 6vw, 68px); }

/* Etiqueta de campo: así se rotula un espécimen en un cuaderno */
.fieldtag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(216, 160, 61, 0.5);
  border-radius: 999px;
  background: rgba(20, 38, 28, 0.44);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chambira);
}
.fieldtag__dot {
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--chambira);
  box-shadow: 0 0 0 4px rgba(216, 160, 61, 0.22);
}
@media (max-width: 430px) {
  .fieldtag { font-size: 0.64rem; letter-spacing: 0.1em; padding: 6px 13px 6px 10px; gap: 9px; }
}

.hero__title {
  font-size: clamp(2.5rem, 1.5rem + 4.6vw, 4.6rem);
  color: var(--white);
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.5);
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  color: var(--chambira);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

.hero__text {
  margin-top: 22px;
  font-size: clamp(1.03rem, 0.98rem + 0.32vw, 1.2rem);
  color: rgba(255, 254, 251, 0.9);
  max-width: 50ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 254, 251, 0.72);
}
@media (min-width: 860px) { .hero__scroll { display: flex; } }
.hero__scroll span {
  width: 46px; height: 1px;
  background: rgba(255, 254, 251, 0.5);
  animation: pull 2.1s var(--ease) infinite;
  transform-origin: right;
}
@keyframes pull { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.45); } }

/* ------------------------------------------------------------
   Tarjetas de valor
   ------------------------------------------------------------ */
.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px)  { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--chambira);
}
.card h3 {
  font-size: 1.22rem;
  color: var(--canopy);
  margin-bottom: 10px;
}
.card p { color: var(--text-soft); font-size: 0.98rem; }

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px 4px 14px 4px;
  background: var(--canopy);
  color: var(--chambira);
}
.card__icon .material-icons { font-size: 27px; }

/* ------------------------------------------------------------
   Contadores
   ------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 20px;
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; }
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--chambira);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--text-inv-s);
}

/* ------------------------------------------------------------
   Bloque de dos columnas (historia)
   ------------------------------------------------------------ */
.split {
  display: grid;
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .split--flip .split__media { order: 2; } }

.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.split__media:hover img { transform: scale(1.045); }

/* Marco de hilo desplazado — eco del tejido */
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(216, 160, 61, 0.6);
  border-radius: var(--r-lg);
  transform: translate(13px, 13px);
  pointer-events: none;
}

.split__text p + p { margin-top: 16px; }
.split__text .lede { margin-top: 20px; }

.ticks {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 13px;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--text);
}
.ticks .material-icons { color: var(--chambira-d); font-size: 21px; flex: none; margin-top: 3px; }
.section--ink .ticks li { color: var(--text-inv); }

/* ------------------------------------------------------------
   Tours
   ------------------------------------------------------------ */
.tours {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .tours { grid-template-columns: repeat(2, 1fr); } }

.tour {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s;
}
.tour:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.tour__media {
  position: relative;
  overflow: hidden;
}
.tour__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.tour:hover .tour__media img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--chambira);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tour__body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.tour__body h3 { font-size: 1.5rem; color: var(--canopy); }
.tour__body p { color: var(--text-soft); }
.tour__body .btn { margin-top: auto; align-self: flex-start; }

.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
}
.facts .material-icons { font-size: 16px; color: var(--chambira-d); }

/* ------------------------------------------------------------
   Galería
   ------------------------------------------------------------ */
.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
}
@media (min-width: 760px)  { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1060px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--paper-2);
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.4s;
}
.shot:hover img { transform: scale(1.07); }

.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 12px;
  background: linear-gradient(to top, rgba(11, 22, 16, 0.86), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: translateY(0); }

@media (min-width: 760px) {
  .shot--tall  { grid-row: span 2; }
  .shot--tall img  { aspect-ratio: 1 / 2.06; }
  .shot--wide  { grid-column: span 2; }
  .shot--wide img  { aspect-ratio: 2.06 / 1; }
}

/* Visor */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 980;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(8, 16, 11, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 78svh;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__cap {
  margin-top: 18px;
  text-align: center;
  color: var(--text-inv-s);
  font-size: 0.94rem;
}
.lightbox__x, .lightbox__nav {
  position: absolute;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}
.lightbox__x:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__x { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 14px;  top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------
   Testimonios
   ------------------------------------------------------------ */
.quotes {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  position: relative;
  padding: 40px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 24px;
  font-family: var(--display);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--chambira);
  opacity: 0.4;
}
.quote__stars { display: flex; gap: 2px; color: var(--chambira); }
.quote__stars .material-icons { font-size: 18px; }
.quote p { color: var(--text-soft); flex: 1; }

.quote__who {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.quote__mono {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px 4px 14px 4px;
  background: var(--canopy);
  color: var(--chambira);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
}
.quote__who strong { display: block; color: var(--text); font-size: 0.98rem; }
.quote__who span { font-size: 0.85rem; color: var(--text-soft); }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { max-width: 820px; margin-inline: auto; }

.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1.03rem, 1rem + 0.25vw, 1.18rem);
  font-weight: 600;
  color: var(--canopy);
  transition: color 0.2s;
}
.faq__q:hover { color: var(--chambira-d); }
.faq__q .material-icons {
  flex: none;
  color: var(--chambira-d);
  transition: transform 0.32s var(--ease);
}
.faq__q[aria-expanded="true"] .material-icons { transform: rotate(180deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s var(--ease);
}
.faq__a p { padding: 0 4px 24px; color: var(--text-soft); }

/* ------------------------------------------------------------
   Contacto
   ------------------------------------------------------------ */
.contact {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 940px) { .contact { grid-template-columns: 1.15fr 0.85fr; } }

.form {
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  display: grid;
  gap: 18px;
}
@media (min-width: 620px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }

.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa695; }
.field input:focus, .field textarea:focus {
  /* Sin `outline: none`: el anillo de foco del teclado tiene que verse. */
  background: var(--white);
  border-color: var(--chambira);
  box-shadow: 0 0 0 4px rgba(216, 160, 61, 0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--achiote); }

.form__note {
  font-size: 0.84rem;
  color: var(--text-soft);
}

.form__msg {
  display: none;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
}
.form__msg.is-shown { display: flex; }
.form__msg--ok  { background: #e7f2e9; color: #245c36; border: 1px solid #b9d9c2; }
.form__msg--err { background: #fbeae5; color: #8f3418; border: 1px solid #eec3b5; }
.form__msg .material-icons { font-size: 20px; flex: none; }

.info { display: grid; gap: 14px; }

.info__row {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--chambira);
  border-radius: var(--r-sm);
  transition: transform 0.24s var(--ease), box-shadow 0.24s;
}
a.info__row:hover { transform: translateX(4px); box-shadow: var(--sh-sm); }
.info__row .material-icons { color: var(--canopy); flex: none; }
.info__row h4 {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 3px;
}
.info__row p { font-size: 0.98rem; color: var(--text); }

.map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.map iframe { width: 100%; height: 260px; border: 0; }

/* ------------------------------------------------------------
   Pie
   ------------------------------------------------------------ */
.foot {
  background: var(--ink);
  color: var(--text-inv-s);
  padding-block: clamp(52px, 6vw, 78px) 0;
}
.foot__grid {
  display: grid;
  gap: 38px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .foot__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.foot .brand { margin-bottom: 16px; text-shadow: none; }
.foot p { font-size: 0.95rem; max-width: 42ch; }

.foot h4 {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--chambira);
  margin-bottom: 18px;
}
.foot ul { list-style: none; display: grid; gap: 11px; }
.foot ul a, .foot ul li {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.2s, gap 0.2s var(--ease);
}
.foot ul a:hover { color: var(--chambira); gap: 13px; }
.foot ul .material-icons { font-size: 17px; color: var(--canopy-lit); }

.foot__base {
  margin-top: clamp(38px, 5vw, 58px);
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
}
.foot__base a { color: var(--chambira); }
.foot__base a:hover { text-decoration: underline; }

/* WhatsApp flotante */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 880;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  transition: transform 0.24s var(--ease), box-shadow 0.24s;
}
.wa:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55); }
.wa svg { width: 29px; height: 29px; }

/* ------------------------------------------------------------
   Revelado al hacer scroll
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__media { transform: none !important; }
}

/* Reserva de espacio para los iconos mientras carga la fuente */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   Itinerarios
   Aquí la numeración sí significa algo: los días ocurren en orden.
   ------------------------------------------------------------ */
.trip + .trip { margin-top: clamp(56px, 7vw, 96px); }

.trip__head { margin-bottom: 34px; max-width: 66ch; }
.trip__head .badge { position: static; display: inline-block; margin-bottom: 16px; }
.trip__head h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  color: var(--canopy);
}
.trip__head p { margin-top: 14px; color: var(--text-soft); }

.trip__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 940px) { .trip__grid { grid-template-columns: 0.82fr 1.18fr; } }

.trip__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
@media (min-width: 940px) { .trip__media { position: sticky; top: 100px; } }
.trip__media img { width: 100%; object-fit: cover; }

.day + .day { margin-top: 30px; }

.day__label {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chambira-d);
  margin-bottom: 14px;
}
.day__label b {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--canopy);
}

.steps {
  list-style: none;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
  padding-left: 24px;
}
.steps li {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding-block: 11px;
  color: var(--text-soft);
}
.steps li + li { border-top: 1px dashed var(--line); }
.steps li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 20px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--chambira);
}
.section--sand .steps li::before { background: var(--paper-2); }
.steps time {
  flex: none;
  min-width: 3.6em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--canopy);
}

.trip__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.note {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  margin-top: 24px;
  background: rgba(216, 160, 61, 0.12);
  border-left: 3px solid var(--chambira);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--text);
}
.note .material-icons { color: var(--chambira-d); flex: none; }

/* Índice de tours */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(44px, 5vw, 70px);
}
.jump a {
  padding: 9px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.jump a:hover { border-color: var(--chambira); color: var(--canopy); background: var(--paper); }

/* Ficha de equipo */
.people {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .people { grid-template-columns: repeat(2, 1fr); } }

.person {
  display: grid;
  gap: 22px;
  grid-template-columns: 108px 1fr;
  align-items: start;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}
.person img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 20px 5px 20px 5px;
}
.person h3 { font-size: 1.24rem; color: var(--canopy); }
.person .role {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--chambira-d);
  margin: 5px 0 10px;
}
.person p { font-size: 0.96rem; color: var(--text-soft); }

/* Cómo llegar */
.route {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 16px;
}
.route li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
}
.route li::before {
  counter-increment: step;
  content: counter(step);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px 3px 12px 3px;
  background: var(--canopy);
  color: var(--chambira);
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
}
.route strong { display: block; color: var(--text); }
.route span { color: var(--text-soft); font-size: 0.95rem; }
