/* =========================================================
   Bonaire Yacht Charters — Fresh & Caribbean design system
   ========================================================= */

:root {
  --sea:        #2d5661;   /* brand teal (accent) */
  --sea-deep:   #21434d;
  --teal:       #2d5661;   /* brand teal (headings/nav) */
  --ink:        #11191c;   /* brand near-black (dark bands, body text) */
  --coral:      #11191c;   /* primary CTA = brand black, hover teal */
  --coral-dark: #2d5661;
  --sand:       #f5f3ef;   /* off-white page background */
  --sand-2:     #eceae4;
  --shell:      #ffffff;
  --muted:      #5b7077;
  --line:       rgba(10, 66, 80, .12);
  --shadow:     0 18px 40px -22px rgba(7, 49, 59, .45);
  --radius:     18px;
  --maxw:       1180px;
  --font-head:  "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  color: var(--teal);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.32rem; }

p { margin: 0 0 1rem; }
a { color: var(--sea-deep); text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--sea-deep);
  margin: 0 0 .9rem;
}

.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -12px rgba(17,25,28,.6); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); color:#fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-outline:hover { border-color: var(--sea); color: var(--sea-deep); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 234, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand b { font-family: var(--font-head); font-size: 1.18rem; color: var(--teal); letter-spacing: .5px; }
.brand span { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--sea-deep); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--teal); font-weight: 500; font-size: .95rem;
  padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--sea); transition: width .22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--sea-deep); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,49,59,.25) 0%, rgba(7,49,59,.55) 60%, rgba(7,49,59,.8) 100%);
  z-index: 1;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Video hero: video paints over the poster image by default */
.hero-video { z-index: 0; }
.hero-poster { z-index: 0; }
/* On small screens or when the user prefers reduced motion, drop the video and show the poster */
@media (max-width: 680px) {
  .hero-video { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero .eyebrow { color: #aef0f7; }
.hero p { font-size: 1.25rem; max-width: 52ch; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

.page-hero {
  position: relative; color: #fff; padding: clamp(5rem,12vw,8rem) 0 clamp(4rem,9vw,6rem);
  overflow: hidden;
}
.page-hero::before {
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, rgba(7,49,59,.35), rgba(7,49,59,.7));
}
.page-hero .hero-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color:#fff; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 60ch; font-size: 1.15rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 64ch; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.alt { background: var(--shell); }
.tealband { background: linear-gradient(135deg, var(--teal), var(--sea-deep)); color: #fff; }
.tealband h2, .tealband h3 { color: #fff; }
.tealband .eyebrow { color: #aef0f7; }
.tealband p { color: rgba(255,255,255,.9); }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--shell); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(7,49,59,.5); }
.card-img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color: var(--sea-deep); background: rgba(45,86,97,.10); padding:.3rem .7rem; border-radius:999px; margin-bottom:.8rem; align-self:flex-start;}
.card .muted { color: var(--muted); font-size: .96rem; }
.card ul { margin: .4rem 0 1.2rem; padding-left: 1.1rem; color: var(--muted); font-size: .93rem; }
.card ul li { margin-bottom: .2rem; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.split.rev > .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 5/4; object-fit: cover; width:100%; }
.split-text ul { padding-left: 1.1rem; color: var(--muted); }
.split-text ul li { margin-bottom: .35rem; }

/* Stats */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap:1.5rem; text-align:center; }
.stat b { display:block; font-family:var(--font-head); font-size:2.4rem; color:#fff; }
.stat span { font-size:.85rem; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.8); }

/* CTA band */
.cta {
  background: linear-gradient(135deg, var(--sea), var(--sea-deep));
  color:#fff; text-align:center; border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem,6vw,4rem); box-shadow: var(--shadow);
}
.cta h2 { color:#fff; }
.cta p { color: rgba(255,255,255,.92); max-width: 50ch; margin-inline:auto; }
.cta .hero-actions { justify-content:center; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items:start; }
.field { margin-bottom: 1.1rem; }
.field label { display:block; font-weight:600; font-size:.9rem; margin-bottom:.35rem; color:var(--teal); }
.field input, .field textarea {
  width:100%; padding:.8rem 1rem; border:1px solid var(--line); border-radius:12px;
  font-family:inherit; font-size:1rem; background:#fff; color:var(--ink);
}
.field input:focus, .field textarea:focus { outline:2px solid var(--sea); border-color:transparent; }
.info-card { background: var(--shell); border:1px solid var(--line); border-radius:var(--radius); padding:1.8rem; box-shadow:var(--shadow); }
.info-card dt { font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--sea-deep); font-weight:700; margin-top:1.1rem; }
.info-card dd { margin:.15rem 0 0; font-size:1.05rem; }
.info-card dd a:not(.btn) { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 3.5rem 0 1.5rem; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color:#fff; font-family:var(--font-body); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:1rem; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color:#fff; }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer ul li { margin-bottom:.5rem; }
.footer-brand b { font-family:var(--font-head); font-size:1.3rem; color:#fff; display:block; }
.footer-brand span { font-size:.62rem; letter-spacing:.3em; text-transform:uppercase; color:var(--sea); }
.socials { display:flex; gap:.8rem; margin-top:1rem; }
.socials a { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.1); display:grid; place-items:center; font-size:.78rem; font-weight:600; }
.socials a:hover { background: var(--sea); color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:2.5rem; padding-top:1.3rem; display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; font-size:.85rem; }
.footer-bottom nav { display:flex; gap:1.2rem; flex-wrap:wrap; }

/* Wave divider */
.wave { display:block; width:100%; height:auto; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev > .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: var(--sand);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 1rem 24px 1.5rem; border-bottom:1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width:100%; }
  .nav-links a { display:block; padding: .8rem 0; width:100%; border-bottom:1px solid var(--line); }
  .nav-toggle { display:block; }
  .nav-cta .btn-book { display:none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #25D366; color: #fff; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.15rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); transition: transform .15s ease, box-shadow .2s ease;
}
.wa-fab:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(0,0,0,.5); }
.wa-fab svg { width: 22px; height: 22px; fill: #fff; }
@media (max-width: 680px) { .wa-fab span { display: none; } .wa-fab { padding: 1rem; } }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab { animation: waPulse 2.6s ease-out infinite; }
@keyframes waPulse {
  0%   { box-shadow: 0 12px 30px -8px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 12px 30px -8px rgba(0,0,0,.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }

/* ---------- QR booking widget ---------- */
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.qr-card {
  background: var(--shell); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.5rem; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center;
}
.qr-card img { width: 150px; height: 150px; border-radius: 12px; background: #fff; }
.qr-card h4 { font-family: var(--font-head); margin: .8rem 0 .15rem; color: var(--teal); font-size: 1.05rem; font-weight: 600; }
.qr-card p { color: var(--muted); font-size: .88rem; margin: 0 0 .9rem; }
.qr-card .btn { margin-top: auto; }
.qr-note { color: var(--muted); font-size: .9rem; margin-top: 1.4rem; text-align: center; }
@media (max-width: 680px) { .qr-grid { grid-template-columns: 1fr 1fr; } .qr-card img { width: 130px; height: 130px; } }

/* ---------- Caribious booking widget grid ---------- */
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; justify-items: center; }
.book-grid > .book-cell { width: 100%; display: flex; justify-content: center; }
.book-grid .caribious-widget-card { width: 100%; max-width: 360px; }
.book-note { color: var(--muted); font-size: .92rem; text-align: center; margin-top: 1.6rem; }
@media (max-width: 920px) { .book-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .book-grid { grid-template-columns: 1fr; } }

/* ---------- Live product (tour) page ---------- */
.tour-wrap { display: grid; grid-template-columns: 1.6fr .9fr; gap: 2.5rem; align-items: start; }
.tour-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.4rem; }
.tour-badges span { background: rgba(45,86,97,.10); color: var(--sea-deep); font-weight: 600; font-size: .82rem; padding: .35rem .8rem; border-radius: 999px; }
.tour-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1.4rem 0 2rem; }
.tour-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.tour-desc { color: #38484d; line-height: 1.75; }
.tour-desc p { margin: 0 0 1rem; }
.tour-section { margin-top: 2rem; }
.tour-section h2 { font-size: 1.4rem; }
.inc-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.inc-list li { position: relative; padding-left: 1.7rem; margin-bottom: .5rem; color: #38484d; }
.inc-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sea); font-weight: 700; }
.exc-list li::before { content: "—"; color: #b34; }
.tour-aside { position: sticky; top: 96px; background: var(--shell); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; }
.tour-price { font-family: var(--font-head); font-size: 2rem; color: var(--teal); margin: 0; }
.tour-price small { font-size: .8rem; color: var(--muted); font-family: var(--font-body); }
.tour-aside .btn { width: 100%; justify-content: center; margin-top: 1rem; }
.tour-meta { font-size: .92rem; color: var(--muted); margin: .8rem 0 0; }
.tour-loading { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.tour-rating { color: var(--teal); font-weight: 600; }
@media (max-width: 860px) { .tour-wrap { grid-template-columns: 1fr; } .tour-aside { position: static; } .tour-gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Booking modal ---------- */
.bk-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(7,49,59,.62);
  display: flex; align-items: flex-start; justify-content: center; padding: 28px 14px; overflow: auto;
  -webkit-overflow-scrolling: touch; backdrop-filter: blur(2px); }
.bk-panel { position: relative; width: 100%; max-width: 480px; margin: auto; background: #fff;
  border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.2rem; background: linear-gradient(135deg, var(--teal), var(--sea-deep)); color: #fff; }
.bk-head b { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; }
.bk-close { background: rgba(255,255,255,.22); border: 0; color: #fff; width: 34px; height: 34px;
  border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; flex: none; }
.bk-close:hover { background: rgba(255,255,255,.36); }
.bk-panel iframe { width: 100%; border: 0; display: block; min-height: 560px; background: #fff; }
@media (max-width: 680px) { .bk-panel { max-width: 100%; } }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: #38484d; line-height: 1.75; }
.legal ul { padding-left: 1.2rem; margin: .4rem 0 1rem; }
.legal li { margin-bottom: .45rem; }
.legal .legal-note { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.2rem; }

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border: 1px solid #e3e8ea; border-radius: 12px; padding: 0 1.2rem; margin-bottom: .8rem; background: #fff; }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-family: Montserrat, sans-serif; font-weight: 600; color: #2D5661; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; color: #6c8a93; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 1.1rem; color: #595959; }

/* Blog */
.post-meta { color: #6c8a93; font-size: .9rem; margin-bottom: 1.2rem; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { margin-top: 2rem; }
.post-body h3 { margin-top: 1.6rem; color: #2D5661; }
.post-body p, .post-body li { color: #444; }
.post-hero-img { width: 100%; max-width: 980px; margin: 0 auto 2rem; display: block; border-radius: 16px; aspect-ratio: 16/8; object-fit: cover; }

/* Brand logo (header = teal via mask op crème balk; footer = wit op donker) */
.brand-logo{ display:block; height:40px; aspect-ratio:1900/460; background-color:#2D5661;
  -webkit-mask:url("img/logo.png") left center/contain no-repeat;
  mask:url("img/logo.png") left center/contain no-repeat; }
.footer-logo{ height:56px; width:auto; display:block; margin-bottom:.6rem; }
@media (max-width:600px){ .brand-logo{ height:34px; } }

/* How it works — steps */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .grid-4 { grid-template-columns: 1fr; } }
.step-no { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background:#2D5661; color:#fff; font-family:Montserrat,sans-serif; font-weight:700; margin-bottom:.9rem; }

/* Pricing tables */
.ptable-wrap{ overflow-x:auto; }
.ptable{ width:100%; border-collapse:collapse; font-size:.95rem; min-width:480px; }
.ptable th,.ptable td{ padding:.75rem 1rem; border-bottom:1px solid var(--line); text-align:right; }
.ptable th:first-child,.ptable td:first-child{ text-align:left; }
.ptable thead th{ font-family:Montserrat,sans-serif; font-size:.74rem; letter-spacing:.05em; text-transform:uppercase; color:#2D5661; }
.ptable tbody tr:hover{ background:rgba(45,86,97,.05); }
.price-note{ color:#6c8a93; font-size:.85rem; margin-top:.7rem; }

/* Bilingual tour content: both languages are baked into the HTML at build
   time (SEO — Google reads both), i18n.js sets <html lang="nl"> on toggle,
   these rules show/hide the matching block. Default (no lang attr, or
   lang=en) shows English. */
.lang-nl{ display:none; }
html[lang="nl"] .lang-nl{ display:block; }
html[lang="nl"] .lang-en{ display:none; }
