/* =====================================================================
   Wild Hawaii Ocean Adventures — design system
   Plain CSS, no build step. Extracted from the hi-fi prototypes.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --cream:        #f6f1e7;   /* page background (warm off-white)       */
  --cream-2:      #efe7da;   /* slightly deeper sand for alt sections  */
  --white:        #f9f9f9;   /* near-white surfaces (cards, fields)    */
  --sky:          #8ecae6;   /* light sky-blue accent                  */
  --ocean:        #004e72;   /* the one brand deep-ocean blue          */
  --ocean-deep:   #004e72;   /* collapsed to the single deep blue      */
  --ocean-light:  #004e72;   /* collapsed to the single deep blue      */
  --charcoal:     #333333;   /* dark gray — Our Story / nav / footer   */
  --footer:       #333333;   /* footer background                      */
  --coral:        #ff6f43;   /* warm accent / primary buttons          */
  --coral-dark:   #e85f37;   /* button hover                           */

  /* Text */
  --ink:          #333333;   /* headings (dark gray, no black)         */
  --body:         #4f5a62;   /* body copy                              */
  --muted:        #7c8790;   /* captions, meta                         */
  --on-dark:      #e9eef0;   /* body text on dark backgrounds          */
  --on-dark-mut:  #9fb0b8;   /* muted text on dark backgrounds         */

  /* Lines & surfaces */
  --line:         #e4dccd;   /* warm hairline on cream                 */
  --line-2:       #dfe6ea;   /* cool hairline on white                 */
  --card:         #f9f9f9;
  --shadow-sm:    0 2px 10px rgba(20, 40, 55, 0.06);
  --shadow-md:    0 14px 40px rgba(15, 45, 65, 0.14);

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 7px;
  --radius-sm: 4.5px;
  --nav-h: 90px;          /* header height — referenced by hero offsets, mobile menu, sticky booking card */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.06; margin: 0; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.4rem, 7vw, 6rem); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin: 0 0 0.4rem;
}
.eyebrow.on-dark { color: #f0a983; }
.eyebrow.muted { color: var(--muted); }
.h-display { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.01em; }
.h-section { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 0.4em; }
.lead { font-size: 1.06rem; color: var(--body); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.accent { color: var(--coral); }
.italic-serif { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 800; font-size: 0.86rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.92em 1.7em; border-radius: 8px; border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline { background: transparent; color: #888888; border-color: rgba(204, 204, 204, 0.5); }
.btn-outline:hover { background: #004e72; border-color: #004e72; color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 0.7em 1.15em; font-size: 0.76rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #333333;
  box-shadow: 0 2px 20px rgba(51,51,51,0.22);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* only the home page header is transparent over the hero (turns solid on scroll) */
.site-header.is-home { background: rgba(51, 51, 51, 0); box-shadow: none; }
.site-header.is-home.is-solid { background: #333333; box-shadow: 0 2px 22px rgba(51,51,51,0.28); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.75rem; height: var(--nav-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: #fff; }
.brand-logo { height: 80px; width: auto; display: block; }
.brand svg { width: 30px; height: 30px; fill: #fff; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.32rem;
  letter-spacing: 0.16em; text-transform: uppercase;
}
@media (max-width: 600px) { :root { --nav-h: 80px; } .brand-logo { height: 58px; } }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  color: #f3f0ea; font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  position: relative; padding-block: 0.2rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--coral); transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 0.25rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 0.4rem; color: #fff;
}
.nav-toggle svg { width: 28px; height: 28px; stroke: #fff; }

@media (max-width: 920px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: #333333; padding: 0.5rem 0 1.3rem;
    transform: translateY(-130%); transition: transform 0.32s ease;
    box-shadow: 0 18px 40px rgba(51,51,51,0.4);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 0.95rem var(--gutter); border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin: 0.9rem var(--gutter) 0; width: calc(100% - 2 * var(--gutter)); }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h);
  color: #fff; text-align: center;
  background-color: #004e72;
  background-image:
    linear-gradient(180deg, rgba(0,78,114,0.62) 0%, rgba(0,78,114,0.5) 40%, rgba(0,78,114,0.9) 100%),
    url("../images/hero-home.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
/* same total height as the original centered hero (so the image crop is unchanged),
   just rebalanced to nudge the text up a little */
.hero-inner { padding-block: clamp(3.25rem, 10vw, 6.5rem) clamp(7rem, 17vw, 13.5rem); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.25rem; color: #fff; text-shadow: 0 2px 30px rgba(51,51,51,0.4); }
.hero .eyebrow { color: #f3cbb4; margin-bottom: 1rem; }
.hero p.lead { color: #e7eef0; margin: 0 auto 2rem; max-width: 72ch; }
/* shorten the hero lead on phones */
@media (max-width: 600px) { .lead-trim { display: none; } }
/* phones: taller hero; image stays cover so it fills the full height (no blue gap) */
/* phones: taller hero. The scrim only needs to cover the eyebrow + headline, so on
   mobile it fades out by 52% instead of running the full height and ending at 0.9 —
   that keeps the photo readable from the headline down. Image layer is untouched. */
@media (max-width: 600px) {
  .hero-inner { padding-block: 5.5rem 8.5rem; }
  .hero {
    background-image:
      linear-gradient(180deg, rgba(0,78,114,0.60) 0%, rgba(0,78,114,0.38) 28%, rgba(0,78,114,0) 52%),
      url("../images/hero-home.jpg");
  }
}
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { padding: 0.72em 1.35em; font-size: 0.79rem; }
.hero-scrim-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; width: 100%; height: 64px; fill: var(--cream); }

/* ---------- Trust badges ---------- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding-block: 1.5rem 1.875rem;
}
.trust-item { display: flex; align-items: center; gap: 0.8rem; justify-content: center; text-align: left; }
.trust-item svg { width: 30px; height: 30px; fill: var(--ocean); flex: none; }
.trust-item > div { line-height: 1.25; }
.trust-item b { display: block; color: var(--ink); font-size: 0.92rem; font-weight: 800; }
.trust-item span { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 760px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
  /* left-align + top-align each item so the icons line up across both rows
     even when a label wraps onto a second line */
  .trust-item { justify-content: flex-start; align-items: flex-start; }
}

/* ---------- Tour grid (home) ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 2.6rem; }
@media (max-width: 760px) { .tour-grid { grid-template-columns: 1fr; } }
/* taller tour cards with more breathing room between meta, title, description, and buttons */
.tour-grid .tour-card .media { aspect-ratio: 3 / 2; }
.tour-grid .tour-card .meta { margin-bottom: 0.7rem; }
.tour-grid .tour-card h3 { margin-bottom: 0.95rem; }
.tour-grid .tour-card p { margin-bottom: 2rem; }

.tour-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tour-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tour-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-card:hover .media img { transform: scale(1.04); }
/* hover overlay — fades in over the image; tag stays above it (z-index) */
.tour-card .media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,78,114,0) 30%, rgba(0,78,114,0.55) 100%);
  opacity: 0; transition: opacity 0.3s ease;
}
.tour-card:hover .media::after { opacity: 1; }
.tag {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 3;
  background: var(--ocean); color: #fff; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.4em 0.7em; border-radius: 5px;
}
.tag.coral { background: var(--ocean); color: #fff; }
.tour-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tour-card .meta { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; color: var(--coral); text-transform: uppercase; margin-bottom: 0.5rem; }
.tour-card h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.tour-card p { font-size: 0.95rem; color: var(--body); margin-bottom: 1.2rem; }
.tour-card .actions { margin-top: auto; display: flex; gap: 0.6rem; align-items: center; }
.learn { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ocean); }
.learn:hover { color: var(--coral); }

/* ---------- Story (dark, full-height split image) ---------- */
.story { background: var(--charcoal); color: var(--on-dark); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.story-media { position: relative; overflow: hidden; min-height: 720px; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
/* fade the image into the dark panel near its inner edge — no hard seam */
.story-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(51,51,51,0) 35%, rgba(51,51,51,0.55) 68%, var(--charcoal) 96%);
}
.story-text { display: flex; align-items: center; padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); }
.story-text-inner { max-width: 34rem; }
.story h2 { color: #fff; margin-bottom: 1.5rem; }
.story .eyebrow { color: var(--sky); }
.story p { color: var(--on-dark-mut); }
/* secondary (stroke) CTA — sky-blue stroke, white label; fills sky on hover */
.story-cta { background: transparent; color: #fff; border-color: var(--sky); margin-top: 1.1rem; }
.story-cta:hover { background: var(--sky); color: #333333; border-color: var(--sky); }
@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { order: -1; min-height: 300px; }
  /* stacked panel is short + wide, so frame from the top to avoid cropping the manta */
  .story-media img { object-position: center top; }
  .story-media::after { background: linear-gradient(to bottom, rgba(51,51,51,0) 50%, rgba(51,51,51,0.6) 82%, var(--charcoal) 100%); }
  .story-text { padding: clamp(2.5rem, 9vw, 3.5rem) var(--gutter); }
}

/* ---------- Gallery ---------- */
/* gallery layout: rows of 2 / 3 / 1 / 2 over a 6-column grid */
.gallery {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; margin-top: 2.4rem;
}
.gallery a { display: block; border-radius: 0; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, filter 0.3s ease; }
.gallery a:hover img { transform: scale(1.015); }
.gallery .g-half  { grid-column: span 3; aspect-ratio: 16 / 9; }   /* rows 1 & 4: two across */
.gallery .g-third { grid-column: span 2; aspect-ratio: 1 / 1; }    /* row 2: three across (taller) */
.gallery .g-full  { grid-column: span 6; aspect-ratio: 16 / 5; }   /* row 3: full width */
@media (max-width: 560px) {
  .gallery { gap: 0.6rem; }
  .gallery .g-full { aspect-ratio: 2 / 1; }
}

/* ---------- Photo strip (3 reused gallery shots, between reviews & FAQ) ---------- */
.photo-strip-section { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.photo-strip a { display: block; border-radius: 0; overflow: hidden; aspect-ratio: 1 / 1; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.photo-strip a:hover img { transform: scale(1.015); }
@media (max-width: 640px) { .photo-strip { grid-template-columns: 1fr; gap: 0.7rem; } .photo-strip a { aspect-ratio: 16 / 9; } }

/* ---------- Testimonials ---------- */
.reviews { background: var(--cream-2); }
.reviews .eyebrow { margin-bottom: 0.4rem; }

/* carousel arrow buttons (positioned on the sides of the track) */
.car-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(204, 204, 204, 0.5);
  background: var(--white); color: #888888; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.car-btn svg { width: 20px; height: 20px; }
.car-btn:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }

.carousel { position: relative; margin-top: 2.4rem; }
.carousel-viewport { position: relative; }
.car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; }
.car-prev { left: -22px; }
.car-next { right: -22px; }
.car-arrow:active { transform: translateY(-50%) scale(0.92); }

.carousel-track {
  display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 4px 4px 0.5rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
/* each slide holds 4 reviews in a 2×2 grid; the carousel pages one slide at a time */
.car-slide {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
}
@media (max-width: 640px) { .car-slide { grid-template-columns: 1fr; } }

.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.7rem; }
.car-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #cdbfa7; transition: background 0.2s ease, transform 0.2s ease; }
.car-dot.active { background: var(--ocean); transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }
@media (max-width: 560px) { .car-prev { left: 2px; } .car-next { right: 2px; } }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sm);
}
.stars { color: var(--coral); letter-spacing: 0.12em; font-size: 0.95rem; margin-bottom: 0.7rem; }
.review p { color: var(--body); font-size: 0.98rem; }
.review .who { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.1rem; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--ocean-light); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem;
}
.who b { display: block; color: var(--ink); font-size: 0.92rem; }
.who span { font-size: 0.78rem; color: var(--muted); }
.who .avatar { color: #fff; }   /* keep initials white (beats the .who span rule) */
.who .tour-ref { color: var(--ocean); font-weight: 700; }

/* ---------- FAQ ---------- */
/* two independent columns so opening one FAQ only pushes items in its own
   column — the paired item across the row no longer expands with it */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; margin-top: 2.4rem; align-items: start; }
.faq-col { display: flex; flex-direction: column; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
.faq {
  border-bottom: 1px solid var(--line); background: transparent;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.6rem 0; font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.25s ease; }
.faq summary .ico::before, .faq summary .ico::after {
  content: ""; position: absolute; background: var(--ocean); border-radius: 2px;
}
.faq summary .ico::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq summary .ico::after { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: transform 0.25s ease; }
.faq[open] summary .ico::after { transform: scaleY(0); }
.faq .answer { padding: 0 0 1.7rem; color: var(--body); font-size: 0.96rem; max-width: 60ch; }
#faq { padding-bottom: clamp(5.5rem, 10vw, 9rem); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  /* section takes the image's own aspect so the photo fills the full width with no
     side-bands and no crop; height scales fluidly with the browser width */
  aspect-ratio: 664 / 419;
  display: flex; align-items: center;
  background-color: #004e72;
  background-image:
    linear-gradient(180deg, rgba(0,78,114,0.52), rgba(0,78,114,0.66)),
    url("../images/cta-sharks.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.cta-band .inner { padding-block: clamp(3.6rem, 8vw, 6rem); }
.cta-band h2 { color: #fff; font-size: clamp(2.8rem, 6.5vw, 4.8rem); margin-bottom: 1.5rem; }
.cta-band .eyebrow { color: #fff; margin-bottom: 0.2rem; }
.cta-band p { color: #d9e3e7; max-width: 94ch; margin: 0 auto 1.8rem; }
/* on small screens the image-aspect band would be too short for the text — give it a floor */
@media (max-width: 820px) { .cta-band { aspect-ratio: auto; max-height: none; min-height: 540px; } }

/* ---------- Footer ---------- */
.site-footer { background: #333333; color: var(--on-dark-mut); padding-block: 3.2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand { color: #fff; margin-bottom: -1.2rem; display: block; max-width: 21rem; }
/* the logo art has ~11.75% transparent margin on its left; shift it out so the
   "W" lines up with the "K" of the blurb below */
/* the logo art has ~11.75% transparent margin on its left and ~29.3% on top;
   shift it so the wordmark's W lines up with the K below and its top edge lines
   up with the "OUR TOURS"/"NAVIGATE" headers (margin-% is relative to width) */
.footer-brand .brand-logo { width: 100%; height: auto; transform: translateX(-11.75%); margin-top: -8.13%; }
.footer-brand p { font-size: 0.9rem; max-width: 21rem; color: #fff; }
.footer-brand .btn { margin-top: 1.2rem; }
.footer-col h4 { font-family: var(--sans); color: var(--coral); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; padding: 0.32rem 0; font-size: 0.92rem; color: var(--on-dark-mut); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.4rem; padding-top: 1.3rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; color: #76828a;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* =====================================================================
   Tour detail pages
   ===================================================================== */
.tour-hero {
  position: relative; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); padding-bottom: 3.5rem; color: #fff;
  background-size: cover; background-position: center;
}
.tour-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,78,114,0.5) 0%, rgba(0,78,114,0.4) 45%, rgba(0,78,114,0.88) 100%);
}
.tour-hero .wrap { position: relative; z-index: 2; }
.tour-hero-inner { padding-block: clamp(3.5rem, 9vw, 6.5rem) 1.8rem; }
.tour-hero .chip {
  display: inline-block; background: var(--ocean); color: #fff; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.45em 0.85em; border-radius: 6px; margin-bottom: 1rem;
}
.tour-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); color: #fff; text-shadow: 0 2px 24px rgba(51,51,51,0.45); }
.tour-hero .sub { color: #e3ebed; font-size: 1.05rem; margin-top: 0.5rem; }
.facts {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 2.4rem;
  border-top: 1px solid rgba(255,255,255,0.22); margin-top: 1.6rem; padding: 1.2rem 0 1.6rem;
}
.fact .k { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #bcd0d8; font-weight: 800; }
.fact .v { font-size: 1.05rem; font-weight: 800; color: #fff; margin-top: 0.15rem; }
/* phones: shorter tour hero so the wide photo isn't blown up as much (no blue gap),
   plus a darker overlay so the white text has enough contrast */
@media (max-width: 600px) {
  /* trim the TOP only (keeps the default bottom padding so the facts clear the wave) */
  .tour-hero-inner { padding-block: 1rem 0.75rem; }
  .facts { gap: 0.9rem 1.6rem; margin-top: 0.9rem; padding: 1rem 0 0.6rem; }
  .tour-hero::after { background: linear-gradient(180deg, rgba(0,78,114,0.74) 0%, rgba(0,78,114,0.64) 45%, rgba(0,78,114,0.92) 100%); }
}

/* tour body layout */
/* align-items: stretch lets the booking aside fill the column height, giving
   the sticky card room to travel until the section ends (before the gallery) */
.tour-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: stretch; }
@media (max-width: 900px) { .tour-layout { grid-template-columns: 1fr; gap: clamp(3.25rem, 10vw, 4.5rem); } .booking { position: static; } }

.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 0 0 1rem; }
.prose h3 { font-size: 1.65rem; margin: 4rem 0 1.5rem; }
.prose p { color: var(--body); }
.prose .eyebrow { color: var(--ocean-light); margin-bottom: 0.6rem; }

/* checklist + bring list */
.checklist { display: grid; gap: 0.7rem; margin: 1rem 0 0; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--body); font-size: 0.97rem; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--ocean-light) url("../images/check.svg") center / 12px no-repeat;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.2rem; margin-top: 75px; align-items: stretch; }
.two-col h3 { margin-top: 0; }
/* keep both columns equal height with tops + bottoms aligned even if an item wraps */
.two-col > div { display: flex; flex-direction: column; }
.two-col > div .checklist { flex: 1; align-content: space-between; gap: 1.2rem; }
/* mobile: more space between What's Included and What to Bring (column gap when
   side-by-side, row gap once they stack) */
@media (max-width: 900px) { .two-col { gap: 2.5rem 3rem; } }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }

/* itinerary timeline */
.timeline { margin-top: 1rem; border-left: 2px solid var(--line); padding-left: 1.4rem; display: grid; gap: 1.3rem; }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.4rem - 6px); top: 4px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--cream);
}
.timeline .t { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); }
.timeline .d { color: var(--ink); font-weight: 700; margin-top: 0.1rem; }

/* booking card (sticky sidebar) */
.booking {
  position: sticky; top: calc(var(--nav-h) + 20px); background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid var(--line-2);
}
.booking .head { background: var(--ocean-deep); color: #fff; padding: 1.4rem 1.5rem; }
.booking .head .eyebrow { color: #8fc0d4; margin-bottom: 0.4rem; }
.booking .head h3 { color: #fff; font-size: 1.5rem; line-height: 1.15; }
.booking .price-block { padding: 1.3rem 1.5rem 0.4rem; }
.booking .price-lbl { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.booking .price { font-family: var(--serif); color: var(--coral); font-size: 1.7rem; font-weight: 700; }
.booking .price-observer { font-size: 0.84rem; color: var(--muted); font-weight: 700; margin-top: 0.25rem; }
.booking .rows { padding: 0.8rem 1.5rem 0; display: grid; gap: 0.7rem; }
.booking .row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line-2); }
.booking .row .k { color: var(--muted); }
.booking .row .v { color: var(--ink); font-weight: 700; text-align: right; }
.booking .cta { padding: 1.1rem 1.5rem 0.4rem; display: grid; gap: 0.6rem; }
.booking .note { padding: 0.6rem 1.5rem 1.1rem; font-size: 0.74rem; color: var(--muted); text-align: center; }
.booking .perks { background: var(--cream); padding: 1.1rem 1.5rem 1.3rem; display: grid; gap: 0.55rem; }
.booking .perks li { display: flex; gap: 0.55rem; align-items: center; font-size: 0.85rem; color: var(--body); }
.booking .perks li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--ocean-light) url("../images/check.svg") center / 10px no-repeat; }

/* tour gallery (varied) */
.tour-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.tour-gallery a { border-radius: 0; overflow: hidden; aspect-ratio: 3 / 2; }
.tour-gallery a.wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.tour-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-gallery a:hover img { transform: scale(1.02); }
/* desktop: gallery is a full-width row at the bottom of the tour-layout.
   phones/tablets: the script relocates it into the prose, right under Tour Highlights. */
.tour-layout > .tour-gallery { grid-column: 1 / -1; margin-top: clamp(2rem, 5vw, 3.5rem); }
.prose > .tour-gallery { margin: clamp(2.75rem, 9vw, 4rem) 0 clamp(1.5rem, 5vw, 2.5rem); }

/* directions + map */
.directions { background: var(--cream-2); }
/* top-align so the directions text lines up with the map (button hangs below, excluded from the alignment) */
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 820px) { .dir-grid { grid-template-columns: 1fr; } }
.dir-grid ol { padding-left: 1.1rem; margin: 1rem 0; color: var(--body); }
.dir-grid ol li { margin-bottom: 0.5rem; }
.dir-grid .addr { font-weight: 800; color: var(--ink); }
/* the maps button uses the deep-blue eyebrow color for its stroke + label;
   on hover it fills deep-blue with white text (needs its own hover rule to beat
   the scoped resting rule above on specificity) */
.directions .btn-outline { color: var(--ocean); border-color: var(--ocean); }
.directions .btn-outline:hover { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; border: 0; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* contact (blue band w/ wave) */
.contact { position: relative; background: var(--ocean); color: #fff; }
.contact-wave { display: block; width: 100%; height: 132px; fill: var(--ocean); background-color: var(--cream-2); margin-top: -1px; margin-bottom: -1px; }
/* extra breathing room between the section above and the contact wave (stays cream-2, no seam) */
.section:has(+ .contact-wave) { padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact-wave.from-cream { fill: var(--ocean); }
/* the stretched 1440-wide desktop wave (90-pt path) looks squished on phones, so hide it
   and draw a pseudo-element wave that reuses the hero scrim-wave's exact path/viewBox — so
   the two match on mobile. Blue is baked in; troughs are transparent so the section above
   (cream-2 or white) shows through. */
@media (max-width: 640px) {
  .contact-wave { display: none; }
  .contact::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 64px;
    margin-bottom: -1px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0 60 V28 C240 8 480 8 720 28 C960 48 1200 48 1440 28 V60 Z' fill='%23004e72'/></svg>") center bottom / 100% 100% no-repeat;
    pointer-events: none;
  }
  /* more breathing room between the map and the wave (the 64px wave was eating the whole gap) */
  .section:has(+ .contact-wave) { padding-bottom: 7rem; }
  /* pull "Get In Touch" up closer under the wave (!important overrides the inline padding-top:6rem) */
  .contact { padding-top: 2.5rem !important; }
}
/* on the About page the wave sits under the white team section, so its backdrop
   must be that same near-white — not the tan cream-2 used on the tour pages */
.team + .contact-wave { background-color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; padding-bottom: 1rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #f3cbb4; }
.contact p { color: #d4e1e6; }
.contact .lines { display: grid; gap: 0.5rem; margin: 1.2rem 0; }
.contact .lines a, .contact .lines span { color: #eaf2f4; font-weight: 700; }
.socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; transition: background 0.2s ease; }
.socials a:hover { background: var(--coral); }
.socials svg { width: 18px; height: 18px; fill: #fff; }

/* form */
.form-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-md); }
.form-card .hint { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.field { margin-bottom: 0.9rem; }
.field label { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.35rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  padding: 0.8rem 0.9rem; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fbfcfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ocean-light); box-shadow: 0 0 0 3px rgba(28,104,133,0.14);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-success {
  display: none; background: #e8f3ee; border: 1px solid #b9dcc9; color: #1f6b45;
  border-radius: 8px; padding: 1rem; font-weight: 700; font-size: 0.95rem;
}
.form-success.show { display: block; }

/* related */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }
.related-grid .tour-card { border-radius: 4px; }
.related-grid .tour-card .media { aspect-ratio: 1 / 1; }
/* taller white text panel; meta+title vertically centered (auto margins on both ends), buttons pinned to the bottom */
.related-grid .tour-card .body { min-height: 210px; }
.related-grid .tour-card .meta { color: var(--coral); margin-top: auto; margin-bottom: 0.45rem; }
.related-grid .tour-card h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 0; max-width: 15ch; }
/* "Learn More" on the related (other-tour) cards reads as an outlined button */
.related-grid .learn,
.tour-card .actions .learn { border: 1.5px solid rgba(204, 204, 204, 0.5); border-radius: 8px; padding: 0.62em 1em; color: #888888; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.related-grid .learn:hover,
.tour-card .actions .learn:hover { background: #004e72; border-color: #004e72; color: #fff; }

/* =====================================================================
   About page
   ===================================================================== */
/* about page: image stack starts flush under the nav; the text column keeps a small gap */
.about-top { padding-top: 0; }
.about-top .prose { padding-top: clamp(1.75rem, 3vw, 2.75rem); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }
.about-grid .prose p { color: var(--body); }
/* keep the eyebrow blue — .about-grid .prose p (0,2,1) would otherwise grey it out */
.about-grid .prose .eyebrow { color: var(--ocean-light); }
.about-stack { display: grid; gap: 1rem; position: sticky; top: var(--nav-h); }
.about-stack img { width: 100%; border-radius: 0; display: block; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow-sm); }
/* the lead image is a mobile-only copy of the top stack photo, shown under the heading */
.about-lead { display: none; }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stack { position: static; }
  .about-lead { display: block; width: 100%; border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow-sm); margin: clamp(1.25rem, 4vw, 1.75rem) 0; }
  .about-stack img:first-child { display: none; }
}

/* page intro band (Our Tours / About Us headers) */
.page-intro { max-width: 64ch; }
/* team intro spans the full grid width so it lines up with the photo row */
.team .page-intro { max-width: none; }

/* team */
.team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.4rem; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .team-grid { grid-template-columns: 1fr; } }
.team-photo {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(155deg, #004e72 0%, #004e72 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.team-photo span { font-family: var(--serif); color: rgba(255,255,255,0.92); font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: 0.02em; }
.team-card h3 { font-size: 1.2rem; margin-top: 0.9rem; }
.team-card .role { color: var(--ink); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 0.25rem; }

/* generic wave divider */
.wave-top { display: block; width: 100%; height: 56px; margin-bottom: -1px; }

/* skip link a11y */
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ocean); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; border-radius: 6px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
