/* ==========================================================================
   KEMBARA IMAN TRAVEL — Design System
   --------------------------------------------------------------------------
   This is the ONLY stylesheet for the whole site. Every page links to it,
   so changing a colour or font here updates every page at once.

   Palette is inspired by Peranakan (Nyonya) shophouse tiles found across
   Melaka & Penang: deep teal, papaya coral, batik gold, on a warm sand
   background.
   ========================================================================== */

:root {
--ink: #3A2E22;
--teal: #3E5A66;
--teal-deep: #2C4149;
--jade: #7C9BA6;
--coral: #C96B5C;
--coral-deep: #A8503F;
--gold: #C9A24A;
--sand: #FAF0DC;
--card: #FFF9EC;
--line: #EDE0C8;
--line-dark: rgba(255, 255, 255, 0.18);

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "Space Mono", "Courier New", monospace;

  /* ---- Layout ---- */
  --max-w: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--teal-deep);
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* ---- Eyebrow / mono labels ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--coral);
  display: inline-block;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--teal-deep);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: #FFF8EC;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #E9E2D2;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-coral {
  background: var(--coral);
  color: #FFF8EC;
  box-shadow: 0 6px 16px rgba(232,98,47,0.35);
}
.btn-coral:hover { background: var(--coral-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: #F1EBDC;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-outline-dark:hover { background: var(--teal); color: #FFF8EC; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #F1EBDC;
  font-size: 26px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---- Language switcher ---- */
.lang-switch {
  position: relative;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: #F1EBDC;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang-toggle svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.lang-switch.is-open .lang-toggle svg { transform: rotate(180deg); }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  list-style: none;
  background: var(--teal-deep);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  z-index: 120;
}
.lang-switch.is-open .lang-menu { display: block; }
.lang-menu li + li { margin-top: 2px; }
.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #E9E2D2;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-menu a:hover { background: rgba(255,255,255,0.08); color: var(--gold); }
.lang-menu a.is-active { color: var(--gold); font-weight: 700; }
@media (max-width: 720px) {
  .lang-switch { order: -1; }
  .nav-cta { gap: 8px; }
  .lang-toggle { padding: 7px 10px; font-size: 12px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;

  /* background: radial-gradient(ellipse 900px 500px at 85% -10%, rgba(204,154,58,0.25), transparent 60%), var(--teal-deep); */
  color: #FFF8EC;
  overflow: hidden;
  padding: 84px 0 100px;
    background: url("https://kembaraimantravel.com/assets/images/main-bg.jpg");
  background-size: cover;      /* Scale image to cover the container */
  background-position: center; /* Keep image centered */
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vh;           /* Full screen height (optional) */
}
/* .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%232F8F76' stroke-opacity='0.25' stroke-width='1.5'%3E%3Ccircle cx='60' cy='60' r='38'/%3E%3Cpath d='M60 22 L60 98 M22 60 L98 60'/%3E%3Cpath d='M35 35 L85 85 M85 35 L35 85'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
} */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero > * {
    position: relative;
    z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  color: #FFF8EC;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 0.3em;
}
.hero .tagline {
  font-size: 20px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero .lede {
  font-size: 17px;
  color: #D9D1BE;
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-price {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #FFF8EC;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 18px;
  display: inline-block;
  margin-bottom: 28px;
}
.hero-price strong { color: var(--gold); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Route ticket — signature illustration in hero */
.route-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  color: var(--ink);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  position: relative;
}
.route-card::after {
  display: none;
  content: "";
  position: absolute;
  left: -10px; right: -10px; top: 96px;
  border-top: 2px dashed var(--line);
}
.route-card::before {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  background: var(--sand);
  border-radius: 50%;
  top: 86px; left: -10px;
  box-shadow: 1160px 0 0 -1140px var(--sand);
}
.route-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 26px;
}
.route-top .eyebrow { margin-bottom: 6px; }
.route-cities {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--teal-deep);
}
.route-plane {
  width: 22px; height: 22px;
  color: var(--coral);
  flex-shrink: 0;
}
.route-line {
  position: relative;
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 10px);
}
.route-body { padding-top: 26px; }
.route-body .route-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6B6152;
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
}
.route-body .route-row:last-child { border-bottom: none; }
.route-body .route-row b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   SECTION SCAFFOLDING
   ========================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-header p { color: #5C5546; font-size: 17px; }
.bg-teal { background: var(--teal-deep); color: #F1EBDC; }
.bg-teal h2, .bg-teal h3 { color: #FFF8EC; }
.bg-teal .section-header p { color: #C9C0AC; }
.bg-card { background: var(--card); }

/* ---- Why choose us ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.why-icon {
  width: 44px; height: 44px;
  margin-bottom: 16px;
  color: var(--jade);
}
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 15px; color: #5C5546; margin: 0; }
.why-banner {
  margin-top: 32px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--teal);
}

/* ---- Packages (boarding-pass cards) ---- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.ticket {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14,75,68,0.1);
  position: relative;
  border: 1px solid var(--line);
}
.ticket-badge {
  position: absolute;
  top: 18px; right: -34px;
  background: var(--coral);
  color: #FFF8EC;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(40deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.ticket-head {
  background: var(--teal-deep);
  color: #FFF8EC;
  padding: 22px 26px 46px;
  position: relative;
}
.ticket-head .eyebrow { color: var(--gold); }
.ticket-head .eyebrow::before { background: var(--gold); }
.ticket-route {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.ticket-route .route-line { background: repeating-linear-gradient(to right, rgba(255,255,255,0.4) 0 6px, transparent 6px 10px); }
.ticket-route .route-plane { color: var(--gold); }
.ticket-name { font-size: 20px; font-family: var(--font-display); color: #FFF8EC; margin: 0; }
.ticket-price {
  position: absolute;
  /* bottom: -20px; left: 26px; */
  top: 48%;
  right: 34px;
  background: var(--card);
  color: var(--teal-deep);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  border: 1px solid var(--line);
}
.ticket-price span { display: block; font-size: 11px; font-weight: 400; color: #8A806C; letter-spacing: 0.06em; }
.ticket-perf {
  height: 0;
  border-top: 2px dashed var(--line);
  margin: 0 0;
  position: relative;
  top: 20px;
}
.ticket-perf::before, .ticket-perf::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  background: var(--sand);
  border-radius: 50%;
  top: -10px;
}
.ticket-perf::before { left: -10px; }
.ticket-perf::after { right: -10px; }
.ticket-body { padding: 40px 26px 26px; }
.ticket-body ul { list-style: none; margin-bottom: 22px; }
.ticket-body li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: #4A4636;
  padding: 6px 0;
}
.ticket-body li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--jade); margin-top: 2px; }
.ticket-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Articles ---- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(14,75,68,0.14);
}
.article-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF8EC;
  position: relative;
}
.article-thumb svg { width: 46px; height: 46px; opacity: 0.9; }
.article-card .article-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.article-card .article-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  margin-bottom: 8px;
}
.article-card h3 { font-size: 18px; margin-bottom: 8px; }
.article-card p { font-size: 14.5px; color: #5C5546; flex: 1; }
.article-card .read-more {
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card .read-more svg { width: 14px; height: 14px; }
.view-all-wrap { text-align: center; margin-top: 40px; }

/* ---- Itinerary ---- */
.itinerary-list { display: flex; flex-direction: column; }
.itinerary-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}
.itinerary-item:last-child { border-bottom: none; }
.itinerary-code {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.itinerary-item h3 { color: #FFF8EC; font-size: 20px; margin-bottom: 6px; }
.itinerary-item p { color: #C9C0AC; margin: 0; }

/* ---- Inclusions ---- */
.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.inclusion {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 600;
  font-size: 15px;
}
.inclusion svg { width: 26px; height: 26px; color: var(--coral); flex-shrink: 0; }

/* ---- Custom trip band ---- */
.custom-band {
  background: linear-gradient(120deg, var(--jade), var(--teal));
  border-radius: var(--radius);
  padding: 48px;
  color: #FFF8EC;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
}
.custom-band h2 { color: #FFF8EC; }
.custom-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; list-style: none; }
.custom-tags li {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}
.custom-ctas { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.custom-ctas .btn { width: 100%; justify-content: center; }

/* ---- Testimonial ---- */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--teal-deep);
  margin: 0 0 20px;
  line-height: 1.4;
}
.testimonial cite {
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: var(--coral);
}
.stars { color: var(--gold); font-size: 20px; margin-bottom: 18px; letter-spacing: 4px; }

/* ---- Final CTA band ---- */
.final-cta {
  background: var(--coral);
  color: #FFF8EC;
  border-radius: var(--radius);
  padding: 50px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.final-cta h2 { color: #FFF8EC; margin-bottom: 6px; }
.final-cta p { margin: 0; color: #FFE8DA; }
.final-cta .btn-coral { background: #FFF8EC; color: var(--coral-deep); box-shadow: none; }
.final-cta .btn-ghost { border-color: rgba(255,255,255,0.5); color: #FFF8EC; }
.final-cta-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--teal-deep);
  color: #C9C0AC;
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  color: #FFF8EC;
  margin-bottom: 12px;
}
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-col h4 {
  color: #FFF8EC;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Floating WhatsApp button ---- */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  transition: transform 0.15s ease;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; }

/* ==========================================================================
   ARTICLE / BLOG PAGES
   ========================================================================== */
.page-hero {
  background: var(--teal-deep);
  color: #FFF8EC;
  padding: 56px 0 64px;
}
.page-hero h1 { color: #FFF8EC; font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 26ch; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #C9C0AC;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-wrap {
  max-width: 760px;
  margin: -40px auto 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 30px 60px rgba(14,75,68,0.14);
  position: relative;
}
.article-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #8A806C;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article-content h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}
.article-content h3 {
  font-size: 1.2rem;
  margin-top: 1.4em;
  color: var(--teal);
}
.article-content p { color: #3A362A; font-size: 17px; }
.article-content ul, .article-content ol { margin: 0 0 1.2em 1.3em; color: #3A362A; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 3px solid var(--coral);
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--teal-deep);
}
.pull-callout {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 1.8em 0;
}
.pull-callout .eyebrow { margin-bottom: 8px; }
.article-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.article-cta h3 { margin-bottom: 8px; }
.article-cta p { color: #5C5546; margin-bottom: 20px; }
.article-share {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.tag-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--teal);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .why-grid, .packages-grid, .inclusions-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid, .blog-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .route-card { max-width: 460px; }
  .custom-band { grid-template-columns: 1fr; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--teal-deep);
    flex-direction: column;
    padding: 18px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line-dark);
  }
  .why-grid, .packages-grid, .inclusions-grid,
  .articles-grid, .blog-grid, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .final-cta, .custom-band { padding: 30px; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  .article-wrap { padding: 28px 22px; margin-top: -24px; }
  .itinerary-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   WECHAT QR POPUP — opened by any element with [data-wechat]
   ========================================================================== */
.wc-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(44, 65, 73, 0.72);
  backdrop-filter: blur(3px);
}
.wc-overlay[hidden] { display: none; }
.wc-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 30px 26px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  animation: wc-pop 0.2s ease-out;
}
@keyframes wc-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.wc-card .eyebrow { justify-content: center; margin-bottom: 8px; }
.wc-card h3 { font-size: 22px; margin-bottom: 4px; }
.wc-hint {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #8A806C;
  margin-bottom: 16px;
}
.wc-card img {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.wc-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--teal-deep);
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.wc-close:hover { background: var(--teal-deep); color: #FFF8EC; }
