/* ============================================================
   Dockboat — shared design system
   Palette inspired by silent-yachts.com: deep navy + white,
   generous whitespace, understated gold accent.
   ============================================================ */

:root {
  --navy: #021939;
  --navy-soft: #0c2c54;
  --navy-tint: #f3f6fa;
  --white: #ffffff;
  --ink: #1a2433;
  --ink-soft: #55617a;
  --line: #e2e7ee;
  --gold: #b8934f;
  --gold-soft: #e9dcc3;
  --radius: 2px;
  --max: 1200px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

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

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled,
.site-header.solid {
  background: var(--white);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color 0.3s ease;
}
.logo span { color: var(--gold); }
.site-header.is-scrolled .logo,
.site-header.solid .logo { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  transition: color 0.3s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--gold); }

.site-header.is-scrolled .nav-links a,
.site-header.solid .nav-links a { color: var(--navy); }

.nav-links a.is-active { color: var(--gold) !important; }

.nav-cta {
  display: none;
}
@media (min-width: 860px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: background 0.3s ease;
}
.site-header.is-scrolled .nav-toggle span,
.site-header.solid .nav-toggle span { background: var(--navy); }

@media (max-width: 859px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: var(--white) !important; font-size: 1rem; }
  .nav-cta { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,25,57,0.35) 0%, rgba(2,25,57,0.15) 40%, rgba(2,25,57,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 32px 90px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero h1 { color: var(--white); max-width: 780px; margin-bottom: 0.6em; }
.hero p.lede {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  max-width: 560px;
  margin-top: 6px;
  margin-bottom: 28px;
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  min-height: 56vh;
  align-items: center;
  text-align: left;
}
.page-hero .hero-content { padding-bottom: 0; }

/* ---------- Sections ---------- */

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-tint { background: var(--navy-tint); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.75); }

.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grid / Cards ---------- */

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 30px;
  border-radius: var(--radius);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pillar-card:hover { box-shadow: 0 20px 40px -24px rgba(2,25,57,0.25); transform: translateY(-3px); }
.pillar-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.pillar-card h3 { margin-bottom: 10px; }
.pillar-card p { margin: 0; font-size: 0.95rem; }

.media-block { position: relative; overflow: hidden; border-radius: var(--radius); }
.media-block img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.media-block:hover img { transform: scale(1.04); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split.reverse .split-media { order: -1; }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.bg-navy .stat-label { color: rgba(255,255,255,0.65); }

/* ---------- Specs table ---------- */

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 16px 0; }
.spec-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 46%;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.spec-table td:last-child { color: var(--ink-soft); }

.spec-category {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.spec-block { margin-bottom: 64px; }
.spec-block:last-child { margin-bottom: 0; }

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--white);
}
.pill-list li::before {
  content: "+";
  color: var(--gold);
  font-weight: 700;
}
.pill-note {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- FAQ accordion ---------- */

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
}
.faq-q .icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding-bottom: 24px; margin: 0; max-width: 720px; }

/* ---------- Forms ---------- */

.form-grid { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
input, textarea, select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy);
}
textarea { resize: vertical; min-height: 130px; }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 44px;
  border-radius: var(--radius);
}
.contact-info-card h3 { color: var(--white); }
.contact-info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 4px;
}
.contact-info-row .value { color: var(--white); font-size: 1rem; }
.contact-info-row .value a:hover { color: var(--gold); }

.placeholder-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--gold-soft);
  font-style: italic;
}

/* ---------- Placeholder media block (for future photos/video) ---------- */

.media-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 24px;
}

/* ---------- Lightbox ---------- */

.lightbox-trigger { cursor: zoom-in; }

.media-block:has(.lightbox-trigger) { position: relative; }
.media-block:has(.lightbox-trigger)::after {
  content: "Click to enlarge";
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(2,25,57,0.78);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.media-block:hover:has(.lightbox-trigger)::after { opacity: 1; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2,25,57,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  background: var(--white);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.14); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid a, .footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-grid ul a:hover { color: var(--gold); }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 14px; }
.footer-logo span { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.78rem;
}

/* ---------- Misc ---------- */

.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 20px;
  margin-bottom: 16px;
}

.divider { height: 1px; background: var(--line); border: none; margin: 0; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z"/></svg>') no-repeat center / contain;
}
