/* Telaga Waja Adventures
   Palette comes from the river itself: deep jungle green, white water,
   volcanic rock, and the orange and blue of our rafts. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --river: #0f3b39;
  --river-2: #17544f;
  --foam: #f3f8f6;
  --mist: #e1eee9;
  --rock: #17201f;
  --stone: #4c5a57;
  --raft-orange: #f0641e;
  --raft-orange-2: #ff7d3c;
  --raft-blue: #1c74b5;
  --bronze: #8f6234;
  --line: #c9dad4;
  --white: #fff;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--rock);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 750; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--raft-blue); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--river); color: var(--white); padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 6px 6px; }
.skip:focus { top: 0; }
.small { font-size: 0.9rem; color: var(--stone); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 60ch; }
.plain { list-style: none; padding: 0; }
.plain li { margin-bottom: 0.4em; }
.text-link { color: var(--river-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--raft-orange); }
.text-link:hover { color: var(--rock); }

/* Buttons are pill-shaped, like the tubes of a raft. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 0.95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-book { background: var(--raft-orange); color: #1d0f04; }
.btn-book:hover { background: var(--raft-orange-2); }
.btn-outline { border-color: var(--river); color: var(--river); background: transparent; }
.btn-outline:hover { background: var(--river); color: var(--white); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.75); color: var(--white); background: rgba(15, 59, 57, 0.25); }
.btn-ghost-light:hover { background: var(--white); color: var(--river); }
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.btn-block { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 248, 246, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: block; flex: none; }
.brand-logo { width: 168px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 0.5rem 0.8rem; font-weight: 600; font-size: 0.98rem; text-decoration: none; border-radius: 999px; }
.site-nav a:hover { background: var(--mist); }
.site-nav a[aria-current="page"] { background: var(--river); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; color: var(--river); cursor: pointer; border-radius: 8px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .header-book { margin-left: auto; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--foam); border-bottom: 1px solid var(--line); padding: 0.75rem var(--gutter) 1.25rem; margin: 0; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 0.85rem 0.75rem; font-size: 1.1rem; border-radius: 8px; }
  .brand-logo { width: 140px; }
}

/* Hero: the photo stays clear of text; the headline sits where the water fades into river green. */
.hero { position: relative; background: var(--river); color: var(--white); }
.hero-media { position: relative; }
.hero-img { width: 100%; height: clamp(300px, 64vh, 640px); object-fit: cover; object-position: 50% 42%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 59, 57, 0) 52%, rgba(15, 59, 57, 0.72) 82%, var(--river) 100%); }
.hero-copy { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: end; margin-top: clamp(-7rem, -11vh, -3.5rem); padding-bottom: clamp(2rem, 5vw, 3.25rem); }
.hero h1 { margin: 0; max-width: 17ch; font-size: clamp(2.3rem, 5vw, 4.1rem); text-shadow: 0 2px 28px rgba(8, 32, 31, 0.55); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; color: #dcebe6; margin-bottom: 1.4rem; }
/* Two-column hero: break the headline at phrase boundaries so no word is left alone on a line. */
@media (min-width: 861px) {
  .hero h1 { max-width: none; font-size: clamp(2.3rem, 4.4vw, 4rem); text-wrap: wrap; }
  .hero h1 span { white-space: nowrap; }
}
@media (max-width: 860px) {
  .hero-img { height: clamp(260px, 46vh, 420px); }
  .hero-copy { grid-template-columns: 1fr; margin-top: -3rem; }
}

/* Trip facts: one continuous strip under the hero */
.facts { background: var(--river); color: var(--white); }
.facts-list { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.facts-list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; }
.facts-list div { padding: 1.4rem 1.25rem 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.facts-list div:first-child { border-left: 0; padding-left: 0; }
.facts-list dt { font-size: 0.9rem; color: #b9d3cc; margin-bottom: 0.2rem; }
.facts-list dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -0.01em; line-height: 1.15; }
@media (max-width: 860px) {
  .facts-list { grid-template-columns: 1fr 1fr; }
  .facts-list div { border-left: 0; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .facts-list div:first-child, .facts-list div:nth-child(2) { border-top: 0; }
  .facts-list div:last-child { grid-column: 1 / -1; }
}

/* Sections */
.section { padding-block: var(--section); }
.section-tint { background: var(--mist); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--stone); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-reverse .split-media { order: -1; }
.stack { display: grid; gap: 1rem; }
.photo { width: 100%; border-radius: 6px; background: var(--mist); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
}

.ticks, .crosses, .dots { list-style: none; padding: 0; }
.ticks li, .crosses li, .dots li { position: relative; padding-left: 1.75rem; margin-bottom: 0.55em; max-width: 60ch; }
.ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 0.42em; width: 0.9rem; height: 0.5rem; border-left: 3px solid var(--raft-orange); border-bottom: 3px solid var(--raft-orange); transform: rotate(-45deg); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: 0.1rem; top: 0.75em; width: 1rem; height: 3px; background: var(--stone); transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.dots li::before { content: ""; position: absolute; left: 0.35rem; top: 0.62em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--raft-blue); }

.rows { margin: 1.25rem 0; border-top: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--stone); }
.rows dd { margin: 0; font-weight: 600; text-align: right; }
.rows-compact div { padding: 0.5rem 0; font-size: 0.97rem; }

/* The run: the page's one drawn element. A river line down the middle, a marker at each stop. */
.run { background: var(--white); }
.run-list { list-style: none; margin: 0; padding: 0; position: relative; }
.run-list::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 40px; margin-left: -20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='96' viewBox='0 0 40 96'%3E%3Cpath d='M20 0 C 38 24 2 72 20 96' fill='none' stroke='%231c74b5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y center top;
  opacity: 0.55;
}
.run-stop { display: grid; grid-template-columns: 1fr 72px 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; padding-block: clamp(1.25rem, 3vw, 2.25rem); position: relative; }
.run-media { grid-column: 1; }
.run-marker { grid-column: 2; grid-row: 1; justify-self: center; }
.run-copy { grid-column: 3; grid-row: 1; }
.run-stop:nth-child(even) .run-media { grid-column: 3; grid-row: 1; }
.run-stop:nth-child(even) .run-copy { grid-column: 1; justify-self: end; }
.run-marker span {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--raft-orange); color: #1d0f04; font-family: var(--display); font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 9px var(--raft-blue);
}
.run-copy h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.run-copy p { color: var(--stone); max-width: 44ch; }
.run-media .photo { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) {
  .run-list::before { left: 26px; }
  .run-stop, .run-stop:nth-child(even) { grid-template-columns: 52px 1fr; gap: 0.5rem 1rem; align-items: start; }
  .run-stop .run-marker, .run-stop:nth-child(even) .run-marker { grid-column: 1; grid-row: 1 / span 2; justify-self: center; }
  .run-stop .run-media, .run-stop:nth-child(even) .run-media { grid-column: 2; grid-row: 1; }
  .run-stop .run-copy, .run-stop:nth-child(even) .run-copy { grid-column: 2; grid-row: 2; justify-self: start; padding-top: 0.5rem; }
  .run-marker span { width: 2.6rem; height: 2.6rem; font-size: 1.15rem; box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--raft-blue); }
}

/* Prices */
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.75rem; border: 2px solid var(--river); border-radius: 6px; background: var(--white); }
.price-card .btn { margin-top: auto; }
.price-card-main { background: var(--river); color: var(--white); }
.price-card-main p { color: #d6e7e2; }
.price { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0.25rem 0 0.75rem; }
.price-card-main .price { color: var(--white); }
.price-from, .price-unit { display: block; font-family: var(--body); font-weight: 500; font-size: 0.95rem; letter-spacing: 0; }
.price-unit { margin-top: 0.3rem; }
.price-includes { padding: 1.75rem 0 0 1rem; }
@media (max-width: 940px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-includes { grid-column: 1 / -1; padding: 0.5rem 0 0; }
}
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

.reviews { background: var(--mist); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.15rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.faq summary::after { content: ""; flex: none; width: 0.7rem; height: 0.7rem; border-right: 3px solid var(--raft-orange); border-bottom: 3px solid var(--raft-orange); transform: rotate(45deg); transition: transform 0.2s; margin-right: 0.4rem; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 1.25rem; margin: 0; color: var(--stone); }

/* Closing booking band */
.book-band { background: var(--river); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4rem); }
.book-band-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.book-band h2 { margin-bottom: 0.3em; }
.book-band p { margin: 0; color: #cfe2dc; }

/* Inner pages */
.page-head { background: var(--river); color: var(--white); padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.25rem, 6vw, 4rem); }
.page-head h1 { font-size: clamp(2rem, 4.8vw, 3.5rem); max-width: 22ch; }
.page-head .lead { color: #d6e7e2; margin: 0; }
.page-head .small { color: #b9d3cc; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; padding: 0; margin: 0 0 1.25rem; font-size: 0.9rem; color: #b9d3cc; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.crumbs a { color: inherit; }
.crumbs li[aria-current] { max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.trip-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.trip-main h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.trip-main .faq { margin-top: 1rem; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.gallery-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery .photo:not(.gallery-main) { aspect-ratio: 4 / 3; object-fit: cover; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.25rem 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.25rem 3rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--raft-orange); color: #1d0f04; font-family: var(--display); font-weight: 800; }
.steps li::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.3rem; bottom: 0.3rem; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 0 0 0.25rem; padding-top: 0.2rem; }
.steps p { margin: 0; color: var(--stone); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.trip-side { position: sticky; top: 5.5rem; }
.book-card { background: var(--white); border: 2px solid var(--river); border-radius: 6px; padding: 1.5rem; display: grid; gap: 0.75rem; }
.book-card-title { font-family: var(--display); font-weight: 800; font-size: 1.4rem; margin: 0; letter-spacing: -0.01em; }
.book-prices { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.book-prices li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: baseline; }
.book-prices strong { font-family: var(--display); font-size: 1.15rem; }
.book-prices small { grid-column: 1 / -1; color: var(--stone); }
.book-card .rows { margin: 0.25rem 0; }
.book-card .small { margin: 0; }
@media (max-width: 940px) {
  .trip-grid { grid-template-columns: 1fr; }
  .trip-side { position: static; order: -1; }
  .two-lists { grid-template-columns: 1fr; }
}

.big-address { font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }
.map-frame { border-radius: 6px; overflow: hidden; border: 2px solid var(--river); aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.25rem; }
.contact-card { padding: 1.75rem; border: 2px solid var(--line); border-radius: 6px; background: var(--white); }
.contact-card h2 { font-size: 1.3rem; }
.contact-card h2:not(:first-child) { margin-top: 1.5rem; }
.contact-card-main { background: var(--river); color: var(--white); border-color: var(--river); }
.contact-card-main p { color: #d6e7e2; }
.contact-big { white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.1vw, 1.75rem); color: var(--white) !important; margin-bottom: 0.4rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Blog */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
.post-card-media .photo { aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 1rem; }
.post-card h2, .post-card h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 0.4em; }
.post-card h3 { font-size: 1.2rem; }
.post-card a { text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--raft-orange); text-underline-offset: 4px; }
.post-card p { color: var(--stone); }
.post-list-small { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .post-list, .post-list-small { grid-template-columns: 1fr; } }
.post-hero { aspect-ratio: 16 / 9; object-fit: cover; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.prose { padding-block: clamp(1.5rem, 4vw, 2.5rem); font-size: 1.1rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.8em; }
.prose a { color: var(--river-2); font-weight: 600; text-decoration-color: var(--raft-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose li { margin-bottom: 0.45em; max-width: 64ch; }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--river); color: var(--white); font-family: var(--display); }
.prose tbody th { color: var(--stone); font-weight: 600; white-space: nowrap; }
.post-cta { background: var(--mist); border-radius: 6px; padding: 1.75rem; margin-bottom: var(--section); }
.post-cta h2 { font-size: 1.5rem; }

.notfound { min-height: 50vh; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); }

/* Footer */
.site-footer { background: #0a2927; color: #cfe2dc; padding-top: clamp(2.5rem, 6vw, 4rem); font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--white); margin-bottom: 0.75rem; }
.site-footer a { color: var(--white); text-underline-offset: 3px; }
.footer-logo { width: 96px; height: 96px; margin-bottom: 1rem; }
.footer-base { margin-top: 2.5rem; padding-block: 1.25rem 5.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.9rem; }
.footer-base p { margin: 0; max-width: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp button */
.wa-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.15rem; border-radius: 999px; background: #25d366; color: #06301a; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(6, 48, 26, 0.3); }
.wa-fab:hover { background: #3fe07a; }
.wa-fab svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .wa-fab { padding: 0.85rem; } .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .wa-fab svg { width: 26px; height: 26px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
@media print { .site-header, .wa-fab, .book-band { display: none; } }


/* ==========================================================================
   Tours and booking (docs/BOOKING-SPEC.md): tour cards, tour pages, the booking
   sheet, the booking page and the e-voucher.
   ========================================================================== */
:root {
  --field-line: #7f9690;
  --few: #b3400b;
  --error: #b3261e;
  --sun: #fff4ec;
  --deep: #082624;
}
.icon { flex: none; }
.site-nav a[aria-current="true"] { background: var(--mist); color: var(--river); }
/* The header with the booking on this site: one menu item more, so the menu folds earlier (the same rules as above). */
.with-tours .site-nav a, .with-tours .header-book { white-space: nowrap; }
@media (min-width: 941px) and (max-width: 1080px) {
  .with-tours .nav-toggle { display: inline-flex; }
  .with-tours .header-book { margin-left: auto; }
  .with-tours .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--foam); border-bottom: 1px solid var(--line); padding: 0.75rem var(--gutter) 1.25rem; margin: 0; }
  .with-tours .site-nav.is-open { display: block; }
  .with-tours .site-nav ul { flex-direction: column; gap: 0; }
  .with-tours .site-nav a { padding: 0.85rem 0.75rem; font-size: 1.1rem; border-radius: 8px; }
  .with-tours .brand-logo { width: 140px; }
}
@media (max-width: 400px) {
  .with-tours .header-row { gap: 0.5rem; }
  .with-tours .brand-logo { width: 126px; }
}
@media (max-width: 340px) {
  .with-tours .header-book { padding-inline: 0.85rem; }
}
.header-tours { margin-left: auto; }
.site-footer-small { padding-top: 0; }
.site-footer-small .footer-base { margin-top: 0; padding-bottom: 1.5rem; border-top: 0; }
.notice { background: var(--sun); border-left: 4px solid var(--raft-orange); border-radius: 0 6px 6px 0; padding: 1rem 1.15rem; }
.notice > :last-child { margin-bottom: 0; }
.notice p { margin-bottom: 0.75rem; }
.notice a.text-link:has(.icon) { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; }

/* The page behind an open sheet does not scroll; the gap replaces its scroll bar. */
html.is-locked { overflow: hidden; }
html.is-locked body { padding-right: var(--lock-gap, 0); }

/* Prices ------------------------------------------------------------------ */
.tour-price { margin: 0; line-height: 1.25; }
.tour-price-from, .tour-price-unit { font-size: 0.9rem; color: var(--stone); }
.tour-price-unit { display: inline-block; }
.tour-price s { font-size: 0.92rem; color: var(--stone); text-decoration-thickness: 1px; }
.tour-price strong { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.015em; white-space: nowrap; }

/* Cards -------------------------------------------------------------------- */
.tour-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tour-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color 0.15s; }
.tour-card:hover, .tour-card:focus-within { border-color: var(--river); }
.tour-card-media { position: relative; overflow: hidden; background: var(--mist); }
.tour-card-media .photo { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; transition: transform 0.5s ease; }
.tour-card:hover .photo { transform: scale(1.035); }
.tour-chip { position: absolute; left: 0.75rem; bottom: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem 0.3rem 0.5rem; border-radius: 999px; background: rgba(8, 38, 36, 0.86); color: var(--white); font-size: 0.88rem; font-weight: 600; }
.tour-chip .icon { width: 16px; height: 16px; }
.tour-card-copy { display: flex; flex-direction: column; flex: 1; gap: 0.55rem; padding: 1.1rem 1.2rem 1.2rem; }
.tour-card h3, .tour-card h2 { margin: 0; font-size: 1.28rem; line-height: 1.15; }
.tour-card a { text-decoration: none; }
.tour-card a::after { content: ""; position: absolute; inset: 0; }
.tour-card a:focus-visible { outline: 0; }
.tour-card:has(a:focus-visible) { outline: 3px solid var(--raft-blue); outline-offset: 3px; }
.tour-card-short { margin: 0; color: var(--stone); font-size: 0.98rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.tour-card-foot { margin-top: auto; padding-top: 0.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; }
.tour-card-foot .tour-price > * { display: inline-block; }
.tour-card-go { display: inline-flex; align-items: center; gap: 0.35rem; flex: none; font-weight: 700; color: var(--river-2); text-decoration: underline; text-decoration-color: var(--raft-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tour-card-go .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.tour-card:hover .tour-card-go .icon { transform: translateX(3px); }
@media (max-width: 999px) { .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .tour-grid { grid-template-columns: 1fr; } }

.section-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.section-head-row h2 { margin: 0; }
.home-tours { background: var(--white); }
.tour-all { margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; }
/* The home page on a phone: one swipeable row instead of six cards under each other. */
@media (max-width: 639px) {
  .tour-row { display: flex; gap: 0.9rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tour-row::-webkit-scrollbar { display: none; }
  .tour-row > li { flex: 0 0 min(82%, 330px); scroll-snap-align: start; }
}

.tours { padding-top: clamp(1.75rem, 4vw, 3rem); }
.tour-jump { list-style: none; margin: 0 0 clamp(1.75rem, 4vw, 2.75rem); padding: 0; display: flex; gap: 0.6rem; }
.tour-jump a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1.15rem; border: 2px solid var(--river); border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--river); }
.tour-jump a:hover { background: var(--river); color: var(--white); }
.tour-jump span { font-weight: 500; opacity: 0.75; }
.tour-group + .tour-group { margin-top: var(--section); }

/* A tour page ---------------------------------------------------------------- */
.tour-head { padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.tour-head h1 { max-width: 24ch; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.tour-head .lead { max-width: 64ch; }
.tour-facts { display: flex; flex-wrap: wrap; margin: clamp(1.5rem, 3.5vw, 2.25rem) 0 0; gap: 1rem 0; }
.tour-facts div { padding-right: clamp(1.25rem, 3vw, 2.5rem); margin-right: clamp(1.25rem, 3vw, 2.5rem); border-right: 1px solid rgba(255, 255, 255, 0.2); }
.tour-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.tour-facts dt { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: #b9d3cc; }
.tour-facts dt .icon { width: 18px; height: 18px; color: var(--raft-orange-2); }
.tour-facts dd { margin: 0.15rem 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -0.01em; line-height: 1.2; }
.tour-facts small { font-family: var(--body); font-weight: 500; font-size: 0.9rem; letter-spacing: 0; color: #d6e7e2; }
@media (max-width: 900px) {
  .tour-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
  .tour-facts div, .tour-facts div:last-child { border: 0; margin: 0; padding: 0; }
  .tour-facts small { display: block; }
}

.tour-photos-band { position: relative; background: linear-gradient(var(--river) 0 55%, var(--foam) 55%); }
.tour-photos-band .wrap { position: relative; }
.tour-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; grid-template: repeat(2, 1fr) / 2fr 1fr 1fr; height: clamp(320px, 38vw, 480px); }
.tour-gallery li { min-width: 0; min-height: 0; }
.tour-gallery a { display: block; height: 100%; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.tour-gallery a:focus-visible { outline-color: var(--raft-orange); outline-offset: -4px; }
.tour-gallery .photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tour-gallery a:hover .photo { transform: scale(1.025); }
.tour-gallery li:first-child { grid-row: 1 / -1; }
.tour-gallery li:nth-child(n + 6) { display: none; }
.tour-gallery-1 { grid-template: 1fr / 1fr; }
.tour-gallery-2 { grid-template: 1fr / 1.5fr 1fr; }
.tour-gallery-3 { grid-template: repeat(2, 1fr) / 2fr 1fr; }
.tour-gallery-4 li:nth-child(2) { grid-column: 2 / -1; }
.tour-photos { position: absolute; right: calc(var(--gutter) + 0.85rem); bottom: 0.85rem; min-height: 44px; padding: 0.55rem 1.1rem; background: var(--white); color: var(--river); font-size: 0.95rem; box-shadow: 0 4px 16px rgba(8, 38, 36, 0.25); }
.tour-photos[hidden] { display: none; }
.tour-photos:hover { background: var(--mist); }
@media (max-width: 760px) {
  .tour-photos-band { background: linear-gradient(var(--river) 0 50%, var(--foam) 50%); }
  .tour-gallery, .tour-gallery-1, .tour-gallery-2, .tour-gallery-3 { display: flex; height: auto; gap: 0.6rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tour-gallery::-webkit-scrollbar { display: none; }
  .tour-gallery li, .tour-gallery li:nth-child(n + 6) { display: block; flex: 0 0 90%; scroll-snap-align: start; }
  .tour-gallery-1 li { flex-basis: 100%; }
  .tour-gallery .photo { aspect-ratio: 4 / 3; height: auto; }
  .tour-photos { right: calc(var(--gutter) + 0.6rem); bottom: 0.6rem; font-size: 0.9rem; padding: 0.45rem 0.95rem; }
}

/* Packages: one row each, so they compare at a glance. */
.tour-packages { padding-top: clamp(2.25rem, 5vw, 3.75rem); }
.tour-packages .section-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.tour-packages .section-head h2 { margin-bottom: 0.35em; }
.tour-packages .notice { margin-bottom: 1rem; }
.packs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pack { display: grid; grid-template: "media main points buy" auto "details details details details" auto / 200px minmax(0, 1.15fr) minmax(0, 1fr) 190px; column-gap: 1.5rem; background: var(--white); border: 2px solid var(--line); border-radius: 6px; scroll-margin-top: 6rem; transition: border-color 0.15s; }
.pack:hover, .pack:focus-within, .pack:target { border-color: var(--river); }
.pack-media { grid-area: media; padding: 1rem 0 1rem 1rem; }
.pack-media .photo { height: 100%; min-height: 150px; object-fit: cover; border-radius: 4px; }
.pack-main { grid-area: main; padding-block: 1.1rem; }
.pack-main h3 { margin: 0 0 0.6rem; font-size: 1.25rem; }
.pack-tag { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0 0 0.6rem; padding: 0.2rem 0.7rem 0.2rem 0.45rem; border-radius: 999px; background: var(--mist); color: var(--river-2); font-size: 0.86rem; font-weight: 600; }
.pack-tag .icon { width: 16px; height: 16px; }
.pack-tag-van { background: #e2eef8; color: #124f7c; }
.pack-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; color: var(--stone); font-size: 0.95rem; }
.pack-meta li { display: flex; align-items: flex-start; gap: 0.45rem; }
.pack-meta .icon { width: 17px; height: 17px; margin-top: 0.22em; color: var(--raft-blue); }
.pack-points { grid-area: points; align-self: center; margin: 1.1rem 0; font-size: 0.95rem; line-height: 1.45; }
.pack-points li:last-child { margin-bottom: 0; }
.pack-buy { grid-area: buy; display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; padding: 1.1rem 1.25rem 1.1rem 0; text-align: right; }
.pack-buy .tour-price > * { display: block; }
.pack-buy .tour-price strong { font-size: 1.5rem; }
.pack-note { margin: 0; font-size: 0.86rem; line-height: 1.4; color: var(--stone); }
.pack-buy .btn { width: 100%; }
.pack-details { grid-area: details; border-top: 1px solid var(--line); }
.pack-details summary { list-style: none; display: flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0 1.15rem; font-weight: 700; color: var(--river-2); cursor: pointer; }
.pack-details summary::-webkit-details-marker { display: none; }
.pack-details summary::after { content: ""; width: 0.55rem; height: 0.55rem; border-right: 2.5px solid var(--raft-orange); border-bottom: 2.5px solid var(--raft-orange); transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
.pack-details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.pack-details summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.pack-text, .pack-lists { padding: 0 1.15rem; }
.pack-text { padding-bottom: 0.5rem; }
.pack-text p, .pack-text ul { margin-bottom: 0.75em; }
.pack-sub { font-weight: 700; }
.pack-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem 2rem; padding-bottom: 1rem; font-size: 0.97rem; line-height: 1.5; }
.pack-lists h4 { font-family: var(--body); font-size: 1rem; font-weight: 700; margin: 0.5rem 0 0.6rem; }
.pack-notes { grid-column: span 2; }
.pack-notes p { margin-bottom: 0.5em; color: var(--stone); }
@media (max-width: 1040px) {
  .pack { grid-template: "media main buy" auto "points points points" auto "details details details" auto / 170px minmax(0, 1fr) 180px; }
  .pack-points { margin: 0; padding: 0.9rem 1.15rem 1rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem 1.25rem; }
}
@media (max-width: 760px) {
  .pack { grid-template: "media main" auto "points points" auto "buy buy" auto "details details" auto / 112px minmax(0, 1fr); column-gap: 0.9rem; }
  .pack-media { padding: 0.85rem 0 0.85rem 0.85rem; }
  .pack-media .photo { min-height: 112px; }
  .pack-main { padding: 0.85rem 0.85rem 0.85rem 0; }
  .pack-main h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
  .pack-tag { margin-bottom: 0.45rem; font-size: 0.82rem; }
  .pack-points { grid-template-columns: 1fr; padding: 0.85rem 1rem; }
  .pack-buy { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.35rem 1rem; padding: 0.15rem 1rem 1rem; text-align: left; }
  .pack-buy .tour-price > * { display: inline-block; }
  .pack-buy .tour-price strong { font-size: 1.35rem; }
  .pack-buy .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; min-width: 7rem; }
  .pack-lists { grid-template-columns: 1fr; }
  .pack-notes { grid-column: auto; }
}

.tour-about { padding-top: 0; }
.tour-about .trip-main > h2:first-child { margin-top: 0; }
.tour-prose { padding-block: 0; font-size: 1.0625rem; line-height: 1.65; }
.tour-prose h3 { margin-top: 1.6em; }
.tour-prose table { min-width: 560px; }
.tour-side .tour-price strong { font-size: 1.6rem; }
.tour-side .tour-price-from { display: block; }
@media (max-width: 940px) {
  .tour-about .trip-grid { grid-template-columns: minmax(0, 1fr); }
  .tour-side { display: none; }
}
.run-meta { margin-bottom: 0.5em; font-size: 0.92rem; font-weight: 600; color: var(--raft-blue) !important; }
@media (min-width: 861px) { .run-stop > .run-marker:first-child + .run-copy { grid-column: 3; } }
.tour-lists { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.tour-lists h2, .tour-where h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tour-where .split-copy h2 + p { margin-bottom: 1rem; }
.tour-where .cta-row { margin-bottom: 2.25rem; }
.tour-where { align-items: start; }
@media (max-width: 860px) { .tour-where .split-media { order: 0; } }
.tour-where .map-frame { background: var(--mist) linear-gradient(135deg, transparent 49.5%, var(--line) 49.5% 50.5%, transparent 50.5%) 0 0 / 48px 48px; }
.map-open { display: grid; grid-auto-flow: column; place-content: center; align-items: center; gap: 0.5rem; height: 100%; font-weight: 700; color: var(--river); }

/* Phones: price and way to the packages stay at hand. */
.tour-bar { display: none; }
@media (max-width: 940px) {
  .tour-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(8, 38, 36, 0.1); transition: transform 0.25s, visibility 0.25s; }
  .tour-bar.is-away { transform: translateY(105%); visibility: hidden; }
  .tour-bar .tour-price { line-height: 1.15; }
  .tour-bar .tour-price strong { font-size: 1.2rem; }
  .tour-bar .tour-price s { display: none; }
  .tour-bar .tour-price-unit { display: block; font-size: 0.82rem; }
  .tour-bar .btn { min-height: 48px; padding: 0.7rem 1.25rem; white-space: nowrap; }
  .has-bar .wa-fab { bottom: calc(5.4rem + env(safe-area-inset-bottom)); transition: bottom 0.25s; }
  .has-bar:has(.tour-bar.is-away) .wa-fab { bottom: 1rem; }
}

/* Photo viewer ---------------------------------------------------------------- */
.view { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--deep); color: var(--white); }
.view[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.view::backdrop { background: var(--deep); }
.view-top { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem clamp(0.75rem, 3vw, 1.5rem); }
.view-count { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.view-stage { position: relative; display: grid; place-items: center; min-height: 0; padding-inline: clamp(0px, 6vw, 5.5rem); touch-action: pan-y; }
.view-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.view-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--white); cursor: pointer; }
.view-btn:hover { background: rgba(255, 255, 255, 0.25); }
.view-prev, .view-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.view-prev { left: clamp(0.5rem, 2vw, 1.25rem); }
.view-next { right: clamp(0.5rem, 2vw, 1.25rem); }
.view-prev[hidden], .view-next[hidden] { display: none; }
.view-info { padding: 0.9rem 1rem calc(1.1rem + env(safe-area-inset-bottom)); text-align: center; }
.view-caption { margin: 0 auto; color: #d6e7e2; }
.view :focus-visible { outline-color: var(--raft-orange-2); }
@media (max-width: 600px) {
  .view-prev, .view-next { top: auto; bottom: 0.5rem; transform: none; background: rgba(8, 38, 36, 0.72); }
}

/* The booking sheet -------------------------------------------------------------- */
.sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: none; height: 94dvh; max-height: 94dvh; margin: 0; padding: 0; border: 0; border-radius: 18px 18px 0 0; background: var(--foam); color: var(--rock); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; animation: sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.3, 1); }
.sheet::backdrop { background: rgba(8, 38, 36, 0.62); animation: fade-in 0.2s; }
@keyframes sheet-up { from { transform: translateY(12%); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
.sheet [hidden] { display: none !important; }
.sheet-head { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.6rem 0.7rem 1.15rem; background: var(--river); color: var(--white); }
.sheet-names { flex: 1; min-width: 0; }
.sheet-tour { margin: 0; font-size: 0.88rem; line-height: 1.3; color: #b9d3cc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-title { margin: 0; font-size: 1.2rem; line-height: 1.2; text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.sheet-title:focus { outline: 0; }
.sheet-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
.sheet-icon:hover { background: rgba(255, 255, 255, 0.14); }
.sheet-icon:focus-visible { outline-color: var(--raft-orange-2); outline-offset: -3px; }
.sheet-head .sheet-icon:first-child { margin-left: -0.6rem; }
.sheet-progress { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--river); }
.sheet-progress span { height: 4px; background: rgba(255, 255, 255, 0.18); }
.sheet-progress .is-on { background: var(--raft-orange); }
.sheet-scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.15rem 1.75rem; scroll-padding-block: 1rem; }
.sheet-count { margin: 0; font-size: 0.9rem; color: var(--stone); }
.sheet-loading { padding: 3rem 0; text-align: center; color: var(--stone); }
.sheet-notice:not(:empty) { margin: 0.75rem 0; }
.sheet .notice { margin-block: 0.75rem; }
.sheet-part { min-width: 0; margin: 0; padding: 1.15rem 0 0; border: 0; }
.sheet-part + .sheet-part { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.sheet-part > h3, .sheet-part > legend { float: left; width: 100%; margin: 0 0 0.75rem; padding: 0; font-family: var(--display); font-weight: 750; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.2; }
.sheet-part > * { clear: both; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 1.15rem calc(0.7rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(8, 38, 36, 0.07); }
.sheet-total { display: grid; margin: 0; line-height: 1.2; }
.sheet-total-label, .sheet-total small { font-size: 0.82rem; color: var(--stone); }
.sheet-total strong { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.015em; white-space: nowrap; }
.sheet-next { min-height: 50px; padding-inline: clamp(1rem, 4.5vw, 1.5rem); white-space: nowrap; }
[aria-disabled="true"].btn { opacity: 0.6; cursor: progress; }
@media (min-width: 760px) {
  .sheet { inset: 0; width: 640px; height: fit-content; max-height: min(88dvh, 900px); margin: auto; border-radius: 16px; }
  .sheet-head { padding: 1rem 0.9rem 1rem 1.75rem; }
  .sheet-scroll { padding: 1.25rem 1.75rem 2rem; }
  .sheet-foot { padding: 0.9rem 1.75rem; }
  .sheet-title { font-size: 1.35rem; }
}

/* Calendar */
.cal { max-width: 400px; margin-inline: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.35rem; }
.cal-title { margin: 0; font-weight: 700; }
.cal-nav { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--river); cursor: pointer; }
.cal-nav:hover:not(:disabled) { background: var(--mist); }
.cal-nav:disabled { color: #b4c6c0; cursor: default; }
.cal-week, .cal-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-week { margin-bottom: 0.25rem; font-size: 0.8rem; font-weight: 600; color: var(--stone); text-align: center; }
.cal-row > div { display: grid; place-items: center; padding: 2px 0; }
.cal-day { position: relative; display: grid; place-items: center; width: min(44px, 100%); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #93a6a0; font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums; }
button.cal-day:not(:disabled) { background: var(--white); color: var(--river); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
button.cal-day:not(:disabled):hover { box-shadow: inset 0 0 0 2px var(--river); }
button.cal-day.is-today { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--raft-blue); }
button.cal-day.is-selected:not(:disabled) { background: var(--raft-orange); color: #1d0f04; box-shadow: none; }
button.cal-day.is-few::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--raft-orange); }
button.cal-day.is-selected.is-few::after { background: #1d0f04; }
.cal-day.is-loading { color: #a9bab4; animation: pulse 1.1s ease-in-out infinite alternate; }
.cal-day.is-out { animation: none; color: #c5d2cd; }
@keyframes pulse { from { background: var(--mist); } to { background: #eef5f2; } }
.cal-none { margin: 0.5rem 0 0; text-align: center; color: var(--stone); }

/* Start times */
.times { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.time { position: relative; }
.time input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.time input:disabled { cursor: default; }
.time-face { display: grid; justify-items: center; align-content: center; min-width: 78px; min-height: 48px; padding: 0.35rem 0.9rem; border: 2px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.time-face small { font-size: 0.75rem; font-weight: 600; color: var(--few); }
.time input:hover:not(:disabled) + .time-face { border-color: var(--river); }
.time input:checked + .time-face { background: var(--river); border-color: var(--river); color: var(--white); }
.time input:checked + .time-face small { color: #ffc9ab; }
.time input:disabled + .time-face { background: transparent; color: #93a6a0; border-style: dashed; font-weight: 500; }
.time input:disabled + .time-face small { color: var(--stone); }
.time input:focus-visible + .time-face { outline: 3px solid var(--raft-blue); outline-offset: 3px; }

/* How many */
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.qty-price { margin: 0; color: var(--stone); }
.qty-price strong { color: var(--rock); }
.qty-note { margin: 0.6rem 0 0; font-size: 0.92rem; color: var(--stone); }
.qty-note:empty { display: none; }
.step { display: flex; align-items: center; gap: 0.35rem; }
.step-btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 2px solid var(--river); border-radius: 50%; background: var(--white); color: var(--river); cursor: pointer; }
.step-btn:hover:not([aria-disabled="true"]) { background: var(--river); color: var(--white); }
.step-btn[aria-disabled="true"] { border-color: var(--line); color: #a9bab4; cursor: default; }
.step-value { min-width: 2.4rem; text-align: center; font-family: var(--display); font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.extra-qty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 1rem; border: 2px solid var(--river); border-top: 0; border-radius: 0 0 6px 6px; background: var(--white); margin-top: -4px; }

/* Choices: radio buttons and checkboxes as cards */
.choices { display: grid; gap: 0.6rem; }
.choice { display: flex; align-items: center; gap: 0.85rem; min-height: 56px; padding: 0.8rem 1rem; border: 2px solid var(--line); border-radius: 6px; background: var(--white); cursor: pointer; transition: border-color 0.15s; }
.choice:hover { border-color: var(--field-line); }
.choice:has(input:checked) { border-color: var(--river); box-shadow: inset 4px 0 0 var(--raft-orange); }
.choice:has(input:focus-visible) { outline: 3px solid var(--raft-blue); outline-offset: 2px; }
.choice input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--river); }
.choice input:focus-visible { outline: 0; }
.choice-img { flex: none; width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.choice-text { flex: 1; min-width: 0; display: grid; gap: 0.15rem; }
.choice-title { font-weight: 700; line-height: 1.3; }
.choice-note { font-size: 0.9rem; line-height: 1.4; color: var(--stone); }
.choice-price { flex: none; text-align: right; font-weight: 700; white-space: nowrap; line-height: 1.25; }
.choice-price small { display: block; font-weight: 500; font-size: 0.82rem; color: var(--stone); }
@media (max-width: 420px) {
  .choice { flex-wrap: wrap; gap: 0.5rem 0.75rem; padding: 0.8rem 0.85rem; }
  .choice-img { display: none; }
  .choice-price { width: 100%; padding-left: calc(22px + 0.75rem); text-align: left; }
  .choice-price small { display: inline; margin-left: 0.35rem; }
}

/* Fields */
.field { margin-bottom: 1.1rem; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 700; line-height: 1.35; }
.field-optional { font-weight: 500; color: var(--stone); }
.field-hint { margin: -0.15rem 0 0.4rem; font-size: 0.9rem; color: var(--stone); }
.field-input { display: block; width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; border: 1.5px solid var(--field-line); border-radius: 6px; background: var(--white); color: var(--rock); font: inherit; font-size: 1rem; line-height: 1.4; }
textarea.field-input { resize: vertical; }
select.field-input { appearance: none; padding-right: 2.6rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230f3b39' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center; text-overflow: ellipsis; }
.field-input:focus-visible { outline: 3px solid var(--raft-blue); outline-offset: 1px; border-color: var(--river); }
.field-input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { display: flex; align-items: flex-start; gap: 0.4rem; margin: 0.5rem 0 0; color: var(--error); font-size: 0.95rem; font-weight: 600; line-height: 1.4; }
.field-error[hidden] { display: none; }
.field-error .icon { margin-top: 0.1em; }

/* Price lines */
.price-list { margin: 0; }
.price-list > div { display: flex; justify-content: space-between; gap: 1.25rem; padding: 0.4rem 0; }
.price-list dt { color: var(--stone); }
.price-list dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.price-list .price-total { margin-top: 0.35rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.price-list .price-total dt, .price-list .price-now dt { color: var(--rock); font-weight: 700; }
.price-list .price-total dd { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.price-list .price-usd { font-size: 0.9rem; }
.price-list .price-usd dd { font-weight: 500; color: var(--stone); }
.sheet-recap { margin-top: 0.75rem; padding: 1rem 1.15rem; border-radius: 6px; background: var(--mist); }
.sheet-recap-when { margin: 0 0 0.4rem; font-weight: 700; }
.sheet-recap .price-total { border-color: rgba(15, 59, 57, 0.2); }
.sheet-edit { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.sheet-ask { margin: 0.6rem 0 0; }
.sheet-ask .text-link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; }
.sheet-scroll > .sheet-body > .small:last-child { margin: 1.25rem 0 0; }

/* The booking page ------------------------------------------------------------------ */
.is-checkout { display: flex; flex-direction: column; min-height: 100dvh; }
.is-checkout main { flex: 1; }
.pay-page .page-head { padding-block: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3.5vw, 2.25rem); }
.pay-page .page-head h1 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.75rem); }
.pay-page .page-head h1:focus { outline: 0; }
.pay-page .crumbs { display: none; }
.pay-section { padding-block: clamp(1.5rem, 4vw, 2.5rem) var(--section); }
.pay-wrap { max-width: 1060px; }
.pay-loading { padding: 3rem 0; text-align: center; color: var(--stone); max-width: none; }

/* Three stops on the river, the same markers as on the home page. */
.pay-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); padding: 0; }
.pay-steps::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 9px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='20' viewBox='0 0 64 20'%3E%3Cpath d='M0 10 C 16 20 48 0 64 10' fill='none' stroke='%231c74b5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center; opacity: 0.5; }
.pay-steps li { position: relative; display: grid; justify-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 600; text-align: center; color: var(--stone); }
.pay-stop { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--mist); color: var(--stone); font-family: var(--display); font-weight: 800; box-shadow: 0 0 0 5px var(--foam), 0 0 0 7px var(--line); }
.pay-steps .is-done .pay-stop { background: var(--river); color: var(--white); box-shadow: 0 0 0 5px var(--foam), 0 0 0 7px var(--river); }
.pay-steps .is-now .pay-stop { background: var(--raft-orange); color: #1d0f04; box-shadow: 0 0 0 5px var(--foam), 0 0 0 7px var(--raft-blue); }
.pay-steps .is-now, .pay-steps .is-done { color: var(--rock); }

.pay-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.pay-main, .pay-card, .pay-panel { background: var(--white); border: 2px solid var(--line); border-radius: 6px; padding: clamp(1.15rem, 3vw, 1.9rem); }
.pay-main { border-color: var(--river); }
.pay-main .notice { margin-bottom: 1.25rem; }
.pay-amount { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin: 0 0 0.75rem; }
.pay-amount strong { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1; }
.pay-hold { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1.25rem; padding: 0.65rem 0.9rem; border-radius: 6px; background: var(--mist); font-size: 0.97rem; line-height: 1.35; }
.pay-hold .icon { color: var(--raft-blue); }
.pay-hold strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-form .sheet-part { padding-top: 0; }
.pay-form .btn { margin-top: 1.15rem; min-height: 54px; font-size: 1.05rem; }
.pay-safe { display: flex; align-items: flex-start; gap: 0.45rem; margin: 0.9rem 0 0; }
.pickup-note { display: block; font-weight: 400; line-height: 1.4; color: var(--stone); }
.pay-card-tour { margin: 0; font-family: var(--display); font-weight: 750; font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.01em; }
.pay-card-pack { margin: 0.3rem 0 0; color: var(--stone); }
.pay-card .price-list { margin-bottom: 1rem; }
.pay-card .small { margin: 0; }
.pay-panel { max-width: 720px; }
.pay-panel h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.pay-panel-warn { border-left: 6px solid var(--raft-orange); }
.pay-panel-wait { margin-inline: auto; text-align: center; padding-block: clamp(2rem, 6vw, 3.5rem); border-color: transparent; background: transparent; }
.pay-panel-wait p { margin-inline: auto; color: var(--stone); }
.pay-panel .cta-row { margin-top: 1.25rem; }
.pay-panel button.text-link { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.pay-wrap > .pay-panel + .pay-card { margin-top: 1.25rem; max-width: 720px; }
.pay-code strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.03em; }
.spinner { display: block; width: 46px; height: 46px; margin: 0 auto 1.25rem; border: 5px solid var(--line); border-top-color: var(--raft-orange); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
@media (max-width: 860px) { .pay-grid { grid-template-columns: minmax(0, 1fr); } }

.ok-head { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.ok-head p { margin: 0; font-size: 1.1rem; max-width: 60ch; }
.ok-mark { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--river); color: var(--white); }
.voucher-actions { justify-content: center; margin-bottom: 1.75rem; }
.voucher { max-width: 760px; margin-inline: auto; background: var(--white); border: 2px solid var(--river); border-radius: 12px; overflow: hidden; }
.voucher-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem 2rem; padding: 1.35rem clamp(1.15rem, 4vw, 2rem) 2.1rem; background: var(--river); color: var(--white); }
.voucher-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14' viewBox='0 0 56 14'%3E%3Cpath d='M0 7 C 14 14 42 0 56 7 V14 H0Z' fill='%23fff'/%3E%3C/svg%3E") repeat-x left bottom; }
.voucher-head p { margin: 0; }
.voucher-name { font-weight: 600; color: #d6e7e2; }
.voucher-kind { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.1; letter-spacing: -0.02em; }
.voucher-code { display: grid; line-height: 1.2; }
.voucher-code span { font-size: 0.85rem; color: #b9d3cc; }
.voucher-code strong { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em; white-space: nowrap; }
.voucher-body { padding: 1rem clamp(1.15rem, 4vw, 2rem) 1.75rem; }
.voucher-tour { margin: 0; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.voucher-pack { margin: 0.4rem 0 1.25rem; color: var(--stone); }
.voucher-when { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 1rem; padding: 1rem 1.15rem; border-radius: 6px; background: var(--mist); }
.voucher-when span { display: block; font-size: 0.85rem; color: var(--stone); }
.voucher-when strong { font-family: var(--display); font-size: 1.1rem; line-height: 1.2; letter-spacing: -0.01em; }
.voucher .rows dd { max-width: 62%; overflow-wrap: anywhere; }
.voucher .rows dt { flex: none; max-width: 50%; }
.voucher-balance dt { color: var(--rock) !important; font-weight: 700; }
.voucher-balance dd { font-family: var(--display); font-weight: 800 !important; font-size: 1.15rem; }
.voucher-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; font-size: 0.97rem; }
.voucher-lists h3 { margin: 0.5rem 0 0.6rem; font-size: 1.1rem; }
.voucher-notes { margin-bottom: 1rem; border-block: 1px solid var(--line); }
.voucher-notes summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; cursor: pointer; }
.voucher-notes summary::-webkit-details-marker { display: none; }
.voucher-notes summary::after { content: ""; width: 0.55rem; height: 0.55rem; margin-right: 0.3rem; border-right: 2.5px solid var(--raft-orange); border-bottom: 2.5px solid var(--raft-orange); transform: translateY(-2px) rotate(45deg); }
.voucher-notes[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.voucher-notes p { font-size: 0.95rem; color: var(--stone); margin-bottom: 0.6em; max-width: none; }
.voucher-body > .small { margin: 0; }
.pay-more { margin: 2rem auto 0; text-align: center; }
@media (max-width: 600px) {
  .ok-head { justify-content: flex-start; align-items: flex-start; }
  .ok-mark { width: 44px; height: 44px; }
  .voucher-actions .btn { flex: 1 1 100%; }
  .voucher-when { grid-template-columns: 1fr 1fr; }
  .voucher-when div:first-child { grid-column: 1 / -1; }
  .voucher-lists { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .sheet[open], .sheet::backdrop, .cal-day.is-loading { animation: none; }
  .spinner { animation-duration: 3s; }
  .tour-card, .tour-card .photo, .tour-card-go .icon, .tour-gallery .photo, .tour-bar, .has-bar .wa-fab, .choice, .pack, .pack-details summary::after { transition: none; }
  .tour-card:hover .photo, .tour-gallery a:hover .photo { transform: none; }
}

/* The voucher on paper: only the voucher, in dark ink on white, on one A4 page. */
@media print {
  .is-checkout .site-header, .is-checkout .page-head, .is-checkout .site-footer, .pay-steps, .ok-head, .voucher-actions, .pay-more, .tour-bar { display: none !important; }
  .is-checkout { display: block; background: #fff; font-size: 10pt; line-height: 1.4; }
  .pay-section { padding: 0; }
  .pay-wrap { max-width: none; padding: 0; }
  .voucher { max-width: none; border: 1.5pt solid #17201f; border-radius: 6pt; }
  .voucher-head { background: none; color: #17201f; border-bottom: 1.5pt solid #17201f; padding-block: 8pt; }
  .voucher-head::after { display: none; }
  .voucher-name, .voucher-code span { color: #4c5a57; }
  .voucher-body { padding-block: 8pt; }
  .voucher-pack { margin: 2pt 0 8pt; }
  .voucher-when { padding: 6pt 10pt; background: none; border: 1pt solid #c9dad4; }
  .voucher .rows { margin: 8pt 0; }
  .voucher .rows div { padding: 3pt 0; }
  .voucher-lists { font-size: 8.5pt; }
  .voucher-lists h3 { margin: 4pt 0; font-size: 10pt; }
  .voucher-lists li { margin-bottom: 2pt; }
  .voucher-lists li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .voucher-notes { margin-bottom: 6pt; }
  .voucher-notes summary { min-height: 0; padding-block: 4pt; }
  .voucher-notes summary::after { display: none; }
  .voucher-notes p { font-size: 8.5pt; margin-bottom: 2pt; }
  .voucher .rows div, .voucher-notes p { break-inside: avoid; }
  .voucher a { text-decoration: none; }
  @page { margin: 12mm; }
}
