/* =========================================================
   SALETO V2 (26 Nov): Isaac's review notes, on top of the library layer.
   Buttons in tracked capitals, a menu that drops in with the drawing at its foot, the dark drawing
   across the whole footer, the chat button, the short planner as a pop-up, and the new homepage,
   trip page (H3 hero, days stacked on desktop, X1, I2, a short booking block) and L1 cards.
   ========================================================= */

/* ---------- buttons: pill, small tracked capitals, the arrow in its own gold circle ---------- */
.btn { min-height: 50px; padding: 0 26px; border-radius: 999px; gap: 12px; font: 600 12.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; border: 1px solid transparent; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn svg { width: 14px; height: 14px; }
.btn:has(svg) { padding-right: 7px; }
.btn--gold { background: var(--ink); color: var(--white); }
.btn--gold:hover { background: oklch(0.28 0.014 250); }
.btn--gold svg { box-sizing: content-box; width: 13px; height: 13px; padding: 11px; border-radius: 50%; background: var(--accent); color: var(--ink); transition: transform .35s var(--spring); }
.btn--gold:hover svg { transform: translateX(2px) rotate(-8deg); }
.btn--glass { color: var(--white); background: oklch(1 0 0 / .14); border-color: oklch(1 0 0 / .5); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
.btn--glass:hover { background: oklch(1 0 0 / .24); }
.btn--line { color: var(--ink); background: transparent; border-color: oklch(0.2 0.012 250 / .35); }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--line svg { width: 16px; height: 16px; }
.btn--block { width: 100%; }
/* on photos and dark ground the main button turns book-white, so it still stands out */
.hp .btn--gold, .hx .btn--gold, .u5 .btn--gold, .bk .btn--gold { background: var(--white); color: var(--ink); }
.hp .btn--gold:hover, .hx .btn--gold:hover, .u5 .btn--gold:hover, .bk .btn--gold:hover { background: oklch(0.93 0.012 85); }
@media (max-width: 759px) {
  .btn { letter-spacing: .12em; font-size: 12px; padding-inline: 18px; }
  .hp__btns .btn, .hx__btns .btn, .btns .btn { padding-inline: 10px; }
  .hp__btns .btn svg, .hx__btns .btn svg, .btns .btn svg { display: none; }
}
@media (min-width: 760px) { .hp__btns .btn, .btns .btn { min-width: 0; padding-inline: 28px; } .hp__btns .btn:has(svg), .btns .btn:has(svg) { padding-right: 7px; } }

/* ---------- header: Menu with a burger that turns into a cross ---------- */
.hdr__cta { min-height: 44px; padding: 0 22px; font-size: 11.5px; }
.hdr__menu { width: auto; height: 44px; margin-left: auto; padding: 0 6px 0 14px; display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; border-radius: 99px; }
.hdr__menu span { width: auto; height: auto; background: none; box-shadow: none; }
.hdr__mt { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 1000px) { .hdr__menu { display: none; } }
.hdr__burger { position: relative; display: block; width: 24px; height: 12px; }
.hdr__burger i { position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--spring), top .5s var(--spring), left .5s var(--spring); }
.hdr__burger i:first-child { top: 0; }
.hdr__burger i:last-child { top: 10px; left: 8px; }
.hdr__menu:hover .hdr__burger i:last-child { left: 0; }
.hdr__burger.is-x i:first-child { top: 5px; transform: rotate(45deg); }
.hdr__burger.is-x i:last-child { top: 5px; left: 0; transform: rotate(-45deg); }

/* ---------- phone menu: a paper sheet that drops from the top, links rising one by one, the drawing at the foot ---------- */
.menu { position: fixed; inset: 0; z-index: 70; visibility: hidden; background: oklch(0.13 0.01 250 / 0); transition: visibility 0s .7s, background-color .5s var(--ease); }
.menu.is-open { visibility: visible; background: oklch(0.13 0.01 250 / .35); transition: visibility 0s, background-color .5s var(--ease); }
.menu__scrim { display: none; }
.menu__panel { position: absolute; inset: 0; width: auto; transform: none; background: var(--paper); color: var(--ink); padding: 0 var(--pad) calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow: auto; overscroll-behavior: contain;
  inset: 0 0 0 auto; width: min(100%, 440px); transform: translateX(100%); transition: transform .7s var(--spring); box-shadow: -30px 0 70px -30px oklch(0 0 0 / .4); }
.menu.is-open .menu__panel { transform: none; }
.menu__art { position: absolute; inset: auto 0 0; height: 42%; z-index: 0; pointer-events: none; background: var(--draw) center bottom / cover no-repeat; opacity: 0; transform: translateX(30px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%); transition: opacity 1s var(--ease) .3s, transform 1.4s var(--spring) .3s; }
.menu.is-open .menu__art { opacity: .95; transform: none; }
.menu__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: var(--hdr); margin: 0; flex: none; }
.menu__top img { height: 44px; width: auto; }
.menu__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: oklch(1 0 0 / .6); display: grid; place-items: center; cursor: pointer; }
.menu__links { position: relative; z-index: 1; display: grid; margin-top: 8px; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: clamp(34px, 10vw, 44px); font-weight: 500; line-height: 1.1; color: var(--ink);
  opacity: 0; transform: translateX(48px); transition: opacity .5s var(--ease), transform .8s var(--spring); transition-delay: 0s; }
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(.14s + var(--i) * .06s); }
.menu__links a::after { display: none; }
.menu__links a[aria-current] { font-style: italic; }
.menu__links a[aria-current] .menu__n { color: var(--ink); }
.menu__links svg { display: none; }
.menu__n { font: 600 11px/1 var(--f-body); letter-spacing: .14em; color: var(--num); min-width: 20px; }
.menu__foot { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: 26px; opacity: 0; transform: translateX(40px); transition: opacity .5s var(--ease), transform .8s var(--spring); }
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: .5s; }
.menu__ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.menu__ways a { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; text-decoration: none; background: oklch(1 0 0 / .55); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.menu__ways svg { width: 20px; height: 20px; }
.menu__contact { display: none; }

/* ---------- footer: the dark drawing fills it, the fade sits only behind the words ---------- */
.ftr.ftr--draw { background: #3A3124; color: oklch(0.93 0.02 85 / .86); }
.ftr--draw .ftr__bg { inset: 0; height: auto; z-index: -2; background: var(--m) center bottom / cover no-repeat; opacity: 1; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; }
.ftr__fade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, #3A3124 0%, rgb(58 49 36 / .8) 40%, rgb(58 49 36 / 0) 72%); }
.ftr--draw .ftr__base { border-color: oklch(1 0 0 / .14); }
.ftr--draw h4 { color: oklch(0.83 0.11 80); }
@media (min-width: 760px) {
  .ftr--draw .ftr__bg { background-image: var(--d); background-position: center 60%; }
  .ftr__fade { background: linear-gradient(90deg, #3A3124 0%, rgb(58 49 36 / .7) 38%, rgb(58 49 36 / 0) 70%); }
}

/* ---------- chat button ---------- */
.chat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 10px; transition: transform .5s var(--spring), opacity .3s; }
.chat:not(.is-up), .chat.is-low { transform: translateY(24px); opacity: 0; pointer-events: none; }
.menu.is-open ~ .chat, body:has(.pm.is-open) .chat { opacity: 0; pointer-events: none; }
.chat__btn { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; box-shadow: 0 14px 30px -10px oklch(0 0 0 / .5); transition: transform .3s var(--spring); }
.chat__btn:hover { transform: scale(1.06); }
.chat__btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chat__btn svg { width: 24px; height: 24px; }
.chat__on { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: oklch(0.72 0.17 150); border: 2.5px solid var(--white); }
.chat__note { display: flex; align-items: center; gap: 2px; padding: 8px 6px 8px 16px; border-radius: 16px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: 0 12px 30px -12px oklch(0 0 0 / .35), 0 0 0 1px var(--line); animation: chatIn .6s var(--spring); }
.chat__note[hidden] { display: none; }
.chat__x { width: 28px; height: 28px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--ink-3); }
.chat__x svg { width: 14px; height: 14px; }
@keyframes chatIn { from { opacity: 0; transform: translateX(14px) scale(.96); } }

/* ---------- Plan my trip pop-up: a sheet from the bottom on a phone, a card in the middle on desktop ---------- */
.pm { position: fixed; inset: 0; z-index: 80; visibility: hidden; display: grid; align-items: end; transition: visibility 0s .5s; }
.pm.is-open { visibility: visible; transition: visibility 0s; }
.pm__scrim { position: absolute; inset: 0; border: 0; width: 100%; cursor: pointer; background: oklch(0.13 0.01 250 / .5); opacity: 0; transition: opacity .4s var(--ease); }
.pm.is-open .pm__scrim { opacity: 1; }
.pm__box { position: relative; max-height: 92svh; overflow: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); border-radius: 24px 24px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .6s var(--spring); }
.pm.is-open .pm__box { transform: none; }
.pm__box::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: -8px auto 12px; }
.pm__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.pm__k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.pm__head h2 { font-family: var(--f-display); font-weight: 500; font-size: 32px; line-height: 1.05; margin-top: 6px; }
.pm__close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; }
.pm__close svg { width: 18px; height: 18px; }
.pm .wiz { background: none; border: 0; box-shadow: none; padding: 0; gap: 16px; }
.pm .wiz__q { font-size: 22px; }
.pm__alt { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.pm__alt a { color: var(--ink); font-weight: 500; }
@media (min-width: 760px) {
  .pm { align-items: center; justify-items: center; }
  .pm__box { width: min(640px, 92vw); border-radius: 24px; padding: 30px 34px 26px; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .55s var(--spring), opacity .3s var(--ease); }
  .pm.is-open .pm__box { transform: none; opacity: 1; }
  .pm__box::before { display: none; }
  .pm__head h2 { font-size: 38px; }
}
/* the short planner's choices */
.opts--where { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--where .opt { min-height: 54px; font-weight: 500; }
.opts--mon { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.opt--mon, .opts--mon .opt { justify-content: center; text-align: center; min-height: 52px; padding: 6px 4px; }
.opt--mon .opt__t { display: grid; line-height: 1.15; font-weight: 500; }
.opt--mon small { font-size: 10.5px; color: var(--ink-3); font-weight: 400; }
.opts--mon .opt:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--white); }
.opts--mon .opt:has(input:checked) small { color: oklch(1 0 0 / .7); }
.wiz .field em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.wiz .who { margin-top: 4px; }
.wiz__nav .btn { min-height: 50px; }
@media (min-width: 760px) { .opts--where { grid-template-columns: repeat(3, minmax(0, 1fr)); } .opts--mon { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* ---------- prices ---------- */
.price { display: inline-flex; align-items: baseline; gap: 4px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); }
.price b { font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: lining-nums; }
.price--sm b { font-size: 15px; }
.price--ask b { font-size: 13.5px; font-weight: 500; }
.price--light { color: oklch(1 0 0 / .85); }
.price--light b { color: #fff; }
.price .sample, .facts .sample { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 2px 6px; border-radius: 99px; border: 1px solid currentColor; opacity: .7; margin-left: 4px; font-family: var(--f-body); vertical-align: middle; }
.prev-note { margin-top: 14px; font-size: 12.5px; font-style: italic; color: var(--ink-3); }
@media (min-width: 760px) { .prev-note { max-width: 1240px; margin-inline: auto; box-sizing: content-box; } }

/* ---------- homepage hero: shorter words, sitting below the herd ---------- */
.hp__vid { object-position: 50% 50%; }
.hp__sub { max-width: 42ch; }
@media (max-width: 759px) { .hp1__band { height: 46%; } .hp1__content { bottom: 40px; gap: 10px; } .hp__kick { font-size: 10.5px; letter-spacing: .14em; } }

/* ---------- Best deals this month: a row that swipes (2.3 cards on a phone) ---------- */
.deals { background: var(--paper); }
.deals__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 4px var(--pad) 10px; margin-top: 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.deals__row::-webkit-scrollbar { display: none; }
.deal { flex: 0 0 calc((100vw - var(--pad) - 24px) / 2.3); scroll-snap-align: start; display: grid; align-content: start; gap: 10px; text-decoration: none; color: inherit; }
.deal__pic { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.deal__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.deal:hover .deal__pic img { transform: scale(1.05); }
.deal__tag { position: absolute; left: 8px; top: 8px; padding: 5px 9px; border-radius: 99px; color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: oklch(0.2 0.012 250 / .32); border: 1px solid oklch(1 0 0 / .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.deal__body { display: grid; gap: 3px; min-width: 0; }
.deal__body b { font-family: var(--f-display); font-size: 18px; font-weight: 500; line-height: 1.12; }
.deal__stops { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deals__arrows { display: flex; gap: 8px; }
.deals__arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid oklch(0.2 0.012 250 / .25); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s; }
.deals__arrows button:hover { background: var(--ink); color: var(--white); }
.deals__arrows svg { width: 18px; height: 18px; }
@media (min-width: 760px) {
  .deals__row { gap: 18px; margin-top: 36px; padding-inline: max(var(--pad), calc((100vw - 1240px) / 2)); scroll-padding-inline: max(var(--pad), calc((100vw - 1240px) / 2)); }
  .deal { flex-basis: calc((min(1240px, 100vw - var(--pad) * 2) - 54px) / 4); }
  .deal__body b { font-size: 22px; }
  .deal__stops { font-size: 13px; }
}
@media (max-width: 759px) { .hide-m { display: none !important; } }

/* ---------- Featured safaris: one big poster and four smaller ones (library T5) ---------- */
.feats { background: var(--paper-2); }
.feats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.feat { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; background: var(--ink); }
.feat--big { grid-column: 1 / -1; aspect-ratio: 4 / 4.4; }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.feat:hover img { transform: scale(1.05); }
.feat__band { position: absolute; inset: auto 0 0; height: 62%; z-index: -1; -webkit-backdrop-filter: blur(14px) brightness(.82); backdrop-filter: blur(14px) brightness(.82); background: linear-gradient(to top, oklch(var(--shade) / .5), oklch(var(--shade) / .12) 70%, transparent); -webkit-mask-image: linear-gradient(to top, #000 52%, transparent); mask-image: linear-gradient(to top, #000 52%, transparent); }
.feat__txt { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 4px; }
.feat__k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .9; }
.feat b { font-family: var(--f-display); font-size: 20px; font-weight: 500; line-height: 1.08; }
.feat--big b { font-size: 34px; }
.feat__line { font-size: 14.5px; opacity: .92; max-width: 42ch; }
.feat__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.feat__go { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; transition: transform .35s var(--spring); }
.feat:hover .feat__go { transform: translateX(3px); }
.feat__go svg { width: 13px; height: 13px; }
.feat:not(.feat--big) .feat__go { display: none; }
.feat:not(.feat--big) .price b { font-size: 15px; }
@media (min-width: 760px) {
  .feats__grid { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, clamp(260px, 22vw, 340px)); gap: 16px; margin-top: 40px; }
  .feat, .feat--big { aspect-ratio: auto; }
  .feat--big { grid-column: 1; grid-row: 1 / span 2; }
  .feat__txt { left: 22px; right: 22px; bottom: 20px; }
  .feat--big .feat__txt { left: 30px; right: 30px; bottom: 30px; }
  .feat b { font-size: 24px; }
  .feat--big b { font-size: 46px; }
  .feat:not(.feat--big) .feat__go { display: grid; }
}

/* ---------- Find your safari: the filter (round two). Saleto's own panels, never the browser's dropdowns ---------- */
.find { background: var(--paper); }
.find__head { margin-bottom: 0; }
.filter { position: relative; z-index: 20; margin: 22px 0 22px; }
.fbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 5px; border-radius: 22px; background: oklch(1 0 0 / .74); border: 1px solid oklch(0.2 0.012 250 / .08);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / .95), 0 22px 44px -30px oklch(0.2 0.012 250 / .55), 0 2px 8px -3px oklch(0.2 0.012 250 / .1); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.fseg { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 11px 10px 13px; border: 0; border-radius: 17px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.fseg + .fseg::before { content: ''; position: absolute; left: -1px; top: 24%; bottom: 24%; width: 1px; background: var(--line); transition: opacity .2s; }
.fseg:hover { background: oklch(0.2 0.012 250 / .04); }
.fseg[aria-expanded="true"] { background: #fff; box-shadow: 0 8px 20px -10px oklch(0.2 0.012 250 / .4), 0 0 0 1px oklch(0.2 0.012 250 / .06); }
.fseg[aria-expanded="true"]::before, .fseg[aria-expanded="true"] + .fseg::before { opacity: 0; }
.fseg:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fseg__ico { display: none; }
.fseg__t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.fseg__k { display: flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.fseg.is-set .fseg__k { color: var(--num); }
.fseg.is-set .fseg__k::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.fseg__v { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fseg__car { width: 10px; height: 6px; flex: none; opacity: .5; transition: transform .4s var(--spring); }
.fseg[aria-expanded="true"] .fseg__car { transform: rotate(180deg); }
.fbar__count { display: none; }

/* the panel: under the bar on desktop */
.fpop[hidden] { display: none; }
.fpop__scrim { display: none; }
.fpop__box { position: absolute; top: calc(100% + 10px); left: 0; width: 390px; padding: 8px; border-radius: 22px; background: oklch(0.99 0.004 85 / .92); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 34px 70px -28px oklch(0.2 0.012 250 / .5), 0 0 0 1px oklch(0.2 0.012 250 / .07); opacity: 0; transform: translateY(-8px) scale(.985); transform-origin: top left; transition: opacity .22s var(--ease), transform .4s var(--spring); }
.fpop.is-on .fpop__box { opacity: 1; transform: none; }
.fpop__box[data-pane="country"] { width: 580px; }
.fpop__head, .fpop__foot { display: none; }
.fopts { display: grid; gap: 2px; }
.fopt { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px 12px 14px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s; }
.fopt:hover { background: oklch(0.2 0.012 250 / .05); }
.fopt:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fopt[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.fopt__t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.fopt__t b { font-size: 15px; font-weight: 500; }
.fopt__t small { font-size: 12.5px; color: var(--ink-2); }
.fopt[aria-pressed="true"] small { color: oklch(1 0 0 / .7); }
.fopt__n { flex: none; min-width: 30px; height: 26px; padding: 0 9px; border-radius: 99px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fopt[aria-pressed="true"] .fopt__n { background: oklch(1 0 0 / .14); color: var(--white); }
.fopt__tick { display: none; }
.fopt.is-none { opacity: .38; cursor: default; }
.fopt.is-none:hover { background: transparent; }
/* countries: photo cards */
.fopts--country { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fopts--country .fopt { flex-direction: column; align-items: stretch; gap: 10px; padding: 6px 6px 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fopts--country .fopt:hover { box-shadow: 0 0 0 1px oklch(0.2 0.012 250 / .25); background: #fff; }
.fopts--country .fopt[aria-pressed="true"] { background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.fopt__pic { display: grid; place-items: center; aspect-ratio: 16 / 8; border-radius: 10px; overflow: hidden; background: var(--paper-2); color: var(--ink-3); }
.fopt__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fopt:hover .fopt__pic img { transform: scale(1.05); }
.fopt__pic svg { width: 28px; height: 28px; }
.fopts--country .fopt__t { padding: 0 6px; }
.fopts--country .fopt__n { position: absolute; top: 12px; right: 12px; background: oklch(0.2 0.012 250 / .55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fopts--country .fopt__tick { position: absolute; top: 12px; left: 12px; width: 26px; height: 26px; border-radius: 50%; place-items: center; background: var(--accent); color: var(--ink); }
.fopts--country .fopt[aria-pressed="true"] .fopt__tick { display: grid; }
.fopts--country .fopt__tick svg { width: 13px; height: 13px; }
.fpop__note { font-size: 12px; line-height: 1.5; color: var(--ink-3); padding: 10px 14px 6px; }

/* under the bar: what is chosen, the count, clear all */
.factive { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; min-height: 30px; }
.filter__count { font-size: 13px; color: var(--ink-2); }
.filter__count b { color: var(--ink); }
.factive__chips { display: contents; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border: 0; border-radius: 99px; background: var(--ink); color: var(--white); font: 500 12.5px var(--f-body); cursor: pointer; animation: tcIn .4s var(--spring) both; }
.fchip svg { width: 12px; height: 12px; opacity: .8; }
.filter__reset { margin-left: auto; padding: 6px 2px; border: 0; background: none; color: var(--ink); font: 600 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tcard.is-in { animation: tcIn .55s var(--spring) both; }
@keyframes tcIn { from { opacity: 0; transform: translateY(12px); } }

/* phone: the panel is a sheet from the bottom, big choices, and a button that shows the live count */
@media (max-width: 759px) {
  .fpop { position: fixed; inset: 0; z-index: 90; }
  .fpop__scrim { display: block; position: absolute; inset: 0; width: 100%; border: 0; background: oklch(0.13 0.01 250 / .45); opacity: 0; transition: opacity .3s var(--ease); }
  .fpop.is-on .fpop__scrim { opacity: 1; }
  .fpop__box, .fpop__box[data-pane="country"] { position: absolute; inset: auto 0 0 0; width: auto; max-height: 86svh; overflow: auto; overscroll-behavior: contain; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--paper); opacity: 1; transform: translateY(100%); transition: transform .5s var(--spring); }
  .fpop.is-on .fpop__box { transform: none; }
  .fpop__box::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 10px; }
  .fpop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 14px; }
  .fpop__head b { font-family: var(--f-display); font-size: 26px; font-weight: 500; line-height: 1.1; }
  .fpop__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
  .fpop__close svg { width: 16px; height: 16px; }
  .fopts { gap: 8px; }
  .fopt { min-height: 62px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
  .fopt:hover { background: #fff; }
  .fopts--country .fopt { min-height: 0; }
  .fpop__foot { display: flex; align-items: center; gap: 10px; position: sticky; bottom: calc(-14px - env(safe-area-inset-bottom)); margin: 12px -16px 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -1px 0 var(--line); }
  .fpop__go { flex: 1; }
  .fpop__reset { border: 0; background: none; padding: 10px 4px; color: var(--ink); font: 600 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
}
@media (min-width: 760px) {
  .filter { margin: 36px 0 30px; }
  .fbar { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; max-width: 960px; padding: 6px; border-radius: 99px; }
  .fseg { gap: 12px; padding: 8px 20px 8px 8px; border-radius: 99px; }
  .fseg__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); color: var(--ink-2); transition: background-color .3s, color .3s; }
  .fseg__ico svg { width: 18px; height: 18px; }
  .fseg.is-set .fseg__ico { background: var(--ink); color: var(--accent); }
  .fseg__v { font-size: 15.5px; }
  .fbar__count { display: flex; align-items: baseline; gap: 7px; align-self: stretch; align-items: center; margin-left: 6px; padding: 0 26px; border-radius: 99px; background: var(--ink); color: var(--white); }
  .fbar__count b { font-family: var(--f-display); font-size: 26px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
  .fbar__count small { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .75; }
  .factive .filter__count { display: none; }
  .factive { margin-top: 14px; }
}

/* ---------- trip cards: phone row stays; desktop is a full card ---------- */
.tcard__days, .tcard__stops, .tcard__facts, .tcard__view { display: none; }
.tcard__line { display: none !important; }
.tcard__meta .price b { font-size: 15.5px; }
@media (max-width: 759px) { .cards--home > .tcard:not(.tcard--m) { display: grid; } }
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .tcard { position: relative; grid-template-columns: 1fr; gap: 0; padding: 8px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px oklch(0.2 0.012 250 / .07), 0 22px 44px -34px oklch(0.2 0.012 250 / .55); transition: transform .5s var(--spring), box-shadow .5s var(--spring); }
  .tcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px oklch(0.2 0.012 250 / .1), 0 30px 54px -32px oklch(0.2 0.012 250 / .6); }
  .tcard__pic { aspect-ratio: 4 / 3; border-radius: 14px; }
  .tcard__days { display: inline-flex; align-items: baseline; gap: 5px; position: absolute; left: 12px; top: 12px; padding: 7px 12px; border-radius: 99px; color: #fff; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: oklch(0.2 0.012 250 / .32); border: 1px solid oklch(1 0 0 / .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .tcard__days b { font-size: 14px; letter-spacing: 0; }
  .tcard__body { padding: 16px 12px 8px; gap: 6px; }
  .tcard__kick { font-size: 10.5px; }
  .tcard__name { font-size: 24px; line-height: 1.1; }
  .tcard__stops { display: block; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tcard__facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
  .tcard__facts span { font-size: 11.5px; padding: 5px 10px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); }
  .tcard__meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); align-items: center; }
  .tcard__go { width: auto; height: 40px; padding: 0 5px 0 14px; gap: 10px; display: inline-flex; align-items: center; border-radius: 99px; border: 1px solid var(--line); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: transparent; transition: background-color .3s, color .3s, border-color .3s; }
  .tcard__view { display: inline; }
  .tcard__go svg { box-sizing: border-box; width: 30px; height: 30px; padding: 9px; border-radius: 50%; background: var(--accent); color: var(--ink); }
  .tcard:hover .tcard__go { background: var(--ink); color: var(--white); border-color: var(--ink); }
}
@media (min-width: 1100px) { .cards, .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* ---------- Why book with us: promises sliding on ink, the button stays still (library U5) ---------- */
.u5 { position: relative; background: var(--ink); color: var(--white); padding: 22px 0 24px; display: grid; gap: 18px; justify-items: center; overflow: hidden; }
.u5__row { overflow: hidden; width: 100%; }
.u5__track { display: flex; width: max-content; animation: u5-slide 44s linear infinite; }
.u5:hover .u5__track { animation-play-state: paused; }
.u5 ul { display: flex; align-items: center; margin: 0; }
.u5 li { white-space: nowrap; font-family: var(--f-display); font-size: 25px; font-weight: 500; padding: 0 18px; }
.u5__mk { color: var(--accent); padding: 0 2px !important; }
.u5__mk .mk { width: 22px; height: 13px; display: block; }
.u5__cta { position: relative; z-index: 1; }
@keyframes u5-slide { to { transform: translateX(-50%); } }
@media (min-width: 760px) {
  .u5 { display: block; padding: 30px 0; }
  .u5__row { -webkit-mask-image: linear-gradient(to right, #000 66%, transparent 78%); mask-image: linear-gradient(to right, #000 66%, transparent 78%); }
  .u5 li { font-size: 34px; padding: 0 28px; }
  .u5__cta { position: absolute; right: var(--pad); top: 50%; translate: 0 -50%; }
}

/* ---------- Choose a country ---------- */
.lands { background: var(--paper-2); }
.lands__grid { display: grid; gap: 12px; margin-top: 24px; }
.land { position: relative; display: block; height: 300px; border-radius: 18px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; background: var(--ink); }
.land img { position: absolute; inset: -40px 0; width: 100%; height: calc(100% + 80px); object-fit: cover; z-index: -2; translate: 0 var(--py, 0px); transition: scale 1.4s var(--ease); }
.land:hover img { scale: 1.05; }
.land__band { position: absolute; inset: auto 0 0; height: 66%; z-index: -1; -webkit-backdrop-filter: blur(14px) brightness(.8); backdrop-filter: blur(14px) brightness(.8); background: linear-gradient(to top, oklch(var(--shade) / .5), transparent); -webkit-mask-image: linear-gradient(to top, #000 50%, transparent); mask-image: linear-gradient(to top, #000 50%, transparent); }
.land__txt { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 6px; }
.land b { font-family: var(--f-display); font-size: 38px; font-weight: 500; line-height: 1; }
.land__txt > span:not(.land__go) { font-size: 14.5px; line-height: 1.45; max-width: 38ch; opacity: .92; }
.land__go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 9px 14px; border-radius: 99px; background: oklch(1 0 0 / .16); border: 1px solid oklch(1 0 0 / .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; transition: background .3s, color .3s; }
.land:hover .land__go { background: #fff; color: var(--ink); }
.land__go svg { width: 13px; height: 13px; }
@media (min-width: 760px) { .lands__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; } .land { height: clamp(440px, 38vw, 560px); } .land b { font-size: 46px; } }

/* ---------- reviews (library R1, placeholder until real reviews) ---------- */
.rv { background: var(--paper); padding: 54px 0 50px; overflow: hidden; }
.rv__head { display: grid; gap: 18px; }
.rv__row { overflow: hidden; padding: 10px 0; }
.rv__row--0 { margin-top: 24px; }
.rv__row--1 { display: none; }
.rv__track { display: flex; gap: 14px; width: max-content; padding-left: 14px; animation: rv-slide 70s linear infinite; }
.rv__row--1 .rv__track { animation-direction: reverse; animation-duration: 84s; }
.rv__row:hover .rv__track { animation-play-state: paused; }
@keyframes rv-slide { to { transform: translateX(-50%); } }
.rv__card { width: 290px; margin: 0; padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px oklch(0.2 0.012 250 / .07), 0 10px 24px -16px oklch(0.2 0.012 250 / .35); display: grid; gap: 10px; align-content: start; }
.rv__stars { color: oklch(0.8 0.15 80); letter-spacing: .08em; font-size: 15px; }
.rv__card blockquote { margin: 0; font-size: 15px; line-height: 1.5; }
.rv__card figcaption { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.rv__av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.88 0.04 150); color: var(--ink); font-size: 13px; font-weight: 600; }
.gbadge { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.gbadge__g { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font: 700 17px var(--f-body); color: #4285F4; }
.gbadge__t b { display: block; font-size: 14px; }
.gbadge__t small { font-size: 12px; color: var(--ink-2); }
.gbadge svg { width: 14px; height: 14px; }
@media (min-width: 760px) { .rv { padding: 90px 0 80px; } .rv__row--1 { display: block; } .rv__card { width: 340px; } .rv__head { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Talk to the people who plan it ---------- */
.talk { background: var(--paper-2); }
.talk__in { display: grid; gap: 24px; }
.talk__p { margin-top: 12px; max-width: 52ch; color: var(--ink-2); }
.talk__act { display: grid; gap: 10px; }
.talk__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; font-size: 15px; font-weight: 500; text-decoration: none; }
.talk__tel svg { width: 18px; height: 18px; }
@media (min-width: 760px) { .talk__in { grid-template-columns: 1fr auto; align-items: center; gap: 64px; } .talk__act { grid-template-columns: auto auto; } .talk__tel { grid-column: 1 / -1; } }

/* ---------- trip page hero H3: the sharp photo above, melting into a blurred copy where the words sit ---------- */
.hx { position: relative; height: 100svh; min-height: 640px; max-height: 1080px; overflow: clip; isolation: isolate; color: var(--white); background: oklch(0.3 0.02 80); }
.hx__blur { display: none; }
.hx::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, oklch(var(--shade) / .32), transparent); }
/* H3 as in the itinerary library: the whole photo fills the hero; a masked blur band across the bottom, no box, no black */
.hx__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pm); z-index: -3; }
.hx__band { position: absolute; inset: auto 0 0; height: 50%; z-index: -2; pointer-events: none;
  -webkit-backdrop-filter: blur(18px) saturate(1.15) brightness(.82); backdrop-filter: blur(18px) saturate(1.15) brightness(.82);
  background: linear-gradient(to top, oklch(var(--shade) / .42), oklch(var(--shade) / .12) 70%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 60%, transparent); mask-image: linear-gradient(to top, #000 60%, transparent); }
.hx__content { position: absolute; left: var(--pad); right: var(--pad); bottom: 24px; display: grid; gap: 12px; }
.hx__content > * { min-width: 0; }
.hx__kick { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hx__kick::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.hx__title { font-family: var(--f-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.012em; font-size: 40px; text-shadow: 0 1px 24px oklch(0 0 0 / .28); }
.hx__route { font-size: 15px; opacity: .95; }
.hx .facts { display: grid; grid-template-columns: auto auto 1fr; margin: 4px 0 2px; border-block: 1px solid oklch(1 0 0 / .3); }
.hx .facts > div { display: flex; flex-direction: column-reverse; gap: 5px; padding: 12px 16px 11px 0; }
.hx .facts > div + div { padding-left: 16px; border-left: 1px solid oklch(1 0 0 / .3); }
.hx .facts dt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; font-weight: 500; white-space: nowrap; }
.hx .facts dd { margin: 0; font-family: var(--f-display); font-size: 30px; font-weight: 600; line-height: .95; white-space: nowrap; font-variant-numeric: lining-nums; }
.hx .facts .sample { font-size: 8.5px; }
.hx3__side { display: contents; }
.hx__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) { .hx__pic img { animation: hp-settle 1.8s var(--ease) both; } .hx__content { animation: hp-rise 1s var(--ease) .25s both; } }
@media (min-width: 760px) {
  .hx__pic img { object-position: var(--pd); }
  .hx__band { height: 46%; -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
  .hx__content { bottom: 44px; gap: 14px; }
  .hx__title { font-size: clamp(54px, 5.6vw, 86px); white-space: nowrap; }
  .hx__route { font-size: 17px; }
  .hx3__side { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; margin-top: 6px; }
  .hx .facts { margin: 0; min-width: 440px; }
  .hx .facts dd { font-size: 36px; }
  .hx__btns { display: flex; margin: 0; }
  .hx__btns .btn { min-width: 0; padding-inline: 28px; }
  .hx__btns .btn:has(svg) { padding-right: 7px; }
}

/* ---------- day by day on desktop: the whole top of each day is the photo, edge to edge, the words beneath.
   On very wide screens the photo keeps its size and a blurred copy of itself fills the sides, so it never stretches. ---------- */
.d4__aside { display: contents; }
@container stage (min-width: 760px) {
  .days3--stack .d4 { display: block; min-height: 0; padding: 0; }
  .days3--stack .d4 .d4__photo, .days3--stack .d4--flip .d4__photo { position: relative; order: 0; max-width: none; margin: 0; aspect-ratio: auto; height: clamp(440px, 42vw, 720px); border-radius: 0; overflow: hidden; isolation: isolate; }
  .days3--stack .d4 .d4__photo::before { content: ''; position: absolute; inset: -40px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(34px) saturate(1.1); }
  .days3--stack .d4 .d4__photo img { position: relative; width: 100%; max-width: 1760px; height: 100%; margin-inline: auto; object-fit: cover; }
  .days3--stack .d4 .d4__photo::after, .days3--stack .d4--flip .d4__photo::after { inset: 45% 0 0; z-index: 1; background: linear-gradient(to bottom, transparent, var(--tint)); }
  .days3--stack .d4 .d4__panel, .days3--stack .d4--flip .d4__panel { position: relative; z-index: 2; box-sizing: content-box; max-width: 1040px; margin: -96px max(220px, calc((100% - 1040px) / 2)) 0 max(var(--pad), calc((100% - 1040px) / 2)); padding: 0 0 84px; align-self: auto; }
  .days3--stack .d4 .d4__num { font-size: 150px; }
  .days3--stack .d4 .d4__p { max-width: 72ch; font-size: 16.5px; line-height: 1.72; }
  .days3--stack .d4 .see { margin-top: 26px; }
}
@container stage (min-width: 1800px) {
  .days3--stack .d4 .d4__photo img { -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); }
}
/* the line after the days: centred, one short sentence */
.days3__cta { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 48px var(--pad) 60px; }
.days3__cta p { margin: 0; }
.days3__cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 759px) { .days3__cta .btns { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } }

/* ---------- X1 extras you can add ---------- */
.xs { background: var(--paper-2); }
.x1 { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.x1 li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.x1 img { width: 60px; height: 52px; border-radius: 9px; object-fit: cover; }
.x1 b { display: block; font-family: var(--f-display); font-size: 18px; font-weight: 600; line-height: 1.15; }
.x1 p { font-size: 13px; color: var(--ink-2); margin-top: 1px; }
.x1__add { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid oklch(0.2 0.012 250 / .3); background: transparent; color: var(--ink); font: 600 11px var(--f-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.x1__add[aria-pressed="true"] { background: oklch(0.5 0.11 150); border-color: oklch(0.5 0.11 150); color: #fff; }
.x1__plus { display: grid; place-items: center; font-size: 15px; line-height: 1; }
.x1__plus svg { width: 13px; height: 13px; }
.x1__sum { font-size: 13.5px; color: var(--ink-2); margin: 14px 0 18px; }
@media (min-width: 760px) { .x1 { grid-template-columns: 1fr 1fr; gap: 10px 16px; } }

/* ---------- I2 included: one card with a switch ---------- */
.inc { background: var(--paper); }
.i2 { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); padding: 8px 16px 6px; max-width: 760px; }
.i2__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper-2); border-radius: 12px; padding: 4px; margin: 6px 0; }
.i2__tabs button { min-height: 44px; border: 0; border-radius: 9px; background: none; font: 500 14px var(--f-body); color: var(--ink-2); cursor: pointer; transition: background-color .25s, color .25s; }
.i2__tabs button em { font-style: normal; font-size: 12px; margin-left: 4px; opacity: .7; }
.i2__tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px oklch(0 0 0 / .1); }
.i2__list { list-style: none; padding: 0; margin: 0; }
.i2__list li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.i2__list li:last-child { border-bottom: 0; }
.i1__y, .i1__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.i1__y { background: oklch(0.92 0.06 150); color: oklch(0.42 0.11 150); }
.i1__n { background: oklch(0.93 0.05 25); color: oklch(0.52 0.18 27); }
.i1__y svg, .i1__n svg { width: 13px; height: 13px; }
.inc .inc__note { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); max-width: 760px; }

/* ---------- booking: short, one strong action ---------- */
.bk { background: var(--ink); color: var(--white); padding: 52px 0; }
.bk .kick { color: oklch(0.83 0.125 82); }
.bk__in { display: grid; gap: 24px; }
.bk__h { font-family: var(--f-display); font-size: 34px; font-weight: 500; line-height: 1.05; margin-top: 10px; }
.bk__lead { margin-top: 10px; font-size: 15px; opacity: .85; max-width: 46ch; }
.bk__act { display: grid; gap: 12px; }
.bk__from { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.bk__from small { font-size: 12px; opacity: .75; }
.bk__from b { font-family: var(--f-display); font-size: 42px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.bk__from .sample { color: inherit; }
.bk__alt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px; font-size: 14px; color: inherit; opacity: .85; text-decoration: none; }
.bk__alt:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.bk__alt svg { width: 18px; height: 18px; }
@media (min-width: 760px) {
  .bk { padding: 80px 0; }
  .bk__in { grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 64px; }
  .bk__h { font-size: 48px; }
  .bk__act { padding: 26px; border-radius: 20px; background: oklch(1 0 0 / .06); border: 1px solid oklch(1 0 0 / .14); }
}

/* ---------- L1: a day on safari link card ---------- */
.l1 { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 18px; padding: 10px; max-width: 640px; border-radius: 16px; background: oklch(0.2 0.04 270); color: oklch(0.97 0.008 85); text-decoration: none; box-shadow: 0 20px 40px -24px oklch(0 0 0 / .5); transition: translate .3s var(--ease); }
.l1:hover { translate: 0 -2px; }
.l1 img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.l1__k { display: flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.l1__k svg { width: 24px; height: 14px; color: oklch(0.83 0.125 82); }
.l1 b { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 600; line-height: 1.15; margin-top: 3px; }
.l1 em { display: block; font-style: normal; font-size: 12.5px; opacity: .8; margin-top: 2px; }
.l1__go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.83 0.125 82); color: oklch(0.2 0.012 250); }
.l1__go svg { width: 14px; height: 14px; }
@media (min-width: 760px) { .l1 { grid-template-columns: 92px minmax(0, 1fr) auto; gap: 18px; } .l1 img { width: 92px; height: 92px; } .l1 b { font-size: 22px; } }

/* ---------- destinations: choose a country first ---------- */
.lchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lchips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid oklch(0.2 0.012 250 / .22); background: oklch(1 0 0 / .55); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .25s, color .25s; }
.lchips a:hover { background: var(--ink); color: var(--white); }
.lchips small { font-size: 11px; opacity: .6; }
.region__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.region__head p { margin-top: 6px; max-width: 58ch; color: var(--ink-2); font-size: 15px; }
.inc .i2__list li { padding: 11px 0; font-size: 15px; }
.inc .i2__list li svg { position: static; width: 13px; height: 13px; }

/* ---------- footer on the Night sketch (option 5, chosen 26 Nov): sand drawing on near-black.
   The night sky carries the words; the herd walks along the foot, below the links; the fade sits only behind the words ---------- */
.ftr.ftr--night { background: #16150F; color: oklch(0.92 0.03 85 / .82); padding-bottom: 210px; }
.ftr--night .ftr__bg { inset: 0; height: auto; background: var(--m) center bottom / 100% auto no-repeat; opacity: 1; }
.ftr--night .ftr__fade { background: linear-gradient(to bottom, #16150F 0%, rgb(22 21 15 / .85) 55%, rgb(22 21 15 / 0) 82%); }
.ftr--night h4 { color: oklch(0.82 0.08 80); }
.ftr--night a:hover { color: oklch(0.86 0.09 80); }
.ftr--night .ftr__base { border-color: oklch(0.92 0.03 85 / .12); }
@media (min-width: 760px) {
  .ftr.ftr--night { padding-bottom: clamp(170px, 15vw, 260px); }
  .ftr--night .ftr__bg { background: var(--d) center bottom / cover no-repeat; }
  .ftr--night .ftr__fade { background: linear-gradient(to bottom, #16150F 0%, rgb(22 21 15 / .8) 50%, rgb(22 21 15 / 0) 78%); }
}
/* round two (26 Nov): the drawing is a faint background across the whole footer, not a strip at the foot.
   Low strength everywhere, and only a light fade where the words start. */
.ftr.ftr--night { padding-bottom: 90px; }
.ftr--night .ftr__bg { background: var(--m) center 70% / cover no-repeat; opacity: .5; }
.ftr--night .ftr__fade { background: linear-gradient(to bottom, rgb(22 21 15 / .55) 0%, rgb(22 21 15 / .2) 55%, rgb(22 21 15 / 0) 100%); }
@media (min-width: 760px) {
  .ftr.ftr--night { padding-bottom: 110px; }
  .ftr--night .ftr__bg { background: var(--d) center 62% / cover no-repeat; opacity: .55; }
  .ftr--night .ftr__fade { background: linear-gradient(90deg, rgb(22 21 15 / .6) 0%, rgb(22 21 15 / .25) 40%, rgb(22 21 15 / 0) 72%); }
}
/* round three (26 Nov): the ostrich Night sketch, one even faint layer over the whole footer. No fade, no split. */
.ftr--night .ftr__fade { display: none; }
.ftr--night .ftr__bg { background: var(--m) center 60% / cover no-repeat; opacity: .42; }
@media (min-width: 760px) { .ftr--night .ftr__bg { background: var(--d) center 55% / cover no-repeat; opacity: .45; } }
/* solid text on the drawing, so the sand lines never show through the letters */
.ftr.ftr--night { color: oklch(0.88 0.018 85); }
.ftr--night .ftr__base { color: oklch(0.78 0.018 85); opacity: 1; }

/* ---------- budget slider (two handles) with quick picks underneath ---------- */
@media (min-width: 760px) { .fpop__box[data-pane="price"] { width: 460px; } }
.frange { padding: 14px 12px 2px; }
.frange__val { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.frange__val b { font-family: var(--f-display); font-size: 30px; font-weight: 600; line-height: 1.1; font-variant-numeric: lining-nums; }
.frange__val small { font-size: 12px; color: var(--ink-3); }
.frange__track { position: relative; height: 46px; margin: 10px 2px 0; }
.frange__rail, .frange__fill { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: oklch(0.2 0.012 250 / .14); }
.frange__fill { background: var(--ink); }
.frange input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.frange input::-webkit-slider-runnable-track { height: 46px; background: none; }
.frange input::-moz-range-track { background: none; }
.frange input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 30px; height: 30px; margin-top: 8px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 6px 14px -6px oklch(0 0 0 / .45); cursor: grab; transition: transform .2s var(--spring); }
.frange input::-moz-range-thumb { pointer-events: auto; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 6px 14px -6px oklch(0 0 0 / .45); cursor: grab; }
.frange input:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.frange input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.frange__scale { display: flex; justify-content: space-between; margin: 0 2px; font-size: 12px; color: var(--ink-3); }
.frange__or { margin: 18px 2px 8px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.fopts--price { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0 4px; }
.fopts--price .fopt { padding: 10px 10px 10px 14px; min-height: 48px; box-shadow: 0 0 0 1px var(--line); }
.fopts--price .fopt__t b { font-size: 14px; }

/* ---------- footer: drawing a touch fainter, and a soft dark layer behind the words only (feathered, no hard edge) ---------- */
.ftr--night .ftr__bg { opacity: .36; }
.ftr--night .inner { position: relative; }
.ftr--night .inner::before { content: ''; position: absolute; inset: -36px -48px; z-index: -1; pointer-events: none; background: rgb(22 21 15 / .72);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.ftr--night { text-shadow: 0 1px 10px rgb(22 21 15 / .7); }
@media (min-width: 760px) { .ftr--night .ftr__bg { opacity: .4; } .ftr--night .inner::before { inset: -44px -80px; } }

/* day photos (29 Nov, Isaac): no fade or blurred copy on the left and right at any width; the photo runs sharp edge to edge.
   Only the soft fade at the foot stays, kept low so most of the photo is clear. */
@container stage (min-width: 760px) {
  .days3--stack .d4 .d4__photo::before { display: none; }
  .days3--stack .d4 .d4__photo img { max-width: none; -webkit-mask-image: none; mask-image: none; }
  .days3--stack .d4 .d4__photo::after, .days3--stack .d4--flip .d4__photo::after { inset: 62% 0 0; }
}

/* day photos (2 Dec, Isaac): no hairline between the photo and the day's colour on a phone.
   The fade at the foot ran a fraction of a pixel short of the photo's edge, so a sliver of the photo showed as a line.
   Now it runs 3px past the edge and is solid before it gets there. */
.d4__photo { overflow: visible; }
.d4__photo::after { bottom: -3px; background: linear-gradient(to bottom, transparent, var(--tint) 88%); }
.d4__photo img { margin-bottom: 0; }
@container stage (min-width: 760px) {
  .days3--stack .d4 .d4__photo::after, .days3--stack .d4--flip .d4__photo::after { bottom: -3px; background: linear-gradient(to bottom, transparent, var(--tint) 88%); }
}

/* ---------- saletotours.co.ke sections (3 Dec): beach and abroad, hotels ---------- */
.ke-weekend { background: var(--paper-2); }
.ke-weekend .ke-cards { margin-top: 26px; }
.ke-escapes { background: var(--paper); }
.esc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.esc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 16px; border-radius: 16px; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--ink); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--spring), box-shadow .4s; }
.esc:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px oklch(0.2 0.012 250 / .18), 0 18px 34px -26px oklch(0.2 0.012 250 / .5); }
.esc--pic { grid-column: span 2; min-height: 300px; color: #fff; background: var(--ink); }
.esc--pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.esc__txt { position: relative; display: grid; gap: 4px; }
.esc__k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--num); }
.esc--pic .esc__k { color: oklch(0.86 0.09 80); }
.esc b { font-family: var(--f-display); font-size: 24px; font-weight: 500; line-height: 1.05; }
.esc--pic b { font-size: 34px; }
.esc__p { font-size: 13.5px; line-height: 1.45; opacity: .85; }
.esc__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.esc__go svg { width: 13px; height: 13px; }
.ke-hotels { background: var(--paper-2); }
.hotels { display: grid; gap: 16px; margin-top: 24px; }
.hotel { display: grid; border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.hotel__pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 230px; }
.hotel__pics img { width: 100%; height: 100%; object-fit: cover; }
.hotel__pics img:first-child { grid-row: 1 / span 2; }
.hotel__body { display: grid; gap: 8px; padding: 18px 18px 20px; align-content: start; }
.hotel__body > b { font-family: var(--f-display); font-size: 26px; font-weight: 500; line-height: 1.1; }
.hotel__body p { font-size: 14.5px; color: var(--ink-2); }
.hotel__rooms { list-style: none; padding: 0; margin: 4px 0 0; }
.hotel__rooms li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.hotel__rooms b { font-variant-numeric: lining-nums; }
.hotel__body .hotel__note { font-size: 12px; color: var(--ink-3); }
.hotel__body .btn { justify-self: start; margin-top: 4px; }
@media (min-width: 760px) {
  .esc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .esc--pic { min-height: 360px; }
  .esc { min-height: 200px; padding: 22px; }
  .hotels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
}
