/* ==========================================================================
   SGO DMC / Inbound Vietnam homepage (demo-v3)
   Tokens follow Design-System-Guide-SGO-Inbound.md. Spacing never exceeds 50px.
   ========================================================================== */

:root {
  /* Brand: sampled from the SGO logo */
  --teal-950: #0b2629;
  --teal-900: #0e3236;
  --teal-800: #143f44;
  --teal-700: #1b555b;
  --teal-600: #246c72;   /* logo wordmark, primary */
  --teal-200: #c4dcda;
  --teal-100: #e1eeec;
  --teal-50:  #eff6f5;
  --saffron: #f99d1c;    /* logo sun, the only accent */
  --saffron-600: #d9820a;
  --saffron-50: #fef3e2;

  /* Neutrals (cool, tinted toward teal) */
  --canvas: #f5f8f7;
  --surface: #ffffff;
  --ink: #132326;
  --ink-2: #364a4d;
  --muted: #5b6d70;
  --line: #d9e3e2;
  --line-soft: #e8efee;

  --danger: #b4361f;
  --success: #1f7a4d;

  /* Type */
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 20px;
  --fs-xl: clamp(24px, 2.2vw, 30px);
  --fs-2xl: clamp(30px, 3.4vw, 46px);
  --fs-display: clamp(40px, 5.6vw, 76px);

  /* Space: 4px base, section rhythm capped at 50px */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-9: 50px;
  --section-y: clamp(32px, 4.4vw, 50px);
  --gutter: clamp(16px, 3vw, 40px);
  --container: 1320px;
  --header-h: 72px;

  /* Shape: interactive 8px, cards 12px, large media 16px */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgb(14 50 54 / .06), 0 2px 8px rgb(14 50 54 / .05);
  --shadow-md: 0 10px 30px -12px rgb(14 50 54 / .22);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* z-index scale */
  --z-header: 50;
  --z-float: 40;
  --z-menu: 60;
  --ref-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--saffron); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */
.h1, .h2, .h3 { font-weight: 600; letter-spacing: -0.025em; }
.h1 { font-size: var(--fs-display); line-height: 1.04; }
.h2 { font-size: var(--fs-2xl); line-height: 1.1; letter-spacing: -0.022em; }
.h3 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-md); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600);
}
.section-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); max-width: 720px; }
.section-head .lead { margin-top: var(--s-1); }
.split-line { overflow: clip; padding-bottom: .06em; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; white-space: nowrap;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn:hover { --btn-bg: var(--teal-700); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--accent { --btn-bg: var(--saffron); --btn-fg: var(--ink); }
.btn--accent:hover { --btn-bg: #ffad3a; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--teal-700); --btn-bd: var(--teal-200); }
.btn--outline:hover { --btn-bg: var(--teal-50); --btn-bd: var(--teal-600); }
.btn--ghost-light { --btn-bg: rgb(255 255 255 / .08); --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .45); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --btn-bg: rgb(255 255 255 / .18); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--teal-700);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; top: var(--ref-h); z-index: var(--z-header);
  height: var(--header-h); color: #fff;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease), top .7s var(--ease);
}
.site-header.is-solid {
  color: var(--ink);
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(calc(-100% - var(--ref-h))); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--s-7); }
.brand { display: block; flex: none; width: 150px; position: relative; }
.brand img { width: 100%; height: auto; transition: opacity .4s var(--ease); }
.brand .brand__color { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid .brand__white { opacity: 0; }
.site-header.is-solid .brand__color { opacity: 1; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; font-size: 15px; font-weight: 500; border-radius: var(--r-sm);
  transition: background-color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--saffron); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.lang-link { font-size: 14px; font-weight: 500; opacity: .85; padding: 8px; }
.lang-link:hover { opacity: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.menu-toggle .icon { width: 26px; height: 26px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--teal-900); color: #fff;
  padding: 20px var(--gutter) 32px; display: flex; flex-direction: column; gap: var(--s-7);
  transform: translateY(-100%); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
.mobile-menu .btn { margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; min-height: max(640px, 100dvh);
  display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--teal-950);
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(11 38 41 / .55) 0%, rgb(11 38 41 / 0) 22%),
    linear-gradient(0deg, rgb(11 38 41 / .88) 0%, rgb(11 38 41 / .35) 42%, rgb(11 38 41 / 0) 70%),
    linear-gradient(90deg, rgb(11 38 41 / .45) 0%, rgb(11 38 41 / 0) 60%);
}
.hero__inner {
  padding-top: calc(var(--header-h) + var(--ref-h) + 40px); padding-bottom: var(--s-8);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s-8); align-items: end;
}
.hero__content { max-width: 720px; display: grid; gap: var(--s-5); }
.hero__content .eyebrow { color: var(--saffron); }
.hero__sub { font-size: var(--fs-md); line-height: 1.6; color: rgb(255 255 255 / .86); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

.hero__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.hero-tab { text-align: left; color: rgb(255 255 255 / .62); padding-top: 14px; position: relative; transition: color .4s var(--ease); }
.hero-tab::before, .hero-tab__bar {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px;
}
.hero-tab::before { background: rgb(255 255 255 / .25); }
.hero-tab__bar { background: var(--saffron); transform: scaleX(0); transform-origin: left; }
.hero-tab strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.hero-tab span { display: block; font-size: 12px; opacity: .8; }
.hero-tab.is-active, .hero-tab:hover { color: #fff; }

/* ---------- Finder + promises ---------- */
.finder { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.finder__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--s-4); align-items: end; }
.field { display: grid; gap: 6px; }
.field > label, .field__label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.select { position: relative; }
.select .icon { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.input, .select select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; background: var(--surface); color: var(--ink);
  border: 1px solid #c9d6d4; border-radius: var(--r-sm); appearance: none; -webkit-appearance: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.select select { padding-right: 40px; }
.textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #5b6d70; }
.input:hover, .select select:hover, .textarea:hover { border-color: #a9bcba; }
.input:focus, .select select:focus, .textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgb(36 108 114 / .18); }
.field__help { font-size: 13px; color: var(--muted); }
.field__error { font-size: 13px; color: var(--danger); min-height: 0; }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--danger); }

.promises { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-8); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line-soft); }
.promise { display: flex; align-items: center; gap: var(--s-3); font-size: 15px; color: var(--ink-2); }
.promise__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); flex: none; }
.promise__icon .icon { width: 20px; height: 20px; }
.promise strong { color: var(--ink); font-weight: 600; }

/* ---------- Story ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-9); align-items: center; }
.story__media { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-4); align-items: start; }
.story__media figure { overflow: hidden; border-radius: var(--r-lg); }
.story__media figure:first-child { aspect-ratio: 4 / 5; }
.story__media figure:last-child { aspect-ratio: 3 / 4; margin-top: var(--s-9); }
.story__media img { width: 100%; height: 118%; object-fit: cover; }
.story__text { display: grid; gap: var(--s-5); }
.story__text p { color: var(--ink-2); max-width: 58ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-2); }
.fact { padding-top: var(--s-3); border-top: 2px solid var(--saffron); }
.fact dt { font-size: 13px; color: var(--muted); }
.fact dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: var(--s-6); border-block: 1px solid var(--line); background: var(--surface); }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: var(--s-8); padding-right: var(--s-8); }
.marquee__item { font-size: clamp(34px, 5.6vw, 80px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; white-space: nowrap; }
.marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.2px var(--teal-600); }
.marquee__sun { width: clamp(22px, 2.6vw, 38px); height: clamp(22px, 2.6vw, 38px); color: var(--saffron); flex: none; }

/* ---------- Destinations: staggered 5-column grid (desktop), free swipe row (< 992px) ----------
   2026-10-20: the pinned horizontal pan was dropped (guests had to scroll through every card before
   reaching the next section). Nothing is pinned now; the page always scrolls straight on. */
.dest { overflow: hidden; }
.dest__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-7); }
.dest__head .section-head { margin-bottom: 0; }
.dest__track { display: flex; gap: var(--s-5); padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.dest-card { width: clamp(220px, 62vw, 280px); flex: none; display: grid; align-content: start; gap: var(--s-3); }
.dest-card__img { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--teal-100); }
.dest-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.dest-card:hover .dest-card__img img { scale: 1.06; }
.dest-card__region { font-size: 13px; color: var(--muted); }
.dest-card h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; display: flex; align-items: center; gap: 8px; }
.dest-card h3 .icon { width: 18px; height: 18px; flex: none; color: var(--teal-600); transition: transform .45s var(--ease); }
.dest-card:hover h3 .icon { transform: translate(3px, -3px); }
.dest-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.dest-card:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 4px; border-radius: var(--r-md); }
/* "Not sure where to start?" band under the grid */
.dest__cta {
  margin-top: var(--s-7); display: flex; align-items: center; justify-content: space-between; gap: var(--s-5) var(--s-7); flex-wrap: wrap;
  padding: var(--s-6) var(--s-7); border-radius: var(--r-md); background: var(--teal-700); color: #fff;
}
.dest__cta .h3 { font-size: var(--fs-xl); color: #fff; }
.dest__cta p { color: rgb(255 255 255 / .8); font-size: 15px; max-width: 60ch; margin-top: 4px; }
.dest__cta .btn { flex: none; }
@media (min-width: 992px) {
  .dest__track {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-7) var(--s-5);
    width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-inline: 0;
    padding-bottom: 48px; /* room for the lowered columns */
  }
  .dest-card { width: auto; }
  /* columns 2 and 4 sit lower: a skyline instead of a flat row. The "translate" property, not "transform",
     so row gaps stay even and the GSAP reveal (which writes transform) cannot cancel it. */
  .dest-card:nth-child(5n+2), .dest-card:nth-child(5n+4) { translate: 0 48px; }
  .dest-card h3 { font-size: var(--fs-md); }
}

/* ---------- Tours ---------- */
.tours__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-7); }
.tours__head .section-head { margin-bottom: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--teal-50); border-radius: 10px; overflow-x: auto; max-width: 100%; }
.tab { height: 40px; padding: 0 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.tab:hover { color: var(--teal-700); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--teal-700); box-shadow: var(--shadow-sm); }

.tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.tour {
  --img-h: clamp(200px, 17vw, 240px);
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow .5s var(--ease), translate .5s var(--ease), border-color .5s var(--ease);
}
.tour[hidden] { display: none; }
.tour:hover { box-shadow: var(--shadow-md); translate: 0 -3px; border-color: var(--line); }
.tour.is-featured { grid-column: span 2; }
@media (min-width: 992px) { .tour.is-wide { grid-column: span 2; } }
.tour__img { height: var(--img-h); overflow: hidden; background: var(--teal-100); }
.tour__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.tour:hover .tour__img img { scale: 1.05; }
.tour__body { flex: 1; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); }
.tour__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.tour__meta span { display: inline-flex; align-items: center; gap: 6px; }
.tour__meta .icon { width: 16px; height: 16px; color: var(--teal-600); }
.tour__meta .is-best { color: var(--ink); font-weight: 600; }
.tour__meta .is-best .icon { color: var(--saffron); }
.tour h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.tour__route { font-size: 14px; color: var(--muted); line-height: 1.55; }
.tour__foot { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.price { font-size: 13px; color: var(--muted); line-height: 1.3; }
.price strong { display: block; font-size: var(--fs-lg); color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.tours__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-7); }
.tours__count { font-size: 14px; color: var(--muted); }
.empty-state {
  display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-8); border-radius: var(--r-md);
  border: 1px dashed var(--teal-200); background: var(--teal-50);
}
.empty-state[hidden] { display: none; }
.empty-state p { color: var(--ink-2); max-width: 52ch; }

/* ---------- Travel styles (accordion) ---------- */
.styles__panels { display: flex; gap: var(--s-3); height: clamp(380px, 56vh, 500px); }
.style {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-md); overflow: hidden; color: #fff;
  background: var(--teal-800); cursor: pointer; transition: flex-grow .8s var(--ease);
}
.style.is-active { flex-grow: 4.4; cursor: default; }
.style img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.style::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 38 41 / .88) 0%, rgb(11 38 41 / .2) 55%, rgb(11 38 41 / .05) 100%); }
.style:not(.is-active):hover img { scale: 1.06; }
.style__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: var(--s-6); display: grid; gap: var(--s-3); }
.style__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); backdrop-filter: blur(8px); }
.style__icon .icon { width: 22px; height: 22px; }
.style__title { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; }
.style__text { font-size: 15px; color: rgb(255 255 255 / .85); max-width: 42ch; }
.style__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--saffron); }
.style__more .icon { width: 18px; height: 18px; }
.style__title, .style__text, .style__more { opacity: 0; translate: 0 10px; transition: opacity .4s var(--ease), translate .6s var(--ease); }
.style.is-active .style__title, .style.is-active .style__text, .style.is-active .style__more { opacity: 1; translate: 0 0; transition-delay: .25s; }

/* ---------- How we plan ---------- */
.plan__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-9); align-items: start; }
.plan__media { position: sticky; top: calc(var(--header-h) + 20px); aspect-ratio: 5 / 6; max-height: calc(100dvh - var(--header-h) - 40px); width: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--teal-800); }
.plan__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.08; transition: opacity .9s var(--ease), scale 1.6s var(--ease); }
.plan__media img.is-active { opacity: 1; scale: 1; }
.plan__steps { position: relative; display: grid; gap: var(--s-2); margin-top: var(--s-7); padding-left: 28px; }
.plan__rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.plan__rail span { position: absolute; inset: 0; background: var(--saffron); transform: scaleY(0); transform-origin: top; border-radius: 2px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); padding: var(--s-5) 0; opacity: .45; transition: opacity .6s var(--ease); cursor: pointer; }
.step.is-active { opacity: 1; }
.step__icon { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); transition: background-color .5s var(--ease), color .5s var(--ease); }
.step.is-active .step__icon { background: var(--teal-600); color: #fff; }
.step__icon .icon { width: 22px; height: 22px; }
.step h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; }
.step p { color: var(--muted); margin-top: 4px; max-width: 46ch; }
.plan__cta { margin-top: var(--s-6); padding-left: 28px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--teal-50); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); margin-bottom: var(--s-7); }
.reviews__head .section-head { margin-bottom: 0; }
.carousel-nav { display: flex; gap: var(--s-2); }
.icon-btn { width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid var(--teal-200); color: var(--teal-700); background: var(--surface); transition: background-color .3s var(--ease), color .3s var(--ease); }
.icon-btn:hover { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.icon-btn:active { transform: scale(.96); }
.icon-btn:disabled { opacity: .4; pointer-events: none; }
.icon-btn .icon { width: 20px; height: 20px; }
.review-track {
  display: flex; gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.review-track::-webkit-scrollbar { display: none; }
.review {
  flex: none; width: clamp(290px, 32vw, 420px); scroll-snap-align: start;
  background: var(--surface); border-radius: var(--r-md); padding: var(--s-7) var(--s-6) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4); box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 2px; color: var(--saffron); }
.stars .icon { width: 18px; height: 18px; }
.review blockquote { font-size: 17px; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line-soft); }
.monogram { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); font-weight: 700; font-size: 15px; flex: none; }
.review__who strong { display: block; font-size: 15px; }
.review__who span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- Why (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: var(--s-4); }
.cell { position: relative; border-radius: var(--r-md); overflow: hidden; padding: var(--s-6); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-2); background: var(--surface); border: 1px solid var(--line-soft); }
.cell h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.cell p { font-size: 15px; color: var(--muted); }
.cell__icon { position: absolute; top: var(--s-6); left: var(--s-6); width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.cell__icon .icon { width: 22px; height: 22px; }
.cell--a { grid-column: span 2; grid-row: span 2; }
.cell--d, .cell--e, .cell--f { grid-column: span 2; }
.cell--img { color: #fff; border: 0; background: var(--teal-800); }
.cell--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.cell--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 38 41 / .85) 0%, rgb(11 38 41 / .1) 60%); }
.cell--img > :not(img) { position: relative; z-index: 1; }
.cell--img p { color: rgb(255 255 255 / .85); }
.cell--img:hover img { scale: 1.05; }
.cell--a h3 { font-size: var(--fs-xl); }
.cell__tag { font-size: 13px; font-weight: 600; color: var(--saffron); }
.cell--teal { background: var(--teal-700); color: #fff; border: 0; }
.cell--teal p { color: rgb(255 255 255 / .8); }
.cell--teal .cell__icon { background: rgb(255 255 255 / .12); color: #fff; }
.cell--saffron { background: var(--saffron-50); border-color: #fbe0b5; }
.cell--saffron .cell__icon { background: var(--saffron); color: var(--ink); }
.cell--saffron a { font-weight: 700; color: var(--ink); }
.cell--tint { background: var(--teal-50); }

/* ---------- When to go + before you go ---------- */
.when__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--s-9); align-items: start; }
.months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: var(--s-5); }
.month { height: 44px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-soft); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.month:hover { border-color: var(--teal-200); color: var(--teal-700); }
.month[aria-selected="true"] { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.month-panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: var(--s-6); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); }
.month-panel h3 { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; }
.month-panel__summary { color: var(--ink-2); margin-top: var(--s-2); }
.month-panel__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: var(--s-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--r-sm); background: var(--teal-50); color: var(--teal-800); font-size: 14px; font-weight: 500; }
.chip .icon { width: 15px; height: 15px; color: var(--teal-600); }
.weather { display: flex; align-items: center; gap: 8px; margin-top: var(--s-4); font-size: 14px; color: var(--muted); }
.weather .icon { width: 18px; height: 18px; color: var(--saffron-600); }

.guides { display: grid; gap: var(--s-2); }
.guides h3 { font-size: var(--fs-lg); font-weight: 600; margin-bottom: var(--s-2); }
.guide { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-3); margin-inline: calc(var(--s-3) * -1); border-radius: var(--r-md); transition: background-color .3s var(--ease); }
.guide:hover { background: var(--surface); }
.guide__img { width: 96px; height: 76px; border-radius: var(--r-sm); overflow: hidden; }
.guide__img img { width: 100%; height: 100%; object-fit: cover; }
.guide strong { display: block; font-weight: 600; line-height: 1.35; }
.guide span { font-size: 13px; color: var(--muted); }

/* ---------- Contact + footer ---------- */
.contact { background: var(--teal-900); color: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-9); align-items: start; }
.contact .eyebrow { color: var(--saffron); }
.contact .lead { color: rgb(255 255 255 / .78); }
.contact__intro { display: grid; gap: var(--s-4); }
.contact-list { display: grid; gap: var(--s-4); margin-top: var(--s-4); }
.contact-list a, .contact-list p { display: flex; gap: var(--s-3); align-items: flex-start; font-size: 15px; color: rgb(255 255 255 / .9); }
.contact-list .icon { width: 20px; height: 20px; color: var(--saffron); margin-top: 2px; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form-card { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: var(--s-7); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-4); }
.form-grid .field--full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); flex-wrap: wrap; }
.form-actions small { color: var(--muted); font-size: 13px; max-width: 34ch; }
.form-success { display: grid; gap: var(--s-3); justify-items: start; }
.form-success[hidden] { display: none; }
.form-success__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #e3f3ea; color: var(--success); }
.form-success__icon .icon { width: 26px; height: 26px; }

.site-footer { background: var(--teal-950); color: rgb(255 255 255 / .74); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--s-8); padding-block: var(--s-9) var(--s-8); }
.footer__brand { display: grid; gap: var(--s-4); align-content: start; }
.footer__brand img { width: 160px; }
.footer__brand p { max-width: 36ch; }
.footer__col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: var(--s-4); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a:hover { color: #fff; }
.socials { display: flex; gap: var(--s-2); }
.socials a { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .16); color: #fff; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.socials a:hover { background: var(--teal-600); border-color: var(--teal-600); }
.socials .icon { width: 20px; height: 20px; }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-5); border-top: 1px solid rgb(255 255 255 / .1); font-size: 13px; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

.float-chat {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-600); color: #fff; box-shadow: 0 12px 30px -8px rgb(14 50 54 / .55);
  transition: background-color .3s var(--ease), scale .4s var(--ease);
}
.float-chat:hover { background: var(--teal-700); scale: 1.06; }
.float-chat { opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .5s var(--ease), translate .5s var(--ease), background-color .3s var(--ease), scale .4s var(--ease); }
.float-chat.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.float-chat .icon { width: 28px; height: 28px; }

/* Before-JS: keep the hero copy hidden only until the intro timeline takes over */
.js:not(.is-ready) .hero__content, .js:not(.is-ready) .hero__tabs { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .lang-link { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--a { grid-row: span 1; min-height: 340px; }
  .cell--b, .cell--c { grid-column: span 1; }
}

@media (max-width: 991px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .finder__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__form .btn { width: 100%; }
  .story__grid, .plan__grid, .when__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .dest__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
  .dest__track::-webkit-scrollbar { display: none; }
  .dest-card { scroll-snap-align: start; }
  .dest__cta { padding: var(--s-6); }
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan__media { position: relative; top: 0; aspect-ratio: 16 / 10; max-height: none; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .brand { width: 128px; }
  .hero__tabs { grid-template-columns: repeat(4, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .finder__form { grid-template-columns: 1fr; }
  .promises { flex-direction: column; gap: var(--s-3); }
  .story__media figure:last-child { margin-top: var(--s-8); }
  .tour-grid { grid-template-columns: 1fr; }
  .tour.is-featured { grid-column: auto; }
  .styles__panels { flex-direction: column; height: auto; }
  .style, .style.is-active { flex: none; height: 300px; cursor: default; }
  .style .style__title, .style .style__text, .style .style__more { opacity: 1; translate: 0 0; }
  .reviews__head { align-items: flex-start; flex-direction: column; }
  .bento { grid-template-columns: 1fr; }
  .cell--a, .cell--b, .cell--c, .cell--d, .cell--e, .cell--f { grid-column: auto; grid-row: auto; }
  .cell--b, .cell--c, .cell--f, .cell--e { min-height: 190px; }
  .cell--d { min-height: 280px; }
  .months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .month-panel { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: var(--s-6) var(--s-5); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   demo-v3.2 additions: inbound commerce (day tours, experiences, partners,
   partner referral codes, tour detail + booking). Same tokens as the Guide:
   radius 8/12/16, section padding capped at 50px, saffron only for
   "Plan my trip" and form submits.
   ========================================================================== */
html.has-ref { --ref-h: 40px; }
[hidden] { display: none !important; }

/* ---------- Partner referral bar ---------- */
.ref-bar {
  position: fixed; inset: 0 0 auto; height: 40px; z-index: calc(var(--z-header) + 1);
  background: var(--teal-50); color: var(--ink); border-bottom: 1px solid var(--teal-200);
  font-size: 14px; animation: ref-in .7s var(--ease) both;
}
@keyframes ref-in { from { transform: translateY(-100%); } }
.ref-bar__inner { height: 100%; display: flex; align-items: center; gap: var(--s-3); }
.ref-bar__inner > .icon { width: 18px; height: 18px; color: var(--teal-600); }
.ref-bar p { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref-bar strong { font-weight: 600; }
.ref-bar__short { display: none; }
.ref-bar button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--ink-2); flex: none; }
.ref-bar button:hover { background: var(--teal-100); }
.ref-bar button .icon { width: 18px; height: 18px; }

/* ---------- Nav dropdowns ---------- */
.nav { align-items: center; }
.nav-item { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; font-size: 15px; font-weight: 500; border-radius: var(--r-sm); color: inherit; }
.nav-trigger .icon { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav-item.is-open .nav-trigger .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 8px; z-index: 1;
  min-width: 300px; padding: var(--s-2); background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), translate .45s var(--ease), visibility 0s linear .3s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .3s var(--ease), translate .45s var(--ease); }
.dropdown ul { display: grid; gap: 2px; }
.nav .dropdown a { display: grid; gap: 2px; padding: 10px 12px; font-size: 14px; border-radius: var(--r-sm); }
.nav .dropdown a::after { display: none; }
.nav .dropdown a:hover { background: var(--teal-50); }
.dropdown strong { font-size: 15px; font-weight: 600; }
.dropdown li span { font-size: 13px; color: var(--muted); }
.dropdown--media { display: grid; grid-template-columns: 270px 190px; gap: var(--s-2); min-width: 0; }
.nav .dropdown a.dropdown__media { align-content: start; gap: 8px; }
.dropdown__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.dropdown__media span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-700); }
.dropdown__media .icon { width: 16px; height: 16px; }

/* ---------- Search bar with product type ---------- */
.finder__form--v32 { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; }
.finder__type .tabs { height: 48px; align-items: center; }
.tab[aria-checked="true"] { background: var(--surface); color: var(--teal-700); box-shadow: var(--shadow-sm); }

/* ---------- Day tours: featured + list ---------- */
.daytours__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--teal-50); color: var(--ink-2); font-size: 15px; }
.daytours__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-6); align-items: stretch; }
.daytour {
  display: grid; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow .5s var(--ease), border-color .5s var(--ease), opacity .45s var(--ease);
}
.daytour:hover { box-shadow: var(--shadow-md); border-color: var(--line); }
.daytour.is-dim { opacity: .38; }
.daytour__img { display: block; overflow: hidden; background: var(--teal-100); }
.daytour__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.daytour:hover .daytour__img img { scale: 1.05; }
.daytour__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); min-width: 0; }
.daytour h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.daytour h3 a { transition: color .3s var(--ease); }
.daytour h3 a:hover { color: var(--teal-700); }
.daytour .tour__foot { margin-top: auto; }
.daytour--featured { grid-template-rows: auto 1fr; }
.daytour--featured .daytour__img { aspect-ratio: 16 / 10; }
.daytour--featured h3 { font-size: var(--fs-xl); line-height: 1.2; }
.daytours__list { display: grid; gap: var(--s-4); }
.daytours__list .daytour { grid-template-columns: 168px minmax(0, 1fr); }
.daytours__list .daytour__img { min-height: 140px; }
.daytours__list .daytour__body { padding: var(--s-4) var(--s-5); }
.daytours__list h3 { font-size: 17px; }

/* ---------- Prices (partner discount) ---------- */
.price s { color: var(--muted); margin-right: 2px; }
.price__note { display: block; font-size: 12px; font-weight: 600; color: var(--teal-700); }
.tour h3 a { transition: color .3s var(--ease); }
.tour h3 a:hover { color: var(--teal-700); }

/* ---------- Experiences (accordion with booking) ---------- */
.style__title { white-space: normal; max-width: 22ch; }
.style__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: rgb(255 255 255 / .85); }
.style__meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.style__meta .icon { width: 16px; height: 16px; }
.style .price { color: rgb(255 255 255 / .85); font-size: 14px; }
.style .price strong { display: inline; font-size: 17px; color: #fff; }
.style .price s { color: rgb(255 255 255 / .6); }
.style .price__note { color: var(--saffron); }
.style__cta { justify-self: start; }
.style__meta, .style__cta { opacity: 0; visibility: hidden; translate: 0 10px; transition: opacity .4s var(--ease), translate .6s var(--ease), visibility 0s linear .4s; }
.style.is-active .style__meta, .style.is-active .style__cta { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .4s var(--ease) .25s, translate .6s var(--ease) .25s; }
/* Icon sits centred on collapsed panels and glides to the top-left corner when the panel opens (hover, click or focus) */
.style > .style__icon { position: absolute; top: var(--s-6); left: var(--s-6); z-index: 1; background: rgb(11 38 41 / .42); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); transition: top .8s var(--ease), left .8s var(--ease), translate .8s var(--ease), background .4s var(--ease); }
.style.is-active > .style__icon { background: var(--teal-600); box-shadow: none; }
@media (min-width: 768px) {
  .style:not(.is-active) > .style__icon { top: 50%; left: 50%; translate: -50% -50%; }
}
@media (max-width: 767px) {
  .style, .style.is-active { height: auto; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
  .style__body { position: relative; padding-top: calc(var(--s-6) + 44px + var(--s-4)); }
}

/* ---------- Local partners: tabbed showcase ---------- */
.partner-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-6); }
.partner-tab {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); text-align: left;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.partner-tab:hover { border-color: var(--teal-200); }
.partner-tab[aria-selected="true"] { border-color: var(--teal-600); background: var(--teal-50); }
.partner-tab__icon { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; background: var(--teal-50); color: var(--teal-600); transition: background-color .3s var(--ease), color .3s var(--ease); }
.partner-tab[aria-selected="true"] .partner-tab__icon { background: var(--teal-600); color: #fff; }
.partner-tab__icon .icon { width: 20px; height: 20px; }
.partner-tab strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.partner-tab small { display: block; font-size: 13px; color: var(--muted); }
.partner-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.partner-panel__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; background: var(--teal-100); }
.partner-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.partner-panel__body { display: grid; gap: var(--s-4); justify-items: start; }
.partner-panel__type { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal-700); }
.partner-panel__type .icon { width: 16px; height: 16px; }
.partner-panel h3, .stay h3 { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.partner-panel p:not(.partner-panel__type) { color: var(--ink-2); max-width: 52ch; }

/* ---------- Tailor-made steps on the dark contact section ---------- */
.contact .plan__steps { margin-top: var(--s-2); }
.contact .plan__rail { background: rgb(255 255 255 / .14); }
.contact .step { grid-template-columns: 44px 1fr; padding: var(--s-3) 0; opacity: .6; }
.contact .step.is-active { opacity: 1; }
.contact .step__icon { width: 44px; height: 44px; background: rgb(255 255 255 / .08); color: #fff; }
.contact .step.is-active .step__icon { background: var(--teal-600); }
.contact .step h3 { font-size: 17px; color: #fff; }
.contact .step p { margin-top: 2px; font-size: 15px; color: rgb(255 255 255 / .78); }
.form-success__partner { font-size: 14px; font-weight: 600; color: var(--teal-700); }

/* ---------- Tour detail page ---------- */
.page-tour { padding-top: calc(var(--header-h) + var(--ref-h)); }
.breadcrumb { padding-top: var(--s-5); font-size: 14px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.breadcrumb a:hover { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.tour-hero { display: grid; gap: var(--s-3); padding-block: var(--s-4) var(--s-6); }
.tour-hero__title { font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -0.022em; line-height: 1.1; }
.tour-hero__meta { font-size: 14px; }
.gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--s-3); height: clamp(300px, 42vw, 520px); }
.gallery figure { border-radius: var(--r-lg); overflow: hidden; background: var(--teal-100); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-9); align-items: start; padding-block: var(--s-8) var(--section-y); }
.tour-sec { display: grid; gap: var(--s-4); padding-bottom: var(--s-7); margin-bottom: var(--s-7); border-bottom: 1px solid var(--line); }
.tour-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.tour-sec h2 { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.tour-sec > p { color: var(--ink-2); max-width: 65ch; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-5); }
.highlights li { display: flex; align-items: center; gap: var(--s-3); font-size: 15px; font-weight: 500; }
.days { display: grid; gap: var(--s-2); }
.day { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.day summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr 20px; gap: var(--s-3); align-items: center; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); }
.day summary::-webkit-details-marker { display: none; }
.day summary:hover .day__title { color: var(--teal-700); }
.day__num { font-size: 13px; font-weight: 600; color: var(--teal-700); }
.day__title { font-weight: 600; transition: color .3s var(--ease); }
.day summary .icon { width: 18px; height: 18px; color: var(--muted); transition: transform .35s var(--ease); }
.day[open] summary .icon { transform: rotate(180deg); }
.day p { padding: 0 var(--s-5) var(--s-4) calc(var(--s-5) + 64px + var(--s-3)); color: var(--ink-2); }
.stay { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-5); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; }
.stay__img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.stay__body { display: grid; gap: var(--s-3); align-content: start; justify-items: start; padding: var(--s-5) var(--s-5) var(--s-5) 0; }
.stay__body > p:not(.partner-panel__type) { color: var(--ink-2); }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.incl h3 { font-size: 15px; font-weight: 600; margin-bottom: var(--s-3); }
.incl ul { display: grid; gap: 10px; }
.incl li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.incl li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--success); }
.incl .is-no .icon { color: var(--danger); }
.gtk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-6); }
.gtk dt { font-size: 13px; color: var(--muted); }
.gtk dd { margin: 2px 0 0; font-weight: 500; }

/* ---------- Booking widget ---------- */
.tour-aside { position: sticky; top: calc(var(--header-h) + var(--ref-h) + 20px); }
.booking, .booking-done {
  display: grid; gap: var(--s-4); padding: var(--s-6); background: var(--surface);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.booking-done { justify-items: start; }
.booking__price strong { font-size: var(--fs-xl); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) 0; }
.stepper + .stepper { border-top: 1px solid var(--line-soft); }
.stepper strong { display: block; font-size: 15px; font-weight: 600; }
.stepper small { display: block; font-size: 13px; color: var(--muted); }
.stepper__ctrl { display: flex; align-items: center; gap: var(--s-2); }
.stepper__ctrl output { min-width: 24px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.icon-btn--sm { width: 44px; height: 44px; }
.promo__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); }
.promo__row .btn { height: 48px; }
#b-code { text-transform: uppercase; }
.promo__applied { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 4px 4px 4px 12px; border-radius: var(--r-sm); background: #e3f3ea; color: var(--success); font-size: 14px; font-weight: 600; }
.promo__applied > span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.promo__applied .icon { width: 18px; height: 18px; flex: none; }
.promo__remove { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--success); }
.promo__remove:hover { background: rgb(31 122 77 / .12); }
.summary { display: grid; gap: 8px; padding-top: var(--s-4); border-top: 1px solid var(--line-soft); font-size: 15px; }
.summary > div { display: flex; justify-content: space-between; gap: var(--s-3); }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.summary__discount dt, .summary__discount dd { color: var(--success); }
.summary__total { padding-top: 8px; border-top: 1px dashed var(--line); font-size: 17px; }
.summary__total dt, .summary__total dd { font-weight: 700; color: var(--ink); }
.summary.is-loading dd {
  color: transparent; border-radius: 4px;
  background: linear-gradient(90deg, var(--line-soft) 25%, var(--teal-50) 50%, var(--line-soft) 75%) 0 0 / 200% 100%;
  animation: shimmer 1s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.btn--block { width: 100%; }
.booking__note { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }
.booking__note .icon { width: 16px; height: 16px; margin-top: 2px; }
.order-record { width: 100%; display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: var(--teal-50); }
.order-record__title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--teal-700); }
.order-record__title .icon { width: 16px; height: 16px; }
.order-record dl { display: grid; gap: 6px; font-size: 14px; }
.order-record dl div { display: flex; justify-content: space-between; gap: var(--s-3); }
.order-record dt { color: var(--muted); }
.order-record dd { margin: 0; font-weight: 500; text-align: right; }
.mobile-book { display: none; }

/* ---------- Responsive (v3.2 blocks) ---------- */
@media (max-width: 1199px) {
  .finder__form--v32 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .finder__type { grid-column: 1 / -1; }
  .nav-trigger { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 991px) {
  .finder__form--v32 { grid-template-columns: 1fr 1fr; }
  .finder__form--v32 .btn { grid-column: 1 / -1; }
  .daytours__grid, .partner-panel { grid-template-columns: 1fr; }
  .partner-panel { gap: var(--s-5); }
  .partner-tabs { grid-template-columns: repeat(4, minmax(210px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .tour-layout { grid-template-columns: 1fr; gap: var(--s-7); }
  .tour-aside { position: static; }
  .mobile-book {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
    align-items: center; justify-content: space-between; gap: var(--s-3); padding: 10px var(--gutter);
    background: rgb(255 255 255 / .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transition: translate .4s var(--ease);
  }
  .mobile-book .price strong { font-size: 17px; }
  .mobile-book.is-hidden { translate: 0 110%; }
  .page-tour { padding-bottom: 80px; }
  .page-tour .float-chat { bottom: 92px; }
}
@media (max-width: 767px) {
  .ref-bar__long { display: none; }
  .ref-bar__short { display: inline; }
  .finder__form--v32 { grid-template-columns: 1fr; }
  .finder__type .tabs { width: 100%; }
  .daytours__list .daytour { grid-template-columns: 112px minmax(0, 1fr); }
  .daytours__list .daytour__body { padding: var(--s-3) var(--s-4); }
  .style .style__meta, .style .style__cta { opacity: 1; visibility: visible; translate: 0 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery figure:not(:first-child) { aspect-ratio: 4 / 3; }
  .highlights, .incl, .gtk { grid-template-columns: 1fr; }
  .stay { grid-template-columns: 1fr; }
  .stay__img img { min-height: 0; aspect-ratio: 16 / 9; }
  .stay__body { padding: 0 var(--s-5) var(--s-5); }
  .day summary { grid-template-columns: 52px 1fr 18px; padding: var(--s-3) var(--s-4); }
  .day p { padding: 0 var(--s-4) var(--s-4); }
  .booking, .booking-done { padding: var(--s-5); }
}
@media (min-width: 1200px) { .finder .promises { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; } }
@media (min-width: 768px) and (max-width: 1199px) { .finder .promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   demo-v3.2 update: merged v3.1 strengths + synced tour templates
   (day tour = timeline by hour, multi-day = days with an overnight line;
   every stop says where it happens and whether it is a local partner)
   ========================================================================== */

/* ---------- Search: type tabs on their own row, then 4 fields + button ---------- */
.finder__form--v32 { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
.finder__form--v32 .finder__type { grid-column: 1 / -1; }

/* ---------- Partner markers on cards and pages ---------- */
.tour__meta .is-partner { color: var(--teal-700); font-weight: 600; }
.tour__meta .is-partner .icon { color: var(--teal-600); }
.partner-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.form-partner-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--teal-50); color: var(--teal-800); font-size: 14px; font-weight: 500; }
.form-partner-note .icon { width: 18px; height: 18px; color: var(--teal-600); margin-top: 1px; }

/* ---------- Tour page head ---------- */
.tour-hero__kind { font-size: 14px; font-weight: 600; color: var(--teal-700); }
.gallery--2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: 1fr; }
.gallery--2 figure:first-child { grid-row: auto; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); }
.checks .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--teal-600); }
.tour-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-5); }

/* ---------- Stop line: place + partner / hotel tag ---------- */
.stop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; color: var(--ink-2); }
.stop > .icon { width: 16px; height: 16px; color: var(--muted); }
.stop__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.stop-tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-radius: var(--r-sm); background: var(--line-soft); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.stop-tag .icon { width: 14px; height: 14px; }
.stop-tag--partner { background: var(--teal-50); color: var(--teal-700); box-shadow: inset 0 0 0 1px var(--teal-200); }
.stop-tag--partner .icon { color: var(--teal-600); }
.stop-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Day tour: timeline by hour ---------- */
.timeline { position: relative; display: grid; gap: var(--s-2); }
.timeline::before { content: ""; position: absolute; left: 63px; top: 14px; bottom: 14px; width: 2px; background: var(--line); border-radius: 2px; }
.tl__item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.tl__item::before { content: ""; position: absolute; left: 58px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--teal-600); }
.tl__item.is-partner::before { background: var(--teal-600); }
.tl__time { padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--teal-700); font-variant-numeric: tabular-nums; }
.tl__body { display: grid; gap: 6px; padding: 10px var(--s-4) 12px; border-radius: var(--r-md); }
.tl__item.is-partner .tl__body { background: var(--surface); border: 1px solid var(--teal-200); }
.tl__body h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.tl__body > p:not(.stop) { color: var(--ink-2); }

/* ---------- Multi-day: day cards with an overnight line ---------- */
.day.is-partner { border-color: var(--teal-200); }
.day__body { display: grid; gap: 10px; padding: 0 var(--s-5) var(--s-4) calc(var(--s-5) + 64px + var(--s-3)); }
.day .day__body p { padding: 0; }
.day__body > p:not(.stop) { color: var(--ink-2); }
.day__body .stop { padding-top: 10px; border-top: 1px dashed var(--line); }

/* ---------- Partners on this tour ---------- */
.stay__role { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal-700); }
.stay__role .icon { width: 16px; height: 16px; }
#partners .stay + .stay { margin-top: var(--s-3); }

/* ---------- Good to know (FAQ) ---------- */
.faqs { display: grid; gap: var(--s-2); }
.faq { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .35s var(--ease); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover span { color: var(--teal-700); }
.faq p { padding: 0 var(--s-5) var(--s-4); color: var(--ink-2); max-width: 65ch; }

/* ---------- Reviews on tour pages ---------- */
.tour-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.tour-reviews .review { width: auto; box-shadow: none; border: 1px solid var(--line-soft); padding: var(--s-6) var(--s-5) var(--s-5); }

@media (max-width: 1199px) {
  .finder__form--v32 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__form--v32 .btn { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  .partner-tabs { grid-template-columns: repeat(5, minmax(210px, 1fr)); }
}
@media (max-width: 767px) {
  .finder__form--v32 { grid-template-columns: 1fr; }
  .gallery--2 { grid-template-columns: 1fr 1fr; }
  .gallery--2 figure:first-child { grid-column: 1 / -1; }
  .timeline::before { left: 51px; }
  .tl__item { grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-4); }
  .tl__item::before { left: 46px; }
  .tl__body { padding: 10px var(--s-3) 12px; }
  .day__body { padding: 0 var(--s-4) var(--s-4); }
  .tour-reviews { grid-template-columns: 1fr; }
}
.finder__form--v32 .finder__type { justify-items: start; }

/* ---------- Booking box: compact (as in v3.1) and follows the header ---------- */
.tour-aside { transition: top .5s var(--ease); }
body:has(.site-header.is-hidden) .tour-aside { top: calc(var(--ref-h) + 20px); }
.booking { gap: var(--s-3); padding: var(--s-5); max-height: calc(100dvh - var(--header-h) - var(--ref-h) - 40px); overflow-y: auto; overscroll-behavior: contain; }
.booking__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line-soft); }
.booking__price strong { display: inline; font-size: 26px; line-height: 1.1; }
.booking__price s { order: 0; }
.booking__price .price__note { flex-basis: 100%; }
.booking .field { gap: 4px; }
.booking .field__help { font-size: 12px; }
.booking .stepper { padding: 4px 0; }
.booking .stepper small { font-size: 12px; }
.booking .icon-btn--sm { width: 40px; height: 40px; }
.booking .input, .booking .promo__row .btn { height: 44px; }
.booking .summary { padding-top: var(--s-3); gap: 6px; font-size: 14px; }
.booking .summary__total { font-size: 16px; }
.booking .field__error:empty { display: none; }
@media (max-width: 991px) { .booking { max-height: none; overflow: visible; } }
body:has(.site-header.is-hidden) .booking { max-height: calc(100dvh - var(--ref-h) - 40px); }
.booking .promo .field__help { display: none; }
.booking .promo .input::placeholder { color: var(--muted); }
#b-code::placeholder { text-transform: none; }
.tour-grid { position: relative; }

/* ==========================================================================
   2026-10-20 client feedback: tour gallery (+N tile and lightbox), tour facts strip
   ========================================================================== */

/* ---------- Tour gallery: 3 tiles, the third says +N when there are more photos ---------- */
.gallery--1 { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.gallery__item { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__item img { transition: scale .9s var(--ease); }
.gallery__item:hover img { scale: 1.03; }
.gallery__item:focus-visible { outline: 3px solid var(--saffron); outline-offset: -3px; border-radius: var(--r-lg); }
.gallery__count {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px;
  background: rgb(14 50 54 / .58); color: #fff; transition: background .4s var(--ease);
}
.gallery__count strong { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.gallery__count span { font-size: 14px; font-weight: 500; }
.gallery__more:hover .gallery__count { background: rgb(14 50 54 / .7); }

/* ---------- Lightbox (native <dialog>: top layer, Esc and focus handled by the browser) ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0a1618; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgb(10 22 24 / .6); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--gutter); }
.lightbox__count { font-size: 14px; font-weight: 500; color: rgb(255 255 255 / .8); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: rgb(255 255 255 / .1); color: #fff; transition: background .3s var(--ease);
}
.lightbox__btn:hover { background: rgb(255 255 255 / .2); }
.lightbox__btn:active { scale: .96; }
.lightbox__btn .icon { width: 20px; height: 20px; }
.lightbox__stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); padding-inline: var(--gutter); min-height: 0; }
.lightbox__figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: var(--s-3); height: 100%; min-height: 0; margin: 0; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; align-self: center; border-radius: var(--r-md); user-select: none; -webkit-user-drag: none; }
.lightbox__cap { font-size: 14px; color: rgb(255 255 255 / .8); text-align: center; max-width: 70ch; min-height: 1.5em; }
.lightbox__thumbs { display: flex; gap: var(--s-2); overflow-x: auto; padding: var(--s-4) var(--gutter); scrollbar-width: none; justify-content: safe center; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumb { flex: none; width: 64px; height: 48px; border-radius: var(--r-sm); overflow: hidden; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s var(--ease), outline-color .3s var(--ease); }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb:hover { opacity: .85; }
.lightbox__thumb[aria-current="true"] { opacity: 1; outline-color: var(--saffron); }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] .lightbox__img { animation: lightbox-in .45s var(--ease); }
}
@keyframes lightbox-in { from { opacity: 0; scale: .985; } }
@media (max-width: 767px) {
  .lightbox__stage { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .lightbox__img { border-radius: 0; }
  .lightbox__cap { padding-inline: var(--gutter); }
  .lightbox__stage .lightbox__btn { position: absolute; bottom: 56px; z-index: 1; background: rgb(10 22 24 / .6); }
  .lightbox__stage .lightbox__btn[data-lb-prev] { left: var(--gutter); }
  .lightbox__stage .lightbox__btn[data-lb-next] { right: var(--gutter); }
}

/* ---------- Tour facts: under the gallery, above Overview (was a grey line under the title) ---------- */
.tour-facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-7); margin-bottom: var(--s-7);
  padding: var(--s-4) var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.tour-fact { display: flex; align-items: center; gap: var(--s-3); font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.tour-fact__icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); }
.tour-fact__icon .icon { width: 18px; height: 18px; }
.tour-fact--best { font-weight: 600; }
.tour-fact--best .tour-fact__icon { background: var(--saffron-50); color: var(--saffron-600); }
.tour-fact--partner { color: var(--teal-700); font-weight: 600; }
@media (max-width: 767px) {
  .tour-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding: var(--s-4); }
  .tour-fact { font-size: 14px; }
  .tour-fact__icon { width: 32px; height: 32px; }
}

/* ---------- Header nav on one line from 992 to 1199px (one more item since the Blog link, 2026-10-20) ---------- */
.nav a, .nav-trigger { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
  .nav { gap: 0; }
  .nav > a, .nav-trigger, .nav > .nav-item > a { padding-inline: 8px; font-size: 14px; }
  .header-actions { gap: var(--s-2); }
}
