/* =========================================================
   HELM & COMPASS — placeholder brand styles
   Palette: Navy + White + Riva Teal
   ========================================================= */

:root {
  --navy:        #061A2C;
  --navy-dark:   #030F1B;
  --navy-light:  #0E2A3F;
  --teal:        #00FFFF;
  --teal-light:  #66FFFF;
  --teal-soft:   #E6FFFF;
  --white:       #ffffff;
  --bg:          #FAFAF7;
  --text:        #1A1A1A;
  --text-muted:  #5A6B7B;
  --border:      #E5E7EB;
  --shadow-sm:   0 1px 3px rgba(11, 37, 69, 0.06);
  --shadow-md:   0 8px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg:   0 20px 48px rgba(11, 37, 69, 0.14);
  --radius:      4px;
  --radius-lg:   10px;
  --container:   1240px;
  --header-h:    78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Base ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; color: var(--text); }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

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

section { padding: 96px 0; }
section.tight { padding: 64px 0; }
@media (max-width: 700px) {
  section { padding: 60px 0; }
  section.tight { padding: 44px 0; }
}

.center { text-align: center; }
.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled,
.site-header.solid {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: 'Outfit', 'Manrope', 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* legacy — kept harmlessly in case an icon is re-added later */
.brand .brand-mark { display: none; }
.scrolled .brand, .solid .brand { color: var(--navy); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.scrolled .nav-links a, .solid .nav-links a { color: var(--navy); }

/* Higher specificity than `.nav-links a` so its padding actually wins */
.nav-links a.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  font-weight: 700;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--teal-light); transform: translateY(-1px); }

/* Instagram icon in nav */
.nav-links a.nav-social {
  display: inline-flex;
  align-items: center;
  padding: 0;
}
.nav-links a.nav-social::after { display: none; }
.nav-links a.nav-social svg { width: 19px; height: 19px; transition: transform 0.2s ease; }
.nav-links a.nav-social:hover svg { transform: scale(1.12); color: var(--teal); }
@media (max-width: 900px) {
  .nav-links a.nav-social { color: var(--navy); }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--white);
  transition: all 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 31px; }
.scrolled .nav-toggle span, .solid .nav-toggle span { background: var(--navy); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: var(--navy); }
}

/* ---------- Hero (carousel) ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--navy);
}
.hero-slides {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(11,37,69,0.35) 0%,
    rgba(11,37,69,0.15) 40%,
    rgba(11,37,69,0.55) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  z-index: 2;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 0.4em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-content p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn {
  padding: 22px 56px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  min-width: 220px;
}
.hero-actions .btn-primary { box-shadow: 0 6px 20px rgba(0,255,255,0.35); }
.hero-actions .btn-primary:hover { box-shadow: 0 10px 28px rgba(0,255,255,0.45); }
@media (max-width: 600px) {
  .hero-actions .btn { padding: 18px 36px; min-width: 180px; }
}

.hero-dots {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 36px; height: 2px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  position: relative;
  transition: background 0.25s ease;
}
.hero-dot::before {
  content: '';
  position: absolute;
  top: -12px; bottom: -12px; left: -6px; right: -6px;
}
.hero-dot.active { background: var(--white); }

.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  display: grid; place-items: center;
  color: var(--white);
  background: rgba(11,37,69,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  z-index: 3;
  transition: background 0.2s ease;
}
.hero-arrow:hover { background: var(--teal); border-color: var(--teal); }
.hero-arrow.prev { left: 32px; }
.hero-arrow.next { right: 32px; }
@media (max-width: 700px) {
  .hero-arrow { display: none; }
}

.scroll-cue {
  position: absolute;
  bottom: 70px; left: 50%; transform: translateX(-50%);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
  opacity: 0.85;
}
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* ---------- Page hero (smaller, for sub-pages) ---------- */
.page-hero {
  position: relative;
  height: 56vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,0.5), rgba(11,37,69,0.6));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 0.2em; }
.page-hero p {
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Booking plugin slot ---------- */
.booking-section {
  background: var(--white);
  text-align: center;
  position: relative;
}
.booking-section .container { max-width: 1100px; }
.booking-intro { max-width: 640px; margin: 0 auto 48px; }

.plugin-slot {
  border: 2px dashed var(--teal);
  background: var(--teal-soft);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  color: var(--navy);
  text-align: center;
  position: relative;
}
.plugin-slot .plugin-label {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 4px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.plugin-slot p { color: var(--navy-light); margin: 0; }
.plugin-slot code {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--navy);
}

/* ---------- Feature row / value props ---------- */
.features {
  background: var(--bg);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; gap: 32px; } }

.feature {
  text-align: center;
  padding: 12px;
}
.feature-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 50%;
}
.feature h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
.feature p { color: var(--text-muted); margin: 0; }

/* ---------- Section heading helper ---------- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head h2 { margin-bottom: 0.4em; }

/* ---------- Instagram feed (placeholder) ---------- */
.instagram {
  background: var(--white);
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
.ig-tile {
  position: relative;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
}
.ig-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(11,37,69,0);
  transition: background 0.25s ease;
}
.ig-tile:hover::after { background: rgba(11,37,69,0.35); }
.ig-tile .ig-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
  font-size: 1.5rem;
}
.ig-tile:hover .ig-overlay { opacity: 1; }
.ig-handle {
  text-align: center;
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--navy);
}
.ig-handle a { color: var(--teal); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.92rem; max-width: 320px; }

.site-footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer ul a { transition: color 0.2s ease; }
.site-footer ul a:hover { color: var(--teal-light); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a { color: rgba(255,255,255,0.7); }
.footer-bottom .socials a:hover { color: var(--teal-light); }

/* ---------- Destinations page ---------- */
.map-section { background: var(--white); padding-top: 80px; }

/* Full-width map breakout — bigger, more dominant on the page */
.map-section-wide {
  background: var(--white);
  padding: 64px 0 96px;
}
.map-section-wide .map-stage {
  width: min(1600px, calc(100vw - 48px));
  margin: 0 auto;
}

.map-stage {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  background: #DCEEF0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.leaflet-map {
  display: block;
  width: 100%;
  height: clamp(620px, 80vh, 900px);
  z-index: 1;
}

.map-toolbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0));
  z-index: 5;
  pointer-events: none;
}
.map-toolbar > * { pointer-events: auto; }

.map-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.map-back.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.map-back:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.map-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 0;
}
.map-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 700px) { .map-hint { display: none; } }

/* Custom Leaflet pins */
.leaflet-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(6,26,44,0.25));
  transition: transform 0.2s ease;
}
.leaflet-pin:hover { transform: translateY(-3px); }
.leaflet-pin .pin-text {
  margin-top: 2px;
  padding: 3px 8px;
  background: #ffffff;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #061A2C;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(6,26,44,0.18);
}
.leaflet-pin.country .pin-text { font-size: 13px; padding: 4px 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.leaflet-pin.region.featured .pin-text { background: #00FFFF; color: #ffffff; }

.map-legend {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.map-legend kbd {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--navy);
}

/* ---------- Destination overlay & panel (centered over map) ---------- */
.dest-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 44, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 999;
  padding: 32px;
}
.dest-overlay.open {
  background: rgba(6, 26, 44, 0.55);
  pointer-events: auto;
  opacity: 1;
}

.dest-panel {
  width: min(560px, 100%);
  max-height: calc(100% - 0px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(6,26,44,0.4);
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.dest-overlay.open .dest-panel { transform: translateY(0) scale(1); }

@media (max-width: 700px) {
  .dest-overlay { padding: 16px; }
  .dest-panel { max-height: 92%; }
}

.dest-panel .panel-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  color: var(--navy);
  z-index: 2;
  transition: background 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.dest-panel .panel-close:hover { background: var(--white); color: var(--teal); }

.dest-panel .panel-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
}
.dest-panel .panel-body {
  padding: 32px 36px 40px;
}
.dest-panel .panel-region {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
}
.dest-panel h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--navy);
}
.dest-panel p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
}
.dest-panel .panel-tips {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 28px;
}
.dest-panel .panel-tip {
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
  padding: 16px 18px;
  border-radius: 0 6px 6px 0;
}
.dest-panel .panel-tip .tip-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}
.dest-panel .panel-tip p {
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.6;
}
.dest-panel .panel-cta { width: 100%; }

/* ---------- Destination cards (grouped by country) ---------- */
.dest-groups {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 48px;
}
.dest-group-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dest-group-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .dest-group-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dest-group-cards { grid-template-columns: 1fr; } }

.dest-subgroup { margin-top: 32px; }
.dest-subgroup:first-of-type { margin-top: 0; }
.dest-subgroup-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
}

.dest-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dest-card .img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.dest-card .body { padding: 20px 22px 24px; }
.dest-card .body span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.dest-card h3 { margin: 6px 0 8px; font-size: 1.25rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.01em; }
.dest-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.55; }

.dest-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dest-card .img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.dest-card .body { padding: 22px 24px 26px; }
.dest-card .body span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.dest-card h3 { margin: 6px 0 8px; font-size: 1.4rem; }
.dest-card p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* ---------- About page ---------- */
.story {
  background: var(--white);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 40px; } }
.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }

.gallery {
  background: var(--bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-tile {
  position: relative;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-tile.tall { padding-top: 130%; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }
.value {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--teal);
  box-shadow: var(--shadow-sm);
}
.value h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
.value p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--white); }
.faq-section .container { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  padding: 4px 0;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--teal); }
.faq-q .icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 14px 0 6px; }

.faq-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.faq-cat {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.faq-cat.active, .faq-cat:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---------- Contact ---------- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-info h2 { margin-bottom: 0.4em; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-detail h4 { font-family: 'Inter', sans-serif; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 4px; font-weight: 600; }
.contact-detail p { margin: 0; color: var(--navy); font-size: 1rem; }

form.contact-form {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,255,255,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg { color: var(--teal); margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 0.4em; }
.form-success p { color: var(--text-muted); margin: 0; }

/* ---------- Search page ---------- */
.search-intro { background: var(--bg); padding: 56px 0 0; }
.search-intro .container { text-align: center; }
.search-tip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
@media (max-width: 900px) { .search-tip-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .search-tip-row { grid-template-columns: 1fr; } }
.search-tip {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.search-tip h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 8px;
  font-weight: 600;
}
.search-tip p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Utility ---------- */
.divider {
  width: 60px; height: 2px;
  background: var(--teal);
  margin: 0 auto 24px;
}
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.8); }

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 32px; }
@media (max-width: 700px) {
  .cta-banner { padding: 52px 0; }
  .map-section-wide { padding: 40px 0 56px; }
}

/* ---------- Hero tagline override (homepage value prop) ---------- */
.hero-content p.hero-tagline {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 660px;
  margin: 0 auto 2rem;
}

/* ---------- Trust bar (under hero) ---------- */
.trust-bar {
  background: var(--navy-dark);
  padding: 20px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 44px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.trust-item svg { color: var(--teal); flex-shrink: 0; }
@media (max-width: 700px) {
  .trust-bar .container { gap: 12px 20px; }
  .trust-item { font-size: 0.76rem; white-space: normal; }
}

/* ---------- Why Charterwise ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 8px;
}
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--teal);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card .feature-icon { margin: 0 0 16px; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 0.45em; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.why-banner {
  margin-top: 52px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.why-banner h3 { color: var(--white); margin: 0 0 6px; }
.why-banner p { color: rgba(255,255,255,0.85); margin: 0; font-size: 1rem; max-width: 520px; }
.why-banner .btn { flex-shrink: 0; }
@media (max-width: 700px) {
  .why-banner { padding: 32px 28px; text-align: center; justify-content: center; }
  .why-banner p { max-width: none; }
}

/* ---------- Instagram CTA button ---------- */
.ig-follow {
  text-align: center;
  margin-top: 40px;
}
.ig-follow .btn svg { margin-right: 2px; }
.ig-tile { position: relative; padding-top: 100%; background-size: cover; background-position: center; overflow: hidden; cursor: pointer; display: block; }

/* ---------- Booking widget (Nausys) mock ---------- */
.booking-widget-mock {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: none;
  border-radius: var(--radius-lg);
  padding: 48px 44px 42px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.booking-widget-mock::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 12% 15%, rgba(0,255,255,0.14), transparent 55%);
  pointer-events: none;
}
.booking-widget-mock .plugin-label {
  position: relative;
  background: var(--teal);
  color: var(--navy);
}
.booking-widget-mock h3, .booking-widget-mock > .lead { position: relative; color: var(--white); }
.booking-widget-mock > .lead { color: rgba(255,255,255,0.8); }

.mock-fields {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 14px;
  margin-top: 30px;
  text-align: left;
}
@media (max-width: 900px) { .mock-fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mock-fields { grid-template-columns: 1fr; } }
.mock-field {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.mock-field label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 4px;
  font-weight: 600;
}
.mock-field .val { color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.mock-search-btn {
  align-self: stretch;
  background: var(--teal);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: not-allowed;
  opacity: 0.92;
  white-space: nowrap;
}
@media (max-width: 900px) { .mock-search-btn { grid-column: 1 / -1; } }
.booking-widget-mock .plugin-note {
  position: relative;
  margin-top: 24px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
}
.booking-widget-mock .plugin-note a { color: var(--teal-light); font-weight: 500; }
.booking-widget-mock .plugin-note a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .booking-widget-mock { padding: 32px 22px 28px; }
}

/* ---------- Booking Manager embed (live search + results) ----------
   The widget renders inside a cross-origin iframe, so its internal
   fonts/buttons are controlled by Booking Manager, not this file.
   What we can do is frame it cleanly so it sits in the page design.
------------------------------------------------------------------- */
.booking-embed {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(6, 26, 44, 0.08);
  padding: 20px;
  text-align: left;
  overflow: hidden;
}
.booking-embed iframe,
.booking-embed .mmkwbm iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  min-height: 120px;
}
.booking-embed .mmkwbm { width: 100%; }

/* Loading state — Booking Manager's search takes 3-4s to respond,
   so show something rather than an empty box. */
.booking-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 56px 20px;
  text-align: center;
}
.booking-loading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.booking-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--teal-soft);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: booking-spin 0.8s linear infinite;
}
@keyframes booking-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .booking-spinner { animation-duration: 2.4s; }
}

.booking-embed-fallback {
  margin: 0;
  padding: 20px;
  text-align: center;
  color: var(--navy-light);
}
@media (max-width: 560px) {
  .booking-embed { padding: 12px; }
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal-section { background: var(--white); }
.legal-section .container { max-width: 780px; }
.legal-section h2 { font-size: 1.5rem; margin-top: 2em; }
.legal-section h2:first-child { margin-top: 0; }
.legal-section p, .legal-section li { color: var(--text-muted); }
.legal-section ul { padding-left: 1.3em; list-style: disc; margin-bottom: 1.1em; }
.legal-section li { margin-bottom: 0.4em; }
.legal-updated { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 2.5em; }
