/* ============ Single tour page: motion + interactivity ============ */
.page-tour .page-hero__bg { animation: trKen 22s ease-out both; }
@keyframes trKen { from { transform: scale(1.14); } to { transform: scale(1); } }
.page-tour .hero-facts li { animation: trUp .7s cubic-bezier(.2,.8,.2,1) both; }
.page-tour .hero-facts li:nth-child(2) { animation-delay: .12s; } .page-tour .hero-facts li:nth-child(3) { animation-delay: .24s; }
@keyframes trUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.tr-stagger li { opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--d) * 70ms + .15s); }
.reveal.is-in .tr-stagger li { opacity: 1; transform: none; }

.tr-itin-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.tr-expand { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; color: var(--gold-deep); cursor: pointer; transition: background .2s, border-color .2s; }
.tr-expand:hover { background: var(--sand); border-color: var(--gold); }
.tr-itin__fill { position: absolute !important; left: 27px; top: 10px; width: 2px; margin-left: -.5px; padding: 0 !important; display: block !important; height: var(--fill, 0%); max-height: calc(100% - 20px); background: linear-gradient(var(--gold), var(--gold-deep)); border-radius: 2px; transition: height .15s linear; }
.tr-day .itin__day { transition: background .35s, color .35s, transform .35s, box-shadow .35s; }
.tr-day.is-active .itin__day { background: var(--gold); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(184,134,43,.15); }
.tr-day .itin__body { padding: 0; transition: border-color .3s, box-shadow .3s, transform .3s; }
.tr-day .itin__body:hover { border-color: var(--gold); box-shadow: 0 18px 36px -24px rgba(15,30,61,.35); transform: translateY(-2px); }
.tr-day__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tr-day__head h3 { margin: 0 !important; }
.tr-day__chev { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); position: relative; transition: transform .35s, background .35s; }
.tr-day__chev::before, .tr-day__chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--gold-deep); transform: translate(-50%,-50%); }
.tr-day__chev::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .35s; }
.tr-day__head[aria-expanded="true"] .tr-day__chev { background: var(--gold); transform: rotate(180deg); }
.tr-day__head[aria-expanded="true"] .tr-day__chev::before, .tr-day__head[aria-expanded="true"] .tr-day__chev::after { background: #fff; }
.tr-day__head[aria-expanded="true"] .tr-day__chev::after { transform: translate(-50%,-50%) rotate(0); }
.tr-day__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.tr-day__panel > div { overflow: hidden; }
.tr-day__panel p { padding: 0 24px 22px; }
.tr-day__head[aria-expanded="true"] + .tr-day__panel { grid-template-rows: 1fr; }

.tr-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
.tr-shot { position: relative; padding: 0; border: 0; background: var(--sand); border-radius: 14px; overflow: hidden; cursor: zoom-in; transition-delay: calc(var(--d) * 80ms); }
.tr-shot:first-child { grid-column: span 2; grid-row: span 2; }
.tr-shot img { display: block; height: 100%; border-radius: 0 !important; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s; }
.tr-shot::after { content: "+"; position: absolute; inset: auto 12px 12px auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy); font-size: 20px; opacity: 0; transform: scale(.6); transition: .3s; }
.tr-shot:hover img { transform: scale(1.08); filter: saturate(1.15); }
.tr-shot:hover::after { opacity: 1; transform: none; }
@media (max-width: 760px) { .tr-gallery { grid-template-columns: repeat(2, 1fr); } }

.tr-lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,14,30,.94); display: grid; place-items: center; animation: trFade .25s ease; }
.tr-lb[hidden] { display: none; }
.tr-lb img { max-width: min(92vw, 1200px); max-height: 82vh; border-radius: 12px; animation: trZoom .35s cubic-bezier(.2,.8,.2,1); }
@keyframes trFade { from { opacity: 0; } } @keyframes trZoom { from { opacity: 0; transform: scale(.94); } }
.tr-lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.tr-lb button:hover { background: var(--gold); }
.tr-lb__x { top: 18px; right: 18px; } .tr-lb__prev { left: 18px; } .tr-lb__next { right: 18px; }
.tr-lb__n { position: absolute; bottom: 20px; color: rgba(255,255,255,.7); font-size: 14px; letter-spacing: .08em; }

.tr-cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(70px, 9vw, 120px) 0; isolation: isolate; }
.tr-cta__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: .28; z-index: -2; transform: translateY(var(--py, 0)); will-change: transform; }
.tr-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 0% 50%, rgba(15,30,61,.96), rgba(15,30,61,.7) 60%, rgba(15,30,61,.5)); }
.tr-cta__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tr-cta h2 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); margin: 14px 0 18px; }
.tr-cta__copy p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 520px; }
.tr-cta__trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.tr-cta__trust li { flex: 1 1 120px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.04); transition: transform .3s, border-color .3s; }
.tr-cta__trust li:hover { transform: translateY(-4px); border-color: var(--gold); }
.tr-cta__trust b { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--gold); line-height: 1.1; }
.tr-cta__trust span { font-size: 13px; color: rgba(255,255,255,.7); }
.tr-quote { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 34px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); display: flex; flex-direction: column; }
.tr-q__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tr-q__top h3 { font-size: 22px; margin: 0; }
.tr-q__top span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.tr-q__label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin: 22px 0 10px; }
.tr-q__label small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 6px; font-size: 12px; }
.tr-q__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 4px; }
.tr-q__row .tr-q__label { margin: 0 0 2px; }
.tr-q__row small { font-size: 13px; color: var(--muted); }
.tr-step { display: inline-flex; align-items: center; gap: 4px; }
.tr-step button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; color: var(--navy); cursor: pointer; transition: border-color .2s, background .2s; }
.tr-step button:hover { border-color: var(--navy); background: var(--sand); }
.tr-pax { min-width: 40px; text-align: center; font-weight: 700; font-size: 18px; color: var(--navy); display: inline-block; }
.tr-pax.bump { animation: trBump .3s; } @keyframes trBump { 50% { transform: scale(1.3); } }
.tr-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tr-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tr-months button, .tr-chips button { display: flex; flex-direction: column; align-items: center; gap: 1px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 4px; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.tr-chips button { align-items: flex-start; padding: 12px 14px; text-align: left; }
.tr-months b, .tr-chips b { font-size: 14px; font-weight: 600; }
.tr-months small, .tr-chips small { font-size: 11.5px; color: var(--muted); }
.tr-months button:hover, .tr-chips button:hover { border-color: var(--navy); }
.tr-months button.is-on, .tr-chips button.is-on { border-color: var(--navy); background: var(--sand); box-shadow: inset 0 0 0 1px var(--navy); }
.tr-q__sum { margin: 22px 0 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.tr-go { width: 100%; justify-content: center; }
.tr-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 8px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-radius: 10px; transition: background .2s; }
.tr-wa svg.i { font-size: 17px; }
.tr-wa:hover { background: var(--sand); }
@media (max-width: 420px) { .tr-chips { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .tr-cta__grid { grid-template-columns: 1fr; } }

.tr-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.tr-bar.is-on { transform: none; }
.tr-bar__in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tr-bar b { display: block; color: var(--navy); font-size: 15px; } .tr-bar small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 600px) { .tr-bar b { font-size: 13px; } .tr-bar small { display: none; } .tr-bar .btn { padding: 10px 14px; font-size: 14px; } }
.wa-float { transition: bottom .4s; }
body.tr-bar-on .wa-float { bottom: 92px !important; }

@media (prefers-reduced-motion: reduce) {
  .page-tour .page-hero__bg, .page-tour .hero-facts li { animation: none; }
  .tr-stagger li { opacity: 1; transform: none; transition: none; }
  .tr-cta__bg { transform: none; }
}
/* form icons */
.tr-quote svg.i { width: 1em; height: 1em; flex: none; }
.tr-q__top span { display: inline-flex; align-items: center; gap: 6px; } .tr-q__top span svg { color: var(--gold); font-size: 15px; }
.tr-q__label { display: flex; align-items: center; gap: 8px; } .tr-q__label > svg.i { color: var(--gold); font-size: 16px; }
.tr-q__row { justify-content: flex-start; } .tr-q__grow { flex: 1; }
.tr-q__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sand); color: var(--gold-deep); display: grid; place-items: center; font-size: 20px; flex: none; }
.tr-step button { display: grid; place-items: center; font-size: 15px; }
.tr-chips button svg.i { font-size: 18px; color: var(--gold); margin-bottom: 6px; transition: transform .25s; }
.tr-chips button:hover svg.i, .tr-chips button.is-on svg.i { transform: scale(1.15); color: var(--gold-deep); }
.tr-q__sum { display: flex; align-items: center; justify-content: center; gap: 8px; } .tr-q__sum svg { color: var(--gold); font-size: 16px; }
.tr-q__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tr-q__foot span { display: inline-flex; align-items: center; gap: 6px; } .tr-q__foot svg { color: var(--gold); font-size: 14px; }
/* More tours carousel: 3 per view */
.tr-car__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 2px 24px; margin: -8px -2px 0; }
.tr-car__track::-webkit-scrollbar { display: none; }
.tr-car .trip-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; scroll-snap-align: start; }
.tr-car .trip-card__img { min-height: 0; aspect-ratio: 4 / 3; }
.tr-car .trip-card__body { padding: 22px; }
.tr-car .trip-card__body > p:not(.pt-card__tag) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tr-car .pt-card__thumbs { display: none; }
.tr-car__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.tr-car__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--navy); display: grid; place-items: center; cursor: pointer; font-size: 18px; transition: background .25s, color .25s, border-color .25s, opacity .25s, transform .25s; }
.tr-car__btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.06); }
.tr-car__btn:disabled { opacity: .35; cursor: default; }
.tr-car__dots { display: flex; gap: 8px; }
.tr-car__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.tr-car__dots button.is-on { width: 26px; background: var(--gold); }
.tr-car .reveal { opacity: 1; transform: none; }
@media (max-width: 1000px) { .tr-car__track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (max-width: 640px) { .tr-car__track { grid-auto-columns: 86%; gap: 16px; } }
/* carousel arrows top-right */
.tr-car { display: flex; flex-direction: column; }
.tr-car__nav { order: -1; justify-content: flex-end; gap: 10px; margin: 0 0 18px; }
.tr-car__dots { margin-right: 8px; }
.tr-car__btn { width: 44px; height: 44px; }
.tr-car__dots { order: -1; margin-right: 10px; }
.tr-car__dots { display: none !important; }
.section-head .tr-car__nav { margin: 0; align-self: center; flex: none; }
.section-head .tr-car__nav { order: 0; }
.section-head:has(.tr-car__nav) { flex-wrap: nowrap; align-items: center; gap: 16px; }
@media (max-width: 640px) { .section-head .tr-car__btn { width: 38px; height: 38px; font-size: 15px; } }
