/* =========================================================
   Anaconda Expeditions — landing styles
   Palette: blackwater green, river gold, mist, mud
   ========================================================= */
:root {
  --blackwater: #101a14;
  --ink: #16241c;
  --mist: #e9eee7;
  --mist-deep: #d9e1d6;
  --gold: #d4a017;
  --gold-deep: #a97d0c;
  --mud: #5a3e2b;
  --paper: #f7f8f4;
  --white: #ffffff;
  --wa: #25d366;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --gutter: clamp(18px, 5vw, 48px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 72px; /* room for floating WhatsApp button on mobile */
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.75rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { max-width: 720px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  padding: 16px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--blackwater); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-small { padding: 10px 14px; font-size: .9rem; background: var(--gold); color: var(--blackwater); }

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  color: var(--white);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--blackwater); border: 2px solid var(--gold); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--gold); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: .95rem; line-height: 1; letter-spacing: .01em; }
.topnav { display: none; gap: 26px; font-family: var(--display); font-weight: 500; font-size: .95rem; }
.topnav a { text-decoration: none; opacity: .9; }
.topnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) { .topnav { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--blackwater); color: var(--white); overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 701px) { .hero img { object-position: 60% 50%; } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,26,20,.92) 0%, rgba(16,26,20,.55) 40%, rgba(16,26,20,.08) 75%, rgba(16,26,20,.35) 100%);
}
.hero-text { position: relative; z-index: 1; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 120px 0 44px; }
.hero-kicker { font-family: var(--display); font-weight: 500; color: var(--gold); margin-bottom: 14px; font-size: .95rem; }
.hero h1 { font-size: clamp(2.3rem, 8.5vw, 5rem); font-weight: 700; max-width: 14ch; letter-spacing: -0.025em; margin-bottom: .4em; text-wrap: balance; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 46ch; color: rgba(255,255,255,.88); margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 200px; text-align: center; }
@media (min-width: 700px) { .hero-actions .btn { flex: 0 0 auto; } }

/* ---------- Fact strip ---------- */
.facts { background: var(--blackwater); color: var(--white); border-top: 1px solid rgba(255,255,255,.1); }
.facts dl { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.facts dl > div { padding: 18px 12px 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.facts dt { font-family: var(--display); color: var(--gold); font-size: .85rem; font-weight: 500; margin-bottom: 4px; }
.facts dd { margin: 0; font-size: .98rem; line-height: 1.35; }
@media (min-width: 800px) {
  .facts dl { grid-template-columns: repeat(4, 1fr); }
  .facts dl > div { border-bottom: 0; padding: 24px 18px 24px 0; }
  .facts dl > div + div { border-left: 1px solid rgba(255,255,255,.1); padding-left: 18px; }
}

/* ---------- Two-column blocks ---------- */
.two-col { display: grid; gap: 34px; align-items: center; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.col-text p { max-width: 58ch; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: #5b675e; margin-top: 10px; font-style: italic; }

/* ---------- Expedition ---------- */
.expedition { background: var(--mist); }
.expedition h2 { margin-bottom: .8em; }

/* ---------- Timeline ---------- */
.day { background: var(--paper); }
.day .lead { max-width: 60ch; font-size: 1.1rem; margin-bottom: 2.2em; }
.timeline { list-style: none; padding: 0; margin: 0; max-width: 780px; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--mist-deep); }
.timeline li:last-child { border-bottom: 1px solid var(--mist-deep); }
.timeline time { font-family: var(--display); font-weight: 700; color: var(--mud); font-size: 1.05rem; padding-top: 3px; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { margin: 0; max-width: 58ch; color: #33413a; }
@media (min-width: 700px) { .timeline li { grid-template-columns: 110px 1fr; gap: 24px; padding: 26px 0; } }

/* ---------- Included ---------- */
.included { background: var(--blackwater); color: var(--white); }
.included h2 { color: var(--white); }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 8px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.included .note { color: rgba(255,255,255,.72); font-size: .95rem; max-width: 52ch; }
.included figcaption { color: rgba(255,255,255,.65); }

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); padding-bottom: 0; }
.gallery .wrap h2 { margin-bottom: 1.2em; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gallery-grid picture:first-child { grid-column: 1 / -1; }
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid picture:first-child img { aspect-ratio: 16 / 9; }
@media (min-width: 800px) {
  .gallery-grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 320px; }
  .gallery-grid picture:first-child { grid-row: span 2; grid-column: auto; }
  .gallery-grid img, .gallery-grid picture:first-child img { aspect-ratio: auto; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--mist); }
.faq h2 { margin-bottom: 1em; }
details { border-top: 1px solid var(--mist-deep); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--mist-deep); }
summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.12rem; padding: 14px 36px 14px 0; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 10px; height: 10px; border-right: 2px solid var(--mud); border-bottom: 2px solid var(--mud); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 26px; }
details p { margin: 0 0 16px; max-width: 62ch; color: #33413a; }

/* ---------- Book ---------- */
.book { background: var(--mud); color: var(--white); text-align: center; }
.book h2 { color: var(--white); margin-inline: auto; }
.book p { max-width: 50ch; margin-inline: auto; }
.book-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 18px; }
.book-actions .btn { flex: 1 1 220px; text-align: center; }
@media (min-width: 600px) { .book-actions .btn { flex: 0 0 auto; } }
.book-note { font-size: .92rem; color: rgba(255,255,255,.75); }

/* ---------- Footer ---------- */
.footer { background: var(--blackwater); color: rgba(255,255,255,.8); padding: 44px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font-family: var(--display); font-weight: 700; color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-legal { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.wa-float:hover { background: #1fb959; }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
