/* ============ HarborSide Yacht Services ============ */
/* Shared stylesheet — mobile-first, no framework, ~6KB */

:root {
  --navy: #1a3a5c;
  --navy-dark: #122a44;
  --navy-deep: #0f243a;
  --navy-tint: rgba(26,58,92,0.08);
  --text: #1b1b1b;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-soft: #f9fafc;
  --border: #e5e7eb;
  --max-w: 1180px;
  --radius-pill: 48px;
  --radius-card: 14px;
  --shadow-sm: 0 1px 2px rgba(15,36,58,.04);
  --shadow-md: 0 6px 24px rgba(15,36,58,.08);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 14px 32px rgba(15,36,58,0.12);
  /* Premium accent — brushed champagne gold for selective use only */
  --gold: #c8a97e;
  --gold-soft: rgba(200,169,126,0.45);
  --bg-warm: #f8f6f3;
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.logo-wrap {
  display: inline-flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  max-width: 180px;
}
.logo-wrap img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
@media (min-width: 960px) {
  .logo-wrap img { height: 44px; max-width: 160px; }
}
.nav { display: none; }
.cta-call {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.071em;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.cta-call:hover { background: var(--text); color: #fff; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 960px) {
  .header-inner { padding: 0 28px; height: 72px; }
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 24px;
  }
  .nav a {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition: color .2s;
  }
  .nav a:hover { color: var(--navy); }
}

/* Mobile drawer — top/bottom positioning, inner content scrolls */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 9999;
  overflow: hidden;
}
.drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 76px 24px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
  z-index: 2; /* sits above .drawer-content */
}
.drawer-close:hover { background: rgba(0,0,0,0.06); }
/* iOS scroll lock — body becomes fixed when menu open (set via JS with saved scrollY) */
html.menu-open, body.menu-open { overflow: hidden; }
body.menu-open { position: fixed; left: 0; right: 0; width: 100%; }
.drawer a {
  display: block;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.drawer a.drawer-sub {
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 14px 0 14px 16px; /* 14+15+14 ≈ 43px tap height */
  color: var(--muted);
  border-bottom: 1px solid rgba(229,231,235,0.6);
}
/* Collapsible Services group inside drawer */
.drawer details.drawer-group { margin: 0; padding: 0; border-bottom: 1px solid var(--border); }
.drawer details.drawer-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  border-bottom: none;
  -webkit-tap-highlight-color: transparent;
}
.drawer details.drawer-group > summary::-webkit-details-marker { display: none; }
.drawer details.drawer-group > summary::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-right: 6px;
  margin-top: -4px;
}
.drawer details.drawer-group[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.drawer details.drawer-group > .drawer-sub:last-of-type { border-bottom: none; }
/* Drawer call button — positioned at top of drawer, filled style for prominence */
.drawer .cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 28px;
  padding: 16px 24px;
  font-size: 14px;
  min-height: 52px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border: none;
  border-bottom: none; /* override .drawer a border-bottom that creates a fake clip line */
  border-radius: var(--radius-pill);
  letter-spacing: 0.07em;
  box-shadow: 0 2px 6px rgba(15,36,58,0.18);
}
.drawer .cta-call:hover {
  background: var(--navy-dark);
  color: #fff;
}
@media (min-width: 960px) { .drawer { display: none; } }

/* Desktop nav dropdown */
.nav-item-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  /* Extend hover area downward so the cursor stays in :hover while crossing
     the visual gap to the dropdown — fixes "dropdown closes before I can click" */
  padding: 14px 0;
  margin: -14px 0;
}
.nav-item-dropdown .caret {
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform .22s;
  margin-top: 1px;
}
.nav-item-dropdown:hover .caret,
.nav-item-dropdown:focus-within .caret { transform: rotate(90deg) translateX(2px); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 0;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 110;
  margin-top: 0;
}
/* Invisible bridge that sits in the visual gap between trigger and dropdown,
   keeping :hover active as the cursor moves down */
.nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 12px;
  /* transparent — pure hover-zone extender */
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 11px 22px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text) !important;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--navy) !important; }

/* ============ PROMO CALLOUT ============ */
.promo-callout {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: 8px;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(15,36,58,0.04);
}
.promo-callout-text {
  flex: 1;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  min-width: 220px;
}
.promo-callout-text strong {
  color: var(--navy);
  font-weight: 700;
}
.promo-callout .btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 11.5px;
  white-space: nowrap;
}
.promo-section {
  padding: 36px 20px;
  background: var(--bg-soft);
}
@media (min-width: 800px) { .promo-section { padding: 48px 20px; } }

/* Banner that appears above the contact form when ?promo=first-service is in the URL */
.promo-banner {
  display: none;
  background: rgba(200,169,126,0.12);
  border: 1px solid rgba(200,169,126,0.45);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.promo-banner.is-active { display: block; }
.promo-banner strong { color: var(--navy); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.071em;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .15s ease, box-shadow .18s ease;
  cursor: pointer;
  font-family: var(--font-heading);
}
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 3px rgba(15,36,58,0.18);
}
.btn-primary:hover {
  background: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(15,36,58,0.28);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(2px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 8px 20px rgba(0,0,0,0.25); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline-dark:hover {
  background: var(--text);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #1b1b1b;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 4vh; /* shifts content up so the bottom of the photo breathes */
}
@media (min-width: 800px) {
  .hero { min-height: 100vh; padding-bottom: 6vh; }
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  /* Very light overlay — let the photo breathe, like the original site (which uses none) */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  z-index: -1;
}
.hero-inner { padding: 24px 20px; max-width: 960px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 26px;
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-pill);
  background: transparent;
  color: #fff;
  opacity: .94;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem); /* 48 → 96px */
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-bottom: 22px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 4px 32px rgba(0,0,0,0.45);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 40px;
  opacity: 1;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 2px 16px rgba(0,0,0,0.4);
  letter-spacing: 0.005em;
}
.hero-ctas .btn {
  min-height: 58px;
  padding: 0 36px;
  letter-spacing: 0.12em;
  font-size: 13px;
}
/* Match View Services exactly: same transparent fill, same white border — buttons read as a true pair */
.hero-ctas .btn-primary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.85);
  box-shadow: none;
}
.hero-ctas .btn-primary:hover {
  background: rgba(255,255,255,0.14);
  border-color: #fff;
  box-shadow: none;
}
/* Subtle dark gradient at the bottom of hero so text reads against any photo */
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35));
  z-index: -1;
  pointer-events: none;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-locale {
  display: block;
  margin-top: 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: .82;
  font-family: var(--font-heading);
}

/* ============ SECTION BASE ============ */
section { padding: 56px 0; }
@media (min-width: 800px) { section { padding: 88px 0; } }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4.4vw, 2.875rem); /* ~30 → ~46px, matching original */
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin-bottom: 0;
  color: var(--text);
}
.section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: var(--navy);
  margin: 18px auto 44px;
  border-radius: 2px;
  opacity: .85;
}
.section-title.no-rule::after { display: none; }
.section-eyebrow {
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--navy);
  margin-bottom: 14px;
  opacity: .85;
}

/* ============ SERVICES OVERVIEW ============ */
.services-section { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  background: #fff;
  text-align: center;
  padding: 2.5rem 1.75rem 2rem;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(229,231,235,0.7);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(200,169,126,0.35);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto;
}
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}
.service-card-cta::after {
  content: '';
  position: absolute;
  left: 0;
  right: 18px; /* leaves room for arrow */
  bottom: -3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover .service-card-cta::after { transform: scaleX(1); }
.service-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform .3s ease;
}
.service-card:hover .service-card-cta svg { transform: translateX(3px); }
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  /* When the hub only has 2 cards, keep them as a pair instead of stretching to 4 */
  .services-grid.services-grid-pair { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
  /* When a section has 3 cards (e.g. wash schedule), keep them as a centered trio */
  .services-grid.services-grid-trio { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .services-grid.services-grid-trio { grid-template-columns: repeat(3, 1fr); }
}

/* ============ WHY HARBORSIDE ============ */
.why { background: #fff; }
.why-grid {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}
.why-item {
  text-align: center;
  padding: 8px 8px;
  position: relative;
}
.why-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.why-item h3::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto 14px;
  border-radius: 2px;
}
.why-item p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 280px; margin: 0 auto; }

@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
}

/* ============ SERVICE AREAS ============ */
.areas-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}
.area-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(26,58,92,0.18);
}
.area-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.area-card-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform .35s ease, filter .25s ease;
}
.area-card:hover .area-card-img {
  filter: brightness(0.94);
  transform: scale(1.02);
}
.area-body { padding: 28px 28px 30px; position: relative; flex: 1; }
.area-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.area-body h3::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--navy);
  margin-bottom: 14px;
  border-radius: 2px;
}
.area-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.area-body ul {
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.85;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.area-body ul li {
  margin-bottom: 0;
  position: relative;
  padding-left: 18px;
}
.area-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  background: var(--navy);
  border-radius: 50%;
  opacity: .55;
}
@media (min-width: 800px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
.areas-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

/* ============ GALLERY ============ */
.gallery { background: #fff; }
.gallery-grid {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--bg-alt);
  display: block;
  transition: filter .25s ease, transform .35s ease;
}
.gallery-grid img:hover {
  filter: brightness(1.05) saturate(1.05);
  transform: scale(1.01);
}
@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
}

/* ============ BOTTOM CTA / SEO ============ */
.bottom-cta { text-align: center; }
.bottom-cta p {
  max-width: 760px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.bottom-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 20px 32px;
  text-align: center;
}
.footer-brand {
  margin-bottom: 28px;
}
.footer-wordmark {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
}
.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 12px;
  font-style: normal;
}
.footer-text { font-size: 15px; line-height: 1.7; opacity: .9; }
.footer-text p { margin-bottom: 4px; }
.footer-text a { color: #fff; text-decoration: underline; }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 8px;
}
.footer-social a {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.footer-social a:hover {
  background: rgba(200,169,126,0.22);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-social svg { width: 22px; height: 22px; }
.footer-copy {
  font-size: 13.5px;
  opacity: .65;
  margin-top: 36px;
  padding-top: 26px;
  position: relative;
}
.footer-copy::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
  transform: translateX(-50%);
}
.footer-nav { margin-top: 14px; }
.footer-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: .85;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
}

/* ============ INNER PAGE HERO (no image) ============ */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 80px 20px 72px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(34px, 5.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero .subhead {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 720px;
  margin: 0 auto 22px;
  opacity: .94;
}
.page-hero .marina-list {
  font-size: 14.5px;
  opacity: .9;
  max-width: 720px;
  margin: 8px auto 0;
}
.page-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============ PROSE BLOCK ============ */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin-bottom: 16px; color: var(--text); font-size: 16px; line-height: 1.75; }
.prose p.lead { font-size: 18px; color: var(--text); }

/* ============ SERVICE BLOCK (services page) ============ */
.service-block {
  max-width: 880px;
  margin: 0 auto 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-banner {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 32px;
  display: block;
  box-shadow: var(--shadow-card);
  background: var(--bg-alt);
}
@media (max-width: 600px) {
  .service-banner { aspect-ratio: 4/3; border-radius: 10px; margin-bottom: 24px; }
}
.service-block h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}
.service-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
@media (min-width: 760px) {
  .service-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.service-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-col ul {
  list-style: none;
  padding: 0;
}
.service-col ul li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
.service-col ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  background: var(--navy);
  border-radius: 50%;
}
.service-block-cta { text-align: center; }

/* ============ FAQ ============ */
.faq { max-width: 720px; margin: 0 auto; }
.faq-intro { text-align: center; color: var(--muted); margin-bottom: 28px; font-size: 15px; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  padding-right: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-weight: 400;
  font-size: 22px;
  color: var(--navy);
  transition: transform .2s;
  margin-left: 12px;
}
.faq details[open] summary::after { content: '−'; }
.faq details > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.cta-banner h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-banner p { opacity: .92; margin-bottom: 22px; font-size: 16px; }
.cta-banner .btn-secondary { border-color: #fff; }
.cta-banner .btn-light {
  background: #fff;
  color: var(--navy);
}
.cta-banner .btn-light:hover { background: #f0f0f0; }

/* ============ ABOUT — FOUNDER ============ */
.founder-block {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .founder-block { grid-template-columns: 280px 1fr; gap: 48px; }
}
.founder-photo {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}
@media (min-width: 760px) {
  .founder-photo { width: 260px; height: 260px; }
}
.founder-bio h2 { font-size: 24px; margin-bottom: 16px; font-weight: 700; }
.founder-bio p { margin-bottom: 14px; color: var(--text); font-size: 16px; line-height: 1.7; }
.about-secondary {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 56px auto 0;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
/* By-the-Numbers stats grid (about-us) */
.stats-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.stat-item { padding: 16px 8px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.4vw, 60px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.022em;
}
.stat-number-accent { color: var(--gold); }
.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  font-weight: 600;
}
.mission-block {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  text-align: center;
}
.mission-block h2,
.mission-block h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.mission-block p { color: var(--text); font-size: 16px; line-height: 1.65; }

/* ============ CONTACT PAGE ============ */
.contact-hero {
  background: var(--bg-alt);
  padding: 32px 0;
}
.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}
.contact-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center bottom; /* anchor crop to the bottom of the photo — shows the boat, not the sky/mast */
  border-radius: 10px;
  display: block;
}
.contact-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0;
}
.contact-hero-body h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.contact-hero-body p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 520px;
}
.contact-hero-body strong { display: block; margin-bottom: 6px; font-size: 17px; }

@media (min-width: 800px) {
  .contact-hero { padding: 64px 0; }
  .contact-hero-inner {
    grid-template-columns: minmax(0, 0.82fr) 1fr;
    gap: 56px;
    padding: 0 28px;
  }
  .contact-hero-img {
    height: 400px;
    max-height: 400px;
    border-radius: 12px;
  }
  .contact-hero-body { padding: 0; }
}

/* ============ FORM ============ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 880px) {
  .contact-section { grid-template-columns: 1.3fr 1fr; gap: 64px; }
}
.contact-form-block h2,
.contact-form-block h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; margin-bottom: 24px; line-height: 1.2; letter-spacing: -0.005em; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-row label .req { color: #c0392b; }
.form-row input,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,.12);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row.file input { padding: 8px 0; border: none; background: transparent; font-size: 14px; }
.form-submit { margin-top: 8px; width: 100%; }
@media (min-width: 540px) {
  .form-submit { width: auto; min-width: 220px; }
}
.form-privacy {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.contact-info-block { font-size: 15px; }
.contact-info-block h2,
.contact-info-block h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); line-height: 1.2; }
.contact-info-block p { margin-bottom: 14px; color: var(--text); }
.contact-info-block .info-item { margin-bottom: 22px; }
.contact-info-block .info-item .label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-info-block .info-item .value { font-size: 16px; color: var(--text); }
.contact-info-block a { color: var(--navy); text-decoration: underline; }

/* ============ REVIEWS BADGE ============ */
.reviews { background: var(--bg-alt); text-align: center; }
.reviews-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 48px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  max-width: 520px;
  margin: 0 auto;
}
.reviews-stars { color: #f5a623; font-size: 26px; letter-spacing: 4px; }
.reviews-rating { font-size: 28px; font-weight: 700; }
.reviews-count { color: var(--muted); font-size: 15px; margin-bottom: 4px; }

/* ============ MARINA LIST CARDS ============ */
.marina-list-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .marina-list-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
.marina-item {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform .15s, box-shadow .2s;
}
.marina-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.marina-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}
.marina-item p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

/* ============ INNER CONTACT BLOCK (city pages) ============ */
.city-contact { background: var(--bg-alt); }
.city-contact .contact-section { gap: 32px; }
.city-contact-info h3 { font-size: 22px; margin-bottom: 16px; }
.city-contact-info .info-item { margin-bottom: 18px; }

/* ============ 404 ============ */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px;
}
.error-page h1 {
  font-size: clamp(56px, 12vw, 96px);
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}
.error-page p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .testimonials-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonials-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.testimonial-card {
  position: relative;
  background: #fff;
  padding: 36px 28px 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.testimonial-card::before {
  /* Decorative quote mark — large stylized " in light gold/navy */
  content: '\201C';
  position: absolute;
  top: -22px;
  left: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 110px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.22;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(200,169,126,0.4);
}
.testimonial-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.testimonial-stars svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin-bottom: 18px;
  flex: 1;
  quotes: '"' '"';
  position: relative;
  z-index: 1;
}
.testimonial-quote::before { content: open-quote; }
.testimonial-quote::after  { content: close-quote; }
.testimonial-author {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.reviews-cta { text-align: center; margin-top: 40px; }

/* Small "★★★★★ 24+ Reviews" credibility line — sits above the testimonials block */
.review-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.review-summary-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  line-height: 1;
}
.review-summary-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Featured review (homepage, between hero and services) */
.featured-review {
  background: #fff;
  padding: 64px 20px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) { .featured-review { padding: 88px 20px 84px; } }
.featured-review-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.featured-review .testimonial-stars {
  justify-content: center;
  margin-bottom: 24px;
  gap: 5px;
  color: var(--gold);
}
.featured-review .testimonial-stars svg {
  width: 26px;
  height: 26px;
}
.featured-review-quote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin: 0 0 28px;
  letter-spacing: -0.005em;
  quotes: '"' '"';
}
.featured-review-quote::before { content: open-quote; }
.featured-review-quote::after  { content: close-quote; }
.featured-review-author {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}
.featured-review-author::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 16px;
  border-radius: 2px;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 20px;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
  opacity: .4;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* ============ FOOTER NAV (3-col) ============ */
.footer-nav-grid {
  display: grid;
  gap: 28px 24px;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0 24px;
  text-align: left;
}
@media (min-width: 600px) {
  .footer-nav-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.86);
  padding: 11px 0; /* 11+15+11 ≈ 37px → with line-height = 44px tap target */
  line-height: 1.4;
  text-decoration: none;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
/* Hide the legacy single-link footer-nav when grid is used */
.footer-nav-grid + .footer-copy { margin-top: 28px; }

/* ============ ACCESSIBILITY / MISC ============ */
/* Offset anchor-link jumps so targets aren't hidden under the sticky header */
[id] { scroll-margin-top: 88px; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
