/* ============================================================
   Bersenn Marine — stylesheet
   Palette: deep navy / ocean teal / sandy gold accent / off-white
   ============================================================ */

:root {
  --navy-900: #0b2e4f;
  --navy-800: #123a63;
  --teal-600: #1c5f8f;
  --teal-500: #2b7bb0;
  --gold-500: #f2b441;
  --gold-600: #dd9d28;
  --off-white: #f7fafc;
  --white: #ffffff;
  --ink: #16232f;
  --ink-soft: #4a5b6b;
  --border: #e3ebf1;
  --shadow: 0 10px 30px -12px rgba(11, 46, 79, 0.25);
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy-900);
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

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

.section { padding: 96px 0; }
.section-alt { background: var(--off-white); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-sub { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--teal-500); }

.text-accent { color: var(--gold-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy-900); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); }

.btn-accent { background: var(--gold-500); color: var(--navy-900); }
.btn-accent:hover { background: var(--gold-600); box-shadow: 0 8px 24px -8px rgba(242,180,65,.6); }

.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.btn-outline { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.price-card .btn-outline { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo-text small {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-500);
}
.logo-text.light { color: var(--white); }
.logo-text.light small { color: var(--gold-500); }

.main-nav { display: flex; gap: 22px; white-space: nowrap; }
.main-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy-900);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--teal-500); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy-900);
}
.header-phone svg { color: var(--gold-500); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--teal-600) 100%);
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(242,180,65,.18), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,.08), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 120px;
}
.hero-copy { color: var(--white); }
.hero-copy .eyebrow { color: var(--gold-500); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: .4em;
}
.hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 26px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  color: rgba(255,255,255,.85);
}
.hero-badges svg { color: var(--gold-500); flex-shrink: 0; }

.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-boat { width: 100%; max-width: 380px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

.hero-wave { display: block; width: 100%; height: 70px; position: relative; }

/* ---------- Secondary page hero (e.g. Boats We've Detailed) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--teal-600) 100%);
  padding-top: 72px;
  text-align: center;
}
.page-hero-inner {
  position: relative;
  padding-top: 64px;
  padding-bottom: 90px;
  max-width: 700px;
  margin: 0 auto;
}
.page-hero-inner .eyebrow { color: var(--gold-500); }
.page-hero-inner h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero-inner .hero-sub { color: rgba(255,255,255,.85); margin: 0 auto; }

.nav-current { color: var(--teal-500) !important; }

/* ---------- About: story + timeline ---------- */
.story-section { padding-top: 88px; }
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: start;
}
.story-copy .eyebrow { margin-bottom: 10px; }
.story-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .6em; }
.story-copy p { font-size: 1.02rem; }

.story-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: sticky;
  top: 100px;
}
.timeline-stop { width: 100%; text-align: center; }
.timeline-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.timeline-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.timeline-label { padding: 16px 6px 4px; }
.timeline-year {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 6px;
}
.timeline-label h3 { font-size: 1.1rem; margin-bottom: 4px; }
.timeline-label p { font-size: .9rem; margin: 0; }
.timeline-connector { display: flex; justify-content: center; margin: 4px 0; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--off-white); padding: 40px 0; border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.8rem; color: var(--navy-900); }
.trust-label { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Cards / Services ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(160deg, #eaf4fb, #dcecf7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; }
.card-price {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--teal-500);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  gap: 28px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card h3 { font-size: 1.2rem; }
.price-card .price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  margin: 6px 0 22px;
}
.price-card .price span { font-size: 2.2rem; }
.price-card .price { font-size: 1rem; color: var(--ink-soft); }
.price-card ul { margin-bottom: 26px; flex-grow: 1; }
.price-card li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .92rem;
  color: var(--ink-soft);
}
.price-card li:last-child { border-bottom: none; }

.price-card-featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.price-card-featured h3,
.price-card-featured .price,
.price-card-featured .price span { color: var(--white); }
.price-card-featured li { color: rgba(255,255,255,.75); border-bottom-color: rgba(255,255,255,.15); }

.pricing-footnote {
  text-align: center;
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 16px auto 0;
}

/* ---------- Policy note (rush-fee / advance-booking notice) ---------- */
.policy-note {
  max-width: 720px;
  margin: 36px auto 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-500);
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}
.policy-note svg { flex-shrink: 0; color: var(--gold-600); margin-top: 2px; }
.policy-note p { margin: 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }
.policy-note strong { color: var(--navy-900); }
.booking .policy-note { margin: 0 0 32px; max-width: none; }
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .75rem;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: .04em;
}

/* ---------- Process ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step { text-align: center; padding: 0 8px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--teal-500), var(--navy-900));
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.gallery-item span {
  position: relative;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,46,79,0) 40%, rgba(11,46,79,.65) 100%);
}
.ga-1 { background: linear-gradient(140deg, #2b7bb0, #0b2e4f); }
.ga-2 { background: linear-gradient(140deg, #1c5f8f, #123a63); }
.ga-3 { background: linear-gradient(140deg, #f2b441, #0b2e4f); }
.ga-4 { background: linear-gradient(140deg, #3a8fc2, #0b2e4f); }
.ga-5 { background: linear-gradient(140deg, #0b2e4f, #2b7bb0); }
.ga-6 { background: linear-gradient(140deg, #dd9d28, #123a63); }

/* Real-photo gallery grid (homepage teaser + full gallery page) */
.gallery-grid-photo { grid-template-columns: repeat(3, 1fr); }
.gallery-photo {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-photo:hover img { transform: scale(1.06); }
.gallery-cta { text-align: center; margin-top: 36px; }

/* ---------- Full "Boats We've Detailed" gallery page ---------- */
.boats-gallery { padding-top: 64px; }
.boats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.boat-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.boat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.boat-card-wide { grid-column: span 2; }
.boat-card-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.boat-card-wide .boat-card-btn { aspect-ratio: 16 / 9; }
.boat-card-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.boat-card-btn:hover img { transform: scale(1.05); }
.boat-card figcaption { padding: 18px 20px 22px; }
.boat-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.boat-card figcaption p { font-size: .88rem; margin: 0; color: var(--ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 46, 79, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: 1000px; max-height: 90vh; margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox-figure img { max-width: 100%; max-height: 78vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-figure figcaption { color: var(--white); margin-top: 16px; font-weight: 500; text-align: center; }
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 22px; right: 22px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  margin: 0;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { font-style: italic; color: var(--ink); }
.review-card cite { font-style: normal; font-weight: 600; font-size: .88rem; color: var(--teal-500); }

/* ---------- Service area ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.area-list li {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--navy-900);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--teal-600));
  padding: 70px 0;
  text-align: center;
}
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255,255,255,.85); max-width: 480px; margin-left: auto; margin-right: auto; }

.cta-inline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { margin: 26px 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--navy-900); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  color: var(--navy-900);
}
.social-links a:hover { background: var(--gold-500); color: var(--navy-900); }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(43,123,176,.15);
}
.form-note { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: 14px 0 0; }
.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  background: #e6f6ec;
  color: #1c7a3f;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-success.visible { display: block; }

/* ---------- Booking / calendar ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calendar-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.calendar-header h3 { margin: 0; font-size: 1.1rem; }
.cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cal-nav:hover:not(:disabled) { background: var(--navy-900); color: var(--white); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar-weekdays {
  margin-bottom: 8px;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy-900);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  position: relative;
}
.cal-day.is-empty { cursor: default; }
.cal-day.is-disabled {
  color: #c3ccd3;
  cursor: not-allowed;
  text-decoration: line-through;
}
.cal-day.is-available:hover { background: #dcecf7; }
.cal-day.is-today:not(.is-selected)::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-500);
}
.cal-day.is-selected {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
}
.cal-day:focus-visible,
.time-slot-btn:focus-visible,
.cal-nav:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 4px;
  font-size: .8rem;
  color: var(--ink-soft);
}
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.legend-available { background: #dcecf7; border: 1px solid #b7d7ec; }
.legend-selected { background: var(--navy-900); }
.legend-closed { background: #eef1f4; border: 1px solid #dfe5ea; }

.time-slots-wrap { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--border); }
.time-slots-wrap h4 { font-size: .92rem; color: var(--navy-900); margin-bottom: 12px; }
.time-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.time-slot-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.time-slot-btn:hover { border-color: var(--teal-500); }
.time-slot-btn.is-selected { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.time-slot-btn:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.time-slots-empty { font-size: .88rem; color: var(--ink-soft); margin: 0; }

.booking-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.booking-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: .92rem;
  font-weight: 500;
}
.booking-summary-icon { flex-shrink: 0; display: flex; }
.booking-summary.is-set { background: linear-gradient(120deg, var(--navy-900), var(--teal-600)); }
.booking-summary.has-rush { background: linear-gradient(120deg, var(--navy-900), var(--gold-600)); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: 60px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 12px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom { padding: 22px 24px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 90px; }
  .hero-art { order: -1; max-width: 260px; margin: 0 auto; }
  .cards-grid,
  .pricing-grid,
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .gallery-grid,
  .gallery-grid-photo { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
  .boats-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-timeline { position: static; flex-direction: row; align-items: flex-start; gap: 18px; max-width: 520px; margin: 0 auto; }
  .timeline-connector { transform: rotate(-90deg); margin: 0; align-self: center; }
}

@media (max-width: 760px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cards-grid,
  .pricing-grid,
  .reviews-grid,
  .steps-grid,
  .gallery-grid,
  .gallery-grid-photo { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .boats-grid { grid-template-columns: 1fr; }
  .boat-card-wide { grid-column: span 1; }
  .story-timeline { flex-direction: column; align-items: center; }
  .timeline-connector { transform: none; }
  .calendar-card, .booking-form { padding: 22px; }
  .cal-day { font-size: .84rem; }
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-close { width: 38px; height: 38px; top: 12px; right: 12px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 6px;
  }
  .main-nav.open a { padding: 10px 0; border-bottom: 1px solid var(--border); }
}

@media (min-width: 761px) {
  .main-nav { display: flex; }
}
