/* ============ Site header / nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  /* three gray cloud motifs scattered on the header background */
  background-image: url("/assets/img/cloud-gray.png"), url("/assets/img/cloud-gray.png"), url("/assets/img/cloud-gray.png");
  background-repeat: no-repeat;
  background-position: left 1.2rem top 0.6rem, right 1.2rem top 0.5rem, left 28% top 0.4rem;
  background-size: 62px auto, 46px auto, 36px auto;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-h);
}
.brand {
  flex: none;
  line-height: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.brand-logo { height: 105px; width: auto; }
/* gold auspicious cloud (祥云纹) under the nav logo — same recipe as the video */
.brand-cloud { width: 84px; height: auto; opacity: 0.92; }

.site-nav { flex: 1; min-width: 0; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-list a {
  display: inline-block;
  padding: 0.5em 0.42em;
  font-family: var(--font-wordmark);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  letter-spacing: 0.02em;
}

/* Unlock button rendered as the last nav item (right of Service Team) */
.nav-list li.nav-cta { margin-left: 0.35rem; display: flex; align-items: center; }
.nav-list a.nav-unlock {
  padding: 0.5em 1em;
  font-size: var(--fs-tiny);
  font-weight: 700;
  color: #fff;
  background: var(--brand-coral);
  box-shadow: 0 3px 10px rgba(216, 90, 48, 0.3);
}
.nav-list a.nav-unlock:hover { background: #c24d26; color: #fff; }
.nav-list a:hover { background: rgba(14, 122, 97, 0.08); color: var(--brand-teal); }
.nav-list a.active { color: var(--brand-teal); background: rgba(14, 122, 97, 0.1); }

/* ============ Featured nav item (Vacation Guide) ============ */
.nav-list a.nav-guide {
  color: #D7263D;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.nav-list a.nav-guide:hover,
.nav-list a.nav-guide.active {
  color: #A81F2F;
  background: rgba(215, 38, 61, 0.08);
}

/* ============ Nav dropdown (Vacation Guide → 12 modules) ============ */
.nav-list li.has-sub { position: relative; }
.nav-list li.has-sub > a::after {
  content: " ▾";
  font-size: 0.72em;
  opacity: 0.85;
}
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  min-width: 250px;
  padding: 0.45rem;
  margin: 0;
  list-style: none;
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(31, 35, 40, 0.16);
}
/* Lotus watermark per panel size (faint gray, decorative only):
   - Places (900px two-column panel): 260px centered  (~29% of width)
   - Vacation Guide (250px narrow list):   76px centered (same ~29% ratio)
   - Log In / Service Team (small panels):  44px bottom-right corner      */
.nav-submenu--places,
.nav-submenu--guide {
  background: var(--paper-card) url("/assets/img/lotus-gray.png") no-repeat center center;
}
.nav-submenu--places { background-size: 260px auto; }
.nav-submenu--guide { background-size: 76px auto; }
.nav-submenu--account,
.nav-submenu--service {
  background: var(--paper-card) url("/assets/img/lotus-gray.png") no-repeat right 0.8rem bottom 0.6rem / 44px auto;
}
.nav-submenu::before {
  /* hover bridge: no dead gap between trigger and menu */
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-list li.has-sub:hover .nav-submenu,
.nav-list li.has-sub:focus-within .nav-submenu,
.nav-submenu.open {
  display: block;
}
.nav-submenu li a {
  display: block;
  padding: 0.5em 0.9em;
  font-family: var(--font-wordmark);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
}
.nav-submenu li a:hover {
  color: var(--brand-teal);
  background: rgba(14, 122, 97, 0.08);
}

/* Places to go dropdown: two zones — Places (A–Z) + Food (A–Z), each with a header.
   The outer .nav-submenu stays block (hover rule sets display:block), the inner
   .nav-submenu-grid handles the two columns. */
.nav-submenu--places {
  width: min(900px, calc(100vw - 2rem));
  max-height: min(88vh, 820px);
  overflow-y: auto;
}
.nav-submenu-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 0.35rem 0.75rem;
}
.nav-submenu-col { min-width: 0; }
.nav-submenu-head {
  font-family: var(--font-wordmark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-teal);
  padding: 0.35em 0.5em 0.3em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.3rem;
  white-space: nowrap;
}
.nav-submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-submenu-col--places .nav-submenu-list {
  column-count: 3;
  column-gap: 0.4rem;
}
.nav-submenu-list li { break-inside: avoid; }
.nav-submenu-list li a {
  font-size: 0.7rem;
  padding: 0.26em 0.5em;
  white-space: normal;
  line-height: 1.2;
}
.nav-submenu-list .nav-sub-zh {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88em;
  color: var(--ink-faint);
  margin-left: 0.3em;
}

.header-actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }

/* ============ China flag in nav (far-right, inside .header-actions) ============ */
.nav-flag-item { display: flex; }
.nav-flag {
  display: inline-flex;
  align-items: flex-start;
  margin-left: 0.3rem;
  height: 58px;
  flex: none;
}
.nav-flagpole {
  width: 3px;
  height: 100%;
  background: linear-gradient(to right, #aaa, #777, #999);
  border-radius: 2px 2px 0 0;
  flex: none;
  position: relative;
}
.nav-flagpole::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -2px;
  width: 7px;
  height: 7px;
  background: var(--brand-amber);
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(201, 162, 39, 0.6);
}
.nav-flag-cloth {
  display: block;
  width: 54px;
  height: 36px;
  transform-origin: left center;
  animation: flag-wave 2.8s ease-in-out infinite;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
  position: relative;
  overflow: hidden;
}
.nav-flag-cloth svg { display: block; width: 100%; height: 100%; }
.nav-flag-cloth::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 15%,
    transparent 30%,
    rgba(0, 0, 0, 0.06) 50%,
    transparent 65%,
    rgba(255, 255, 255, 0.06) 85%,
    transparent 100%);
  background-size: 200% 100%;
  animation: flag-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flag-wave {
  0%, 100% { transform: perspective(80px) rotateY(0deg) skewY(0deg); }
  15%      { transform: perspective(80px) rotateY(-10deg) skewY(-3deg); }
  30%      { transform: perspective(80px) rotateY(-5deg) skewY(0deg); }
  45%      { transform: perspective(80px) rotateY(0deg) skewY(2deg); }
  60%      { transform: perspective(80px) rotateY(5deg) skewY(0deg); }
  75%      { transform: perspective(80px) rotateY(10deg) skewY(-2deg); }
  90%      { transform: perspective(80px) rotateY(5deg) skewY(1deg); }
}

@keyframes flag-shimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-flag-cloth, .nav-flag-cloth::after { animation: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  background-image: url("/assets/img/footer-lotus-tile.png");
  background-repeat: repeat-x;
  background-position: center;
  color: rgba(255, 255, 255, 0.82);
  margin-top: var(--space-7);
  padding: var(--space-6) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
}
.footer-logo { height: 208px; width: auto; margin-bottom: var(--space-3); }
.footer-brand p { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.65); max-width: 40ch; }
.footer-title {
  font-family: var(--font-wordmark);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-amber);
  margin-bottom: var(--space-3);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: rgba(255, 255, 255, 0.78); font-size: var(--fs-small); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: var(--space-3) 0;
  font-size: var(--fs-tiny);
  color: rgba(255, 255, 255, 0.55);
}
.footer-socials { display: flex; gap: var(--space-3); }
.footer-social { color: rgba(255, 255, 255, 0.78); font-size: var(--fs-tiny); font-weight: 600; }
.footer-social:hover { color: var(--brand-amber); }

/* ============ Quick facts strip ============ */
.quick-facts {
  background: var(--paper-tint);
  border-block: 1px solid var(--border);
}
.quick-facts-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-3);
}
.vblock { min-width: 150px; }
.vblock dt {
  font-family: var(--font-wordmark);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal);
}
.vblock dd { font-size: var(--fs-small); color: var(--ink); font-weight: 500; }

/* ============ Paywall ============ */
.paywall { position: relative; margin: var(--space-5) 0; }
.paywall-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(250, 247, 240, 0.55) 0%, rgba(250, 247, 240, 0.92) 60%),
    rgba(250, 247, 240, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2;
}
.paywall-lock h2 { font-size: 1.3rem; margin: 0; }
.paywall-lock p { color: var(--ink-soft); max-width: 46ch; margin: 0; }
.lock-badge { font-size: 1.6rem; }

/* When unlocked, blur + overlay are removed */
html.unlocked .paywall-lock { display: none; }
html.unlocked .paywall .premium-clip { filter: none; }

/* ---- Hybrid metered gate ---- */
/* free quota not exhausted: reveal premium sections for this page view */
html.gate-open .paywall-lock { display: none; }
html.gate-open .paywall .premium-clip { filter: none; }

/* quota exhausted on guide module pages: truncate + paper fade */
html.gate-blocked .guide-content { position: relative; max-height: 640px; overflow: hidden; }
html.gate-blocked .guide-content::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 240px;
  background: linear-gradient(180deg, rgba(250,247,240,0) 0%, rgba(250,247,240,0.92) 70%, #FAF7F0 100%);
  pointer-events: none;
}

/* daily free-pages counter chip (bottom-left, clear of the float bar) */
.pp-meter-chip {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 1500;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #FBF7EC;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(251,247,236,0.18);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  animation: chipIn 0.4s ease;
}
@keyframes chipIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .pp-meter-chip { left: 12px; bottom: 14px; font-size: 0.72rem; } }

/* upgrade modal */
.pp-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(28,26,24,0.55);
}
.pp-gate-modal {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--rice, #FAF7F0);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  padding: 34px 28px 26px;
  text-align: center;
  animation: gateIn 0.35s ease;
}
@keyframes gateIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.pp-gate-modal h2 { font-family: var(--font-display, inherit); font-size: 1.35rem; margin: 10px 0 6px; }
.pp-gate-modal p { color: var(--ink-soft); margin: 0 0 4px; }
.pp-gate-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.pp-gate-close:hover { background: rgba(0,0,0,0.05); }
.pp-gate-value { list-style: none; margin: 16px 0 20px; padding: 0; text-align: left; }
.pp-gate-value li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 0.92rem;
  border-bottom: 1px dashed var(--border);
}
.pp-gate-value li:last-child { border-bottom: 0; }
.pp-gate-check { color: var(--teal, #2E8B8A); font-weight: 700; }
.pp-gate-modal .pp-gate-buy { width: 100%; justify-content: center; }
.pp-gate-alt {
  display: block;
  margin-top: 12px;
  color: var(--teal, #2E8B8A);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pp-gate-later {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* member perk button */
.pp-pdf-btn { margin: 0 0 var(--space-3); }
.pp-save-bar .pp-pdf-btn, .cl-save-bar .pp-pdf-btn { margin: 0; }

/* ---- Print / Save-as-PDF view (member perk) ---- */
@media print {
  .site-header, .site-footer, .float-bar, .pp-meter-chip, .pp-gate-overlay,
  .paywall-lock, .guide-nav, .pp-save-bar, .pp-save-panel, .cl-save-bar, .cl-save-panel, .wl-cta,
  .skip-link, .az-jump, .pp-pdf-btn, .crumbs, .pp-toast { display: none !important; }
  body { background: #fff; }
  .place-hero { min-height: 0; }
  .place-hero-img { max-height: 280px; object-fit: cover; }
  .paywall, .guide-content {
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
  }
  html.gate-blocked .guide-content::after { display: none; }
  a { color: inherit !important; text-decoration: none !important; }
  section { break-inside: avoid-page; }
}

/* ============ Timeline (history page) ============ */
.timeline-list { list-style: none; padding: 0; margin: 0; }
.timeline-row {
  display: grid;
  grid-template-columns: 200px 1fr minmax(0, 1.2fr);
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--border-strong);
}
.timeline-meta h3 { margin: 0; font-size: 1.25rem; display: inline; }
.timeline-namezh {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brand-red);
  margin-left: var(--space-2);
}
.timeline-dates {
  margin: 0;
  font-family: var(--font-wordmark);
  font-size: var(--fs-tiny);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.timeline-cap {
  display: inline-block;
  margin-top: 2px;
  font-size: var(--fs-tiny);
  background: rgba(201, 162, 39, 0.16);
  color: #7A5F14;
  padding: 1px 8px;
  border-radius: 20px;
}
.timeline-bar-wrap {
  background: rgba(31, 35, 40, 0.06);
  border-radius: 8px;
  height: 18px;
  margin-top: 6px;
  overflow: hidden;
}
.timeline-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-amber));
  border-radius: 8px;
  min-width: 6px;
}
.timeline-note { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); }

.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-3);
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.timeline-legend-tag {
  display: inline-block;
  font-family: var(--font-wordmark);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}
.timeline-legend-tag.bce {
  background: rgba(201, 162, 39, 0.18);
  color: #7A5F14;
}
.timeline-legend-tag.ce {
  background: rgba(14, 122, 97, 0.15);
  color: #0E7A61;
}
.timeline-legend-note {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .timeline-legend { gap: var(--space-1); padding: var(--space-2); }
  .timeline-legend-note { width: 100%; margin-top: 2px; }
}

/* ============ History stats banner ============ */
.history-stats {
  padding: var(--space-5) 0;
  background: linear-gradient(180deg, var(--paper) 0%, rgba(251,247,236,0.6) 100%);
  border-bottom: 1px solid var(--border);
}
.history-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.history-stat {
  text-align: center;
  padding: var(--space-3);
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.history-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1.2;
}
.history-stat-label {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Population tag on timeline rows */
.timeline-pop {
  display: inline-block;
  margin-top: 4px;
  font-size: var(--fs-tiny);
  font-family: var(--font-wordmark);
  letter-spacing: 0.03em;
  background: rgba(14, 122, 97, 0.10);
  color: #0E7A61;
  padding: 1px 8px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .history-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .history-stat-number { font-size: 1.4rem; }
}

/* ============ Tips page ============ */
.tip-quick {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.tip-quick a {
  font-family: var(--font-wordmark);
  font-size: var(--fs-tiny);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.45em 0.95em;
  border-radius: 30px;
}
.tip-quick a:hover { background: var(--brand-coral); border-color: var(--brand-coral); color: #fff; }
.tip-section { margin-bottom: var(--space-6); scroll-margin-top: calc(var(--header-h) + 12px); }
.tip-item {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
}
.tip-item h3 { margin-bottom: var(--space-1); font-size: 1.1rem; color: var(--brand-teal-dark); }
.tip-item p:last-child { margin-bottom: 0; }

/* ============ Teasers (home) ============ */
.teasers { padding: var(--space-6) 0; }
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}
.teaser {
  display: block;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  text-decoration: none;
}
.teaser h2 { color: #fff; font-size: 1.6rem; }
.teaser p { color: rgba(255, 255, 255, 0.85); }
.teaser-history { background: linear-gradient(135deg, #1F2328, #0E7A61); }
.teaser-tips { background: linear-gradient(135deg, #A94438, #C9A227 160%); }
.teaser-cta { font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.05em; }

/* ============ Paywall teaser (home) ============ */
.paywall-teaser {
  background: var(--ink);
  color: #fff;
  padding: var(--space-6) 0;
}
.paywall-teaser-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}
.paywall-teaser h2 { color: #fff; font-size: var(--fs-h2); }
.paywall-teaser p { color: rgba(255, 255, 255, 0.8); max-width: 54ch; }

/* ============ Access page ============ */
.price-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-4);
}
.price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--ink); }
.price .currency { font-size: 1.3rem; vertical-align: super; margin-right: 4px; color: var(--brand-teal); }
.price-once { font-family: var(--font-wordmark); font-weight: 600; color: var(--brand-teal); letter-spacing: 0.04em; }
.plans-grid .price-once { white-space: nowrap; font-size: 0.78rem; }
.price-methods, .price-secure { font-size: var(--fs-tiny); color: var(--ink-faint); margin: 0; }

/* three-tier comparison grid (Free / Traveler / Explorer) */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
  width: 100%;
  max-width: 1120px;
  margin-top: var(--space-5);
  align-items: stretch;
}
.plans-grid .price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  width: 100%;
  padding: var(--space-4) var(--space-3) var(--space-5);
}
.plans-grid .price-card .btn { width: 100%; max-width: 280px; }
.plan-activate { font-size: var(--fs-tiny); margin: 10px 0 0; }
.plan-activate a { color: var(--brand-teal); text-decoration: underline; text-underline-offset: 3px; }
.plan-activate a:hover { color: var(--seal-red); }
.plan-flag {
  display: inline-block;
  min-height: 34px;
  margin-bottom: 6px;
  visibility: hidden;
}
.plan-name {
  font-family: var(--font-wordmark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}
.plan-best {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-red, #B23A2E);
  color: #FBF7EC;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 26px;
  line-height: 26px;
}
/* Free tier — muted, dashed, clearly "baseline" */
.price-card--free {
  border: 1.5px dashed var(--border);
  box-shadow: none;
  background: rgba(14, 124, 123, 0.035);
}
.price-card--free .plan-name { color: var(--ink-faint); }
.price-card--free .price { color: var(--ink-soft); }
.price-card--free .price-once { color: var(--ink-faint); }
.price-card--free .list-check li::before { color: var(--ink-faint); }
/* Traveler tier — solid teal accent, white card + black text */
.price-card--std {
  border: 2px solid var(--brand-teal);
  background: #fff;
  box-shadow: 0 10px 26px rgba(14, 124, 123, 0.14);
}
.price-card--std .plan-name { color: var(--ink); }
.price-card--std .plan-features li { color: var(--ink); }
.price-card--std .plan-includes { color: var(--ink); }
.price-card--std .price-once { color: var(--ink-soft); }
/* Explorer tier — gold accent, solid light-cream card for readability */
.price-card--premium {
  border: 2px solid #D9B678;
  position: relative;
  background: #FDF9F0;
  box-shadow: 0 12px 30px rgba(217, 182, 120, 0.25);
}
.price-card--premium .plan-name { color: #8A6A28; }
.price-card--premium .plan-includes { color: var(--ink); }
.price-card--premium .plan-features li { color: var(--ink); }
.price-card--premium .list-check li::before { color: #8A6A28; }
.btn-outline {
  background: transparent;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}
.btn-outline:hover { background: rgba(14, 124, 123, 0.08); }
.plan-features {
  text-align: left;
  width: 100%;
  max-width: 320px;
  margin: var(--space-2) auto 0;
  font-size: 0.88rem;
}
.plan-features li { padding: 3px 0 3px 1.6rem; }
.plan-includes {
  margin: var(--space-3) 0 0;
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-teal);
  text-align: center;
}
.price-methods, .price-secure {
  font-size: var(--fs-tiny);
  color: var(--ink-faint);
  margin: 0;
  text-align: center;
}
.price-methods { margin-top: var(--space-3); }
.btn-gold {
  background: linear-gradient(180deg, #E8CA94 0%, #D9B678 100%);
  color: #4A3413;
  border: 1px solid rgba(74, 52, 19, 0.25);
}
.btn-gold:hover { filter: brightness(1.05); box-shadow: 0 10px 24px rgba(217, 182, 120, 0.45); }
@media (max-width: 960px) { .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper-card);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-2);
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { margin: var(--space-2) 0 0; color: var(--ink-soft); font-size: var(--fs-small); }

.access-success {
  text-align: center;
  padding: var(--space-6) 0;
}
.access-success .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.access-success h2 { font-size: var(--fs-h2); }

/* ============ Restore a purchase (recovery code) ============ */
.access-restore { padding: var(--space-5) 0 var(--space-6); }
.access-restore-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper-card);
  padding: var(--space-5);
  max-width: 640px;
  margin: 0 auto;
}
.access-restore-inner .place-h2 { margin-top: 0; }
.access-restore-text { color: var(--ink-soft); font-size: var(--fs-small); max-width: 52ch; }
.restore-form {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}
.restore-input {
  flex: 1 1 220px;
  min-width: 0;
  font-family: var(--font-wordmark);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.7em 1em;
}
.restore-input:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(20, 98, 86, 0.12);
}
.restore-msg { font-size: var(--fs-small); min-height: 1.2em; margin: var(--space-2) 0 0; }
.restore-msg.is-bad { color: var(--brand-coral); font-weight: 600; }
.restore-msg.is-ok { color: var(--brand-teal-dark); font-weight: 600; }
.restore-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin: var(--space-2) 0;
}
.restore-code {
  font-family: var(--font-wordmark);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-teal-dark);
  background: rgba(20, 98, 86, 0.06);
  border: 1px dashed rgba(20, 98, 86, 0.45);
  border-radius: var(--radius-md);
  padding: 0.55em 0.9em;
  user-select: all;
}
.restore-code-hint { font-size: var(--fs-tiny); color: var(--ink-faint); max-width: 46ch; margin: var(--space-1) auto 0; }
.success-code { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.success-code-label {
  font-family: var(--font-wordmark);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
[data-restore-owned] { text-align: center; }

/* ============ 404 ============ */
.nf { padding: var(--space-7) 0; text-align: center; }
.nf-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.nf-inner p { max-width: 44ch; color: var(--ink-soft); }

/* ============ Fact grid (place pages) ============ */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper-card);
  padding: var(--space-4);
}
.fact dt { font-size: var(--fs-tiny); font-family: var(--font-wordmark); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.fact dd { font-weight: 600; color: var(--ink); }

/* ============ Responsive ============ */
/* mobile nav breakpoint raised 920->1120: 10-item nav + Unlock CTA overflows
   the header on laptops/tablets in every language (worst: de 1024px, en 921px) */
@media (max-width: 1120px) {
  .site-nav { display: none; }
  .site-nav.open { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--border); padding: var(--space-3); }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { display: block; padding: 0.8em 0.6em; }
  .nav-submenu {
    position: static;
    display: block;
    transform: none;
    min-width: 0;
    box-shadow: none;
    background-image: none;
    border: none;
    background: transparent;
    padding: 0.2rem 0 0.6rem 1.2rem;
  }
  .nav-submenu::before { display: none; }
  .nav-submenu--places {
    width: auto;
    max-height: none;
    overflow: visible;
  }
  .nav-submenu-grid { display: block; }
  .nav-submenu-col { margin-bottom: 0.85rem; }
  .nav-submenu-col:last-child { margin-bottom: 0.25rem; }
  .nav-submenu-col--places .nav-submenu-list { column-count: 2; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .access-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: var(--space-2); }
  .timeline-note-wrap { display: none; }
  .brand-logo { height: 72px; }
  .brand-cloud { width: 57px; }
  .footer-logo { height: 140px; }
  .header-inner { min-height: 105px; }
  .site-nav.open { top: 105px; }
}

@media (max-width: 600px) {
  .brand-logo { height: 48px; }
  .brand-cloud { width: 39px; }
  .footer-logo { height: 100px; }
  .nav-flag { height: 44px; }
  .nav-flag-cloth { width: 42px; height: 28px; }
}

/* ============ Guide teaser (home) ============ */
.teaser-guide { background: linear-gradient(135deg, #C9A227 0%, #0E7A61 150%); }

/* ============ Floating right-edge action bar ============ */
.float-bar {
  position: fixed;
  right: 1rem;
  top: 44%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  z-index: 1200;
}
.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--paper-card);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.25s ease, visibility 0.25s;
  text-decoration: none;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14); }
.float-btn .ico { width: 22px; height: 22px; flex: none; }

/* Back to top — hidden until the page is scrolled */
.float-btn--top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}
.float-btn--top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-btn--top.show:hover { transform: translateY(-2px); }

/* WhatsApp */
.float-btn--wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.float-btn--wa:hover { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45); }

/* Language switcher — intentionally prominent */
.float-lang { position: relative; }
.float-btn--lang {
  width: auto;
  height: auto;
  gap: 0.5rem;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0E7A61 0%, #0A5C49 100%);
  color: #fff;
  font-family: var(--font-wordmark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 22px rgba(14, 122, 97, 0.35);
  animation: floatLangPulse 2.8s ease-in-out infinite;
}
.float-btn--lang:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(14, 122, 97, 0.5); }
.float-btn--lang .lang-globe { width: 20px; height: 20px; flex: none; }
.float-btn--lang .lang-chev { width: 14px; height: 14px; flex: none; transition: transform 0.2s ease; }
.float-lang.open .float-btn--lang .lang-chev { transform: rotate(180deg); }

@keyframes floatLangPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(14, 122, 97, 0.35); }
  50% { box-shadow: 0 8px 28px rgba(14, 122, 97, 0.6), 0 0 0 5px rgba(14, 122, 97, 0.14); }
}

/* Language dropdown menu */
.float-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 196px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  display: none;
}
.float-lang-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: var(--paper-card);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.float-lang.open .float-lang-menu { display: block; }
.float-lang-menu a,
.float-lang-menu .lang-soon {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border: none;
  background: none;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.float-lang-menu a:hover { background: rgba(14, 122, 97, 0.08); color: var(--brand-teal); }
.float-lang-menu a.is-active { color: var(--brand-teal); }
.float-lang-menu .lang-check { width: 15px; height: 15px; flex: none; margin-left: auto; }
.float-lang-menu .lang-soon { color: var(--ink-faint); font-weight: 500; cursor: default; }
.float-lang-menu .lang-soon em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  background: rgba(14, 122, 97, 0.1);
  color: var(--brand-teal);
  padding: 1px 8px;
  border-radius: 20px;
  margin-left: auto;
  flex: none;
}

/* Toast for coming-soon languages */
.float-toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(10px);
  background: rgba(28, 28, 28, 0.94);
  color: #fff;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: var(--fs-small);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1300;
  pointer-events: none;
}
.float-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

@media (max-width: 768px) {
  .float-bar { right: 0.6rem; gap: 0.5rem; }
  .float-btn { width: 42px; height: 42px; }
  .float-btn .ico { width: 19px; height: 19px; }
  .float-btn--lang { padding: 0.56rem 0.78rem; font-size: 0.78rem; }
  .float-btn--lang .lang-globe { width: 18px; height: 18px; }
  .float-lang-menu { min-width: 172px; }
}
