/* Bilingual tour discovery and booking. The established palette lives in site.css. */
:root {
  --route-paper: #fbf8f1;
  --route-dark: #0b2f25;
  --route-gold-ink: #765a33;
  --route-border: #d8cdbb;
  --route-space: clamp(3rem, 7vw, 6.5rem);
}

.home-introduction .hero-overlay {
  background: linear-gradient(90deg, #071f1ded 0%, #071f1dbb 42%, transparent 84%),
    linear-gradient(0deg, #071f1d8c, transparent 45%);
}
.home-introduction h1 { max-width: 10.8em; text-wrap: balance; text-shadow: 0 .06em .28em #08221f9c; }
.home-introduction h1 em { color: #f2d4a0; }
.home-introduction .hero-content > p:not(.eyebrow) { color: #fff9ed; }
.home-introduction .hero-buttons a, .home-introduction .hero-content > :is(h1, p) { opacity: 1; animation: none; transform: none; }
.home-introduction .hero-buttons a { min-height: 2.75rem; }
.home-introduction .hero-buttons .button-icon { display: none; }
.home-introduction .hero-buttons .button { padding-inline: 1.3rem; }
.home-introduction .hero-buttons .video-link { font-size: .9rem; }

.route-section { padding-block: var(--route-space); }
.route-section-heading { display: grid; grid-template-columns: 1fr minmax(15rem, 26rem); gap: 1rem 4rem; align-items: end; margin-bottom: 2.25rem; }
.route-section-heading h2, .route-proof h2 { font-size: clamp(2.65rem, 5.7vw, 5.2rem); margin-bottom: .35rem; }
.route-section-heading > p, .route-proof p:not(.eyebrow), .route-process p { font-size: 1rem; max-width: 42rem; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.6vw, 2.25rem); }
.route-card { background: var(--route-paper); display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--route-border); }
.route-card-image { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--green); }
.route-card-image img, .route-proof img { width: 100%; height: 100%; object-fit: cover; }
.route-card-image img { transition: transform .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .route-card:hover .route-card-image img { transform: scale(1.035); }
}
.route-card-body { flex: 1; padding: clamp(1rem, 2.6vw, 2rem); display: flex; flex-direction: column; align-items: flex-start; }
.route-card-body h3 { margin: .25rem 0 .55rem; font: 400 clamp(1.85rem, 3vw, 2.55rem)/1.13 var(--serif); }
.route-card-body p { margin-bottom: .75rem; font-size: .98rem; line-height: 1.55; }
.route-card-body p.route-card-tag { font-size: .875rem; color: var(--route-gold-ink); font-weight: 700; }
.route-card-body .route-card-price { margin-top: auto; margin-bottom: .25rem; padding-top: .4rem; }
.route-card-price strong, .tour-facts-buy strong { font-size: 1.38rem; }
.route-card-body .route-card-admission { font-size: .875rem; margin-bottom: .65rem; }
.route-link { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .26em; font-size: .94rem; font-weight: 700; }
.route-link:hover { text-decoration-thickness: 2px; }
.route-all { margin-top: 1.6rem; }
.route-proof { display: grid; grid-template-columns: 1.12fr .88fr; align-items: stretch; margin-bottom: var(--route-space); background: #efe7da; }
.route-proof img { min-height: 23rem; max-height: 37rem; aspect-ratio: 5/4; }
.route-proof > div { align-self: center; padding: clamp(1.4rem, 6vw, 4.6rem); }
.route-proof p:not(.eyebrow) { margin-top: .9rem; }
.route-guide { background: var(--route-dark); color: var(--cream); }
.route-guide > .wrap { padding-block: var(--route-space); }
.route-guide .home-booking-steps article { display: block; border-color: #ffffff3d; }
.route-guide .home-booking-steps h3 { margin-bottom: .2rem; color: var(--cream); }
.route-guide .home-booking-steps p { font-size: 1rem; color: #ebe1ce; }
.route-guide .route-link { margin-top: .75rem; color: #f2d4a0; }

.route-comparison { padding-top: var(--route-space); scroll-margin-top: 1rem; }
.route-comparison h2 { font-size: clamp(2.35rem, 5vw, 4.25rem); margin-bottom: 1.5rem; }
.route-table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--route-border); }
.route-table-scroll:focus-visible { outline: 3px solid var(--route-gold-ink); outline-offset: 4px; }
.route-table { border-collapse: collapse; width: 100%; min-width: 42rem; background: var(--route-paper); text-align: left; font-size: 1rem; }
.route-table th, .route-table td { padding: 1rem; vertical-align: top; }
.route-table thead { background: var(--route-dark); color: white; }
.route-table tbody tr + tr { border-top: 1px solid var(--route-border); }
.route-table tbody th a { text-decoration: underline; text-underline-offset: .2em; }
.route-table tbody small { font-size: .875rem; }
.route-addon { padding: 1.1rem 1.25rem .65rem; margin-top: 1rem; background: #eee6d9; }
.route-addon p { margin-bottom: 0; font-size: 1rem; }

.tour-facts { display: grid; grid-template-columns: 1fr minmax(10.5rem, .32fr); border: 1px solid var(--route-border); background: var(--route-paper); gap: 1.15rem 2rem; margin-top: 1.4rem; margin-bottom: 1.4rem; padding: clamp(1rem, 3vw, 1.8rem); }
.tour-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.4rem; margin: 0; align-self: center; }
.tour-facts dt { color: var(--route-gold-ink); font-size: .875rem; font-weight: 700; }
.tour-facts dd { margin: 0; font-size: 1rem; line-height: 1.42; }
.tour-facts-buy { border-left: 1px solid var(--route-border); padding-left: 1.2rem; }
.tour-facts-buy p { line-height: 1.4; margin-bottom: .42rem; }
.tour-facts-buy p:nth-child(2) { font-size: .875rem; }
.tour-facts-buy .button { min-height: 2.75rem; margin-top: .32rem; padding: .55rem .85rem; }
.route-mobile-cta { display: none; }
.route-process, .route-terms { padding-block: clamp(2.6rem, 6vw, 5rem); }
.route-process h2, .route-terms h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.route-process .button { margin-right: .85rem; }
.route-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.route-terms article { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--route-border); background: var(--route-paper); }
.route-terms article p { font-size: 1rem; margin-bottom: 0; }
.route-terms article p + p { margin-top: .85rem; }
.route-terms article a { text-decoration: underline; overflow-wrap: anywhere; }

.route-booking-heading { padding-block: clamp(2.2rem, 5.5vw, 4.5rem); }
.route-booking-heading h1 { margin-bottom: .6rem; }
.route-booking-heading p { margin-bottom: 0; }
.route-booking-aside .route-link { color: inherit; }
.route-price-summary { border: 1px solid var(--route-border); background: var(--route-paper); padding: clamp(1rem, 3vw, 1.65rem); margin-bottom: 1.5rem; }
.route-price-summary h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: .6rem; }
.route-price-summary .route-currency { display: grid; gap: .3rem; margin-bottom: 1rem; font-size: .9rem; font-weight: 700; }
.route-currency select { max-width: 20rem; }
.route-breakdown { margin: 0; }
.route-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; padding-block: .48rem; border-top: 1px solid var(--route-border); }
.route-breakdown dt { flex: 1; }
.route-breakdown dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.route-breakdown .price-combined { color: var(--route-dark); font-weight: 700; }
.route-price-summary .note { margin: .6rem 0 0; font-size: .875rem; }
.route-payment-help a { text-decoration: underline; }
.route-payment-help { margin-block: 1rem; }
.route-booking-heading + .intake-layout .form-actions .button { min-height: 3rem; }

.route-film { width: min(58rem, 94vw); border: 1px solid #c8ad7c; border-radius: .4rem; background: #0a2b23; color: #fcf4e6; padding: .9rem; max-height: 93dvh; }
.route-film::backdrop { background: #051713e6; }
.route-film video { display: block; margin: .6rem auto; max-height: 68dvh; width: 100%; background: #071c17; }
.route-film p { margin: .55rem 0 .15rem; font-size: .9rem; }
.route-film a { text-decoration: underline; }
.route-film-close { display: block; margin-left: auto; padding: .45rem .8rem; min-height: 2.75rem; color: white; border: 1px solid #c8ad7c; background: transparent; border-radius: .25rem; }

@media (max-width: 760px) {
  .home-introduction .hero-overlay { background: linear-gradient(0deg, #071f1dfa 4%, #071f1dbb 48%, #071f1d33 85%); }
  .home-introduction h1 { max-width: 10em; font-size: clamp(2.3rem, 10.5vw, 4.2rem); }
  .home-introduction .hero-content { padding-bottom: 4rem; }
  .route-section-heading, .route-grid, .route-proof, .route-terms { grid-template-columns: minmax(0, 1fr); }
  .route-section-heading { gap: .45rem; margin-bottom: 1.25rem; }
  .route-card-image { aspect-ratio: 16 / 9; }
  .route-proof img { min-height: 0; width: 100%; aspect-ratio: 16/10; }
  .route-proof > div { padding: 1.5rem; }
  .route-table { min-width: 0; }
  .route-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .route-table tbody, .route-table tr, .route-table th, .route-table td { display: block; }
  .route-table tbody tr { padding: .85rem 1rem; }
  .route-table th, .route-table td { padding: .15rem 0; }
  .route-table th { font-size: 1.04rem; }
  .route-table td:last-child { padding-top: .3rem; }
  .tour-facts { grid-template-columns: minmax(0, 1fr); }
  .tour-facts-buy { border: 0; border-top: 1px solid var(--route-border); padding: .9rem 0 0; }
  .route-mobile-cta { display: inline-flex; position: fixed; z-index: 42; bottom: max(.85rem, env(safe-area-inset-bottom)); left: .85rem; max-width: calc(100vw - 5.3rem); min-height: 2.85rem; padding: .7rem 1rem; visibility: hidden; opacity: 0; transition: opacity .18s ease; }
  .route-mobile-cta.is-visible { visibility: visible; opacity: 1; }
  .route-booking-heading + .intake-layout { display: flex; flex-direction: column; }
  .route-booking-heading + .intake-layout .intake-body { order: -1; }
  .route-booking-aside img { display: none; }
  .route-breakdown > div { font-size: .92rem; }
  .route-payment-help { font-size: .9375rem; }
  .route-booking-heading + .intake-layout :is(input, select, textarea) { font-size: 1rem; }
  .route-proof, .tour-facts { width: min(92%, 76rem); }
}

@media (prefers-reduced-motion: reduce) {
  .route-card-image img, .route-mobile-cta { transition: none; }
}

.tour-trust { padding-block: 1.3rem; border-bottom: 1px solid var(--route-border); }
.tour-trust p { margin-bottom: 0; }
.route-film .route-film-credit { color: #e2d5bf; font-size: .82rem; }
.route-breakdown dd { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .route-breakdown > div { flex-wrap: wrap; }
  .route-breakdown dt { min-width: 52%; }
}

.reservation-calendar .reservation-days button { min-height: 2.75rem; padding-inline: 0; }
@media (max-width: 760px) {
  :has(.tour-facts) > .page-intro h1 { font-size: clamp(2.1rem, 9vw, 3.5rem); }
  .route-booking-heading h1 em { color: #f2d4a0; }
}

.traveller-review-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 1rem; margin: 1rem 0; }
.traveller-review-grid:empty { margin: 0; }
.traveller-review {
  min-width: 0; overflow-wrap: anywhere; padding: clamp(1rem, 3vw, 1.5rem);
  color: var(--green); background: #fffdf7; border: 1px solid #d6c8b2; border-radius: .65rem;
}
.traveller-review > .traveller-review-header { display: flex; align-items: center; gap: .73rem; }
.traveller-review-avatar {
  display: grid; place-items: center; flex: 0 0 2.6rem; height: 2.6rem;
  background: var(--green); color: #f7e5b8; border: 1px solid #ad915c; border-radius: 50%;
  font-size: .9rem; font-weight: 700;
}
.traveller-review h3 { font-size: 1.02rem; margin: 0; }
.traveller-review .traveller-review-trip { color: #526055; font-size: .86rem; margin: .16rem 0 0; }
.traveller-review .traveller-review-rating { color: #795720; font-size: .87rem; margin: .8rem 0 .55rem; }
.traveller-review-rating span { letter-spacing: .13em; font-size: .99rem; }
.traveller-review blockquote { margin: 0; line-height: 1.55; white-space: pre-wrap; }

.traveller-review-verified {
  display: inline-block; margin-top: .28rem; border-radius: .3rem; padding: .14rem .42rem;
  color: #244536; background: #e6eee7; font-size: .75rem; font-weight: 600;
}
.traveller-review-photo {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .45rem; margin-top: .9rem;
}
#request-form input[name="reviewPhoto"]::file-selector-button {
  border: 1px solid #a58e65; border-radius: .35rem; padding: .42rem .6rem;
  background: #f2ebdb; color: var(--green); font: inherit; margin-inline-end: .55rem;
}
