/* ==================================================================
   Perú Crafted Experiences — static site design system
   HTML · CSS · JS (no framework)
   ================================================================== */

/* Google Fonts load via <link rel="stylesheet"> in each page <head> (after the
   preconnects) — not @import, which is render-blocking. */

:root {
  /* Brand palette */
  --ivory: #faf9f7;        /* Cloud White */
  --ivory-50: #fdfcfa;
  --ivory-200: #f1ece1;
  --sand: #e8dcc2;         /* Cusco Sand */
  --sand-soft: #efe6d4;
  --sand-deep: #d8c7a6;
  --stone: #857c6b;
  --stone-soft: #a49b88;
  --stone-line: #ddd3c1;
  --forest: #2f4f3e;       /* Andes Deep Green */
  --forest-deep: #253f31;
  --forest-soft: #3c5f4b;
  --terracotta: #c46a4a;   /* Terracotta Clay */
  --terracotta-soft: #d3805f;
  --terracotta-deep: #a9542f;
  --espresso: #5b3d2a;     /* warm brown wordmark */
  --charcoal: #333333;     /* Mountain Charcoal */
  --charcoal-soft: #565049;
  --gold: #d4a037;         /* Inca Gold */
  --gold-soft: #e0b45a;
  --gold-ink: #a06f00;     /* deep gold — readable subtitle on light backgrounds */
  --gold-bright: #ffc21f;  /* vivid amber-yellow — high-visibility subtitle on dark/photos */
  --chakana-gold: #d4a656;
  --chakana-clay: #c46a4a;
  --whatsapp: #25d366;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1440px;
  --header-h: 124px;
}

/* ---------- reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  text-wrap: balance;
}

p { text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
/* <picture> is transparent to layout so existing "container img" rules keep working */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--forest); color: var(--ivory-50); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }

.bg-forest { background: var(--forest); color: var(--ivory); }
.bg-forest-deep { background: var(--forest-deep); color: var(--ivory); }
.bg-sand { background: var(--sand); }
.bg-ivory-50 { background: var(--ivory-50); }
.bg-ivory-200 { background: var(--ivory-200); }

/* ---------- typography helpers ---------- */
/* Subtitles / kickers — bold, high-visibility yellow across the whole site */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow.on-dark {
  color: var(--gold-bright);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.6);
}
.eyebrow .rule { width: 2.4rem; height: 2px; }
.eyebrow .chakana { width: 1.15rem !important; height: 1.15rem !important; }
.eyebrow .rule {
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow .chakana { width: 0.9rem; height: 0.9rem; }

.display {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
}
.h-sec { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--charcoal-soft);
  max-width: 40ch;
}
.on-dark .lede, .lede.on-dark { color: rgba(241, 236, 225, 0.8); }
.serif-italic { font-family: var(--font-serif); font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--forest);
  --fg: var(--ivory-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 3rem;
  padding-inline: 2rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease),
    border-color 0.4s var(--ease), color 0.4s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--gold { --bg: var(--gold); --fg: var(--forest-deep); }
.btn--gold:hover { --bg: var(--gold-soft); }
.btn--outline {
  --bg: transparent; --fg: var(--charcoal);
  border-color: rgba(51, 51, 51, 0.28);
}
.btn--outline:hover { border-color: rgba(51,51,51,0.7); background: rgba(51,51,51,0.03); }
.btn--ivory {
  --bg: transparent; --fg: var(--ivory-50);
  border-color: rgba(250, 249, 247, 0.4);
}
.btn--ivory:hover { border-color: var(--ivory-50); background: rgba(250,249,247,0.07); }
/* header Enquire button: switch to dark styling once the header goes solid, so it
   doesn't disappear on the light scrolled background */
.site-header.scrolled .header-cta .btn--ivory { --fg: var(--forest); border-color: rgba(51,51,51,0.35); }
.site-header.scrolled .header-cta .btn--ivory:hover { border-color: var(--forest); background: rgba(51,51,51,0.05); }
.btn--wa { --bg: var(--whatsapp); --fg: #fff; border-radius: 999px; }
.btn--lg { height: 3.5rem; padding-inline: 2.5rem; }
.btn--sm { height: 2.75rem; padding-inline: 1.4rem; font-size: 0.72rem; }

/* understated text link */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.65rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.3s;
}
.tlink.on-dark { color: rgba(250,249,247,0.9); }
/* card CTAs are primary touch targets — guarantee 44px height */
.jcard__foot .tlink, .card__body .tlink { min-height: 44px; }
.tlink .u {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease);
}
.tlink:hover { color: var(--terracotta); }
.tlink.on-dark:hover { color: var(--ivory-50); }
.tlink:hover .u { background-size: 100% 1px; }
.tlink .arrow { transition: transform 0.5s var(--ease); }
.tlink:hover .arrow { transform: translateX(4px); }

/* ---------- chakana glyph ---------- */
.chakana { display: block; width: 2rem; height: 2rem; color: var(--terracotta); }
.chakana svg { display: block; width: 100%; height: 100%; }
.chakana--grad { color: initial; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease);
}
.site-header.scrolled {
  background: rgba(253, 252, 250, 0.85);
  box-shadow: 0 1px 0 rgba(51, 51, 51, 0.08);
  backdrop-filter: blur(18px);
}
.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 0.4rem;
}
.site-header .brand { position: relative; }
.brand .chakana { width: 2.55rem; height: 2.55rem; transition: transform 0.7s var(--ease); }
.brand:hover .chakana { transform: rotate(45deg); }
.brand .word {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.95rem;
  color: var(--espresso);
  transition: color 0.5s;
}
.brand .sub {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
  white-space: nowrap;
  transition: color 0.5s;
}
.site-header:not(.scrolled) .brand.on-hero .word { color: var(--ivory-50); }
.site-header:not(.scrolled) .brand.on-hero .sub { color: rgba(241,236,225,0.8); }

.nav { display: none; gap: 2.5rem; align-items: center; justify-content: center; }
.nav a {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--charcoal-soft);
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease), color 0.3s;
}
.nav a:hover, .nav a.active { color: var(--charcoal); background-size: 100% 1px; }
.site-header:not(.scrolled) .nav.on-hero > a,
.site-header:not(.scrolled) .nav.on-hero > .nav__item > a { color: rgba(250,249,247,0.85); }
.site-header:not(.scrolled) .nav.on-hero > a:hover,
.site-header:not(.scrolled) .nav.on-hero > a.active,
.site-header:not(.scrolled) .nav.on-hero > .nav__item > a:hover,
.site-header:not(.scrolled) .nav.on-hero > .nav__item > a.active { color: var(--ivory-50); }

.header-cta { display: none; }
.menu-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--charcoal);
}
.site-header:not(.scrolled) .menu-btn.on-hero { color: var(--ivory-50); }

/* compact WhatsApp CTA next to the hamburger (mobile only) */
.header-wa {
  display: inline-flex; width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  color: var(--charcoal);
}
.site-header:not(.scrolled) .header-wa.on-hero { color: var(--ivory-50); }
.site-header.menu-open .header-wa.on-hero { color: var(--charcoal); }

@media (min-width: 1024px) {
  .nav { display: flex; flex: 1; }
  .header-cta { display: block; }
  .menu-btn { display: none; }
  .header-wa { display: none; }
}
/* keep the top-level nav from overflowing on narrow desktops */
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav { gap: 1.6rem; }
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--ivory-50);
  padding: 2rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* keep the header solid & its controls visible while the mobile menu is open
   (fixes the transparent top bar / invisible close button on hero pages) */
.site-header.menu-open {
  background: var(--ivory-50);
  box-shadow: 0 1px 0 rgba(51,51,51,0.08);
}
.site-header.menu-open .brand.on-hero .word { color: var(--espresso); }
.site-header.menu-open .brand.on-hero .sub { color: var(--terracotta); }
.site-header.menu-open .menu-btn.on-hero { color: var(--charcoal); }
.site-header.menu-open ~ .concierge { opacity: 0; pointer-events: none; }
.mobile-menu .m-group { border-bottom: 1px solid var(--stone-line); }
.mobile-menu .m-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.mobile-menu .m-row > a {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--charcoal);
  padding: 0.9rem 0;
}
.m-toggle {
  width: 3rem; height: 3rem; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--stone);
}
.m-toggle svg { transition: transform 0.3s var(--ease); }
.m-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.m-sub.open { grid-template-rows: 1fr; }
.m-sub__list { overflow: hidden; min-height: 0; display: flex; flex-direction: column; }
.m-sub__list a {
  font-size: 1rem; color: var(--charcoal-soft);
  padding: 0.7rem 0 0.7rem 1.1rem; border-top: 1px solid var(--stone-line);
  transition: color 0.25s var(--ease);
}
.m-sub__list a:hover,
.m-sub__list a:active,
.m-sub__list a:focus-visible { color: var(--terracotta-deep); }
.m-sub__list a:last-child { padding-bottom: 1rem; }
.mobile-menu .btn { margin-top: 1.5rem; width: 100%; }

/* desktop dropdowns */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { display: inline-flex; align-items: center; gap: 0.28rem; }
.nav__caret { flex: none; transition: transform 0.3s var(--ease); }
.nav__item:hover > a .nav__caret,
.nav__item:focus-within > a .nav__caret,
.nav__item.sub-open > a .nav__caret { transform: rotate(180deg); }
.subnav {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 15rem; padding-top: 0.8rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 60;
}
.nav__item:hover .subnav,
.nav__item:focus-within .subnav,
.nav__item.sub-open .subnav {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.subnav__inner {
  background: var(--ivory-50);
  border: 1px solid var(--stone-line); border-radius: 10px;
  box-shadow: 0 26px 60px -30px rgba(37, 63, 49, 0.45);
  padding: 0.4rem; display: flex; flex-direction: column;
}
.subnav__inner a {
  font-size: 0.82rem; letter-spacing: 0.04em; color: var(--charcoal);
  padding: 0.6rem 0.9rem; border-radius: 6px; white-space: nowrap;
  background-image: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.subnav__inner a:hover,
.subnav__inner a:focus-visible {
  background: var(--sand-soft); color: var(--terracotta-deep); padding-left: 1.2rem;
}

/* scroll progress */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(to right, var(--terracotta), var(--gold), var(--gold-soft));
  z-index: 70;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 14s ease-out both;
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(135% 95% at 12% 100%, rgba(20,33,26,0.9), transparent 52%),
    linear-gradient(to top, rgba(15,26,20,0.94) 0%, rgba(37,63,49,0.62) 34%, rgba(51,51,51,0.28) 62%, rgba(51,51,51,0.5) 100%);
}
.hero__greca {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; opacity: 0.65;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
  padding: 10rem var(--gutter) clamp(3.5rem, 9vh, 7rem);
}
.hero__content {
  max-width: 46rem; color: var(--ivory-50); position: relative; z-index: 2;
  text-shadow: 0 1px 2px rgba(15,26,20,0.35), 0 2px 30px rgba(15,26,20,0.4);
}
.hero h1 { color: var(--ivory-50); margin-block: 1.4rem 0; text-shadow: 0 2px 44px rgba(0,0,0,0.4); }
.hero__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  color: var(--gold-soft);
  font-weight: 600;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
  margin-top: 1.1rem;
}
.hero__copy {
  max-width: 34rem;
  color: rgba(250,249,247,0.82);
  margin-top: 1.6rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.4rem; }

/* page hero (subpages) */
.pagehero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.pagehero__media { position: absolute; inset: 0; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__wash {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(37,63,49,0.9), rgba(51,51,51,0.2) 60%, rgba(51,51,51,0.4));
}
.pagehero__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
  padding: 9rem var(--gutter) clamp(2.5rem, 6vh, 4.5rem);
  color: var(--ivory-50);
}
.pagehero h1 { color: var(--ivory-50); font-size: clamp(2.4rem, 6vw, 4.5rem); }
.pagehero p { color: rgba(250,249,247,0.85); max-width: 40rem; margin-top: 1rem; }

/* ---------- section heading ---------- */
.sec-head { display: flex; flex-direction: column; gap: 1.4rem; max-width: 44rem; }
.sec-head.center { align-items: center; text-align: center; margin-inline: auto; }

/* ---------- cards grid ---------- */
.grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* pillar / editorial card */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ivory-50);
  border: 1px solid var(--stone-line);
  overflow: hidden;
  transition: transform 0.7s var(--ease), border-color 0.7s var(--ease),
    box-shadow 0.7s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,160,55,0.5);
  box-shadow: 0 28px 60px -32px rgba(51,51,51,0.4);
}
.card__media { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(51,51,51,0.45), transparent 55%);
}
.card__kicker {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ivory-50);
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
}
.card__kicker .chakana { width: 0.85rem; height: 0.85rem; color: var(--gold-soft); }
.card__num {
  position: absolute; left: 1.25rem; top: 1.25rem;
  font-family: var(--font-serif); color: rgba(250,249,247,0.8); font-size: 0.9rem;
}
.card__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; flex: 1; }
.card__body h3 { font-size: 1.5rem; }
.card__body p { color: var(--charcoal-soft); font-size: 0.98rem; flex: 1; }

/* sheen */
.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: translateX(-140%) skewX(-18deg); opacity: 0; pointer-events: none;
}
.sheen:hover::after { opacity: 1; animation: sheen 1.1s var(--ease); }
@keyframes sheen { to { transform: translateX(240%) skewX(-18deg); } }

/* journey card (on dark) */
.jcard {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: rgba(60,95,75,0.4);
  border: 1px solid rgba(250,249,247,0.1);
  border-radius: 2px; overflow: hidden;
  transition: transform 0.7s var(--ease), border-color 0.7s var(--ease);
}
.jcard:hover { transform: translateY(-6px); border-color: rgba(212,160,55,0.4); }
.jcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.jcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.jcard__media[data-carousel] .jcard__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.jcard__media[data-carousel] .jcard__slide.is-active { opacity: 1; }
.jcard:hover .jcard__media img { transform: scale(1.07); }
.jcard__media .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(37,63,49,0.8), transparent 60%); }
.jcard__dur {
  position: absolute; right: 1rem; top: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(37,63,49,0.7); backdrop-filter: blur(4px);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory);
}
.jcard__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 2rem; flex: 1; }
.jcard__body h3 { color: var(--ivory-50); font-size: 1.7rem; }
.jcard__route {
  display: inline-flex; gap: 0.5rem; align-items: flex-start;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft);
}
.jcard__body p { color: rgba(241,236,225,0.8); font-size: 0.98rem; flex: 1; }
.jcard__foot { border-top: 1px solid rgba(250,249,247,0.1); padding-top: 1.25rem; }
.jcard__note {
  border-top: 1px solid rgba(250,249,247,0.1); padding-top: 1rem;
  font-size: 0.8rem; line-height: 1.6; color: rgba(241,236,225,0.6);
}
.jcard__note strong { color: rgba(241,236,225,0.85); font-weight: 500; }

/* day-by-day itinerary (journey detail pages) */
.itin { list-style: none; }
.itin__day {
  display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem 2.5rem;
  padding-block: 1.75rem; border-top: 1px solid var(--stone-line);
}
.itin__day:last-child { border-bottom: 1px solid var(--stone-line); }
@media (max-width: 640px) { .itin__day { grid-template-columns: 1fr; gap: 0.5rem; } }
.itin__no {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terracotta); padding-top: 0.35rem;
}
.itin__place { font-size: 1.4rem; }
.itin__desc { color: var(--charcoal-soft); font-size: 1.02rem; line-height: 1.75; margin-top: 0.5rem; }

/* generic "what's included" list */
.included { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.included li {
  position: relative; padding-left: 1.6rem; color: var(--charcoal-soft); font-size: 1rem;
}
.included li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 0.5rem; height: 0.5rem; transform: rotate(45deg);
  border: 1px solid var(--gold); background: rgba(212,160,55,0.15);
}

/* difference list */
.diff-grid {
  display: grid; gap: 1px; background: var(--stone-line);
  border: 1px solid var(--stone-line); border-radius: 2px; overflow: hidden;
}
@media (min-width: 640px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
.diff-cell { background: var(--ivory-50); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; transition: background 0.5s; }
.diff-cell:hover { background: var(--ivory-200); }
.diff-cell .ic {
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  border: 1px solid rgba(212,160,55,0.4); color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.5s, background 0.5s;
}
.diff-cell:hover .ic { border-color: var(--gold); background: rgba(212,160,55,0.1); }
.diff-cell h3 { font-size: 1.2rem; }
.diff-cell p { color: var(--charcoal-soft); font-size: 0.94rem; }

/* split editorial */
.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.figure-frame { position: relative; }
.figure-frame img { width: 100%; border-radius: 2px; }
/* cap tall portrait sources so they don't render excessively vertical in editorial columns */
.figure-frame img[src*="1568805778719"],
.figure-frame img[src*="1523761415282"],
.figure-frame img[src*="patricia-story"] { aspect-ratio: 4 / 5; object-fit: cover; }
.figure-frame::before {
  content: ""; position: absolute; left: -1rem; top: -1rem;
  width: 6rem; height: 6rem; border-left: 1px solid rgba(212,160,55,0.5);
  border-top: 1px solid rgba(212,160,55,0.5);
}

/* greca divider — bolder Andean fret */
.greca {
  height: 16px; width: 100%;
  background-repeat: repeat-x; background-position: center; background-size: 64px 16px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 9h6V6h6V3h6v3h6v3h6V6h6V3h6' fill='none' stroke='%23d4a037' stroke-width='2.2' stroke-opacity='0.9'/%3E%3C/svg%3E");
}
.greca.on-dark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 9h6V6h6V3h6v3h6v3h6V6h6V3h6' fill='none' stroke='%23f0b52a' stroke-width='2.4' stroke-opacity='0.85'/%3E%3C/svg%3E");
}

/* watermark chakana */
.wm {
  position: absolute; pointer-events: none; color: var(--sand-deep);
  opacity: 0.22; z-index: 0;
}
.wm--float { animation: floaty 9s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(43deg); }
  50% { transform: translateY(-12px) rotate(48deg); }
}
/* slowly turning chakana — a quiet Andean sun */
.spin-slow { animation: spin-slow 64s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* animated greca — larger, brighter, drifts and shimmers (Andean fret ribbon) */
.greca--anim {
  height: 24px; background-size: 96px 24px;
  animation: greca-drift 9s linear infinite, greca-shimmer 3s ease-in-out infinite;
}
@keyframes greca-drift { to { background-position-x: 96px; } }
@keyframes greca-shimmer {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(240,181,42,0)); }
  50% { filter: drop-shadow(0 0 7px rgba(240,181,42,0.7)); }
}

/* Andean textile band — a woven ribbon of brand colour, gently scrolling */
.textile-band {
  height: 6px; width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--terracotta-deep) 0 10px,
    var(--gold) 10px 14px,
    var(--forest) 14px 26px,
    var(--gold-soft) 26px 30px,
    var(--terracotta) 30px 42px,
    var(--sand-deep) 42px 46px
  );
  animation: textile-slide 5.5s linear infinite;
}
.textile-band--lg { height: 9px; }
@keyframes textile-slide { from { background-position: 0 0; } to { background-position: 46px 0; } }

/* marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee figure { position: relative; width: 18rem; height: 12rem; flex: none; border-radius: 2px; overflow: hidden; background: var(--sand); }
.marquee img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* testimonials */
.quotes { text-align: center; max-width: 48rem; margin-inline: auto; position: relative; }
.quote { display: none; }
.quote.active { display: block; animation: qin 0.7s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quote blockquote { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.22; color: var(--ivory-50); }
.quote .who { margin-top: 2rem; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); }
.quote .trip { margin-top: 0.4rem; font-size: 0.72rem; color: rgba(241,236,225,0.6); }
.dots { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2.5rem; }
.dots button { width: 0.4rem; height: 0.4rem; border-radius: 999px; border: none; background: rgba(250,249,247,0.3); transition: all 0.5s var(--ease); }
.dots button.active { width: 2rem; background: var(--gold-soft); }

/* final CTA */
.finalcta { position: relative; isolation: isolate; background: var(--forest-deep); min-height: 84svh; display: flex; align-items: center; overflow: hidden; text-align: center; }
.finalcta__media { position: absolute; inset: 0; z-index: -1; }
.finalcta__media img { width: 100%; height: 100%; object-fit: cover; }
.finalcta__wash { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(37,63,49,0.92), rgba(37,63,49,0.72) 50%, rgba(37,63,49,0.82)); }
.finalcta h2 { color: var(--ivory-50); font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 300; }

/* dates CTA — primary "When would you like to travel?" conversion unit */
.u-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.datescta__form { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; max-width: 40rem; margin-inline: auto; }
.datescta__field { display: flex; flex: 1 1 12rem; min-width: 0; }
.datescta__field select {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--charcoal);
  background: var(--ivory-50); border: 1px solid var(--stone-line); border-radius: 4px;
  padding: 0.85rem 1rem; cursor: pointer; transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b5b4a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 0.9rem center;
}
.datescta__field select:focus { outline: none; border-color: var(--gold); }
.datescta__go { flex: 1 1 12rem; justify-content: center; }
.datescta__note { margin-top: 1rem; font-size: 0.85rem; color: rgba(250,249,247,0.82); }
@media (min-width: 560px) { .datescta__go { flex: 0 0 auto; } }

/* journey product page — meta bar, places, exclusions, advisor */
.product-meta { border-block: 1px solid var(--stone-line); background: var(--ivory-50); }
.product-meta__inner { display: flex; flex-wrap: wrap; gap: 0.6rem 2.5rem; align-items: baseline; padding-block: 1.5rem; }
.product-meta__cat { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.product-meta__dur { font-family: var(--font-serif); font-size: 1.35rem; color: var(--forest); }
.product-meta__price { font-family: var(--font-serif); font-size: 1.35rem; color: var(--forest); }
.product-meta__price b { color: var(--terracotta); font-weight: 500; }
.product-meta__cond { flex-basis: 100%; color: var(--charcoal-soft); font-size: 0.85rem; line-height: 1.6; margin-top: 0.2rem; }
.places { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.places a {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem;
  border: 1px solid var(--stone-line); border-radius: 999px; font-size: 0.9rem;
  color: var(--charcoal); transition: border-color 0.3s, color 0.3s;
}
.places a:hover { border-color: var(--gold); color: var(--terracotta); }
.included--out li::before { transform: none; border: none; border-radius: 0; background: var(--stone); width: 0.7rem; height: 1px; top: 0.75rem; }
.advisor { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 700px) { .advisor { grid-template-columns: auto 1fr; } }
.advisor__photo { width: min(11rem, 40vw); aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.advisor__cred { color: var(--charcoal-soft); max-width: 34rem; }

/* wishlist — header counter, card & detail-page save toggles, saved view */
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-social { display: none; align-items: center; gap: 0.85rem; }
@media (min-width: 1024px) { .header-social { display: inline-flex; } }
.header-social__a { display: inline-flex; color: inherit; opacity: 0.8; transition: opacity 0.3s, color 0.3s; }
.header-social__a svg { width: 23px; height: 23px; }
.m-social__a svg { width: 24px; height: 24px; }
.header-social__a:hover { opacity: 1; color: var(--gold-soft); }
.header-social__a.is-soon { opacity: 0.45; }
.header-social__a.is-soon:hover { opacity: 0.7; color: inherit; cursor: default; }
.site-header:not(.scrolled) .header-social.on-hero .header-social__a { color: var(--ivory-50); }
.m-social { display: flex; gap: 1.1rem; margin-top: 0.75rem; }
.m-social__a { display: inline-flex; color: var(--charcoal); opacity: 0.85; }
.header-saved { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--charcoal-soft); }
.site-header:not(.scrolled) .header-saved.on-hero { color: var(--ivory-50); }
.site-header.menu-open .header-saved.on-hero { color: var(--charcoal-soft); }
.header-saved svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.header-saved.has-saved svg { fill: var(--gold-soft); stroke: var(--gold-soft); }
.header-saved__n { font-size: 0.72rem; font-weight: 600; min-width: 0.9rem; text-align: center; }
.m-saved { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--ivory-50); font-size: 0.95rem; }
.m-saved svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.jcard__save {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 3;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(20,30,25,0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.2s;
}
.jcard__save svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.jcard__save:hover { background: rgba(20,30,25,0.72); transform: scale(1.06); }
.jcard__save.is-saved svg { fill: var(--gold-soft); stroke: var(--gold-soft); }
.meta-save {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem;
  background: none; border: 1px solid var(--stone-line); border-radius: 999px;
  padding: 0.5rem 0.95rem; cursor: pointer; color: var(--charcoal); font: inherit; font-size: 0.85rem;
  transition: border-color 0.3s, color 0.3s;
}
.meta-save svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.meta-save:hover { border-color: var(--gold); }
.meta-save.is-saved { color: var(--terracotta); border-color: var(--gold); }
.meta-save.is-saved svg { fill: var(--terracotta); stroke: var(--terracotta); }
.enq-context {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--ivory-50); border: 1px solid var(--gold); border-left-width: 3px; border-radius: 4px;
  padding: 0.7rem 0.9rem; margin-bottom: 0.3rem; font-size: 0.9rem;
}
.enq-context strong { color: var(--forest); }
.enq-context__change { background: none; border: none; color: var(--terracotta); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.82rem; }

/* trust block — three pillars before the closing CTA */
.trust__grid { gap: clamp(1.75rem, 3.5vw, 3rem); }
.trust__col { display: flex; flex-direction: column; gap: 0.7rem; }
.trust__ic { width: 2.5rem; height: 2.5rem; color: var(--terracotta); display: block; }
.trust__col h3 { font-size: 1.2rem; }
.trust__col p { color: var(--charcoal-soft); }
.trust__col--reserved { border-left: 2px dashed var(--stone-line); padding-left: 1.25rem; }
.trust__col--reserved h3 { color: var(--stone); }
.trust__pending { font-style: italic; }

/* journey photo gallery — "along the way" */
.jgallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 700px) { .jgallery { grid-template-columns: repeat(3, 1fr); } }
.jgallery__item { position: relative; margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; }
.jgallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.jgallery__item:hover img { transform: scale(1.05); }
.jgallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.85rem 0.9rem 0.7rem;
  color: var(--ivory-50); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(to top, rgba(20,30,25,0.8), rgba(20,30,25,0));
}

/* concierge: only its controls capture clicks — never trap content beneath the widget */
.concierge { pointer-events: none; }
.concierge__card, .concierge__trigger, .concierge__teaser, .concierge__dismiss { pointer-events: auto; }

/* footer */
.footer { background: var(--forest-deep); color: var(--ivory); position: relative; }
.footer__grid { display: grid; gap: 3rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
@media (min-width: 1024px) { .footer__grid--no-news { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer h4 { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1rem; }
.footer a { font-size: 0.95rem; color: rgba(241,236,225,0.75); transition: color 0.3s; }
.footer a:hover { color: var(--ivory-50); }
.footer .brand .word { color: var(--ivory-50); }
.footer .brand .sub { color: rgba(241,236,225,0.7); }
.footer__social { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border: 1px solid rgba(250,249,247,0.2); border-radius: 999px; color: var(--ivory); transition: border-color 0.3s, color 0.3s; }
.footer__social:hover { border-color: var(--gold); color: var(--gold-soft); }
.footer__news { display: flex; align-items: center; border-bottom: 1px solid rgba(250,249,247,0.25); }
.footer__news input { flex: 1; background: none; border: none; color: var(--ivory-50); padding: 0.7rem 0; font-size: 0.9rem; }
.footer__news input::placeholder { color: rgba(241,236,225,0.4); }
.footer__news input:focus { outline: none; }
.footer__news button { background: none; border: none; color: var(--gold-soft); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; padding-left: 0.75rem; cursor: pointer; }
/* newsletter band (top of footer) */
.footer__news-band { border-bottom: 1px solid rgba(250,249,247,0.12); }
.footer__news-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.footer__news-copy { max-width: 34rem; }
.footer__news-eyebrow { display: inline-block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.footer__news-h { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--ivory-50); margin-top: 0.5rem; line-height: 1.15; }
.footer__news-sub { color: rgba(241,236,225,0.72); font-size: 0.95rem; margin-top: 0.6rem; }
.footer__news-formwrap { flex: 1 1 22rem; max-width: 30rem; }
.footer__news-fine { font-size: 0.72rem; color: rgba(241,236,225,0.5); margin-top: 0.6rem; }
.footer__news-fine a { color: var(--gold-soft); text-decoration: underline; }
.footer__news-ok { color: var(--gold-soft); font-size: 0.98rem; padding: 0.7rem 0; }
.footer__bottom { display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid rgba(250,249,247,0.12); padding: 1.75rem 0; font-size: 0.78rem; color: rgba(241,236,225,0.55); }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer__legal { display: flex; gap: 1.5rem; list-style: none; }
.footer__company { display: block; margin-top: 0.4rem; color: rgba(241,236,225,0.5); font-size: 0.72rem; line-height: 1.6; }
.footer__company:empty { display: none; }

/* floating concierge */
.concierge { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
@media (min-width: 640px) { .concierge { right: 1.75rem; bottom: 1.75rem; } }
.concierge__card {
  width: min(20rem, calc(100vw - 2.5rem));
  background: var(--ivory-50); border: 1px solid var(--stone-line);
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(51,37,33,0.55);
  transform: translateY(24px) scale(0.96); opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease);
}
.concierge.open .concierge__card { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
.concierge__head { display: flex; align-items: center; gap: 0.75rem; background: var(--forest); color: var(--ivory-50); padding: 1rem 1.25rem; }
.concierge__avatar { position: relative; width: 2.75rem; height: 2.75rem; border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 2px rgba(224,180,90,0.7); flex: none; }
.concierge__avatar img { width: 100%; height: 100%; object-fit: cover; }
.concierge__dot { position: absolute; right: 0; bottom: 0; width: 0.7rem; height: 0.7rem; border-radius: 999px; background: var(--whatsapp); border: 2px solid var(--forest); }
.concierge__name { flex: 1; }
.concierge__name .n { display: block; font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.1; }
.concierge__name .s { display: block; margin-top: 0.2rem; font-size: 0.7rem; color: rgba(241,236,225,0.8); }
.concierge__close { background: none; border: none; color: rgba(241,236,225,0.8); width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.concierge__body { padding: 1.25rem; }
.concierge__msg { background: var(--ivory-200); color: var(--charcoal-soft); border-radius: 1rem 1rem 1rem 0.25rem; padding: 0.85rem 1rem; font-size: 0.92rem; line-height: 1.55; }
.concierge__num { text-align: center; margin-top: 0.75rem; font-size: 0.68rem; color: var(--stone); }
.concierge__trigger { display: flex; align-items: center; gap: 0.65rem; background: var(--forest); color: var(--ivory-50); padding: 0.4rem 1.25rem 0.4rem 0.4rem; border: none; border-radius: 999px; box-shadow: 0 16px 40px -16px rgba(37,63,49,0.8); position: relative; transition: transform 0.3s; }
.concierge__trigger:hover { transform: scale(1.03); }
.concierge__trigger .concierge__avatar { box-shadow: 0 0 0 2px rgba(224,180,90,0.6); }
.concierge__trigger .t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.concierge__trigger .t .n { font-family: var(--font-serif); font-size: 1rem; }
.concierge__trigger .t .o { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-top: 0.2rem; }
.concierge__trigger .t .o::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 999px; background: var(--whatsapp); }
.pulse-ring::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--whatsapp); z-index: -1; animation: pulse 2.8s var(--ease) 3; }
@keyframes pulse { 0% { transform: scale(0.92); opacity: 0.5; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
.concierge__wa { display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; margin-top: 1rem; height: 3rem; border-radius: 999px; background: var(--whatsapp); color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: transform 0.3s; }
.concierge__wa:hover { transform: scale(1.02); }
.concierge__teaser { display: none; background: var(--ivory-50); border: 1px solid var(--stone-line); border-radius: 999px; padding: 0.5rem 1rem; font-family: var(--font-serif); font-style: italic; font-size: 0.9rem; color: var(--charcoal); box-shadow: 0 12px 30px -12px rgba(51,51,51,0.4); }
@media (min-width: 640px) { .concierge__teaser.show { display: block; } }
.concierge__triggerwrap { position: relative; display: flex; align-items: center; gap: 0.5rem; }
.concierge__dismiss {
  position: absolute; top: -6px; right: -6px; z-index: 1;
  width: 1.4rem; height: 1.4rem; border-radius: 999px; border: none;
  background: var(--charcoal); color: var(--ivory-50);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0.85; box-shadow: 0 2px 8px -2px rgba(0,0,0,0.5);
}
.concierge__dismiss:hover { opacity: 1; }
.concierge__dismiss::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; }
/* fade the whole widget while the footer is on screen (unless the card is open) */
.concierge { transition: opacity 0.3s var(--ease); }
.concierge.at-footer:not(.open) { opacity: 0; pointer-events: none; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal:not(.in) { will-change: opacity, transform; }
.reveal.in { will-change: auto; }
.reveal--up { transform: translateY(54px); }
.reveal--left { transform: translateX(-46px); }
.reveal--right { transform: translateX(46px); }
.reveal--scale { transform: scale(0.93); }
.reveal.in { opacity: 1 !important; transform: none !important; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }
.reveal[data-delay="5"] { transition-delay: 0.45s; }
.reveal[data-delay="6"] { transition-delay: 0.54s; }

/* ==================================================================
   Premium upgrade — cinematic motion, carousels & story chapters
   ================================================================== */

/* richer image interplay */
.figure-frame img { transition: transform 1.5s var(--ease), filter 1.5s var(--ease); }
.figure-frame:hover img { transform: scale(1.045); }
.pagehero__media img { animation: heroKen 18s ease-out both; }
@keyframes heroKen { from { transform: scale(1.1); } to { transform: scale(1); } }

/* buttons — a touch more life */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left 0.7s var(--ease); pointer-events: none;
}
.btn:hover::before { left: 130%; }

/* ---------- carousel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: 4px; background: var(--sand); }
.carousel__track { display: flex; transition: transform 0.85s var(--ease); will-change: transform; }
.carousel__slide { position: relative; flex: 0 0 100%; }
.carousel__slide img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 7s var(--ease); }
.carousel--wide .carousel__slide img { aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .carousel--wide .carousel__slide img { aspect-ratio: 4 / 3; } }
.carousel:hover .carousel__slide img { transform: scale(1.06); }
.carousel__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 3rem 1.6rem 1.3rem; color: var(--ivory-50);
  background: linear-gradient(to top, rgba(15,26,20,0.9), rgba(15,26,20,0.35) 55%, transparent);
  font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.35;
}
.carousel__slide figcaption span {
  display: block; margin-bottom: 0.35rem;
  font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft);
}
.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 2.9rem; height: 2.9rem; border-radius: 999px; border: none;
  background: rgba(253,252,250,0.82); color: var(--forest); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px -12px rgba(0,0,0,0.55); transition: background 0.3s, transform 0.3s;
}
.carousel__nav:hover { background: var(--ivory-50); transform: translateY(-50%) scale(1.09); }
.carousel__nav--prev { left: 0.9rem; }
.carousel__nav--next { right: 0.9rem; }
.carousel__count {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  background: rgba(15,26,20,0.6); color: var(--ivory-50);
  font-size: 0.66rem; letter-spacing: 0.14em; padding: 0.35rem 0.7rem; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.carousel__dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.carousel__dots button { width: 0.5rem; height: 0.5rem; border-radius: 999px; border: none; background: var(--stone-line); cursor: pointer; transition: all 0.45s var(--ease); }
.carousel__dots button.active { width: 1.9rem; background: var(--gold); }
/* enlarge dot touch targets to 44px without changing the dots' visible size/spacing */
.dots button, .carousel__dots button { position: relative; }
.dots button::after, .carousel__dots button::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); width: 44px; height: 44px;
}

/* ---------- story chapter ---------- */
.chapter .carousel { box-shadow: 0 44px 90px -55px rgba(37,63,49,0.65); }
.chapter .carousel .figure-frame::before,
.chapter .figure-frame::before { z-index: 2; }

/* immersive dark feature (Titicaca) */
.feature-dark { background: var(--forest-deep); color: var(--ivory); }
.feature-dark .lede { color: rgba(241,236,225,0.85); }
.feature-dark .muted { color: rgba(241,236,225,0.72); }
.feature-dark h2, .feature-dark h3 { color: var(--ivory-50); }
.feature-dark .carousel__dots button { background: rgba(250,249,247,0.28); }
.feature-dark .carousel__viewport { background: var(--forest-soft); }

/* stat row */
.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.stat .n { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-soft); line-height: 1; }
.stat .l { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241,236,225,0.7); margin-top: 0.4rem; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ivory); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader svg { width: 88px; height: 88px; }
.preloader .stroke { fill: none; stroke: url(#pcgrad); stroke-width: 3; stroke-linejoin: round;
  stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 1.6s var(--ease) forwards; }
.preloader .hole { fill: none; stroke: var(--gold); stroke-width: 3; opacity: 0; animation: fadein 0.5s 1.1s forwards; }
.preloader .word { font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; fill: var(--espresso); opacity: 0; animation: fadein 0.6s 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

/* ---------- page transition overlay ---------- */
.page-trans {
  position: fixed; inset: 0; z-index: 150; background: var(--forest);
  display: flex; align-items: center; justify-content: center;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.page-trans.active { clip-path: circle(150% at 50% 50%); pointer-events: auto; }
.page-trans .chakana { width: 3.5rem; height: 3.5rem; opacity: 0; transform: rotate(0deg); transition: opacity 0.4s, transform 0.7s var(--ease); }
.page-trans.active .chakana { opacity: 1; transform: rotate(45deg); }

/* page enter animation */
.page-enter { animation: pageEnter 0.8s var(--ease) both; }
@keyframes pageEnter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* prose (story / legal) */
.prose { max-width: 42rem; }
.prose p { margin-bottom: 1.35rem; color: var(--charcoal-soft); font-size: 1.06rem; line-height: 1.8; }
.prose p.lead { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; color: var(--charcoal); }
.prose .pull { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--forest); border-left: 2px solid var(--gold); padding-left: 1.25rem; margin: 2.25rem 0; }
.prose .sign { font-family: var(--font-serif); font-size: 1.6rem; color: var(--terracotta); }

/* utilities */
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; } .mt-8 { margin-top: 4rem; }
.stack { display: flex; flex-direction: column; }
.gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.muted { color: var(--charcoal-soft); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 300; background: var(--forest); color: var(--ivory-50); padding: 0.5rem 1rem; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  /* parallax (JS-driven), marquee, chakana spin/float, greca drift and Ken Burns */
  [data-parallax] { transform: none !important; }
  .marquee__track { animation: none !important; }
  .spin-slow, .wm--float, .greca--anim, .pulse-ring::before { animation: none !important; }
  .hero__media img, .pagehero__media img { animation: none !important; }
}

/* ================= Regions / Stats / Pricing (added) ================= */

/* 4-up responsive grid */
.grid-4 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Region discovery tiles */
.region { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: 2px; background: var(--sand); }
.region img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.region:hover img { transform: scale(1.06); }
.region__wash { position: absolute; inset: 0; background: linear-gradient(to top, rgba(37,63,49,.9), rgba(37,63,49,.12) 55%, transparent); }
.region__body { position: absolute; inset: auto 0 0 0; padding: 1.4rem; color: var(--ivory-50); }
.region__body .k { display: inline-flex; align-items: center; gap: .4rem; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.region__body h3 { color: var(--ivory-50); font-size: 1.35rem; margin-top: .5rem; }
.region__body p { color: rgba(241,236,225,.85); font-size: .88rem; margin-top: .35rem; }

/* Stats band */
.stats { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; text-align: center; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .n { font-family: var(--font-serif); font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1; color: var(--gold-soft); }
.stat .l { margin-top: .55rem; font-size: .86rem; line-height: 1.4; color: rgba(241,236,225,.82); }

/* "From" guide pricing on journey cards */
.jcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price-from { display: inline-flex; align-items: baseline; gap: .4rem; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(241,236,225,.6); }
.price-from b { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--gold-soft); }
