/* ==========================================================================
   OFF THE CLOCK FISHING CHARTERS — Panama City, FL
   Self-contained stylesheet. No frameworks, no CDNs.
   Brand: midnight water + vermilion strike + workboat sand.
   ========================================================================== */

:root {
  --midnight: #0C1B24;      /* deepest ink — night-water header/footer */
  --harbor:   #123243;      /* primary band color — dusk harbor blue */
  --vermilion:#E8523C;      /* accent — CTAs, eyebrows, the strike color */
  --vermilion-deep:#C43D2A; /* hover / pressed */
  --sand:     #F4EFE6;      /* warm section background */
  --foam:     #EAF2F2;      /* cool alt background */
  --ink:      #101A20;      /* body text */
  --white:    #FFFFFF;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --container: 76rem;
  --radius-lg: 1.25rem;
  --radius-md: 0.875rem;
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; background-color: #0C1B24; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.04; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }
:focus-visible { outline: 3px solid var(--vermilion); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--vermilion); color: #fff; padding: .6rem 1rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 768px) { .container { padding-inline: 2.5rem; } }
.section { padding-block: clamp(3.25rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.25rem, 5vw, 4rem); }
.bg-sand { background: var(--sand); }
.bg-foam { background: var(--foam); }
.bg-harbor { background: var(--harbor); color: #fff; }
.bg-midnight { background: var(--midnight); color: #fff; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.wide-left { grid-template-columns: 7fr 5fr; } }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--vermilion);
}
.on-dark .eyebrow, .bg-harbor .eyebrow, .bg-midnight .eyebrow { color: #FF8A73; }
.h-hero { font-size: clamp(2.9rem, 7.5vw, 5.25rem); text-transform: uppercase; letter-spacing: .01em; }
.h-xl { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: .01em; }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.muted { opacity: .78; }
.pullquote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25;
  border-left: 4px solid var(--vermilion); padding-left: 1.25rem;
}
.num { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 27, 36, .97);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.over-hero {
  position: sticky; top: 0; background: transparent; border-bottom: 0;
  margin-bottom: calc(-1 * var(--header-h));
  transition: background .25s ease;
}
.site-header.over-hero.scrolled { background: rgba(12, 27, 36, .97); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand { padding-block: .45rem; }
.brand-logo { height: 66px; width: auto; display: block; }
.footer-logo { height: 108px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
@media (max-width: 480px) { .brand-sub { letter-spacing: .1em; } }
.nav-desktop { display: none; align-items: center; gap: 1.6rem; }
.nav-desktop a { text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .85; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { opacity: 1; color: #FF8A73; }
.header-cta { display: none; align-items: center; gap: 1rem; }
.header-phone { text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
@media (min-width: 1200px) { .nav-desktop, .header-cta { display: flex; } .nav-toggle { display: none; } }
.nav-desktop a, .header-cta .btn, .header-phone { white-space: nowrap; }
.nav-toggle {
  background: none; border: 0; padding: .7rem .3rem; cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 7px; z-index: 60; position: relative;
}
.nav-toggle .bar {
  display: block; width: 27px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform .28s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(-4.75px) rotate(-45deg); }
@media (min-width: 1200px) { .nav-toggle { display: none; } }

/* Full-screen dark takeover menu */
.nav-mobile { display: none; }
.nav-mobile.open {
  display: flex; flex-direction: column; justify-content: space-between;
  position: fixed; inset: 0; z-index: 55;
  background: rgba(12, 27, 36, .985); backdrop-filter: blur(8px);
  padding: calc(var(--header-h) + 4.5rem) 1.75rem 2.25rem;
  overflow-y: auto;
  animation: menuIn .22s ease;
}
.site-header:has(.nav-mobile.open) ~ .book-bar { display: none; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.nav-mobile-links { display: flex; flex-direction: column; }
.nav-mobile-links a {
  font-family: var(--font-display); font-size: clamp(1.7rem, 6vh, 2.2rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; color: #fff; text-decoration: none;
  padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile-links a:active, .nav-mobile-links a[aria-current="page"] { color: #FF8A73; }
.nav-mobile-cta { display: grid; gap: .8rem; margin-top: 2rem; }
.site-header .brand { position: relative; z-index: 60; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  border: 0;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--vermilion); color: #fff; box-shadow: 0 8px 22px rgba(232, 82, 60, .35); }
.btn-primary:hover { background: var(--vermilion-deep); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--midnight); color: #fff; }
.btn-dark:hover { background: var(--harbor); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.1rem; }

.link-underline { text-decoration: none; font-weight: 700; color: var(--harbor); border-bottom: 2px solid var(--vermilion); padding-bottom: 2px; }
.link-underline:hover { color: var(--vermilion); }
.on-dark .link-underline { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  animation: heroDrift 38s ease-in-out infinite alternate; will-change: transform; }
@keyframes heroDrift {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.13) translate(-1.6%, -2.2%); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,27,36,.62) 0%, rgba(12,27,36,.28) 40%, rgba(12,27,36,.78) 100%),
    linear-gradient(100deg, rgba(12,27,36,.55) 0%, rgba(12,27,36,0) 60%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(6rem, 14vh, 9rem); }
@media (max-width: 767px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-inner { margin-block: auto; padding-block: 6.5rem 2.5rem; }
  .trust-strip { position: static; }
}
.hero .eyebrow { color: #fff; opacity: .95; font-size: .78rem; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.page-hero { padding-block: clamp(4rem, 9vw, 6.5rem); }

/* Trust strip docked to hero bottom */
.trust-strip {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  /* on mobile this is overridden to static — see media query below */
  background: rgba(12,27,36,.92); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.1); color: #fff;
}
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.2rem; padding-block: 1rem; font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.trust-row > span { display: flex; align-items: center; gap: .55rem; opacity: .94; }
@media (min-width: 768px) { .trust-row > span { white-space: nowrap; } }
.trust-row svg { width: 21px; height: 21px; flex: none; color: #FF8A73; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--vermilion); flex: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg); overflow: hidden;
}
.card-pad { padding: 1.75rem; }
.card-lift { transition: transform .25s ease, box-shadow .25s ease; text-decoration: none; display: block; }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,27,36,.14); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card-lift:hover .card-img img { transform: scale(1.04); }
.price-pill {
  display: inline-block; background: var(--midnight); color: #fff;
  border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.card .eyebrow + .price-pill { margin-left: auto; }
.dark-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); }

/* Stat mini-grid */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.stat-cell { background: rgba(255,255,255,.06); border-radius: .6rem; padding: .7rem .5rem; text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #FF8A73; line-height: 1; }
.stat-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .75; margin-top: .3rem; }
.light .stat-cell { background: rgba(12,27,36,.05); }
.light .stat-num { color: var(--vermilion); }

/* ---------- Ticks & pills ---------- */
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; padding-block: .4rem; }
.tick {
  flex: none; width: 1.15rem; height: 1.15rem; margin-top: .22rem; border-radius: 50%;
  background: var(--vermilion);
  clip-path: none; position: relative;
}
.tick::after {
  content: ""; position: absolute; left: .32rem; top: .17rem;
  width: .3rem; height: .55rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { background: rgba(12,27,36,.07); border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; font-weight: 600; }
.on-dark .pill { background: rgba(255,255,255,.1); }

/* ---------- Pricing table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius-lg); background: #fff; }
table.pricing { width: 100%; border-collapse: collapse; min-width: 620px; }
.pricing th, .pricing td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.pricing thead th { background: var(--midnight); color: #fff; font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.pricing .group-row td { background: var(--sand); font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.pricing .price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--harbor); white-space: nowrap; }
.pricing tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 767px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; }
  table.pricing { min-width: 0; display: block; }
  .pricing thead { display: none; }
  .pricing tbody { display: block; }
  .pricing tr {
    display: grid; grid-template-columns: 1fr auto; gap: .1rem .9rem;
    background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-md);
    padding: .95rem 1.15rem; margin-bottom: .65rem;
  }
  .pricing td { display: block; border: 0; padding: 0; }
  .pricing td:nth-child(1) { grid-area: 1 / 1; font-weight: 700; }
  .pricing td:nth-child(3) { grid-area: 1 / 2; text-align: right; }
  .pricing td:nth-child(2) { grid-area: 2 / 1; font-size: .88rem; opacity: .65; }
  .pricing td:nth-child(4) { grid-area: 2 / 2; text-align: right; font-size: .88rem; opacity: .65; }
  .pricing td:nth-child(4)::before { content: "guests 5–6: "; }
  .pricing .price { font-size: 1.25rem; }
  .pricing tr.group-row {
    display: block; background: transparent; border: 0; padding: 1rem 0 .15rem; margin-bottom: .35rem;
  }
  .pricing .group-row td { font-family: var(--font-display); }
  .pricing .group-row td::before { content: none; }
}

/* ---------- Deposit cards (book page) ---------- */
.deposit-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
@media (min-width: 640px) { .deposit-grid { grid-template-columns: 1fr 1fr; } }
.deposit-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.deposit-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(12,27,36,.12); }
.deposit-card .dc-name { font-weight: 700; }
.deposit-card .dc-price { font-size: .85rem; opacity: .65; }
.deposit-card .dc-amt {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--vermilion);
  white-space: nowrap;
}


/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-md); background: #fff; margin-bottom: .75rem; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { flex: none; transition: transform .25s ease; color: var(--vermilion); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-body { padding: 0 1.3rem 1.2rem; color: rgba(16,26,32,.8); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--midnight) 0%, var(--harbor) 70%, #17475e 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.75rem); text-align: center;
}
.cta-band .btn-row { margin-top: 1.75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.btn-row.left { justify-content: flex-start; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.gallery-grid a { display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1; }
.gallery-grid a.tall { aspect-ratio: 3/4; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@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; font-size: .88rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid rgba(12,27,36,.18); border-radius: .65rem;
  font: inherit; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--vermilion); outline: none; }
.trip-pill input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.trip-pill span {
  display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  border: 1.5px solid rgba(12,27,36,.2); cursor: pointer; transition: all .15s ease; background: #fff;
}
.trip-pill input:checked + span { background: var(--midnight); color: #fff; border-color: var(--midnight); }
.trip-pill input:focus-visible + span { outline: 3px solid var(--vermilion); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: rgba(255,255,255,.8); font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-block: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a { text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: #FF8A73; }
.site-footer li { padding-block: .22rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.25rem; font-size: .8rem; opacity: .6; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }

/* ---------- Mobile book bar ---------- */
.book-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: flex; background: var(--midnight); border-top: 1px solid rgba(255,255,255,.15);
  padding: .6rem .75rem; gap: .6rem;
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
}
.book-bar a { flex: 1; text-align: center; }
@media (min-width: 768px) { .book-bar { display: none; } body { padding-bottom: 0; } }
body { padding-bottom: 64px; } /* room for book-bar on mobile */
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* ---------- Season banner ---------- */
.season-banner {
  display: block; background: var(--vermilion); color: #fff; text-align: center;
  padding: .6rem 1.25rem; font-size: .92rem; font-weight: 600; text-decoration: none;
}
.season-banner:hover { background: var(--vermilion-deep); }

/* ---------- Species seasonality bars ---------- */
.season-wrap { margin-top: .9rem; }
.season-bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.season-bar span { height: .55rem; border-radius: 2px; background: rgba(12,27,36,.09); }
.season-bar span.on { background: var(--vermilion); }
.season-months { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: .3rem; }
.season-months span { font-size: .58rem; font-weight: 600; text-align: center; opacity: .5; }

/* ---------- Misc ---------- */
.divider-strike { width: 64px; height: 4px; background: var(--vermilion); border-radius: 2px; margin-block: 1.1rem; }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.badge-float {
  position: absolute; bottom: 1rem; left: 1rem;
  background: var(--vermilion); color: #fff; border-radius: .75rem; padding: .7rem 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.1;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.badge-float small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.sticky-subnav {
  position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.07); overflow-x: auto; white-space: nowrap;
}
.sticky-subnav .pills { display: flex; gap: .5rem; padding-block: .7rem; }
.sticky-subnav a { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
