:root {
  --navy-900: #0a192f;
  --navy-800: #112240;
  --navy-700: #1d3557;
  --ocean-600: #0077b6;
  --ocean-500: #0096c7;
  --ocean-100: #e0f4ff;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --emerald-600: #059669;
  --emerald-100: #d1fae5;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(10, 25, 47, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.65;
}
a { color: var(--ocean-600); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--navy-700); text-decoration: underline; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 1.25rem; }

/* Header & Navigation */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0.6rem 1.25rem;
  gap: 1.25rem;
}
.brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none !important;
  letter-spacing: -0.02em;
}
.brand-text strong { color: var(--amber-500); font-weight: 800; }
.main-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.main-nav a {
  color: var(--slate-200);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--navy-800); color: var(--amber-500); }
.nav-cta {
  background: var(--amber-500) !important;
  color: var(--navy-900) !important;
  font-weight: 700 !important;
  padding: 0.45rem 0.85rem !important;
  margin-left: 0.4rem;
}
@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem;
    gap: 0.6rem;
  }
  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* Breadcrumbs (SEO Silo Trail) */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.65rem 0;
  font-size: 0.85rem;
  color: var(--slate-500);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumbs li+li::before { content: "›"; margin-right: 0.4rem; color: var(--slate-500); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--ocean-600) 100%);
  color: var(--white);
  padding: 3.5rem 0;
}
.hero h1 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); line-height: 1.2; margin-bottom: 1rem; }
.hero p.lead { font-size: 1.15rem; color: var(--slate-200); max-width: 780px; margin-bottom: 1.5rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.14);
  color: var(--amber-100);
}
.badge-ocean { background: var(--ocean-100); color: var(--ocean-600); }
.badge-emerald { background: var(--emerald-100); color: var(--emerald-600); }

/* Layout Grid */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  margin: 2.25rem 0;
}
@media (max-width: 960px) {
  .layout-2col { grid-template-columns: 1fr; }
}

/* Cards & Panels */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.35rem;
  margin: 1.5rem 0;
}
.card h2, .card h3 { color: var(--navy-900); margin-bottom: 0.65rem; }
.captain-box {
  background: var(--amber-100);
  border-left: 5px solid var(--amber-500);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.captain-box strong { color: var(--navy-900); display: block; margin-bottom: 0.3rem; }

/* Specs Table */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.spec-item {
  background: var(--slate-100);
  padding: 0.85rem 1rem;
  border-radius: 8px;
}
.spec-item .label { font-size: 0.78rem; color: var(--slate-500); text-transform: uppercase; font-weight: 600; }
.spec-item .val { font-size: 1.05rem; font-weight: 700; color: var(--navy-900); margin-top: 0.2rem; }

/* Article Content */
.prose h2 {
  font-size: 1.45rem;
  color: var(--navy-900);
  margin: 1.85rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--slate-200);
}
.prose h3 { font-size: 1.2rem; margin: 1.35rem 0 0.5rem; color: var(--navy-800); }
.prose p { margin-bottom: 1rem; color: var(--slate-700); }
.prose ul, .prose ol { margin: 0.75rem 0 1.25rem 1.5rem; color: var(--slate-700); }
.prose li { margin-bottom: 0.45rem; }
.prose a.internal-seo-link {
  font-weight: 600;
  color: var(--ocean-600);
  border-bottom: 1px dashed var(--ocean-500);
}

/* MMK Booking Manager Widget Box */
.mmk-widget-box {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 2px solid var(--amber-500);
}
.mmk-widget-box h3 { color: var(--white); margin-bottom: 0.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  text-decoration: none !important;
}
.btn-amber { background: var(--amber-500); color: var(--navy-900); }
.btn-amber:hover { filter: brightness(1.06); }
.btn-ocean { background: var(--ocean-600); color: var(--white); }

/* Affiliate Flight & Logistics Box */
.affiliate-box {
  background: var(--ocean-100);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
}
.flight-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.flight-pill {
  background: var(--white);
  border: 1px solid var(--ocean-500);
  color: var(--navy-900);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
.flight-pill:hover { background: var(--ocean-600); color: var(--white); text-decoration: none; }

/* Itinerary Timeline */
.timeline { border-left: 3px solid var(--ocean-500); margin: 1.5rem 0 1.5rem 0.75rem; padding-left: 1.5rem; }
.timeline-day { position: relative; margin-bottom: 1.5rem; }
.timeline-day::before {
  content: "";
  position: absolute;
  left: -1.95rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--ocean-500);
}

/* Search & Calculators */
.search-bar {
  display: flex;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.6rem;
  border-radius: var(--radius);
  max-width: 680px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.search-bar input {
  flex: 1;
  border: 1px solid var(--slate-200);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
}
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1rem 0; align-items: stretch; }
.calc-field { display: flex; flex-direction: column; justify-content: space-between; }
.calc-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.3; }
.calc-field input, .calc-field select {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 1rem;
}

.site-footer {
  background: var(--navy-900);
  color: var(--slate-200);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 { color: var(--white); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--slate-200); }
