

/* ===== Static-export: popup form ===== */
.static-modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  animation: static-fade-in 0.2s ease-out;
}
.static-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 101;
  width: calc(100% - 24px);
  max-width: 896px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--card, #fff);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: static-pop-in 0.25s ease-out;
}
.static-modal[hidden], .static-modal-overlay[hidden] { display: none !important; }
.static-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  border: none; cursor: pointer;
  font-size: 22px; line-height: 1;
  color: var(--muted-foreground, #555);
  transition: all 0.15s;
}
.static-modal-close:hover { background: rgba(0,0,0,0.1); color: var(--foreground, #222); }

.static-popup-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.static-popup-visual {
  position: relative;
  min-height: 460px;
  padding: 32px;
  color: #fff;
  background: linear-gradient(180deg, oklch(0.42 0.13 156 / 0.55), oklch(0.18 0.04 156 / 0.95)),
              url("https://sfile.chatglm.cn/images-ppt/fea60a9f6d09.jpg") center/cover;
  border-radius: 16px 0 0 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.static-popup-badge {
  display: inline-block; width: fit-content;
  padding: 4px 12px; border-radius: 999px;
  background: oklch(0.80 0.14 75);
  color: oklch(0.26 0.06 75);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.static-popup-visual h2 {
  margin: 16px 0 0;
  font-family: var(--font-playfair), Georgia, serif;
  font-size: 36px; font-weight: 700; line-height: 1.05;
}
.static-popup-visual h2 em { color: oklch(0.80 0.14 75); font-style: italic; }
.static-popup-visual p { margin: 12px 0 0; font-size: 14px; line-height: 1.5; max-width: 320px; opacity: 0.9; }
.static-popup-visual ul { list-style: none; padding: 0; margin: 16px 0 0; font-size: 12px; }
.static-popup-visual ul li { margin: 4px 0; }

.static-popup-form { padding: 28px; position: relative; }
.static-popup-form h3 {
  font-family: var(--font-playfair), Georgia, serif;
  font-size: 22px; font-weight: 700; margin: 0;
}
.static-popup-sub { font-size: 12px; color: var(--muted-foreground, #777); margin: 4px 0 18px; }
.static-popup-form form { display: flex; flex-direction: column; gap: 12px; }
.static-popup-form label {
  font-size: 11px; font-weight: 600;
  color: var(--foreground, #222);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.static-popup-form input, .static-popup-form select {
  width: 100%; height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 8px;
  background: var(--background, #fff);
  font-size: 14px;
  font-family: inherit;
}
.static-popup-form input:focus, .static-popup-form select:focus {
  outline: none;
  border-color: var(--primary, #2f6b4e);
  box-shadow: 0 0 0 3px rgba(47, 107, 78, 0.1);
}
.static-popup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#static-popup-submit {
  height: 44px; border: none; border-radius: 999px;
  background: var(--primary, #2f6b4e);
  color: var(--primary-foreground, #fff);
  font-size: 15px; font-weight: 600;
  cursor: pointer; margin-top: 4px;
  transition: filter 0.15s;
}
#static-popup-submit:hover { filter: brightness(1.1); }
.static-popup-contact { font-size: 11px; text-align: center; color: var(--muted-foreground, #777); margin: 4px 0 0; }
.static-popup-contact a { color: var(--primary, #2f6b4e); font-weight: 600; text-decoration: none; }
.static-popup-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px;
  font-size: 10px; color: var(--muted-foreground, #777);
}

#static-popup-success { text-align: center; padding: 40px 20px; }
.static-popup-success-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(47, 107, 78, 0.1);
  color: var(--primary, #2f6b4e);
  font-size: 32px; line-height: 64px;
}
#static-popup-success h3 { font-size: 24px; margin: 0 0 8px; }
#static-popup-success p { font-size: 13px; color: var(--muted-foreground, #777); max-width: 280px; margin: 0 auto 20px; line-height: 1.5; }
#static-popup-success-close {
  border: 1px solid var(--border, #e5e5e5);
  background: transparent;
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 14px; cursor: pointer;
  color: var(--foreground, #222);
}

/* ===== Static-export: mobile menu ===== */
.static-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 400px;
  z-index: 101;
  background: var(--background, #fff);
  overflow-y: auto;
  animation: static-slide-in 0.3s ease-out;
}
.static-menu[hidden], .static-menu-overlay[hidden] { display: none !important; }
.static-menu-hero {
  position: relative;
  padding: 20px;
  color: #fff;
  background: linear-gradient(180deg, oklch(0.18 0.04 156 / 0.85), oklch(0.18 0.04 156 / 0.95)),
              url("https://sfile.chatglm.cn/images-ppt/44891d5264b7.jpg") center/cover;
}
.static-menu-header { display: flex; justify-content: space-between; align-items: center; }
.static-menu-brand { display: flex; align-items: center; gap: 10px; }
.static-menu-logo { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; border: 2px solid rgba(255,255,255,0.3); background: #fff; }
.static-menu-brand-name { display: block; font-family: var(--font-playfair), Georgia, serif; font-size: 16px; font-weight: 700; line-height: 1.1; }
.static-menu-brand-sub { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.18em; opacity: 0.8; }
#static-menu-close {
  width: 36px; height: 36px;
  border: none; background: rgba(255,255,255,0.15);
  color: #fff; border-radius: 999px;
  font-size: 22px; cursor: pointer;
}
#static-menu-close:hover { background: rgba(255,255,255,0.25); }
.static-menu-tagline { margin: 16px 0 0; font-size: 12px; line-height: 1.5; opacity: 0.85; }

.static-menu-body { padding: 20px; }
.static-menu-cta {
  display: block; text-align: center;
  padding: 12px; margin-bottom: 16px;
  background: var(--primary, #2f6b4e);
  color: var(--primary-foreground, #fff);
  text-decoration: none;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
}
.static-menu-section-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted-foreground, #777);
  margin: 16px 0 8px;
}
.static-menu-nav { display: flex; flex-direction: column; gap: 2px; }
.static-menu-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: var(--foreground, #222);
  border-radius: 8px;
  font-size: 16px; font-weight: 500;
}
.static-menu-nav a:hover { background: var(--secondary, #f5f5f5); }
.static-menu-nav a span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(47, 107, 78, 0.1);
  font-size: 16px;
}
.static-menu-packages { display: flex; flex-direction: column; gap: 4px; }
.static-menu-packages button {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
  padding: 10px;
  border: none; background: transparent;
  border-radius: 8px; cursor: pointer;
  font-family: inherit;
}
.static-menu-packages button:hover { background: var(--secondary, #f5f5f5); }
.static-menu-packages button span { font-size: 14px; font-weight: 600; color: var(--foreground, #222); }
.static-menu-packages button small { font-size: 12px; color: var(--muted-foreground, #777); margin-top: 2px; }

.static-menu-contact { display: flex; flex-direction: column; gap: 4px; }
.static-menu-contact a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: var(--foreground, #222);
  border-radius: 8px;
}
.static-menu-contact a:hover { background: var(--secondary, #f5f5f5); }
.static-menu-contact a span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(47, 107, 78, 0.1);
  font-size: 16px;
}
.static-menu-contact a div { font-size: 14px; }
.static-menu-contact a small { font-size: 11px; color: var(--muted-foreground, #777); }

.static-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--border, #e5e5e5);
  background: rgba(0,0,0,0.03);
  font-size: 12px;
  color: var(--muted-foreground, #777);
}
.static-menu-footer p { margin: 0 0 8px; line-height: 1.5; }
.static-menu-copyright { font-size: 10px !important; }

/* ===== Animations ===== */
@keyframes static-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes static-pop-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes static-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ===== Mobile responsive ===== */
@media (max-width: 640px) {
  .static-popup-grid { grid-template-columns: 1fr; }
  .static-popup-visual { min-height: 140px; padding: 16px; border-radius: 16px 16px 0 0; }
  .static-popup-visual h2 { font-size: 22px; }
  .static-popup-visual p, .static-popup-visual ul { display: none; }
  .static-popup-form { padding: 20px; }
  .static-popup-row { grid-template-columns: 1fr; }
  .static-modal { max-height: calc(100vh - 24px); }
}

/* ===== Floating action buttons (static versions) ===== */
#static-scroll-top, #static-whatsapp {
  position: fixed; bottom: 24px; z-index: 200;
  width: 52px; height: 52px;
  border-radius: 999px;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: opacity 0.3s, transform 0.15s;
  font-size: 22px;
}
#static-scroll-top {
  left: 24px;
  background: var(--card, #fff);
  color: var(--primary, #2f6b4e);
  border: 1px solid var(--border, #e5e5e5);
  opacity: 0;
  pointer-events: none;
}
#static-scroll-top.is-visible { opacity: 1; pointer-events: auto; }
#static-scroll-top:hover { background: var(--primary, #2f6b4e); color: #fff; }

#static-whatsapp {
  right: 24px;
  background: linear-gradient(135deg, #25d366, #128c45);
  color: #fff;
  font-size: 24px;
}
#static-whatsapp:hover { transform: scale(1.05); }
#static-whatsapp::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.5);
  animation: static-pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes static-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ===== Static-export: itinerary modal ===== */
.static-itin {
  max-width: 896px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
}
#static-itin-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.static-itin-hero {
  position: relative;
  height: 200px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.static-itin-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,67,46,0.45) 0%, rgba(24,67,46,0.92) 100%);
}
.static-itin-hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 24px;
}
.static-itin-badges { display: flex; gap: 8px; margin-bottom: 8px; }
.static-itin-badge {
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: rgba(255,255,255,0.9);
  color: #1a3d2e;
}
.static-itin-badge.duration {
  background: var(--primary, #2f6b4e);
  color: #fff;
}
.static-itin-hero-content h2 {
  font-family: var(--font-playfair), Georgia, serif;
  font-size: 28px; font-weight: 700;
  margin: 0; line-height: 1.1;
}
.static-itin-hero-content p {
  margin: 6px 0 0; font-size: 13px; opacity: 0.9;
}
.static-itin-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.static-itin-body h4 {
  font-family: var(--font-playfair), Georgia, serif;
  font-size: 18px; font-weight: 700;
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 8px;
}
.static-itin-timeline {
  list-style: none; padding: 0; margin: 0 0 28px;
  border-left: 2px solid var(--border, #e5e5e5);
  padding-left: 24px;
}
.static-itin-timeline-item {
  position: relative;
  margin-bottom: 18px;
}
.static-itin-timeline-item:last-child { margin-bottom: 0; }
.static-itin-timeline-item::before {
  content: ""; position: absolute;
  left: -31px; top: 2px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--primary, #2f6b4e);
  border: 3px solid var(--card, #fff);
  box-shadow: 0 0 0 2px var(--primary, #2f6b4e);
}
.static-itin-day {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary, #2f6b4e);
}
.static-itin-day-title {
  font-weight: 600; font-size: 15px;
  color: var(--foreground, #222);
  margin: 2px 0 4px;
}
.static-itin-day-detail {
  font-size: 13px; line-height: 1.55;
  color: var(--muted-foreground, #777);
}
.static-itin-inc-exc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px;
}
.static-itin-inc, .static-itin-exc {
  padding: 16px; border-radius: 12px;
}
.static-itin-inc {
  background: rgba(47, 107, 78, 0.06);
  border: 1px solid rgba(47, 107, 78, 0.15);
}
.static-itin-exc {
  background: rgba(220, 80, 80, 0.05);
  border: 1px solid rgba(220, 80, 80, 0.15);
}
.static-itin-inc h5, .static-itin-exc h5 {
  font-size: 13px; font-weight: 700;
  margin: 0 0 10px;
  display: flex; align-items: center; gap: 6px;
}
.static-itin-inc h5 { color: #1a3d2e; }
.static-itin-exc h5 { color: #a04040; }
.static-itin-inc ul, .static-itin-exc ul {
  list-style: none; padding: 0; margin: 0;
  font-size: 12px; line-height: 1.6;
}
.static-itin-inc li::before { content: "✓ "; color: #2f6b4e; font-weight: 700; }
.static-itin-exc li::before { content: "✗ "; color: #c44; font-weight: 700; }
.static-itin-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--secondary, #f5f5f5);
  border-top: 1px solid var(--border, #e5e5e5);
  flex-shrink: 0;
}
.static-itin-price-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted-foreground, #777);
}
.static-itin-price {
  font-family: var(--font-playfair), Georgia, serif;
  font-size: 28px; font-weight: 700;
  color: var(--foreground, #222);
}
.static-itin-price small {
  font-size: 13px; font-weight: 400;
  color: var(--muted-foreground, #777);
}
.static-itin-enquire {
  padding: 12px 24px;
  border: none; border-radius: 999px;
  background: var(--primary, #2f6b4e);
  color: #fff;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.static-itin-enquire:hover { filter: brightness(1.1); }

/* Mobile menu close button (overrides default × styling) */
.static-menu-close-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: none; background: rgba(255,255,255,0.15);
  color: #fff; border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
}
.static-menu-close-btn:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 640px) {
  .static-itin-body { padding: 16px; }
  .static-itin-inc-exc { grid-template-columns: 1fr; }
  .static-itin-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .static-itin-hero-content h2 { font-size: 22px; }
}

/* ===== Static-export: header scrolled state ===== */
/* The Next.js header is rendered with bg-transparent at SSR. When the user
   scrolls, React would swap in bg-background/95 + dark text. We replicate
   that here via the .is-scrolled class added by our vanilla JS. */
header.is-scrolled {
  background-color: var(--card, #ffffff) !important;
  background-image: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px oklch(0.42 0.13 156 / 0.06), 0 4px 16px oklch(0.42 0.13 156 / 0.08);
  border-bottom: 1px solid var(--border, #e5e5e5);
}
/* When scrolled, the logo link + nav links switch from white to foreground color */
header.is-scrolled > div > div > a,            /* logo link */
header.is-scrolled nav a,                       /* desktop nav links */
header.is-scrolled nav {
  color: var(--foreground, #222) !important;
}
/* The logo text columns (Druk Yul / Journeys) */
header.is-scrolled a span {
  color: var(--foreground, #222) !important;
}
/* The "Plan My Journey" CTA button when scrolled — give it primary styling */
header.is-scrolled a[href="#trip-planner"].bg-white,
header.is-scrolled a[href="#trip-planner"] {
  background-color: var(--primary, #2f6b4e) !important;
  color: var(--primary-foreground, #fff) !important;
  border: 1px solid var(--primary, #2f6b4e) !important;
}
header.is-scrolled a[href="#trip-planner"]:hover {
  filter: brightness(1.08);
}
/* Mobile menu trigger (hamburger) when scrolled */
header.is-scrolled button[aria-label="Open menu"] {
  color: var(--foreground, #222) !important;
}
header.is-scrolled button[aria-label="Open menu"]:hover {
  background-color: var(--secondary, #f5f5f5) !important;
}

.interest-pill:has(input:checked){background-color:var(--primary,#2f6b4e);color:#fff;border-color:var(--primary,#2f6b4e);}
