/* ==========================================================================
   Lan Ha Bay Guide — Modern Maritime & Luxury Cruise Expedition Design
   Distinct identity: Deep Navy, Emerald Sea, Champagne Bronze & Crisp White
   ========================================================================== */

:root {
  --lhb-navy: #0b1c28;
  --lhb-navy-soft: #142838;
  --lhb-navy-light: #1e3a50;
  --lhb-sea: #098379;
  --lhb-sea-light: #0d9488;
  --lhb-sea-soft: #e6f6f4;
  --lhb-sea-glow: #2dd4bf;
  --lhb-gold: #c59b27;
  --lhb-gold-light: #fef3c7;
  --lhb-gold-text: #926c05;
  --lhb-bg: #f8fafc;
  --lhb-surface: #ffffff;
  --lhb-text: #1e293b;
  --lhb-text-muted: #64748b;
  --lhb-border: #e2e8f0;
  --lhb-border-subtle: #edf2f7;
  --lhb-line: #cbd5e1;

  --lhb-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --lhb-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --lhb-shadow-sm: 0 1px 2px rgba(11, 28, 40, 0.04);
  --lhb-shadow-md: 0 4px 12px rgba(11, 28, 40, 0.06);
  --lhb-shadow-lg: 0 12px 28px rgba(11, 28, 40, 0.09);
  --lhb-radius: 8px;
  --lhb-radius-lg: 12px;

  color-scheme: light;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  max-width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font: 400 16.5px/1.7 var(--lhb-font-sans);
  color: var(--lhb-text);
  background: var(--lhb-bg);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body.lock {
  overflow: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--lhb-sea);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--lhb-sea-light);
}

:focus-visible {
  outline: 3px solid var(--lhb-sea-light);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ==========================================================================
   SVG & Icon System (Strict Dimensions - Prevents oversized icons)
   ========================================================================== */
.i, .ico, svg.i, svg.ico {
  display: inline-block;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex: none;
  vertical-align: -2px;
  stroke-width: 1.8;
}

.bay-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 36px);
}

.skiplink {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--lhb-navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--lhb-radius);
}
.skiplink:focus {
  top: 12px;
  color: #fff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lhb-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
  min-width: 0;
}

.bay-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lhb-navy);
  flex-shrink: 0;
}
.bay-brand:hover {
  color: var(--lhb-navy);
}

.brand-icon {
  width: 28px;
  height: 28px;
  background: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lhb-sea);
  flex-shrink: 0;
}
.brand-icon svg {
  width: 26px;
  height: 26px;
  max-width: 26px;
  max-height: 26px;
}
.brand-icon svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
}

.brand-title {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font: 700 1.25rem/1.1 var(--lhb-font-sans);
  letter-spacing: -0.02em;
  color: var(--lhb-navy);
}
.brand-tagline {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--lhb-text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 2px;
}

.bay-nav {
  display: none;
  min-width: 0;
}
.bay-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.nav-link {
  display: inline-block;
  padding: 7px 10px;
  color: var(--lhb-text);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  border-radius: var(--lhb-radius);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--lhb-sea-soft);
  color: var(--lhb-sea);
}
.nav-link[aria-current="page"],
.nav-link[aria-current="true"] {
  background: var(--lhb-sea-soft);
  color: var(--lhb-sea);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-menu, .btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font: 600 0.88rem/1 var(--lhb-font-sans);
  padding: 9px 14px;
  border-radius: var(--lhb-radius);
  border: 1px solid var(--lhb-border);
  background: var(--lhb-surface);
  color: var(--lhb-navy);
  transition: all 0.15s ease;
}
.btn-menu:hover, .btn-lang:hover {
  background: #f1f5f9;
  border-color: var(--lhb-line);
}

.btn-menu {
  background: var(--lhb-navy);
  color: #ffffff;
  border-color: var(--lhb-navy);
}
.btn-menu:hover {
  background: var(--lhb-navy-soft);
}

.lang-dropdown {
  position: relative;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #ffffff;
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius);
  box-shadow: var(--lhb-shadow-lg);
  z-index: 100;
}
.lang-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--lhb-text);
  text-decoration: none;
  font-size: 0.9rem;
}
.lang-menu a:hover, .lang-menu a[aria-current] {
  background: var(--lhb-sea-soft);
  color: var(--lhb-sea);
}

.progress-track {
  height: 2.5px;
  background: transparent;
}
.progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--lhb-sea) 0%, var(--lhb-sea-glow) 100%);
}

@media (min-width: 1180px) {
  .bay-nav { display: block; }
  .btn-menu { display: none; }
}

@media (min-width: 1180px) and (max-width: 1300px) {
  .header-row { gap: 10px; }
  .nav-link { padding: 6px 8px; font-size: 0.82rem; }
  .brand-tagline { display: none; }
}
@media (max-width: 480px) {
  .header-row { gap: 8px; min-height: 56px; }
  .brand-tagline { display: none; }
  .brand-name { font-size: 1.15rem; }
  .btn-lang { padding: 6px 9px; font-size: 0.82rem; }
  .btn-menu { padding: 6px 10px; font-size: 0.82rem; }
}

/* ==========================================================================
   Full Overlay Navigation
   ========================================================================== */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow-y: auto;
  background: var(--lhb-navy);
  color: #e2e8f0;
  padding: 24px 0 72px;
}
.nav-overlay[hidden] {
  display: none;
}

.overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 16px;
  flex-wrap: wrap;
}
.overlay-title {
  margin: 0;
  font: 700 1.5rem/1.2 var(--lhb-font-sans);
  color: #ffffff;
}
.overlay-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: var(--lhb-radius);
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}
.overlay-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.overlay-search {
  width: 100%;
  margin: 18px 0;
  position: relative;
}
.overlay-search input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--lhb-radius);
  color: #ffffff;
  font: 500 1rem var(--lhb-font-sans);
  outline: none;
  transition: border-color 0.15s ease;
}
.overlay-search input:focus {
  border-color: var(--lhb-sea-glow);
  background: rgba(255, 255, 255, 0.12);
}
.overlay-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
}

.overlay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 24px;
}
.overlay-col h3 {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lhb-sea-glow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}
.overlay-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.overlay-col li {
  margin-bottom: 6px;
}
.overlay-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.94rem;
  display: block;
  padding: 3px 0;
  transition: color 0.15s ease;
}
.overlay-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.bay-hero {
  position: relative;
  background-color: #0b1c28;
  border-bottom: 1px solid var(--lhb-border);
  padding: clamp(48px, 7vw, 92px) 0 clamp(44px, 6vw, 84px);
  overflow: hidden;
}

.bay-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-bay.webp");
  background-size: cover;
  background-position: center 36%;
  background-repeat: no-repeat;
  z-index: 1;
}

.bay-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 32%,
    rgba(255, 255, 255, 0.88) 50%,
    rgba(255, 255, 255, 0.35) 72%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 640px;
}

@media (max-width: 860px) {
  .bay-hero::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 65%,
      rgba(255, 255, 255, 0.98) 100%
    );
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--lhb-sea-soft);
  color: var(--lhb-sea);
  border: 1px solid #bbf0ea;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.hero-kicker svg,
.hero-kicker .i {
  width: 13px;
  height: 13px;
  max-width: 13px;
  max-height: 13px;
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 16px;
  font: 800 clamp(2.2rem, 4.2vw, 3.4rem)/1.12 var(--lhb-font-heading);
  color: var(--lhb-navy);
  letter-spacing: -0.03em;
}
.hero-title em {
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
  color: var(--lhb-sea);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  color: var(--lhb-text);
  margin-bottom: 24px;
  max-width: 620px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--lhb-surface);
  color: var(--lhb-navy);
  border: 1px solid var(--lhb-border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--lhb-shadow-sm);
  transition: all 0.15s ease;
}
.hero-chips a:hover {
  background: var(--lhb-navy);
  color: #ffffff;
  border-color: var(--lhb-navy);
  transform: translateY(-1px);
}
.hero-chips svg {
  width: 15px;
  height: 15px;
}

.hero-visual {
  border-radius: var(--lhb-radius-lg);
  overflow: hidden;
  background: var(--lhb-navy);
  box-shadow: var(--lhb-shadow-lg);
  border: 1px solid rgba(11, 28, 40, 0.1);
}
.hero-visual svg {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Metrics & Stats
   ========================================================================== */

.bay-metrics {
  background: var(--lhb-surface);
  border-bottom: 1px solid var(--lhb-border);
  padding: 32px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.metric-card {
  padding: 12px 16px;
  border-left: none;
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius);
  background: var(--lhb-bg);
}
.metric-val {
  display: block;
  font: 800 2.2rem/1 var(--lhb-font-sans);
  color: var(--lhb-navy);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.metric-desc {
  font-size: 0.88rem;
  color: var(--lhb-text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Chapters Book Layout
   ========================================================================== */

.section-title-wrap {
  margin-bottom: 28px;
}
.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lhb-sea);
  margin-bottom: 6px;
}
.section-title {
  margin: 0 0 10px;
  font: 700 clamp(1.6rem, 2.8vw, 2.2rem)/1.2 var(--lhb-font-heading);
  color: var(--lhb-navy);
}
.section-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--lhb-text-muted);
  max-width: 680px;
}

.bay-chapters {
  padding: 56px 0;
}
.chapter-deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chapter-tile {
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius-lg);
  padding: 24px;
  box-shadow: var(--lhb-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.chapter-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--lhb-shadow-md);
  border-color: #cbd5e1;
}

.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tile-no {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: var(--lhb-navy);
  color: #fff;
  border-radius: 6px;
}
.tile-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lhb-text-muted);
}

.tile-h {
  margin: 0 0 8px;
  font: 700 1.28rem/1.2 var(--lhb-font-sans);
}
.tile-h a {
  color: var(--lhb-navy);
  text-decoration: none;
}
.tile-h a:hover {
  color: var(--lhb-sea);
}

.tile-desc {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--lhb-text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.tile-sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--lhb-border-subtle);
  margin: 0;
}
.tile-sublinks a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lhb-navy);
  background: var(--lhb-bg);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--lhb-border);
  transition: all 0.12s ease;
}
.tile-sublinks a:hover {
  background: var(--lhb-sea-soft);
  color: var(--lhb-sea);
  border-color: var(--lhb-sea-light);
}

/* ==========================================================================
   Experience Tabs
   ========================================================================== */

.exp-section {
  padding: 56px 0;
  background: var(--lhb-surface);
  border-top: 1px solid var(--lhb-border);
  border-bottom: 1px solid var(--lhb-border);
}

.exp-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--lhb-border);
  margin-bottom: 28px;
  padding-bottom: 2px;
}
.exp-tab {
  background: transparent;
  border: none;
  padding: 10px 18px;
  font: 600 0.95rem/1.2 var(--lhb-font-sans);
  color: var(--lhb-text-muted);
  cursor: pointer;
  border-radius: var(--lhb-radius) var(--lhb-radius) 0 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -4px;
  transition: all 0.15s ease;
}
.exp-tab:hover {
  color: var(--lhb-navy);
}
.exp-tab[aria-selected="true"] {
  color: var(--lhb-sea);
  border-bottom-color: var(--lhb-sea);
  font-weight: 700;
}

.exp-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 860px) {
  .exp-panel {
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
  }
}
.exp-info h3 {
  margin: 0 0 10px;
  font: 700 1.35rem/1.2 var(--lhb-font-sans);
  color: var(--lhb-navy);
}
.exp-info p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--lhb-text);
}

/* Row list of links */
.row-deck {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--lhb-bg);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius);
  text-decoration: none;
  color: var(--lhb-navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.12s ease;
}
.row-item:hover {
  background: var(--lhb-sea-soft);
  color: var(--lhb-sea);
  border-color: var(--lhb-sea-light);
  transform: translateX(4px);
}
.row-item svg {
  width: 16px;
  height: 16px;
  color: var(--lhb-text-muted);
}
.row-item:hover svg {
  color: var(--lhb-sea);
}

/* ==========================================================================
   Routes Departure Board
   ========================================================================== */

.transit-section {
  padding: 56px 0;
}
.transit-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius-lg);
  overflow: hidden;
  background: var(--lhb-surface);
  box-shadow: var(--lhb-shadow-sm);
}
.transit-row {
  display: grid;
  grid-template-columns: 1.4fr 1.8fr 1fr 1.2fr 40px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--lhb-border-subtle);
  text-decoration: none;
  color: var(--lhb-text);
  font-size: 0.94rem;
  transition: background 0.12s ease;
}
.transit-row:last-child {
  border-bottom: none;
}
.transit-row:hover:not(.transit-head) {
  background: var(--lhb-sea-soft);
}
.transit-head {
  background: var(--lhb-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 20px;
}
.transit-origin {
  font-weight: 700;
  color: var(--lhb-navy);
}
.transit-cost {
  font-weight: 700;
  color: var(--lhb-sea);
}
.transit-arrow {
  color: var(--lhb-text-muted);
  text-align: right;
}

@media (max-width: 768px) {
  .transit-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }
  .transit-head { display: none; }
  .transit-arrow { display: none; }
}

/* ==========================================================================
   Plans & Itineraries Grid
   ========================================================================== */

.itinerary-section {
  padding: 56px 0;
  background: var(--lhb-surface);
  border-top: 1px solid var(--lhb-border);
  border-bottom: 1px solid var(--lhb-border);
}
.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.itinerary-card {
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius-lg);
  padding: 24px;
  background: var(--lhb-bg);
  text-decoration: none;
  color: var(--lhb-text);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.itinerary-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lhb-shadow-md);
  border-color: var(--lhb-sea-light);
}
.itinerary-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--lhb-sea);
  color: #fff;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.itinerary-title {
  margin: 0 0 14px;
  font: 700 1.15rem/1.3 var(--lhb-font-sans);
  color: var(--lhb-navy);
}
.itinerary-steps {
  margin: 0;
  padding-left: 20px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--lhb-text-muted);
}
.itinerary-steps li {
  margin-bottom: 6px;
}

/* ==========================================================================
   Where to Stay Cards
   ========================================================================== */

.stay-areas-section {
  padding: 56px 0;
}
.stay-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.stay-area-card {
  padding: 20px;
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius-lg);
  background: var(--lhb-surface);
  text-decoration: none;
  color: var(--lhb-text);
  display: flex;
  flex-direction: column;
  box-shadow: var(--lhb-shadow-sm);
  transition: all 0.15s ease;
}
.stay-area-card:hover {
  border-color: var(--lhb-sea-light);
  transform: translateY(-2px);
  box-shadow: var(--lhb-shadow-md);
}
.stay-area-zone {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lhb-sea);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stay-area-name {
  font: 700 1.15rem/1.2 var(--lhb-font-sans);
  color: var(--lhb-navy);
  margin-bottom: 8px;
}
.stay-area-desc {
  font-size: 0.88rem;
  color: var(--lhb-text-muted);
  line-height: 1.45;
  flex-grow: 1;
}

/* Specific Stays / Hotels Cards */
.stays-collection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.hotel-card {
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lhb-shadow-sm);
}
.hotel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.hotel-name {
  margin: 0;
  font: 700 1.15rem/1.25 var(--lhb-font-sans);
  color: var(--lhb-navy);
}
.hotel-price {
  font-weight: 700;
  color: var(--lhb-gold-text);
  background: var(--lhb-gold-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.hotel-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--lhb-text-muted);
  margin-bottom: 12px;
}
.hotel-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--lhb-text);
  margin: 0 0 18px;
  flex-grow: 1;
}

/* ==========================================================================
   Booking & CTA Boxes
   ========================================================================== */

.booking-panel {
  background: linear-gradient(135deg, #0b1c28 0%, #153247 100%);
  color: #ffffff;
  border-radius: var(--lhb-radius-lg);
  padding: 28px 32px;
  margin: 36px 0;
  box-shadow: var(--lhb-shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.booking-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lhb-sea-glow);
  margin: 0 0 8px;
}
.booking-panel h3 {
  margin: 0 0 10px;
  font: 700 1.4rem/1.2 var(--lhb-font-sans);
  color: #ffffff;
}
.booking-panel p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.booking-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.booking-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   Article & Reading Layout
   ========================================================================== */

.article-shell {
  padding: 40px 0 64px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 980px) {
  .article-layout {
    grid-template-columns: 260px 1fr;
    gap: 48px;
  }
}

/* Left Rail */
.article-rail {
  position: sticky;
  top: 96px;
  align-self: start;
}
.rail-box {
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius);
  padding: 16px;
  margin-bottom: 20px;
}
.rail-box summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lhb-navy);
  user-select: none;
}
.rail-nav {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.rail-nav li {
  margin-bottom: 6px;
}
.rail-nav a {
  display: block;
  font-size: 0.88rem;
  color: var(--lhb-text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.12s ease;
}
.rail-nav a:hover, .rail-nav a[aria-current] {
  color: var(--lhb-sea);
  font-weight: 600;
}

/* Article Core */
.article-core {
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--lhb-text-muted);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--lhb-text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--lhb-sea);
}

.article-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--lhb-border);
  padding-bottom: 24px;
}
.article-h1 {
  margin: 0 0 16px;
  font: 800 clamp(1.8rem, 3.2vw, 2.6rem)/1.15 var(--lhb-font-heading);
  color: var(--lhb-navy);
  letter-spacing: -0.02em;
}
.article-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--lhb-text);
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--lhb-text-muted);
}

/* Fact Sheet */
.fact-sheet {
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius);
  padding: 16px 20px;
  margin: 24px 0;
}
.fact-sheet-title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lhb-sea);
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.fact-item {
  display: flex;
  flex-direction: column;
}
.fact-label {
  font-size: 0.78rem;
  color: var(--lhb-text-muted);
}
.fact-val {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--lhb-navy);
}

/* Content Blocks */
.article-sec {
  margin: 36px 0;
}
.article-sec h2 {
  font: 700 1.5rem/1.25 var(--lhb-font-heading);
  color: var(--lhb-navy);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--lhb-border);
}
.article-sec h3 {
  font: 700 1.2rem/1.3 var(--lhb-font-sans);
  color: var(--lhb-navy);
  margin: 24px 0 10px;
}
.article-sec p {
  margin: 0 0 16px;
  line-height: 1.7;
}

/* Info, Tips and Warnings (NO BORDER LEFT!) */
.callout-box {
  border-radius: var(--lhb-radius);
  padding: 18px 22px;
  margin: 24px 0;
  border: 1px solid var(--lhb-border);
}
.callout-tip {
  background: var(--lhb-sea-soft);
  border-color: #bbf0ea;
  color: #064e47;
}
.callout-warn {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.callout-header {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout-header svg,
.callout-header .i {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
}

/* Step-by-Step Timeline */
.step-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-item {
  display: flex;
  gap: 16px;
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius);
  padding: 14px 18px;
}
.step-badge {
  font-weight: 800;
  font-size: 0.82rem;
  background: var(--lhb-sea-soft);
  color: var(--lhb-sea);
  padding: 4px 8px;
  border-radius: 6px;
  height: fit-content;
  white-space: nowrap;
}
.step-text {
  font-size: 0.94rem;
  line-height: 1.5;
}

/* FAQ Details */
.faq-block {
  margin: 36px 0;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-accordion details {
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius);
  padding: 14px 18px;
  transition: border-color 0.12s ease;
}
.faq-accordion details[open] {
  border-color: var(--lhb-sea-light);
}
.faq-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--lhb-navy);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-answer {
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid var(--lhb-border-subtle);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--lhb-text);
}

/* ==========================================================================
   Weather / Tide Strip
   ========================================================================== */

.year-strip-wrap {
  margin: 20px 0;
}
.year-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.year-strip-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-radius: 6px;
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  text-decoration: none;
  color: var(--lhb-navy);
  font-size: 0.8rem;
  transition: all 0.12s ease;
}
.year-strip-item a:hover {
  border-color: var(--lhb-sea-light);
  background: var(--lhb-sea-soft);
}
.year-strip-item.active a {
  background: var(--lhb-sea);
  color: #fff;
  border-color: var(--lhb-sea);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--lhb-navy);
  color: #cbd5e1;
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin-bottom: 48px;
}
.footer-col h4 {
  margin: 0 0 16px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lhb-sea-glow);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-links a:hover {
  color: #ffffff;
}

/* Extra SVG size guards */
.btn-menu svg, .btn-lang svg, .btn-menu .ico, .btn-lang .ico {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
}
.hotel-meta svg, .hotel-meta .i, .booking-kicker svg, .booking-kicker .i {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  flex-shrink: 0;
}
.legend-btn svg, .legend-btn .i {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  flex-shrink: 0;
}


/* ==========================================================================
   Hub Navigation & Mobile Chapter Subnav
   ========================================================================== */

/* 1. Hub page intro note & desktop vs mobile layout */
.hub-menu-intro {
  margin: 18px 0 24px;
}
.hub-nav-hint {
  font-size: 0.95rem;
  color: var(--lhb-text-muted);
  line-height: 1.6;
  margin: 0;
}
.hint-mobile {
  display: none;
}
.hint-desktop {
  display: inline;
}

.hub-mobile-deck {
  display: none;
}

@media (max-width: 979px) {
  .hint-desktop {
    display: none !important;
  }
  .hint-mobile {
    display: inline !important;
    font-weight: 500;
  }
  .hub-mobile-deck {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }
}
@media (min-width: 520px) and (max-width: 979px) {
  .hub-mobile-deck {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Symmetrical clean card chips for hub pages on mobile (no border-left) */
.hub-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius);
  color: var(--lhb-navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--lhb-shadow-sm);
  transition: all 0.15s ease;
}
.hub-chip:hover, .hub-chip:active {
  border-color: var(--lhb-sea);
  color: var(--lhb-sea);
  background: var(--lhb-sea-soft);
}
.hub-chip svg {
  color: var(--lhb-sea);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* 2. Mobile Horizontal Chapter Navigation Bar (swiping pill bar) */
.mobile-subnav {
  display: none;
  background: #f8fafc;
  border-bottom: 1px solid var(--lhb-border);
  position: relative;
  z-index: 30;
}
@media (max-width: 979px) {
  .mobile-subnav {
    display: block;
  }
  .article-rail,
  .rail-chapter {
    display: none !important;
  }
}
.mobile-subnav-scroll {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  overflow: visible;
  white-space: normal;
}
.subnav-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lhb-navy);
  background: #ffffff;
  border: 1px solid var(--lhb-border);
  text-decoration: none;
  line-height: 1.35;
  transition: all 0.15s ease;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.subnav-chip:hover, .subnav-chip:active {
  color: var(--lhb-sea);
  border-color: var(--lhb-sea);
  background: var(--lhb-sea-soft);
}
.subnav-chip.active {
  background: var(--lhb-sea);
  color: #ffffff !important;
  border-color: var(--lhb-sea);
}

/* Overlay Home Link */
.overlay-top-nav {
  margin: 10px 0 22px;
}
.overlay-home-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--lhb-radius);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}
.overlay-home-link:hover, .overlay-home-link:active {
  background: var(--lhb-sea);
  border-color: var(--lhb-sea);
  color: #ffffff;
  text-decoration: none;
}
.overlay-home-link.active {
  background: rgba(9, 131, 121, 0.25);
  border-color: var(--lhb-sea);
  color: var(--lhb-sea-glow);
}
.overlay-home-link svg:first-child {
  color: var(--lhb-sea-glow);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.overlay-home-link svg:last-child {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  width: 14px;
  height: 14px;
}

/* Layout distinction for pages with vs without sidebar rail */
.article-layout.no-rail {
  display: block;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 980px) {
  .article-layout.has-rail {
    grid-template-columns: 260px 1fr;
    gap: 48px;
  }
}


/* ==========================================================================
   Next Article Card (Variant A - Symmetric & High-Impact)
   ========================================================================== */
.next-article-nav {
  margin: 56px 0 24px;
}
.next-article-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--lhb-surface);
  border: 1px solid var(--lhb-border);
  border-radius: var(--lhb-radius-lg);
  padding: 26px 30px;
  text-decoration: none !important;
  color: var(--lhb-text) !important;
  box-shadow: 0 2px 8px rgba(11, 28, 40, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.next-article-card:hover {
  transform: translateY(-2px);
  border-color: var(--lhb-sea);
  box-shadow: 0 10px 28px rgba(11, 28, 40, 0.09);
  color: var(--lhb-text) !important;
}
.next-article-card:hover .next-article-title {
  color: var(--lhb-sea);
}
.next-article-card:hover .next-article-btn {
  background: #086d64 !important;
}
.next-article-body {
  flex: 1 1 auto;
  min-width: 0;
}
.next-article-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.next-article-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--lhb-sea-soft);
  color: var(--lhb-sea);
  border: 1px solid rgba(9, 131, 121, 0.2);
}
.next-article-chapter {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lhb-text-muted);
}
.next-article-title {
  font-family: var(--lhb-font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--lhb-navy);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  transition: color 0.15s ease;
}
.next-article-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--lhb-text-muted);
  margin: 0;
}
.next-article-action {
  flex-shrink: 0;
}
.next-article-btn {
  white-space: nowrap;
  transition: background 0.15s ease;
}

@media (max-width: 768px) {
  .next-article-nav {
    margin: 40px 0 16px;
  }
  .next-article-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 18px;
  }
  .next-article-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .next-article-title {
    font-size: 1.15rem;
  }
}
