/*
Theme Name: FBC Loch Lomond
Theme URI: https://fbclomond.co.uk
Author: Mike Lally / Freedom Boat Club Loch Lomond
Author URI: https://fbclomond.co.uk
Description: Premium custom theme for Freedom Boat Club Loch Lomond. Features hero carousel, fleet showcase, Waterlodge gallery, membership tiers, and 13 location pages. Brand palette cream / navy / gold / accent blue. Fully responsive.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.4
License: Proprietary
License URI: https://fbclomond.co.uk
Tags: custom, brand, hospitality, membership, marine
Text Domain: fbc-lomond
*/

/* ============================================================
   FBC Loch Lomond — Site Styles (v2)
   Brand: cream #F3EDE3 · navy #0B2540 · gold #C9A961 · accent blue #4BA6D9
   Fully responsive: 320px → 1440px+
   ============================================================ */

:root {
  --cream: #F3EDE3;
  --cream-light: #F8F4EC;
  --cream-deep: #E8DFD0;
  --cream-warm: #ECE5D8;
  --navy: #0B2540;
  --navy-deep: #081B30;
  --navy-dark: #081E3A;
  --gold: #C9A961;
  --gold-light: #D9BC7A;
  --accent: #4BA6D9;
  --accent-soft: #9CC9E4;
  --soft-blue: #BCD6EA;
  --ink: #14263D;
  --body: #4B5563;
  --grey: #5A6B80;
  --grey-light: #6B7280;
  --tick-green: #2E7A4D;
  --cross-red: #B23A48;
  --line: rgba(11,37,64,0.12);

  --font-display: 'Playfair Display', Georgia, "Times New Roman", serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1180px;
  --max-wide: 1380px;
  --max-narrow: 920px;
  --max-text: 720px;
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
img { border: 0; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--navy); font-weight: 700; line-height: 1.14; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.6vw, 28px); }
h4 { font-size: clamp(17px, 1.6vw, 19px); }
p { color: var(--body); margin: 0 0 1em; }
.lead { font-family: var(--font-display); font-style: italic; font-size: clamp(17px, 2vw, 22px); color: var(--ink); line-height: 1.5; max-width: var(--max-text); font-weight: 500; }
.section-navy .lead { color: rgba(255,255,255,0.92); }
.kicker { color: var(--accent); font-size: 12px; letter-spacing: 0.22em; font-weight: 600; text-transform: uppercase; display: block; margin-bottom: 18px; }
.eyebrow { color: var(--gold); font-size: 11px; letter-spacing: 0.2em; font-weight: 700; text-transform: uppercase; }
.divider { width: 60px; height: 1px; background: var(--gold); border: 0; margin: 24px 0; }

/* ---------- LAYOUT ---------- */
.wrap, .container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
section { padding: clamp(60px, 9vw, 120px) 0; }
.section-cream { background: var(--cream); }
.section-cream-light { background: var(--cream-light); }
.section-cream-warm { background: var(--cream-warm); }
.section-white { background: #FFFFFF; }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #FFFFFF; }
.section-navy p { color: rgba(243, 237, 227, 0.85); }
.section-navy .kicker { color: var(--accent-soft); }
.section-navy a { color: var(--accent-soft); }
.section-navy a:hover { color: #FFF; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  line-height: 1.3;
}
.btn:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }
.btn-blue { background: var(--accent); color: var(--navy); }
.btn-blue:hover { background: var(--accent-soft); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-dark); color: #FFF; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #FFF; }
.btn-ghost-light { background: transparent; color: #FFF; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: #FFF; color: var(--navy); border-color: #FFF; }
.btn-lg { padding: 17px 38px; font-size: 12.5px; }
.btn-block { display: block; width: 100%; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11,37,64,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { width: 44px; height: 44px; }
.nav-logo .brand-stack { line-height: 1.1; }
.nav-logo .brand-stack b { display: block; color: #FFF; font-family: var(--font-display); font-size: clamp(15px, 1.6vw, 17px); font-weight: 700; letter-spacing: 0.01em; }
.nav-logo .brand-stack span { color: var(--accent); font-size: 9px; letter-spacing: 0.2em; font-weight: 600; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--navy) !important;
  padding: 9px 18px !important;
  border-radius: 2px !important;
  border: 0 !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #FFF !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; color: #FFF; font-size: 24px; cursor: pointer; padding: 4px 10px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #FFF;
  padding: clamp(80px, 14vw, 180px) 0 clamp(60px, 10vw, 130px);
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,27,48,0.35) 0%, rgba(8,27,48,0.6) 55%, rgba(8,27,48,0.92) 100%),
              url("../images/hero-loch.jpg") center/cover no-repeat;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero h1 { color: #FFF; max-width: 860px; }
.hero h1 em { font-style: italic; color: var(--accent-soft); }
.hero .lead { color: rgba(255,255,255,0.92); max-width: 640px; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(201,169,97,0.3); }
.hero-meta div { color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.hero-meta b { display: block; color: #FFF; font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 700; margin-top: 6px; letter-spacing: 0; text-transform: none; }

/* Page hero variant */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #FFF;
  padding: clamp(90px, 13vw, 150px) 0 clamp(50px, 8vw, 90px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/hero-loch.jpg") center/cover no-repeat;
  opacity: 0.18;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #FFF; max-width: 800px; margin-left: auto; margin-right: auto; }
.page-hero .lead { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; margin-top: 16px; }

/* ---------- GRIDS ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(14px, 1.5vw, 20px); }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 720px) { .grid-split { grid-template-columns: 1fr; } }

/* ---------- CARDS ---------- */
.card {
  background: #FFF;
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 36px);
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.card-cream { background: var(--cream); border-color: var(--cream-deep); }
.card-cream-warm { background: var(--cream-warm); border-color: var(--cream-deep); }
.card-navy { background: var(--navy); color: var(--cream); border-color: var(--navy-dark); }
.card-navy h3, .card-navy h4 { color: #FFF; }
.card-navy p { color: rgba(243,237,227,0.85); }
.card-elevated:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(11,37,64,0.18); }
.card h3, .card h4 { margin-top: 0; }
.card .eyebrow { display: block; margin-bottom: 10px; }

/* Tier cards */
.tier-card {
  background: #FFF;
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  padding: 36px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.tier-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(11,37,64,0.18); }
.tier-card.featured { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.tier-card.featured h3 { color: #FFF; }
.tier-card.featured p, .tier-card.featured li { color: rgba(243, 237, 227, 0.85); }
.tier-card .ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.tier-card .name { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); color: var(--navy); margin: 0 0 4px; }
.tier-card.featured .name { color: #FFF; }
.tier-card .price { font-family: var(--font-display); font-size: clamp(32px, 4vw, 42px); font-weight: 700; color: var(--navy); line-height: 1; margin: 14px 0 4px; }
.tier-card.featured .price { color: var(--gold); }
.tier-card .price-sub { font-size: 11.5px; color: var(--grey-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.tier-card.featured .price-sub { color: rgba(243,237,227,0.7); }
.tier-card ul { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.tier-card li { padding: 8px 0 8px 22px; position: relative; font-size: 13.5px; line-height: 1.55; color: var(--body); border-bottom: 1px solid var(--cream-deep); }
.tier-card.featured li { border-bottom-color: rgba(255,255,255,0.1); }
.tier-card li:last-child { border-bottom: 0; }
.tier-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.tier-card .btn { width: 100%; }

/* ---------- COMPARISON TABLE ---------- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13.5px;
  background: #FFF;
  border: 1px solid var(--cream-deep);
}
.compare th, .compare td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--cream-deep); }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 22px; color: var(--ink); font-weight: 600; min-width: 180px; }
.compare thead th { background: var(--navy); color: #FFF; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; padding: 18px 12px; font-weight: 700; }
.compare thead th.featured { background: var(--gold); color: var(--navy); }
.compare .section-row td { background: var(--cream); color: var(--gold); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; padding: 12px 22px; text-align: left !important; }
.tick { color: var(--tick-green); font-weight: 700; font-size: 16px; }
.cross { color: var(--cross-red); font-weight: 700; font-size: 16px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(243,237,227,0.75);
  padding: 64px 0 32px;
  font-size: 13.5px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 { color: var(--gold); font-family: var(--font-body); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(243,237,227,0.75); }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,169,97,0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: rgba(243,237,227,0.5);
  letter-spacing: 0.06em;
}

/* ---------- UTILITIES ---------- */
.center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 56px; }
.mt-xl { margin-top: 72px; }

/* Stat boxes */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(20px, 3vw, 36px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: center; padding: 14px 8px; }
.stat-num { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 56px); color: var(--navy); line-height: 1; font-weight: 700; }
.stat-num.gold { color: var(--gold); }
.stat-num.accent { color: var(--accent); }
.stat-label { display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.18em; color: var(--grey-light); text-transform: uppercase; font-weight: 600; }
.section-navy .stat-num { color: var(--gold); }
.section-navy .stat-label { color: rgba(255,255,255,0.65); }

/* Country grid (locations) */
.country-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--cream-deep); border: 1px solid var(--cream-deep); border-radius: 4px; overflow: hidden; }
.country-grid > a, .country-grid > div { background: #FFF; padding: 22px 24px; transition: background .2s; display: block; }
.country-grid > a:hover { background: var(--cream-light); }
.country-grid b { display: block; color: var(--navy); font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.country-grid span { color: var(--grey-light); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.country-grid em { font-style: normal; color: var(--accent); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; display: block; margin-top: 4px; }

/* Location card */
.location-card {
  background: #FFF;
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.location-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(11,37,64,0.18); }
.location-card .img-placeholder { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%); }
.location-card-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.location-card .eyebrow { margin-bottom: 6px; }
.location-card h3 { margin: 0 0 8px; font-size: 22px; }
.location-card p { font-size: 14px; flex: 1; }
.location-card .meta { font-size: 12px; color: var(--grey-light); letter-spacing: 0.06em; padding-top: 14px; border-top: 1px solid var(--cream-deep); margin-top: 14px; }

/* Quote */
.quote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 24px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--navy);
  line-height: 1.45;
  font-weight: 500;
}
.quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-light); font-weight: 600; }
.section-navy .quote { color: #FFF; border-left-color: var(--accent); }
.section-navy .quote cite { color: var(--accent-soft); }

/* CTA strip */
.cta-strip {
  background: var(--navy);
  color: #FFF;
  padding: clamp(40px, 6vw, 70px) clamp(24px, 4vw, 60px);
  border-radius: 4px;
  text-align: center;
  background-image: linear-gradient(135deg, rgba(11,37,64,0.92), rgba(8,30,58,0.92)), url("../images/cta-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 { color: #FFF; max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-strip .lead { color: rgba(255,255,255,0.85); margin: 14px auto 28px; }

/* FAQ accordion */
details.faq { background: #FFF; border: 1px solid var(--cream-deep); border-radius: 4px; padding: 18px 24px; margin-bottom: 10px; }
details.faq summary { font-family: var(--font-display); font-size: 18px; color: var(--navy); cursor: pointer; list-style: none; position: relative; padding-right: 30px; font-weight: 700; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--gold); font-size: 26px; line-height: 1; transition: transform .2s; }
details.faq[open] summary::after { content: "−"; }
details.faq[open] summary { margin-bottom: 12px; }
details.faq p { margin: 0; font-size: 14.5px; }

/* Pillar list (use-cases-style numbered list) */
.pillar-list { list-style: none; padding: 0; margin: 0; counter-reset: pillar; }
.pillar-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: pillar;
  align-items: start;
}
.pillar-list li::before {
  content: counter(pillar, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}
.pillar-list h4 { margin: 0 0 6px; }
.pillar-list p { margin: 0; }

/* Spec grid (Waterlodge) */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.spec-grid > div {
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #FFF;
}
.spec-grid b {
  display: block;
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.spec-grid span { color: var(--ink); font-size: 14px; line-height: 1.55; }
.section-navy .spec-grid > div { background: rgba(255,255,255,0.04); }
.section-navy .spec-grid span { color: rgba(255,255,255,0.92); }

/* Image — corrected alt rendering */
.responsive-img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.responsive-img.tall { aspect-ratio: 4 / 5; }
.responsive-img.wide { aspect-ratio: 21 / 9; }

/* Tabs */
.tab-bar { display: flex; gap: 2px; border-bottom: 1px solid var(--cream-deep); margin-bottom: 28px; flex-wrap: wrap; }
.tab-bar button {
  background: transparent;
  border: 0;
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--grey-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.tab-bar button:hover { color: var(--navy); }
.tab-bar button.active { color: var(--navy); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 880px) {
  .nav { padding: 12px 0; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-dark);
    padding: 16px 24px 24px;
    gap: 4px;
    border-top: 1px solid rgba(201,169,97,0.2);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 0; font-size: 13px; }
  .nav-menu .nav-cta { margin-top: 8px; text-align: center; padding: 12px !important; }
  .nav-toggle { display: block; }
  .compare th, .compare td { padding: 10px 6px; font-size: 12.5px; }
  .pillar-list li { grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; }
  .pillar-list li::before { font-size: 28px; }
  .hero { padding: 80px 0 60px; min-height: 60vh; }
  .hero-meta { gap: 18px; padding-top: 22px; margin-top: 36px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .tier-card { padding: 30px 22px 24px; }
  .country-grid > a, .country-grid > div { padding: 16px 20px; }
}
@media (max-width: 380px) {
  .nav-logo .brand-stack { display: none; }
  .nav-logo img { width: 40px; height: 40px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .hero-actions, .cta-strip { display: none; }
  body { background: #FFF; }
  section { padding: 24px 0; }
}

/* ============================================================
   CAROUSEL · GALLERIES · VIDEO  (v2.1 — media upgrade)
   ============================================================ */

/* Hero carousel */
.hero-carousel {
  position: relative;
  height: clamp(440px, 70vh, 720px);
  overflow: hidden;
  background: var(--navy);
}
.hero-carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  z-index: 0;
}
.hero-carousel .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,27,48,0.30) 0%, rgba(8,27,48,0.55) 60%, rgba(8,27,48,0.85) 100%);
}
.hero-carousel .slide.active { opacity: 1; z-index: 1; }
.hero-carousel .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 8vw, 100px) 0;
  color: #FFF;
}
.hero-carousel .hero-content .wrap { width: 100%; }
.hero-carousel h1 { color: #FFF; max-width: 880px; margin: 0 0 20px; }
.hero-carousel h1 em { font-style: italic; color: var(--accent-soft); }
.hero-carousel .lead { color: rgba(255,255,255,0.92); max-width: 640px; }
.hero-carousel .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-carousel .carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-carousel .carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-carousel .carousel-dots button.active { background: var(--gold); transform: scale(1.25); }
.hero-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(11,37,64,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  color: #FFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.hero-carousel .carousel-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-carousel .carousel-arrow.prev { left: clamp(12px, 3vw, 36px); }
.hero-carousel .carousel-arrow.next { right: clamp(12px, 3vw, 36px); }
@media (max-width: 600px) {
  .hero-carousel .carousel-arrow { width: 36px; height: 36px; font-size: 16px; }
}

/* Image gallery (Waterlodge, fleet, locations) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
}
.gallery .gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream-deep);
  cursor: pointer;
}
.gallery .gallery-item.tall { aspect-ratio: 3 / 4; }
.gallery .gallery-item.wide { aspect-ratio: 16 / 9; grid-column: span 2; }
.gallery .gallery-item.square { aspect-ratio: 1 / 1; }
.gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery .gallery-item:hover img { transform: scale(1.06); }
.gallery .gallery-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(11,37,64,0) 0%, rgba(11,37,64,0.85) 100%);
  color: #FFF;
  padding: 28px 22px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  opacity: 0;
  transition: opacity .25s;
}
.gallery .gallery-item:hover .caption { opacity: 1; }
@media (max-width: 600px) {
  .gallery .gallery-item.wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* Masonry-style waterlodge gallery */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 8px;
}
.gallery-mosaic .gallery-item { aspect-ratio: auto; height: 100%; cursor: pointer; position: relative; overflow: hidden; border-radius: 4px; }
.gallery-mosaic .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-mosaic .gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 880px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-mosaic .gallery-item:nth-child(1),
  .gallery-mosaic .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 27, 48, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; border-radius: 4px; }
.lightbox .close {
  position: absolute;
  top: 22px; right: 22px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #FFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  z-index: 1;
}

/* YouTube / video embeds */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 40px -10px rgba(11,37,64,0.4);
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(8,27,48,0.2), rgba(8,27,48,0.55));
  cursor: pointer;
  color: #FFF;
}
.video-embed .play-overlay::before {
  content: "";
  width: 0; height: 0;
  border-left: 28px solid var(--gold);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 6px;
}

/* Image bands */
.image-band {
  position: relative;
  width: 100%;
  height: clamp(280px, 40vh, 460px);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 40px);
}
.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,27,48,0.4), rgba(8,27,48,0.7));
}
.image-band > * { position: relative; z-index: 1; }
.image-band h2 { color: #FFF; max-width: 800px; margin: 0 auto 14px; }
.image-band p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; }

/* Pinterest-style 3 column for boats/members */
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.5vw, 18px);
}
.photo-grid-3 figure {
  margin: 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.photo-grid-3 figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
  transition: transform .5s ease;
}
.photo-grid-3 figure:hover img { transform: scale(1.06); }
.photo-grid-3 figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 18px 12px;
  background: linear-gradient(180deg, rgba(11,37,64,0) 0%, rgba(11,37,64,0.9) 100%);
  color: #FFF;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .photo-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .photo-grid-3 { grid-template-columns: 1fr; }
}
