/* ==========================================================================
   Beautiful Tours · Guided Bird Tours — stylesheet for the whole new site
   File: css/site.css  (every page uses this one file)
   Part 1: colors, header, home page.  Part 2 (further down): inner pages (tours, packages, guides).

   COLOR GUIDE (edit here, changes the whole page)
   --forest-*  deep rainforest greens, from the photo's foliage and the logo's dark type
   --sage-*    pale leaf greens, sampled from the Violet Sabrewing photo background
   --cream     warm page background (softer than pure white)
   --red-*     the hibiscus red from the Beautiful Tours logo, darkened slightly so
               white text on buttons passes accessibility contrast (5.9 : 1)
   --sand      warm accent for small labels and tags
   ========================================================================== */

:root {
  --forest-950: #0a1f1a;
  --forest-900: #0f2a24;
  --forest-800: #16372f;
  --forest-700: #1f4d41;

  --sage-100: #eaf0e7;
  --sage-200: #d6e2d1;
  --sage-300: #c3d6bd;

  --cream: #f7f4ec;
  --paper: #ffffff;
  --ink: #1c2723;
  --muted: #4a5a53;
  --line: #ddd8c8;
  --mist: #b9cbc2;
  --soft-text: #d5e0da;

  --red: #c8102e;
  --red-dark: #a90e24;
  --red-text: #b80f25;
  --sand: #d9c58b;

  --font-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 36, 0.06), 0 10px 28px rgba(15, 42, 36, 0.09);
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --max: 1200px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-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, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--sand); color: var(--forest-950); padding: 0.7rem 1rem;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(247, 244, 236, 0.55); color: var(--cream); }
.btn--ghost:hover { background: rgba(247, 244, 236, 0.1); border-color: var(--cream); }
.btn--outline { border-color: var(--forest-700); color: var(--forest-700); }
.btn--outline:hover { background: var(--forest-700); color: #fff; }
.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--forest-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 76px; }
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 54px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; align-items: center; gap: 1.6rem; }
.nav__list a {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: 0.97rem;
  padding: 0.35rem 0; border-bottom: 2px solid transparent; transition: border-color 0.2s;
}
.nav__list a:hover { border-bottom-color: var(--sand); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.35); color: var(--cream);
  border-radius: 10px; padding: 0.55rem 0.8rem; font: inherit; font-weight: 700; cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--forest-900); padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 0.95rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 1.05rem; }
  .nav .btn { margin-top: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--forest-900); }
.hero__copy {
  align-self: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 4.5rem);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red-text); margin-bottom: 0.9rem;
}
.hero .eyebrow { color: var(--sand); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; color: var(--cream);
  font-size: clamp(2.5rem, 1.2rem + 4.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero__lead { margin-top: 1.4rem; color: var(--soft-text); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero__points {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.75rem; margin-top: 2.25rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14); color: var(--mist); font-size: 0.92rem; font-weight: 600;
}
.hero__points li { display: flex; align-items: center; gap: 0.55rem; }
.hero__points li::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--sand); flex: none; }

.hero__media { position: relative; min-height: clamp(360px, 62vh, 720px); overflow: hidden; background: var(--sage-200); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 32%; }
.hero__media::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 90px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--forest-900), rgba(15, 42, 36, 0));
}
.hero__caption {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  background: rgba(10, 31, 26, 0.72); color: var(--cream); font-size: 0.82rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: 999px; backdrop-filter: blur(4px);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero__media::before { display: none; }
  .hero__copy { padding: 2.25rem var(--gutter) 3rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--sage { background: var(--sage-100); }
.section--white { background: var(--paper); }
.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section h2 {
  font-family: var(--font-display); font-weight: 700; color: var(--forest-900);
  font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3rem); line-height: 1.12; text-wrap: balance;
}
.section__intro { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.section__note { margin-top: 1.75rem; color: var(--muted); font-size: 0.95rem; }
.section__note a { color: var(--forest-700); font-weight: 700; }
.section__more { margin-top: 2rem; }

/* ---------- Tour cards ---------- */
.tours { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tours { grid-template-columns: minmax(0, 1fr); } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid rgba(15, 42, 36, 0.07); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 1;
  background: var(--sand); color: var(--forest-950);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.card__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.card__meta { font-size: 0.85rem; font-weight: 700; color: var(--red-text); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: var(--forest-900); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card__text { color: var(--muted); font-size: 0.98rem; }
.card__foot {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
}
.price { font-size: 0.8rem; color: var(--muted); line-height: 1.25; }
.price strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--forest-900); }
.card__links { display: flex; align-items: center; gap: 0.9rem; }
.card__details { font-weight: 700; font-size: 0.92rem; color: var(--forest-700); text-decoration: none; }
.card__details:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Featured (Darien) card */
.card--feature { grid-column: 1 / -1; flex-direction: row; background: var(--forest-900); border-color: transparent; }
.card--feature .card__media { flex: 1 1 52%; aspect-ratio: auto; min-height: 360px; }
.card--feature .card__body { flex: 1 1 48%; justify-content: center; gap: 1rem; padding: clamp(1.5rem, 3.4vw, 3rem); }
.card--feature .card__meta { color: var(--sand); }
.card--feature h3 { color: var(--cream); font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); }
.card--feature .card__text { color: var(--soft-text); font-size: 1.05rem; }
.card--feature .card__foot { border-top-color: rgba(255, 255, 255, 0.16); margin-top: 0.5rem; }
.card--feature .price { color: var(--mist); }
.card--feature .price strong { color: var(--cream); }
.card--feature .card__details { color: var(--sand); }
@media (max-width: 860px) {
  .card--feature { flex-direction: column; }
  .card--feature .card__media { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
}

/* ---------- Packages ---------- */
.packs { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pack {
  display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem 1.5rem;
  background: var(--paper); border-radius: var(--radius); border: 1px solid rgba(15, 42, 36, 0.08);
}
.pack .pack__big { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--red-text); }
.pack .pack__big small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; color: var(--muted); margin-left: 0.35rem; }
.pack h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; color: var(--forest-900); }
.pack p { color: var(--muted); font-size: 0.97rem; }
.pack a.pack__link { margin-top: auto; padding-top: 0.5rem; font-weight: 700; color: var(--forest-700); text-decoration: none; }
.pack a.pack__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Birding sites index ---------- */
.regions { display: grid; gap: 2.25rem 2.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .regions { grid-template-columns: minmax(0, 1fr); } }
.region h3 {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest-700); padding-bottom: 0.7rem; border-bottom: 2px solid var(--sand);
}
.region li { border-bottom: 1px solid var(--line); }
.region a { display: block; padding: 0.7rem 0; text-decoration: none; font-weight: 600; color: var(--ink); transition: color 0.2s, padding 0.2s; }
.region a:hover { color: var(--red-text); padding-left: 0.4rem; }

/* ---------- Why us ---------- */
.why { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why { grid-template-columns: minmax(0, 1fr); } }
.why__item { padding-left: 1.1rem; border-left: 3px solid var(--sand); }
.why__item h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--forest-900); margin-bottom: 0.35rem; }
.why__item p { color: var(--muted); font-size: 0.98rem; }

.brand-note {
  display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--sage-100); border-radius: var(--radius);
}
.brand-note img { width: clamp(150px, 20vw, 220px); flex: none; }
.brand-note p { color: var(--muted); }
.brand-note strong { color: var(--forest-900); }
@media (max-width: 640px) { .brand-note { flex-direction: column; align-items: flex-start; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.reviews__links { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }
.reviews__widget {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center;
}
.reviews__widget p { color: var(--muted); font-size: 0.95rem; }
.reviews__widget a { color: var(--forest-700); font-weight: 700; }
@media (max-width: 760px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact band ---------- */
.contact { background: var(--forest-800); color: var(--cream); text-align: center; }
.contact h2 { color: var(--cream); margin-inline: auto; }
.contact .eyebrow { color: var(--sand); }
.contact__text { max-width: 36rem; margin: 1.1rem auto 0; color: var(--soft-text); font-size: 1.1rem; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: var(--mist); font-size: 0.95rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; padding: clamp(3rem, 6vw, 4.5rem) 0; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer__brand img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 20rem; }
.site-footer h3 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.site-footer li + li { margin-top: 0.55rem; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.4rem 0; font-size: 0.85rem; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   PART 2 — INNER PAGES (tours, packages, guides, about, rates…)
   ========================================================================== */

/* ---------- Current page in the menu ---------- */
.nav__list a[aria-current="page"] { border-bottom-color: var(--sand); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.88rem; color: var(--mist); margin-bottom: 1.1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.35rem; color: var(--sand); }
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page hero (smaller than the home hero) ---------- */
.page-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--forest-900); }
.page-hero__copy {
  align-self: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.page-hero .eyebrow { color: var(--sand); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 700; color: var(--cream);
  font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.08; text-wrap: balance;
}
.page-hero__lead { margin-top: 1.1rem; color: var(--soft-text); font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.18rem); max-width: 38rem; }
.page-hero .hero__actions { margin-top: 1.6rem; }
.page-hero__media { position: relative; min-height: 340px; overflow: hidden; background: var(--sage-200); margin: 0; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .page-hero__copy { padding: 1.75rem var(--gutter) 2.5rem; }
}

/* Photo credit on any photo: <figure class="photo"> <img> <figcaption>…</figcaption> */
.photo { position: relative; margin: 0; }
.photo-credit, .page-hero__media figcaption {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2;
  background: rgba(10, 31, 26, 0.75); color: var(--cream); font-size: 0.78rem; font-weight: 600; line-height: 1.3;
  padding: 0.35rem 0.75rem; border-radius: 999px; backdrop-filter: blur(4px);
}

/* ---------- Key facts strip ---------- */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.facts > div { padding: 1.15rem var(--gutter); border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-text); }
.facts dd { margin: 0.25rem 0 0; font-weight: 600; color: var(--forest-900); }
@media (max-width: 640px) { .facts > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Two-column layout: content + booking box ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.aside { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
@media (max-width: 960px) { .aside { position: static; } }

/* ---------- Text content ---------- */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 {
  font-family: var(--font-display); font-weight: 700; color: var(--forest-900);
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15; margin-top: 2.75rem;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--forest-900); margin-top: 1.75rem; }
.prose p, .prose li { color: var(--ink); }
.prose a { color: var(--forest-700); font-weight: 600; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-text); }
.prose ul.bullets { padding-left: 1.2rem; list-style: disc; }
.prose ul.bullets li + li { margin-top: 0.35rem; }
.prose ul.bullets li::marker { color: var(--red-text); }

/* Info grid (weather, clothing, gear…) */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 640px) { .info-grid { grid-template-columns: minmax(0, 1fr); } }
.info-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.info-grid h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.info-grid p { font-size: 0.97rem; color: var(--muted); }

/* Note / callout */
.callout { background: var(--sage-100); border-left: 4px solid var(--forest-700); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; }
.callout p { color: var(--ink); }

/* ---------- Booking / price box ---------- */
.book-box { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.book-box__head { background: var(--forest-900); color: var(--cream); padding: 1.1rem 1.4rem; }
.book-box__head p { font-size: 0.82rem; color: var(--mist); }
.book-box__head strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--cream); }
.book-box__body { padding: 1.2rem 1.4rem 1.5rem; display: grid; gap: 1rem; }
.book-box .btn { width: 100%; }
.book-box__small { font-size: 0.85rem; color: var(--muted); }
.book-box__small a { color: var(--forest-700); font-weight: 700; }

.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table th, .price-table td { padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table td strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--forest-900); }

.checks li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; }
.checks li + li { margin-top: 0.45rem; }
.checks li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.45em; width: 0.75rem; height: 0.4rem;
  border-left: 2px solid var(--forest-700); border-bottom: 2px solid var(--forest-700); transform: rotate(-45deg);
}

/* ---------- Bird list chips ---------- */
.birds { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.birds li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.85rem; font-size: 0.92rem; font-weight: 600; color: var(--forest-900);
}
.birds--special li { background: var(--forest-900); border-color: var(--forest-900); color: var(--cream); }
.birds li small { font-weight: 500; color: inherit; opacity: 0.75; }

/* ---------- Photo gallery strip ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery figure { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 0.65rem 0.9rem 0.8rem; font-size: 0.88rem; line-height: 1.35; }
.gallery figcaption strong { display: block; color: var(--forest-900); }
.gallery figcaption span { color: var(--muted); font-size: 0.8rem; }

/* Photo credit under the home tour cards */
.card__media .photo-credit { right: 0.6rem; bottom: 0.6rem; font-size: 0.72rem; padding: 0.25rem 0.6rem; }

/* ---------- Related tours ---------- */
.related { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.related a {
  display: block; padding: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; transition: border-color 0.2s, transform 0.2s;
}
.related a:hover { border-color: var(--forest-700); transform: translateY(-2px); }
.related strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--forest-900); }
.related span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Footer licence line ---------- */
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.footer__bottom p { max-width: 52rem; }
.callout.ebird { margin-top: 1.5rem; }
.callout.ebird p + p { margin-top: 0.75rem; }

/* ---------- All tours: filters and card facts ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.filter {
  font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  padding: 0.6rem 1.1rem; border-radius: 999px; border: 2px solid var(--forest-700);
  background: transparent; color: var(--forest-700); transition: background-color 0.2s, color 0.2s;
}
.filter span { font-weight: 600; opacity: 0.7; margin-left: 0.25rem; }
.filter:hover { background: var(--sage-100); }
.filter.is-active { background: var(--forest-700); color: #fff; }
.tours--list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .tours--list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tours--list { grid-template-columns: minmax(0, 1fr); } }
.card[hidden] { display: none; }
.card__facts { font-size: 0.85rem; font-weight: 600; color: var(--forest-700); }

/* ---------- Rates page ---------- */
.rates { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.rates-block h2 {
  font-family: var(--font-display); font-weight: 700; color: var(--forest-900);
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15;
}
.rates-block__note { margin: 0.5rem 0 1.1rem; color: var(--muted); }
.rates-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rates-table thead th {
  background: var(--forest-900); color: var(--cream); text-align: left; padding: 0.85rem 1.1rem;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.rates-table th[scope="row"] { text-align: left; font-weight: 700; }
.rates-table th[scope="row"], .rates-table td { padding: 0.95rem 1.1rem; border-top: 1px solid var(--line); vertical-align: middle; }
.rates-table th[scope="row"] a { color: var(--forest-900); text-decoration: none; }
.rates-table th[scope="row"] a:hover { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }
.rates-table th[scope="row"] span { display: block; font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-top: 0.15rem; }
.rates-table td, .rates-table thead th:not(:first-child) { text-align: right; white-space: nowrap; width: 8.5rem; }
.rates-table td strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--forest-900); }
.rates-table td a { font-weight: 700; color: var(--red-text); }
@media (max-width: 600px) {
  .rates-table thead { display: none; }
  .rates-table, .rates-table tbody, .rates-table tr, .rates-table th, .rates-table td { display: block; width: 100%; }
  .rates-table tr { border-top: 1px solid var(--line); padding: 0.4rem 0; }
  .rates-table th[scope="row"] { border-top: 0; padding-bottom: 0.3rem; }
  .rates-table td { border-top: 0; display: flex; justify-content: space-between; align-items: baseline; padding: 0.2rem 1.1rem; text-align: left; }
  .rates-table td::before { content: attr(data-label); font-size: 0.85rem; color: var(--muted); font-weight: 600; }
}
.book-box__h { font-family: var(--font-display); font-size: 1.05rem; color: var(--forest-900); }
.bullets-plain { padding-left: 1.2rem; list-style: disc; font-size: 0.95rem; color: var(--muted); }
.bullets-plain li + li { margin-top: 0.35rem; }
.info-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .info-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.rates-info { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.rates-info a { color: var(--forest-700); font-weight: 700; }
.rates-table td.quote { text-align: right; width: auto; }

/* Cruise excursion price table (3 columns) */
.price-table--3 td span { display: block; font-size: 0.78rem; color: var(--muted); }
.price-table--3 td a { color: var(--forest-900); font-weight: 600; text-decoration: none; }
.price-table--3 td a:hover { text-decoration: underline; }
.price-table--3 th:nth-child(n+2), .price-table--3 td:nth-child(n+2) { text-align: right; }
.price-table--3 th, .price-table--3 td { padding-left: 0.25rem; padding-right: 0.25rem; }
.price-table--3 td strong { font-size: 1.05rem; }
/* Cruise page: one WeTravel button per excursion */
.book-box__pick { margin: 1.2rem 0 0.5rem; font-weight: 700; color: var(--forest-900); }
.book-box__btns { display: grid; gap: 0.5rem; margin-bottom: 0.6rem; }
.rates-table td small { font-size: 0.75rem; color: var(--muted); }
.callout.rates-book { margin-top: clamp(2rem, 4vw, 3rem); }
.callout.rates-book p + p { margin-top: 0.6rem; }
.callout.rates-book a { color: var(--forest-700); font-weight: 700; }
.book-box__small + .book-box__small { margin-top: -0.4rem; }

/* 2026-10-31 edits */
/* Card labels: top-left, small and see-through so they cover less of the bird */
.card__tag { top: 0.6rem; left: 0.6rem; font-size: 0.6rem; letter-spacing: 0.07em; padding: 0.22rem 0.55rem;
  background: rgba(217, 197, 139, 0.72); backdrop-filter: blur(2px); }
/* Three prices, highest first */
.tiers { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.tiers span { display: flex; flex-direction: column; font-size: 0.74rem; font-weight: 600; color: var(--muted); line-height: 1.25; }
.tiers strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--forest-900); }
.facts > .facts__price { grid-column: span 2; }
@media (max-width: 640px) { .facts > .facts__price { grid-column: 1 / -1; } }
.book-box__head strong.book-box__sub { font-family: var(--font-body, inherit); font-size: 1.05rem; font-weight: 700; margin-top: 0.15rem; }
/* card price tiers */
.price-tiers { flex: 1 1 100%; }
.price-tiers__h { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.price-tiers .tiers { gap: 0.3rem 0.9rem; }
.price-tiers .tiers strong { font-size: 1.2rem; }

/* Reviews page: recent review cards */
.review-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review-card { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.review-card blockquote { margin: 0; }
.review-card blockquote p { font-size: 1rem; color: var(--ink); }
.review-card figcaption strong { display: block; color: var(--forest-900); }
.review-card figcaption span { font-size: 0.9rem; color: var(--muted); }
.reviews h2 { margin-bottom: 0.6rem; }

/* Booking box with tabs (tour pages with more than one option) */
.book-box__tabs { display: flex; gap: 0.35rem; padding: 0.6rem 0.6rem 0; background: var(--forest-950); }
.book-box__tabs button { flex: 1; border: 0; cursor: pointer; font: inherit; font-size: 0.9rem; font-weight: 700; padding: 0.6rem 0.5rem; border-radius: 10px 10px 0 0; background: transparent; color: var(--mist); }
.book-box__tabs button:hover { color: var(--cream); }
.book-box__tabs button[aria-selected="true"] { background: var(--forest-900); color: var(--cream); }
.book-box__tabs button:focus-visible { outline: 2px solid var(--sand); outline-offset: -2px; }

/* Copy button next to the email address (Contact page) */
.copy-text { font-weight: 700; color: var(--forest-900); user-select: all; word-break: break-all; }
.copy-btn { margin-left: 0.35rem; border: 1px solid var(--forest-700); background: transparent; color: var(--forest-700); font: inherit; font-size: 0.78rem; font-weight: 700; padding: 0.1rem 0.55rem; border-radius: 999px; cursor: pointer; vertical-align: 1px; }
.copy-btn:hover { background: var(--forest-700); color: var(--cream); }

/* Section with a background photo and a gentle parallax effect (Why Bird Panama overview, "Start here").
   Usage: <section class="section section--photo" style="background-image:url(...); --photo-pos: 35% 0; --photo-x: 43%">
          + <span class="photo-credit"> before </section>.
   --photo-pos = where the photo sits on phones/tablets (normal scrolling).
   --photo-x   = horizontal position during the desktop parallax. In parallax mode the photo starts right under the
                 fixed header (77px) and is sized for our 4:3 photos, so a bird's head near the top of the photo
                 is not hidden behind the header.
   Parallax only on desktop mice; phones/tablets scroll normally (iOS ignores fixed backgrounds) and so do
   visitors who turned on "reduce motion". */
.section--photo { position: relative; isolation: isolate; background-color: var(--forest-900); background-size: cover; background-position: var(--photo-pos, center); background-repeat: no-repeat; }
.section--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 31, 26, 0.5) 0%, rgba(10, 31, 26, 0.42) 40%, rgba(10, 31, 26, 0.7) 100%); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .section--photo { background-attachment: fixed; background-position: var(--photo-x, 50%) 77px; background-size: max(100vw, calc((100vh - 77px) * 4 / 3)) auto; }
}
.section--photo .eyebrow { color: var(--sand); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.section--photo h2 { color: var(--cream); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55); }
.section--photo .info-grid > div { background: rgba(255, 255, 255, 0.94); border-color: transparent; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }

/* Tour card photos link to the tour (same link as the title). The zoom on hover stays (.card:hover .card__media img).
   The tag and the photo credit let clicks pass through to the link. */
.card__media-link { display: block; width: 100%; height: 100%; }
.card__media .card__tag, .card__media .photo-credit { pointer-events: none; }

/* Birders on our tours (contact band) */
.contact__people { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; max-width: 40rem; margin: 2.4rem auto 0; }
.contact__people img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 2px solid rgba(217, 197, 139, 0.55); }
.contact__people-note { margin: 0.7rem auto 0; font-size: 0.9rem; color: var(--soft-text); }
@media (max-width: 480px) { .contact__people { gap: 0.45rem; } .contact__people img { border-radius: 7px; } }
/* Gallery page: Birders on our tours (gallery_birders.py) */
@media (max-width: 560px) { #birders .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; } #birders .gallery figcaption { font-size: 0.78rem; padding: 0.5rem 0.6rem 0.6rem; } }

/* Card subtitle under title (design_1104.py) */
.card h3 + .card__meta { margin-top: -0.3rem; }

/* Section photos left of section headings (section_photos.py) */
.head-split { display: flex; align-items: stretch; justify-content: flex-start; gap: 2.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head-split .section__head { margin-bottom: 0; flex: 0 1 44rem; }
.head-photo { margin: 0; flex: 0 0 17rem; position: relative; }
.head-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 760px) {
  .head-split { flex-direction: column; gap: 1.5rem; }
  .head-split .section__head { flex: none; }
  .head-photo { flex: none !important; width: 100%; max-width: 22rem; aspect-ratio: 4 / 3; }
}
