/* 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; } }
