/* ==========================================================================
   Tom Cat Fishing Charters — main stylesheet
   Mobile-first. Colors, type and spacing live in custom properties below.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Ocean palette */
  --navy-900: #061a2e;
  --navy-800: #0a2540;
  --navy-700: #0d3354;
  --ocean-600: #0b5a7a;
  --teal-500: #12a8a3;
  --teal-400: #2cc6c0;
  --teal-50:  #e8f7f6;
  /* Mahi gold */
  --gold-500: #f5b700;
  --gold-400: #ffc933;
  --gold-50:  #fff7dc;
  /* Neutrals */
  --sand-50: #f7f5f0;
  --white: #ffffff;
  --ink: #142231;
  --ink-soft: #4a5a6a;
  --line: #dfe5ea;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(6, 26, 46, .08);
  --shadow: 0 10px 30px rgba(6, 26, 46, .12);
  --shadow-lg: 0 24px 60px rgba(6, 26, 46, .25);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 9vw, 112px);
  --header-h: 84px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ocean-600); text-underline-offset: .18em; }
a:hover { color: var(--teal-500); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: .005em;
  color: var(--navy-800);
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold-500); color: var(--navy-900); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--sand { background: var(--sand-50); }
.section--navy { background: var(--navy-800); color: #d8e4ee; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.section--navy .section-head p { color: #b9cbdb; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; font-size: .95rem;
  color: var(--teal-500); margin-bottom: .6em;
}
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-400); }
.grid { display: grid; gap: clamp(18px, 3vw, 28px); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.center { text-align: center; }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 22px rgba(245, 183, 0, .35); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--ocean-600); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--white); background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: var(--white); color: var(--navy-800); border-color: var(--white); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--sm { min-height: 42px; font-size: 1rem; padding: .6em 1.15em; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 5. Top bar + header ---------- */
.topbar { background: var(--navy-900); color: #b9cbdb; font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar__items { display: flex; gap: 22px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; color: var(--teal-400); }
@media (max-width: 899px) { .topbar { display: none; } }

.site-header {
  /* Solid background, no backdrop-filter: a filter on the header would become the containing block
     for the fixed mobile menu and clip it to the header's height (seen on iOS Safari). */
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; }
/* Wide "Tom Cat Fishing Charters" artwork — shown as large as the header allows (client preference) */
.brand img { width: min(250px, calc(100vw - 160px)); height: auto; }
@media (min-width: 1000px) { :root { --header-h: 88px; } .brand img { width: 220px; } }
@media (min-width: 1150px) { :root { --header-h: 104px; } .brand img { width: 290px; } }
@media (min-width: 1300px) { :root { --header-h: 124px; } .brand img { width: 380px; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy-800); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }
.header-call { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: var(--teal-50); color: var(--ocean-600); }
.header-call svg { width: 22px; height: 22px; }
.header-cta { display: none; }

.site-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  background: var(--white); padding: 24px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  overflow-y: auto; opacity: 0; transform: translateY(-10px); visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--navy-800);
  text-transform: uppercase; letter-spacing: .04em;
}
.site-nav a[aria-current="page"] { color: var(--teal-500); }
.site-nav__mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav-toggle, .header-call, .site-nav__mobile-cta { display: none; }
  .site-nav { position: static; opacity: 1; transform: none; visibility: visible; padding: 0; background: none; overflow: visible; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { border: 0; font-size: 1.05rem; padding: 8px 9px; border-radius: 8px; position: relative; white-space: nowrap; }
  .site-nav a:hover { color: var(--teal-500); }
  .site-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold-500);
  }
  .header-cta { display: flex; gap: 10px; align-items: center; margin-left: 6px; }
  .header-cta .btn { white-space: nowrap; }
  .header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-800); text-decoration: none; white-space: nowrap; }
  .header-phone svg { width: 18px; height: 18px; color: var(--teal-500); }
}
@media (min-width: 1000px) and (max-width: 1299px) { .header-phone span { display: none; } }

/* Sticky mobile action bar (Call / Book) */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(6,26,46,.96); box-shadow: 0 -6px 20px rgba(0,0,0,.2);
}
.mobile-bar .btn { min-height: 46px; font-size: 1.05rem; }
body { padding-bottom: 72px; }
@media (min-width: 1000px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- 6. Hero (homepage) ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white); overflow: hidden;
  min-height: min(92svh, 860px); display: flex; align-items: center;
  padding: clamp(48px, 8vw, 96px) 0;
  background: var(--navy-900);
}
/* Mobile: the mahi photo itself is the full-bleed background */
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,26,46,.35) 0%, rgba(6,26,46,.55) 45%, rgba(6,26,46,.92) 100%);
}
.hero__inner { display: grid; gap: 40px; align-items: center; width: 100%; }
.hero__content { max-width: 640px; padding-top: min(28vh, 260px); }
.hero h1 { color: var(--white); text-shadow: 0 2px 24px rgba(0,0,0,.35); margin-bottom: .35em; }
.hero h1 .accent { color: var(--gold-400); }
.hero__sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #e4eef6; max-width: 34em; margin-bottom: 1.6em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .95rem; color: #cfe0ec; list-style: none; padding: 0; }
.hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--gold-400); }
.hero__photo { display: none; }

@media (min-width: 900px) {
  /* Desktop: blurred photo fills the background, the crisp photo is framed on the right */
  .hero__bg img { filter: none; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(6,26,46,.94) 0%, rgba(6,26,46,.78) 48%, rgba(6,26,46,.35) 100%),
      linear-gradient(0deg, rgba(6,26,46,.6), transparent 40%);
  }
  .hero__inner { grid-template-columns: 1.15fr .85fr; }
  .hero__content { padding-top: 0; }
  .hero__photo {
    display: block; position: relative; justify-self: end; width: min(100%, 420px);
    transform: rotate(2deg); border-radius: var(--radius-lg); padding: 10px; background: var(--white);
    box-shadow: var(--shadow-lg);
  }
  .hero__photo img { border-radius: calc(var(--radius-lg) - 8px); width: 100%; aspect-ratio: 375 / 455; object-fit: cover; }
  .hero__badge {
    position: absolute; left: -26px; bottom: 34px; transform: rotate(-2deg);
    background: var(--gold-500); color: var(--navy-900); border-radius: 12px; padding: 10px 16px;
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.15;
    box-shadow: var(--shadow);
  }
  .hero__badge small { display: block; font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .82rem; }
}

/* Inner-page hero banner */
.page-hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--navy-800);
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 84px); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,26,46,.93), rgba(6,26,46,.62)); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 3.9rem); max-width: 16em; }
.page-hero p { font-size: 1.15rem; color: #d9e6f0; max-width: 40em; margin: 0; }
.breadcrumbs { font-size: .9rem; margin-bottom: 14px; color: #b9cbdb; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--white); }

/* ---------- 7. Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); padding: 28px 0; } }
.trust li { display: flex; gap: 12px; align-items: center; font-size: .95rem; line-height: 1.3; color: var(--ink-soft); }
.trust strong { display: block; color: var(--navy-800); font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .02em; }
.trust__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-500); }
.trust__icon svg { width: 24px; height: 24px; }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; left: 14px; top: 14px; background: rgba(6,26,46,.85); color: var(--white);
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px;
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--ink-soft); }
.card__price { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--navy-800); }
.card__price span { color: var(--teal-500); font-family: var(--font-display); font-size: 1.5rem; }
.card__link { margin-top: 14px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card__link svg { width: 18px; height: 18px; transition: transform .2s; }
.card__link:hover svg { transform: translateX(4px); }

/* ---------- 9. Pricing ---------- */
.price-grid { display: grid; gap: 22px; }
@media (min-width: 820px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-card {
  position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 32px 28px 28px;
  border: 2px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; text-align: center;
}
.price-card--featured { border-color: var(--gold-500); box-shadow: 0 18px 50px rgba(245,183,0,.22); }
@media (min-width: 820px) { .price-card--featured { transform: translateY(-10px); } }
.price-card__flag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--gold-500); color: var(--navy-900); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { margin-bottom: .1em; }
.price-card__hours { color: var(--ink-soft); font-weight: 600; margin-bottom: 14px; }
.price-card__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.2rem, 6vw, 4rem); color: var(--navy-800); line-height: 1; margin: 0; }
.price-card__price sup { font-size: .45em; vertical-align: top; position: relative; top: .35em; margin-right: 2px; }
.price-card__pp { font-size: .92rem; color: var(--ink-soft); margin: 8px 0 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; display: grid; gap: 8px; }
.price-card .btn { margin-top: auto; }
.section--navy .price-card { border-color: transparent; }
.section--navy .price-card--featured { border-color: var(--gold-500); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--teal-500); margin-top: 2px; }
.checklist--light li { color: #d8e4ee; }
.checklist--light svg { color: var(--gold-400); }

.package-list { display: grid; gap: 22px; }
@media (min-width: 820px) { .package-list { grid-template-columns: repeat(3, 1fr); } }
.package {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.package__media { aspect-ratio: 16 / 10; overflow: hidden; }
.package__media img { width: 100%; height: 100%; object-fit: cover; }
.package__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.package__body p { color: var(--ink-soft); }
.package__price { margin-top: auto; font-weight: 700; color: var(--navy-800); padding: 12px 0 16px; border-top: 1px dashed var(--line); }
.package__price strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--teal-500); }

.note-box {
  background: var(--gold-50); border-left: 5px solid var(--gold-500); border-radius: var(--radius-sm);
  padding: 18px 22px; color: var(--ink);
}
.policy-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .policy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .policy-grid { grid-template-columns: repeat(4, 1fr); } }
.policy { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.policy h3 { font-size: 1.3rem; display: flex; gap: 8px; align-items: center; }
.policy h3 svg { width: 22px; height: 22px; color: var(--teal-500); }
.policy p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- 10. Feature list / about ---------- */
.feature { text-align: center; padding: 8px; }
.feature__icon { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--gold-500); color: var(--navy-900); transform: rotate(-4deg); }
.feature__icon svg { width: 34px; height: 34px; transform: rotate(4deg); }
.section--navy .feature p { color: #b9cbdb; }

.media-stack { position: relative; }
.media-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.media-stack__main { aspect-ratio: 1 / 1; }
.media-stack__inset {
  position: absolute; right: -10px; bottom: -28px; width: 44% !important; aspect-ratio: 4 / 5;
  border: 6px solid var(--white); box-shadow: var(--shadow-lg) !important;
}
@media (max-width: 599px) { .media-stack__inset { right: 8px; bottom: -20px; } }
.stat-row { display: flex; flex-wrap: wrap; gap: 26px; margin: 24px 0 28px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--teal-500); line-height: 1; }
.stat span { font-size: .92rem; color: var(--ink-soft); }

.team { display: grid; gap: 18px; }
@media (min-width: 600px) { .team { grid-template-columns: 1fr 1fr; } }
.team-card { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.team-card__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.team-card h3 { margin: 0; font-size: 1.35rem; }
.team-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- 11. Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.gallery-filters button {
  border: 1px solid var(--line); background: var(--white); color: var(--navy-800); border-radius: 999px;
  padding: 9px 18px; font: 600 .95rem var(--font-body); cursor: pointer;
}
.gallery-filters button[aria-pressed="true"] { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.gallery { columns: 2 160px; column-gap: 12px; }
@media (min-width: 900px) { .gallery { columns: 4 220px; column-gap: 16px; } }
.gallery__item { break-inside: avoid; margin: 0 0 12px; }
@media (min-width: 900px) { .gallery__item { margin-bottom: 16px; } }
.gallery__item[hidden] { display: none; }
.gallery__item a { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-700); }
.gallery__item img { width: 100%; height: auto; transition: transform .45s ease, opacity .3s; }
.gallery__item a:hover img { transform: scale(1.04); opacity: .92; }
.gallery__item a::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,26,46,.55), transparent 45%); opacity: 0; transition: opacity .3s;
}
.gallery__item a:hover::after, .gallery__item a:focus-visible::after { opacity: 1; }

/* Home gallery strip */
.photo-mosaic { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .photo-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; } .photo-mosaic .tall { grid-row: span 2; } .photo-mosaic .wide { grid-column: span 2; } }
.photo-mosaic a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--navy-700); }
@media (min-width: 800px) { .photo-mosaic a { aspect-ratio: auto; height: 100%; } }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.photo-mosaic a:hover img { transform: scale(1.05); }

/* Lightbox (native <dialog>) */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(3, 13, 24, .92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 12px; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #d8e4ee; margin-top: 12px; font-size: .95rem; }
.lightbox button {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox button svg { width: 26px; height: 26px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- 12. Testimonials ---------- */
.quote {
  background: var(--white); border-radius: var(--radius-lg); padding: 30px 28px; margin: 0; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; flex-direction: column; position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: -8px; right: 22px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--teal-50);
}
.quote__stars { display: flex; gap: 2px; color: var(--gold-500); margin-bottom: 14px; }
.quote__stars svg { width: 20px; height: 20px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.08rem; position: relative; }
.quote figcaption { margin-top: auto; font-weight: 700; color: var(--navy-800); }

/* ---------- 13. Seasons table ---------- */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.season-table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .92rem; }
.season-table th, .season-table td { padding: 10px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.season-table thead th { background: var(--navy-800); color: var(--white); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.season-table tbody th { text-align: left; padding-left: 16px; white-space: nowrap; color: var(--navy-800); }
.season-table td span { display: block; height: 30px; border-radius: 6px; }
.lvl-t { background: var(--teal-500); }
.lvl-o { background: var(--gold-400); }
.lvl-n { background: #e5e9ee; }
.season-legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 16px; font-size: .95rem; list-style: none; padding: 0; }
.season-legend li { display: inline-flex; gap: 8px; align-items: center; }
.season-legend i { width: 22px; height: 16px; border-radius: 4px; display: inline-block; }

/* ---------- 14. FAQ (native <details>) ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 700; color: var(--navy-800); font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--teal-500); border-bottom: 3px solid var(--teal-500); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { color: var(--teal-500); }
.faq__answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- 15. Reports / articles ---------- */
.post-card time { font-size: .88rem; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 a { color: var(--navy-800); text-decoration: none; }
.post-card h3 a:hover { color: var(--teal-500); }
.article { max-width: 760px; margin: 0 auto; font-size: 1.12rem; }
.article h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin-top: 1.4em; }
.article__meta { color: #b9cbdb; font-size: .95rem; margin-top: 14px !important; }
.article figure { margin: 2em 0; }
.article figure img { border-radius: var(--radius); width: 100%; }
.article figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }
.species-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.5em 0; }
.species-chips li { background: var(--teal-50); color: var(--ocean-600); font-weight: 700; font-size: .9rem; padding: 6px 14px; border-radius: 999px; }

/* ---------- 16. Forms / contact ---------- */
.book-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .book-layout { grid-template-columns: 1.35fr 1fr; gap: 40px; } }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; font-size: .97rem; }
.field .req { color: #b42318; }
.field .hint { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c7d1da; border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(18,168,163,.18); }
.field input:user-invalid, .field select:user-invalid { border-color: #b42318; }
.form-note { font-size: .9rem; color: var(--ink-soft); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--teal-50); color: var(--navy-800); font-weight: 600; }
.form-status[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; }

.contact-card { background: var(--navy-800); color: #d8e4ee; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); }
.contact-card h2 { color: var(--white); font-size: 2rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--gold-400); }
.contact-list svg { width: 22px; height: 22px; }
.contact-list small { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: #8fa7bc; font-weight: 700; }
.contact-list a { color: var(--white); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { color: var(--gold-400); }
.map-embed { margin-top: 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-700); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white); text-align: center;
  padding: clamp(64px, 10vw, 120px) 0; background: var(--navy-800);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(6,26,46,.92), rgba(11,90,122,.78)); }
.cta-band h2 { color: var(--white); max-width: 18em; margin-left: auto; margin-right: auto; }
.cta-band p { font-size: 1.2rem; color: #d9e6f0; max-width: 36em; margin: 0 auto 1.6em; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb3c6; font-size: .97rem; padding: clamp(48px, 7vw, 80px) 0 0; }
.site-footer a { color: #d8e4ee; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { color: var(--white); font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-logo { display: block; width: fit-content; max-width: 100%; margin: 0 auto clamp(32px, 5vw, 56px); }
.footer-logo img { width: 760px; max-width: 100%; height: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { flex: none; width: 20px; height: 20px; color: var(--teal-400); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--gold-500); color: var(--navy-900); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 48px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .88rem;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
}

/* ---------- 19. Reveal-on-scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Low-resolution source photos used as banners get softened so they don't look pixelated */
.page-hero--soft .page-hero__bg img { filter: blur(6px); transform: scale(1.06); }

/* Cards on navy sections keep dark headings */
.section--navy .price-card h3 { color: var(--navy-800); }
.contact-card .social a { color: var(--white); background: rgba(255,255,255,.1); }
.contact-card .social a:hover { background: var(--gold-500); color: var(--navy-900); }

/* ---------- 20. Google reviews ---------- */
.review-summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px;
  margin: -12px auto 28px; font-weight: 600; color: var(--ink-soft);
}
.review-summary .g-logo { width: 26px; height: 26px; }
.review-summary__score { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy-800); line-height: 1; }
.review-summary__stars { position: relative; display: inline-block; line-height: 0; }
.review-summary__stars > span { display: flex; gap: 2px; }
.review-summary__stars svg { width: 22px; height: 22px; flex: none; }
.stars-bg { color: #d5dbe1; }
.stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--gold-500); }

.reviews { position: relative; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px;
  padding: 6px 2px 18px; scrollbar-width: thin; overscroll-behavior-x: contain;
}
@media (min-width: 1000px) { .reviews__track { grid-auto-columns: calc((100% - 40px) / 3); } }
.reviews__track:focus-visible { outline-offset: 6px; }
.review-card { scroll-snap-align: start; }
.review-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.review-card .quote__stars { margin: 0; }
.review-source {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  color: var(--ink-soft); background: var(--sand-50); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 6px; white-space: nowrap;
}
.review-source .g-logo { width: 16px; height: 16px; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-card figcaption small { display: block; font-weight: 500; font-size: .82rem; color: var(--ink-soft); }
.review-card__avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-400); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
}
.quote::before { z-index: 0; }
.review-card > * { position: relative; z-index: 1; }
.reviews__nav { display: flex; justify-content: center; gap: 12px; margin-top: 6px; }
.reviews__nav[hidden] { display: none; }
.reviews__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy-800);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
}
.reviews__btn:hover { background: var(--navy-800); color: var(--white); }
.reviews__btn:disabled { opacity: .4; cursor: default; background: var(--white); color: var(--navy-800); }
.reviews__btn svg { width: 22px; height: 22px; }

/* Narrow desktop (1000–1149px): make room for the wide logo — the top bar already shows the phone number */
@media (min-width: 1000px) and (max-width: 1149px) {
  .site-nav a { padding: 8px 6px; font-size: 1rem; }
  .site-nav a[aria-current="page"]::after { left: 6px; right: 6px; }
  .header-phone { display: none !important; }
}

/* Buttons inside the mobile menu: undo the generic .site-nav a link styling */
.site-nav .site-nav__mobile-cta .btn {
  display: flex; padding: .75em 1.5em; font-size: 1.15rem; border: 2px solid transparent; border-radius: 999px;
}
.site-nav .site-nav__mobile-cta .btn--gold { color: var(--navy-900); }
.site-nav .site-nav__mobile-cta .btn--outline { border-color: var(--navy-800); }
