/* ============================================================
   Bateau Rumba — Minimal static stylesheet
   Brand palette:
     --primary  #3256C6 (blue)
     --accent   #FF9933 (orange)
     --dark     #13172B (footer / text)
     --muted    #6A7285 (body text)
============================================================ */

:root {
  --primary: #3256C6;
  --accent: #FF9933;
  --dark: #13172B;
  --muted: #6A7285;
  --light: #F6F8FB;
  --white: #fff;
  --maxw: 1200px;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Work Sans", "Roboto", system-ui, -apple-system, sans-serif;
  color: var(--muted);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Domine", Georgia, serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reusable section heading ---------- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .sub-title {
  font-family: "Great Vibes", cursive;
  font-size: 36px;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.section-head .title {
  font-size: 38px;
  color: var(--dark);
  text-transform: capitalize;
}
.section-head .section-lead {
  margin: 16px auto 0;
  max-width: 640px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .5px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  transition: .25s;
  cursor: pointer;
  white-space: nowrap;
}
.header-cta { flex-shrink: 0; }
.btn:hover { background: transparent; color: var(--accent); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--dark); }
.btn--blue { background: var(--primary); border-color: var(--primary); }
.btn--blue:hover { background: transparent; color: var(--primary); }

/* ============================================================
   HEADER / NAV
============================================================ */
.topbar {
  background: var(--dark);
  color: #cfd2da;
  font-size: 14px;
  padding: 10px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar a { color: #cfd2da; }
.topbar a:hover { color: var(--accent); }
.topbar .tagline { font-family: "Domine", serif; color: #fff; font-size: 13px; }
.topbar .socials { display: flex; gap: 10px; }
.topbar .socials a {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: .25s;
}
.topbar .socials a:hover { background: var(--accent); border-color: var(--accent); }
.topbar .socials svg { width: 14px; height: 14px; fill: #fff; }

.main-header {
  background: transparent;
  padding: 22px 0;
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.main-header.is-scrolled {
  background: var(--dark);
  position: fixed;
  padding: 14px 0;
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent); }
.main-nav .has-sub > a::after {
  content: " \25BE"; /* ▾ */
  font-size: 11px;
  margin-left: 4px;
  opacity: .8;
}
.main-nav .has-sub { position: relative; }
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 220px;
  padding: 12px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  border-radius: 6px;
  z-index: 10;
}
.main-nav .has-sub:hover .sub-menu { display: block; }
.main-nav .sub-menu li { display: block; }
.main-nav .sub-menu a {
  color: var(--dark);
  display: block;
  padding: 8px 18px;
  text-transform: none;
  font-weight: 500;
}
.main-nav .sub-menu a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer;
}

/* ============================================================
   HERO + BOOKING CARD
============================================================ */
.hero {
  position: relative;
  min-height: 760px;
  color: #fff;
  overflow: visible;
  padding: 170px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,32,80,.65) 0%, rgba(15,32,80,.35) 55%, rgba(15,32,80,.15) 100%),
    url('../img/hero-bg.webp') center/cover no-repeat;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
/* Single-column variant — used when the hero has no booking-card aside. */
.hero-grid--centered { grid-template-columns: 1fr; gap: 0; }
.hero--single .hero-text { padding-top: 60px; max-width: 760px; }
.hero--single .hero p.lead { max-width: 620px; }
.btn--hero-cta {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15,32,80,.35);
}
.btn--hero-cta:hover {
  background: #fff;
  color: var(--primary);
}
.hero-text { padding-top: 30px; }
.hero .eyebrow {
  font-family: "Great Vibes", cursive;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-family: "Domine", serif;
  font-size: 72px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 26px;
  line-height: 1;
  letter-spacing: 1px;
}
.hero p.lead {
  font-size: 17px;
  color: rgba(255,255,255,.9);
  max-width: 520px;
  margin-bottom: 44px;
}
.hero .actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 80px; }
.hero .actions .btn {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  padding: 18px 32px;
}
.hero-arrows { display: flex; gap: 14px; }
.hero-arrows button {
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: .2s;
}
.hero-arrows button:hover { background: var(--accent); border-color: var(--accent); }

/* Booking card overlapping hero, extending below */
.booking-card {
  background: #fff;
  border-top: 6px solid var(--accent);
  border-radius: 4px;
  padding: 36px 32px 32px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  text-align: center;
  margin-bottom: -120px;
}
.booking-card .anchor {
  width: 78px; height: 78px;
  display: block;
  margin: 0 auto 18px;
}
.booking-card h3 {
  font-family: "Domine", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.booking-form .field { position: relative; }
.booking-form label {
  position: absolute;
  top: -8px; left: 14px;
  background: #fff;
  padding: 0 6px;
  font-size: 11px;
  text-transform: capitalize;
  letter-spacing: .3px;
  color: var(--dark);
  font-weight: 600;
  z-index: 1;
}
.booking-form .control {
  position: relative;
  border: 1px solid #d8dde6;
  border-radius: 4px;
  display: flex; align-items: center;
}
.booking-form .control .ico {
  padding: 0 12px;
  color: var(--primary);
  font-size: 16px;
}
.booking-form .control select,
.booking-form .control input {
  flex: 1;
  padding: 14px 12px 14px 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--dark);
  outline: none;
  width: 100%;
}
.booking-form .control--select::after {
  content: "▾";
  position: absolute; right: 14px;
  color: var(--muted);
  pointer-events: none;
}
.booking-form .control--select select { appearance: none; -webkit-appearance: none; padding-right: 30px; }
.btn--block { width: 100%; display: block; padding: 16px; margin-top: 6px; }

/* The section immediately after the hero must clear the overlapping booking card */
.hero + .section { padding-top: 180px; }
/* The single-column hero has no overhanging booking card, so the following
   section no longer needs the extra 180px of top padding. */
.hero--single + .section { padding-top: 80px; }

/* ============================================================
   YACHT LIST
============================================================ */
.section { padding: 90px 0; }

.yachts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.yacht-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(19,23,43,.07);
  transition: .3s;
  position: relative;
}
.yacht-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(19,23,43,.13); }
.yacht-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.yacht-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.yacht-card .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  padding: 4px 12px; font-size: 11px;
  text-transform: uppercase; letter-spacing: .5px;
  border-radius: 3px;
}
/* Stats overlay sitting at the bottom of the thumbnail image. */
.yacht-card .features {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-around; gap: 12px;
  padding: 12px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  z-index: 2;
}
.yacht-card .features span { display: inline-flex; align-items: center; gap: 5px; }
.yacht-card .features span::before {
  content: "★"; color: var(--accent); font-size: 14px;
}
.yacht-card .features span:nth-child(2)::before { content: "👥"; }
.yacht-card .features span:nth-child(3)::before { content: "📏"; }
.yacht-card .body { padding: 22px 22px 24px; text-align: center; }
.yacht-card .body h3 {
  font-size: 22px;
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef1f6;
}
.yacht-card .body h3 a:hover { color: var(--accent); }
/* Outlined card button → fills orange on hover (matches the brand "Book Now" colour). */
.yacht-card .btn--card {
  background: transparent;
  color: var(--dark);
  border-color: #e0e3ea;
  padding: 12px 26px;
  white-space: nowrap;
}
.yacht-card .btn--card:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.view-all { text-align: center; margin-top: 40px; }

/* ============================================================
   ABOUT (two-column)
============================================================ */
.about { background: #fff; }
.about .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about .text .sub-title {
  font-family: "Great Vibes", cursive;
  font-size: 34px;
  color: var(--accent);
  display: block; margin-bottom: 4px;
}
.about .text h2 {
  font-size: 38px;
  margin-bottom: 22px;
}
.about .text p { margin-bottom: 16px; }
.about ul.checks { margin-top: 22px; }
.about ul.checks li {
  position: relative;
  padding-left: 32px;
  margin: 8px 0;
  color: var(--dark);
  font-weight: 500;
}
.about ul.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.about .photo img { border-radius: var(--radius); }

/* ============================================================
   SERVICES (4 cards)
============================================================ */
.services {
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.service-card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius);
  transition: .3s;
  box-shadow: 0 4px 16px rgba(19,23,43,.05);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(19,23,43,.12); }
.service-card img { width: 80px; height: auto; margin: 0 auto 22px; }
.service-card h5 {
  font-size: 18px; color: var(--dark);
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: var(--muted); }

/* ============================================================
   SPECIAL OFFERS
============================================================ */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.offer-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.offer-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.offer-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,23,43,.1) 30%, rgba(19,23,43,.85) 100%);
  z-index: 1;
}
.offer-card .content { position: relative; z-index: 2; padding: 30px; }
.offer-card h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.offer-card .discount {
  color: var(--accent); font-weight: 700; font-size: 28px;
  font-family: "Domine", serif;
}
.offer-card .sub { font-size: 14px; opacity: .9; }

/* ============================================================
   GALLERY (asymmetric grid)
============================================================ */
.gallery { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-grid a {
  overflow: hidden;
  border-radius: 8px;
  display: block;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: .5s;
}
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a:nth-child(1) { grid-row: span 2; }
.gallery-grid a:nth-child(4) { grid-column: span 2; }
.gallery-grid a:nth-child(6) { grid-row: span 2; }

/* ============================================================
   HISTORY + VIDEO CTA
============================================================ */
.history {
  background: var(--light);
}
.history .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.history .text .sub-title {
  font-family: "Great Vibes", cursive;
  font-size: 34px;
  color: var(--accent);
  display: block;
}
.history .text h2 { font-size: 38px; margin: 4px 0 20px; }
.history .text p { margin-bottom: 14px; }
.history .frame img { border-radius: var(--radius); }

.video-cta {
  position: relative;
  height: 420px;
  background: url('../img/video-cover.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.video-cta::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(19,23,43,.55);
}
.video-cta .play {
  position: relative; z-index: 2;
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 0 12px rgba(255,153,51,.25);
  transition: .25s;
}
.video-cta .play:hover { transform: scale(1.08); }

/* ============================================================
   BLOG
============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(19,23,43,.06);
  display: flex; flex-direction: column;
}
.blog-card .thumb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .date {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  padding: 8px 12px;
  text-align: center;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.2;
}
.blog-card .date b { display: block; font-size: 18px; font-family: "Domine", serif; }
.blog-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card .cats { font-size: 12px; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; }
.blog-card h5 { font-size: 16px; margin-bottom: 12px; }
.blog-card h5 a:hover { color: var(--accent); }
.blog-card .more {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600; font-size: 13px;
  text-transform: uppercase;
}
.blog-card .more:hover { color: var(--accent); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--dark);
  color: #abadb1;
  padding: 70px 0 0;
}
.footer h6 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
  font-family: "Domine", serif;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer ul.schedules li { padding: 4px 0; font-size: 14px; }
.footer .socials { display: flex; gap: 10px; margin-bottom: 24px; }
.footer .socials a {
  width: 38px; height: 38px;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: .25s;
}
.footer .socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer .socials svg { width: 14px; height: 14px; fill: #fff; }
.footer .payment img { display: inline-block; margin-right: 6px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  flex-wrap: wrap; gap: 16px;
  font-size: 14px;
}
.footer-bottom .brand-line { color: #abadb1; }
.footer-bottom .brand-line b { color: var(--primary); font-weight: 600; }

/* Build credit — sits below the brand row, small and centered. */
.footer-credit {
  margin: 0;
  padding: 14px 0 4px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-credit a { color: #abadb1; text-decoration: underline; }
.footer-credit a:hover { color: #fff; }
.footer-bottom img.flogo { width: 110px; }

/* ============================================================
   LANGUAGE SWITCHER (in header)
============================================================ */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: .5px;
}
.lang-switch a { color: rgba(255,255,255,.7); padding: 2px 4px; transition: .2s; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch a.active { color: #fff; border-bottom: 2px solid var(--accent); }
.lang-switch .sep { opacity: .35; }

/* Dropdown variant used in the home/hero header — saves space on the desktop
   nav row by collapsing EN/FR/ES into a single toggle. */
.lang-dropdown {
  position: relative;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}
.lang-dropdown > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
  background: rgba(0,0,0,.15);
  user-select: none;
}
.lang-dropdown > summary::-webkit-details-marker { display: none; }
.lang-dropdown > summary:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.lang-dropdown[open] > summary { color: #fff; }
.lang-dropdown__caret { font-size: 10px; opacity: .8; }
.lang-dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  min-width: 110px;
  z-index: 20;
}
.lang-dropdown__menu li { margin: 0; }
.lang-dropdown__menu a {
  display: block; padding: 6px 14px;
  color: #1f2937; text-decoration: none;
}
.lang-dropdown__menu a:hover { background: #f3f4f6; }
.lang-dropdown__menu a.is-active { color: var(--accent); font-weight: 700; }

/* ============================================================
   GENERIC PAGE HERO + CONTENT
============================================================ */
.page-hero {
  background:
    linear-gradient(90deg, rgba(15,32,80,.75) 0%, rgba(15,32,80,.5) 100%),
    url('../img/hero-bg.webp') center/cover no-repeat;
  color: #fff;
  padding: 200px 0 90px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-family: "Domine", serif;
  font-size: 54px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.page-hero .eyebrow {
  font-family: "Great Vibes", cursive;
  font-size: 32px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,.9);
  font-size: 16px;
}

.container.narrow { max-width: 820px; }
.container.center { text-align: center; }

.content-page p,
.content-page h2 { margin-bottom: 18px; }
.content-page h2 {
  font-size: 24px;
  margin-top: 32px;
}
.content-page p.lead {
  font-size: 18px;
  color: var(--dark);
  font-weight: 500;
}

/* ---- About trust boxes ---- */
.trust-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.trust-box {
  background: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 22px;
}
.trust-box h3 { font-size: 18px; margin-bottom: 6px; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 18px; margin: 16px 0 6px; }
.contact-info a { color: var(--primary); }
.contact-info a:hover { color: var(--accent); }

.contact-form .field { margin-bottom: 18px; }
.contact-form label {
  display: block; margin-bottom: 6px;
  font-size: 13px; color: var(--dark); font-weight: 600;
  text-transform: uppercase; letter-spacing: .3px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dde6;
  border-radius: 4px;
  font: inherit;
  color: var(--dark);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--primary); }

.alert {
  padding: 18px 22px;
  border-radius: 6px;
  font-size: 15px;
}
.alert--success {
  background: #e8f6ec;
  color: #1f6f3b;
  border: 1px solid #b8e0c4;
}

/* ---- Experiences grid ---- */
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.experience-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(19,23,43,.07);
  transition: .3s;
}
.experience-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(19,23,43,.13); }
.experience-card .thumb { display: block; aspect-ratio: 4/3; overflow: hidden; }
.experience-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.experience-card:hover .thumb img { transform: scale(1.05); }
.experience-card .body { padding: 20px; text-align: center; }
.experience-card h3 { font-size: 18px; margin-bottom: 8px; }
.experience-card h3 a:hover { color: var(--accent); }
.experience-card .more {
  color: var(--primary);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
}
.experience-card .more:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .yachts-grid, .services-grid, .blog-grid, .experiences-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-boxes { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .booking-card { max-width: 460px; margin-left: auto; margin-right: auto; }
  .about .grid, .history .grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .hero h1 { font-size: 38px; }
  .hero { min-height: 520px; }
  .section { padding: 60px 0; }
  .section-head .title, .about .text h2, .history .text h2 { font-size: 28px; }
  .yachts-grid, .services-grid, .offers-grid, .blog-grid, .experiences-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 30px; }
  .lang-switch { font-size: 12px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-grid a:nth-child(1),
  .gallery-grid a:nth-child(4),
  .gallery-grid a:nth-child(6) { grid-row: auto; grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .main-nav ul {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }
  .main-nav.open ul { display: flex; }
  .main-nav ul li { width: 100%; }
  .main-nav ul a { display: block; padding: 14px 24px; }
  .main-nav .sub-menu { position: static; box-shadow: none; background: rgba(255,255,255,.05); padding: 0; }
  .main-nav .sub-menu a { color: #d2d4dc; }
  .nav-toggle { display: block; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 44px; }
  .topbar .container { justify-content: center; text-align: center; }
}

/* ============================================================
   POST DETAIL — single header (uses .page-hero--inner above);
   meta block + featured image sit at the top of the body.
============================================================ */
.post-meta-block { margin-bottom: 32px; }
.post-meta {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.post-meta .cats { color: var(--primary); font-weight: 600; }
.post-meta .sep { margin: 0 8px; opacity: .5; }
.post-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0 0 18px;
}
.post-tags li {
  background: var(--light);
  color: var(--muted);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
}
.post-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--dark);
  font-style: italic;
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.post-figure--lead { margin: 0 0 36px; }
.post-figure--lead img { width: 100%; height: auto; border-radius: 10px; }
.post-body { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.post-body h2 { font-size: 26px; margin: 36px 0 14px; }
.post-body p { font-size: 17px; line-height: 1.75; margin: 0 0 18px; color: #2a2f3a; }
.post-body ul { margin: 0 0 22px; padding-left: 20px; }
.post-body ul li { margin-bottom: 8px; line-height: 1.6; }
.post-body .post-figure { margin: 28px 0; }
.post-body .post-figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
.post-body .post-figure figcaption { font-size: 13px; color: #6b7280; text-align: center; margin-top: 8px; }
.post-back { margin-top: 40px; }

/* ============================================================
   PRODUCT DETAIL
============================================================ */
.product { padding: 60px 0 80px; }
body.layout-hero .product { padding: 140px 0 80px; }
.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}
.product-media .product-main {
  width: 100%; height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.10);
  display: block;
}
.product-info .crumb { font-size: 14px; margin: 0 0 12px; }
.product-info .crumb a { color: #6b7280; text-decoration: none; }
.product-info h1 { font-size: 38px; margin: 0 0 16px; }
.product-short { font-size: 17px; line-height: 1.55; color: #404653; margin: 0 0 22px; }
.product-quick {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.product-quick li {
  background: #f4f5f8; border-radius: 999px; padding: 8px 16px;
  font-size: 14px;
}
.product-price { font-size: 17px; margin: 0 0 22px; }
.product-cta { display: inline-block; }

/* ---------- Request Booking form (right column on product page) ---------- */
.booking-request {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(19,23,43,.06);
  padding: 26px 28px 30px;
}
.booking-request__title {
  font-family: "Domine", serif;
  font-size: 22px;
  color: var(--primary);
  text-align: center;
  margin: 0 0 14px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}
.booking-request__form { display: flex; flex-direction: column; gap: 16px; }
.booking-request__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.booking-request .field { display: flex; flex-direction: column; gap: 6px; }
.booking-request .field--no-label { justify-content: flex-end; }
.booking-request .field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.booking-request .field input,
.booking-request .field select,
.booking-request .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dde6;
  border-radius: 4px;
  font: inherit;
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color .15s;
}
.booking-request .field input:focus,
.booking-request .field select:focus,
.booking-request .field textarea:focus {
  border-color: var(--primary);
}
.booking-request .field textarea { resize: vertical; min-height: 90px; }
.booking-request__subhead {
  font-family: "Domine", serif;
  font-size: 16px;
  color: var(--dark);
  margin: 8px 0 0;
}
.booking-request__extras { list-style: none; padding: 0; margin: 0; }
.booking-request__extras li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f7;
}
.booking-request__extras li:last-child { border-bottom: 0; }
.booking-request__extras label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
}
.booking-request__extras .price {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.booking-request__submit { margin-top: 6px; align-self: stretch; justify-content: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.product-details { padding-top: 60px; }
.product-block { margin-bottom: 44px; }
.product-block h2 { font-size: 24px; margin: 0 0 14px; }
.product-block p { font-size: 16px; line-height: 1.7; color: #2a2f3a; }

.product-specs {
  width: 100%; max-width: 520px;
  border-collapse: collapse;
}
.product-specs th, .product-specs td {
  text-align: left; padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
}
.product-specs th { width: 40%; color: #4b5563; font-weight: 600; }

.product-amenities {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px;
}
.product-amenities li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}
.product-amenities li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: #1e88e5; font-weight: 700;
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: 1fr; gap: 30px; }
  .booking-request__row { grid-template-columns: 1fr; gap: 12px; }
  .post-hero h1 { font-size: 34px; }
  .post-hero { padding: 140px 0 60px; }
  .product { padding: 120px 0 60px; }
}

@media (max-width: 720px) {
  .post-hero h1 { font-size: 26px; }
  .post-body { padding: 40px 16px; }
  .product-info h1 { font-size: 28px; }
  .product-amenities { grid-template-columns: 1fr; }
}

/* ============================================================
   INNER-PAGE LAYOUT (topbar + solid header + page-hero strip)
============================================================ */
.btn--blue-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--blue-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Topbar variant used on inner pages */
.topbar--inner .container {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 13px;
}
.topbar-email svg { fill: var(--accent); }
.topbar-tagline {
  color: #fff;
  font-family: "Domine", serif;
  font-size: 13px;
  text-align: center;
  flex: 1;
  margin: 0;
}
.topbar-lang {
  color: rgba(255,255,255,.75);
  font-size: 12px;
}
.topbar-lang a { color: rgba(255,255,255,.75); padding: 2px 4px; }
.topbar-lang a.active { color: var(--accent); border-bottom: 0; }
.topbar-lang .sep { opacity: .4; margin: 0 2px; }

/* Solid header on inner pages */
body.layout-inner .main-header {
  background: #fff;
  position: relative;
  box-shadow: 0 1px 0 rgba(19,23,43,.06);
}
body.layout-inner .main-header.is-scrolled {
  background: #fff;
  position: fixed;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
body.layout-inner .main-nav a { color: var(--dark); }
body.layout-inner .main-nav a:hover,
body.layout-inner .main-nav a.active { color: var(--accent); }
/* TODO: replace this temporary filter with a real dark-on-white logo asset
   (e.g. assets/img/logo-dark.webp) and swap it conditionally in header.php. */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 60px; width: auto; max-width: none; display: block; }
body.layout-inner .logo img { filter: brightness(0); }
body.layout-inner .nav-toggle { color: var(--dark); }

/* Inner page hero block (light grey strip) — overrides the hero-image variant */
.page-hero--inner {
  background:
    linear-gradient(rgba(15,32,80,.55), rgba(15,32,80,.55)),
    url('../img/page-hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 90px 0;
  text-align: left;
}
.page-hero--inner .crumbs {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
  letter-spacing: .3px;
}
.page-hero--inner .crumbs a { color: rgba(255,255,255,.8); }
.page-hero--inner .crumbs a:hover { color: var(--accent); }
.page-hero--inner .crumbs .sep { margin: 0 8px; color: rgba(255,255,255,.4); }
.page-hero--inner .crumbs .current { color: #fff; font-weight: 600; }

.page-hero-title {
  font-family: "Domine", serif;
  font-size: 56px;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 6px 14px;
  border-radius: 999px;
}
.page-hero-stats {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-hero-stats .stat {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--dark);
  box-shadow: 0 2px 6px rgba(19,23,43,.04);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.page-hero-stats .stat b {
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 720px) {
  .page-hero--inner { padding: 40px 0; }
  .page-hero-title { font-size: 32px; }
  .topbar--inner .container { flex-direction: column; }
  .topbar-tagline { font-size: 12px; }
}

/* ===== Experience page gallery ===== */
.experience-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.experience-gallery__grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
}
.experience-gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.experience-gallery__grid a:hover img { transform: scale(1.08); }
@media (max-width: 980px) { .experience-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .experience-gallery__grid { grid-template-columns: 1fr; } }

/* ---------- Kite Surf packages (3-card grid) ---------- */
.kite-intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.kite-intro h2 { font-size: 28px; margin-bottom: 10px; }
.kite-intro p { font-size: 16px; color: var(--muted); }
.kite-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.kite-package {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(19,23,43,.07);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.kite-package:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(19,23,43,.13); }
.kite-package__thumb { aspect-ratio: 4/3; overflow: hidden; }
.kite-package__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kite-package__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.kite-package__title {
  font-family: "Domine", serif;
  font-size: 22px;
  color: var(--dark);
  text-align: center;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f6;
}
.kite-package__row { display: flex; gap: 18px; align-items: flex-start; }
.kite-package__price { flex: 0 0 100px; margin: 0; }
.kite-package__price .from { display: block; font-size: 13px; color: var(--muted); }
.kite-package__price b {
  display: block;
  font-family: "Domine", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.kite-package__features { list-style: disc; padding-left: 18px; margin: 0; font-size: 14px; color: var(--muted); }
.kite-package__features li { margin-bottom: 4px; }
.kite-package__cta { align-self: center; margin-top: auto; }

@media (max-width: 1024px) {
  .kite-packages { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .kite-packages { grid-template-columns: 1fr; }
}

/* ---------- Product image gallery (hero + tiled thumbnails) ---------- */
/* min-width:0 prevents the grid track from being widened by overflow content. */
.product-media { min-width: 0; }
.product-gallery { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.product-gallery__main img {
  width: 100%; height: auto; display: block;
  border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.10);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.product-gallery__thumbs { min-width: 0; }
/* Tiled wrap — small squares, 5 per row, auto-wrap to multiple rows. */
.product-gallery__strip {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.product-gallery__strip > li { min-width: 0; }
.product-gallery__thumb {
  width: 100%; aspect-ratio: 1 / 1; padding: 0;
  border: 1px solid rgba(0,0,0,.12); border-radius: 6px;
  background: #fff; cursor: pointer; overflow: hidden;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery__thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.10); }
.product-gallery__thumb.is-active { border: 2px solid var(--accent); }
/* Arrows are no longer needed for a wrapping grid; keep selector hidden so the
   existing JS bindings don't error if a stray button is in the DOM. */
.product-gallery__arrow { display: none; }
@media (max-width: 560px) {
  .product-gallery__strip { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   COOKIE BANNER (minimal, non-invasive, bottom-pinned)
============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 16px;
  background: rgba(17,24,39,.95);
  color: #f3f4f6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  font-size: 13px;
  line-height: 1.45;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; flex: 1; }
.cookie-banner__link {
  color: #93c5fd;
  text-decoration: underline;
  margin-left: 4px;
}
.cookie-banner__link:hover { color: #bfdbfe; }
.cookie-banner__btn {
  flex-shrink: 0;
  background: #fff;
  color: #111827;
  border: 0;
  border-radius: 6px;
  padding: 6px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner__btn:hover { background: #e5e7eb; }
@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; padding: 14px; }
  .cookie-banner__btn { width: 100%; padding: 10px 16px; }
}
