@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  --navy: #0a0f1a;
  --navy-2: #111827;
  --navy-3: #182235;
  --gold: #c5a45d;
  --gold-light: #e1c985;
  --text: #f7f1e3;
  --muted: #a6adba;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(17, 24, 39, 0.86);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.route-card,
.trust-grid article,
.team-grid article,
.chat-card,
.contact-list,
.highlight-card,
.timeline-item,
.custom-list,
.next-routes,
.variant-grid article,
.fit-grid article,
.quote-list,
.faq-list article,
.story-day,
.reason-grid article,
.explainer-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.route-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  min-width: 0;
  overflow: hidden;
}

.route-image,
.highlight-image {
  display: block;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.08), rgba(10, 15, 26, 0.48)),
    var(--image) var(--position, center)/cover;
}

.route-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.route-body span,
.team-grid span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-body p,
.route-body li,
.trust-grid p,
.team-grid p,
.highlight-card p,
.detail-summary p,
.detail-custom p,
.detail-cta p,
.timeline-item p,
.variant-grid p,
.fit-grid li,
.quote-prep p,
.detail-faq p,
.reason-grid p,
.contact-list p {
  color: var(--muted);
  line-height: 1.72;
}

.route-body p {
  display: -webkit-box;
  min-height: 7.2em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.route-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.text-link {
  color: var(--gold-light);
  font-weight: 800;
}

.inquiry-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(225, 201, 133, 0.42);
}

.inquiry-link::after {
  content: "→";
  margin-left: 8px;
}

.inquiry-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.section-inquiry {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin-top: 26px;
}

.assistant-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.chat-card {
  overflow: hidden;
}

.trust-grid,
.team-grid,
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.trust-grid article,
.team-grid article {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  padding: 28px;
}

.contact-list p {
  margin: 0;
}

.contact-list strong {
  display: inline-block;
  min-width: 170px;
  color: var(--text);
}

.detail-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(10, 15, 26, 0.94), rgba(10, 15, 26, 0.28)),
    linear-gradient(180deg, rgba(10, 15, 26, 0.16), rgba(10, 15, 26, 0.94)),
    var(--image) var(--position, center)/cover;
}

.detail-hero-content {
  width: min(980px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 88px);
  padding: 160px 0 82px;
}

.detail-hero-content p {
  max-width: 760px;
  color: rgba(247, 241, 227, 0.84);
  font-size: 19px;
  line-height: 1.72;
}

.detail-hero-content h1 {
  max-width: 900px;
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 44px;
}

.detail-summary {
  display: grid;
  gap: 14px;
}

.photo-story {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 0.75fr));
  grid-auto-rows: 230px;
  gap: 12px;
  padding: 0 clamp(20px, 5vw, 64px) clamp(64px, 8vw, 96px);
}

.story-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.05), rgba(10, 15, 26, 0.58)),
    var(--image) var(--position, center)/cover;
}

.story-photo.is-large {
  grid-row: span 2;
}

.story-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 1060px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
}

.timeline-item span {
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3,
.timeline-item p {
  margin: 0;
}

.timeline-item p {
  margin-top: 8px;
}

.highlight-card {
  overflow: hidden;
}

.highlight-card > div:last-child {
  padding: 24px;
}

.story-days {
  display: grid;
  gap: 18px;
}

.story-day {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  min-height: 440px;
  overflow: hidden;
}

.story-day:nth-child(even) .story-day-image {
  order: 2;
}

.story-day-image {
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.02), rgba(10, 15, 26, 0.42)),
    var(--image) var(--position, center)/cover;
}

.story-day-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(26px, 4vw, 44px);
}

.story-day-copy span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-day-copy h3,
.story-day-copy p,
.day-bullets {
  margin: 0;
}

.story-day-copy h3 {
  max-width: 720px;
}

.story-kicker {
  color: var(--text);
  font-weight: 700;
}

.story-day-copy p,
.explainer-grid p {
  color: var(--muted);
  line-height: 1.72;
}

.day-details {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.day-details p {
  padding: 12px 14px;
  border-left: 2px solid rgba(225, 201, 133, 0.72);
  background: rgba(255, 255, 255, 0.035);
}

.day-details strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 0;
  list-style: none;
}

.day-bullets li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.reason-grid article {
  padding: 28px;
}

.reason-grid h3,
.reason-grid p {
  margin: 0;
}

.reason-grid p {
  margin-top: 12px;
}

.explainer-grid article {
  padding: 26px;
}

.explainer-grid h3,
.explainer-grid p {
  margin: 0;
}

.explainer-grid p {
  margin-top: 12px;
}

.detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.detail-cta .button {
  justify-self: start;
  width: auto;
  min-width: 180px;
  padding: 0 28px;
}

.detail-custom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: start;
}

.custom-list,
.next-routes {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.custom-list span,
.next-routes a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--text);
}

.custom-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--gold-light);
}

.next-routes h3 {
  margin-bottom: 6px;
}

.next-routes span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.variant-grid article,
.fit-grid article,
.faq-list article {
  padding: 26px;
}

.variant-grid h3,
.variant-grid p,
.fit-grid h3,
.fit-grid ul,
.faq-list h3,
.faq-list p {
  margin: 0;
}

.variant-grid p,
.faq-list p {
  margin-top: 12px;
}

.detail-fit,
.quote-prep {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: start;
}

.fit-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit-grid ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin-top: 14px;
}

.quote-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 26px;
}

.quote-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--text);
}

.quote-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--gold-light);
}

@media (max-width: 980px) {
  .route-grid,
  .trust-grid,
  .team-grid,
  .highlight-grid,
  .variant-grid,
  .reason-grid,
  .explainer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-section,
  .detail-intro,
  .detail-custom,
  .detail-cta,
  .detail-fit,
  .quote-prep {
    grid-template-columns: 1fr;
  }

  .story-day,
  .story-day:nth-child(even) .story-day-image {
    grid-template-columns: 1fr;
    order: initial;
  }
}

@media (max-width: 720px) {
  .route-grid,
  .trust-grid,
  .team-grid,
  .highlight-grid,
  .variant-grid,
  .reason-grid,
  .explainer-grid,
  .fit-grid,
  .quote-list {
    grid-template-columns: 1fr;
  }

  .route-card {
    grid-template-rows: 210px 1fr;
  }

  .detail-hero {
    min-height: 680px;
  }

  .detail-hero-content {
    width: 100%;
    margin: 0;
    padding: 130px 20px 56px;
  }

  .detail-hero-content p {
    font-size: 17px;
  }

  .photo-story {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    grid-auto-rows: 310px;
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 56px;
    scroll-snap-type: x mandatory;
  }

  .story-photo,
  .story-photo.is-large {
    grid-row: auto;
    scroll-snap-align: start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

  .story-day {
    min-height: 0;
  }

  .story-day-image {
    min-height: 260px;
  }

  .story-day-copy {
    padding: 24px;
  }

  .custom-list,
  .next-routes {
    padding: 20px;
  }

  .custom-list span,
  .next-routes a {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-list strong {
    display: block;
    min-width: 0;
    margin-bottom: 4px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

:lang(zh-Hant) body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(10, 15, 26, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 15, 26, 0.94);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(197, 164, 93, 0.55);
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.brand strong,
.site-footer strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(247, 241, 227, 0.76);
  font-size: 14px;
}

.nav a:hover {
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(197, 164, 93, 0.42);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
}

.language-link:hover {
  border-color: var(--gold-light);
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(197, 164, 93, 0.6);
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.1), rgba(10, 15, 26, 0.9)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/The_Great_Wall_at_Mutianyu.jpg") center/cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 22%, rgba(197, 164, 93, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(10, 15, 26, 0.94), rgba(10, 15, 26, 0.34));
}

.hero-content {
  position: relative;
  width: min(940px, calc(100% - 40px));
  padding: 160px 0 92px;
  margin-left: clamp(20px, 7vw, 88px);
}

.eyebrow {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
  text-wrap: balance;
}

:lang(zh-Hant) h1,
:lang(zh-Hant) h2,
:lang(zh-Hant) h3,
:lang(zh-Hant) .brand strong,
:lang(zh-Hant) .site-footer strong {
  font-family: "PingFang TC", "PingFang HK", "Noto Serif TC", "Songti TC", serif;
  letter-spacing: 0;
}

:lang(zh-Hant) h1,
:lang(zh-Hant) h2,
:lang(zh-Hant) h3 {
  line-height: 1.14;
  hanging-punctuation: allow-end;
  line-break: strict;
}

h1 {
  max-width: 860px;
  font-size: clamp(48px, 8vw, 96px);
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
}

h3 {
  font-size: 24px;
}

:lang(zh-Hant) h1 {
  max-width: 780px;
}

:lang(zh-Hant) h2 {
  max-width: 820px;
}

:lang(zh-Hant) .story-day-copy h3,
:lang(zh-Hant) .reason-grid h3,
:lang(zh-Hant) .explainer-grid h3,
:lang(zh-Hant) .variant-grid h3,
:lang(zh-Hant) .faq-list h3 {
  max-width: 18em;
}

.hero-copy {
  max-width: 680px;
  color: rgba(247, 241, 227, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

.powered a,
.site-footer a {
  color: var(--gold-light);
  border-bottom: 1px solid rgba(197, 164, 93, 0.4);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.intro-grid p,
.assistant-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.process {
  display: grid;
  gap: 10px;
}

.process span {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--gold-light);
  font-weight: 700;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.destination-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-2);
  box-shadow: var(--shadow);
}

.destination-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.08), rgba(10, 15, 26, 0.9)),
    var(--image) center/cover;
  transition: transform 480ms ease;
}

.destination-card:hover::before {
  transform: scale(1.06);
}

.destination-card > * {
  position: relative;
}

.destination-card span,
.itinerary span {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.destination-card p,
.itinerary p,
.why p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
}

.itinerary-list {
  display: grid;
  gap: 16px;
}

.itinerary {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.itinerary a {
  align-self: center;
  color: var(--gold-light);
  font-weight: 700;
}

.assistant-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: center;
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 24px;
  color: rgba(247, 241, 227, 0.82);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.chat-shell {
  overflow: hidden;
  border: 1px solid rgba(197, 164, 93, 0.28);
  background: rgba(10, 15, 26, 0.82);
  box-shadow: var(--shadow);
}

.chat-header {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.chat-header span {
  width: 10px;
  height: 10px;
  background: #62d59a;
  border-radius: 999px;
}

.chat-header small {
  color: var(--gold-light);
}

.chat-log {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.message {
  max-width: 82%;
  padding: 14px 16px;
  line-height: 1.5;
}

.message.bot {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 241, 227, 0.9);
}

.message.user {
  align-self: flex-end;
  background: rgba(197, 164, 93, 0.2);
  border: 1px solid rgba(197, 164, 93, 0.3);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--line);
}

.chat-form input,
.chat-form button {
  min-height: 58px;
  border: 0;
}

.chat-form input {
  min-width: 0;
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.chat-form button {
  padding: 0 20px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 700;
}

.assistant-summary {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.assistant-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assistant-summary-header strong,
.assistant-summary-header span {
  color: var(--gold-light);
}

.assistant-summary-header span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-summary-body {
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(197, 164, 93, 0.2);
  background: rgba(10, 15, 26, 0.62);
  color: rgba(247, 241, 227, 0.9);
  font: inherit;
  line-height: 1.65;
  white-space: pre-wrap;
}

.assistant-submit-status {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: rgba(197, 164, 93, 0.12);
  color: var(--text);
  font-weight: 800;
}

.assistant-submit-status[data-mode="success"] {
  border-left-color: #52c48d;
  background: rgba(82, 196, 141, 0.12);
}

.assistant-submit-status[data-mode="warning"] {
  border-left-color: #f0b35a;
  background: rgba(240, 179, 90, 0.14);
}

.assistant-submit-status[data-mode="preview"] {
  border-left-color: #7db5ff;
  background: rgba(125, 181, 255, 0.12);
}

.assistant-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(197, 164, 93, 0.3);
  text-decoration: none;
  cursor: pointer;
}

.summary-action.primary {
  color: var(--navy);
  background: var(--gold);
  border-color: transparent;
}

.summary-action.secondary,
.summary-action.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  max-width: 980px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 700;
}

.inquiry-form .full {
  grid-column: 1 / -1;
}

.destination-picker {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.destination-picker legend {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-weight: 700;
}

.destination-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.destination-options label {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
}

.destination-options input {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  accent-color: var(--gold);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 14px 16px;
}

.inquiry-form .destination-options input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0 10px 0 0;
  padding: 0;
  border: 0;
}

.inquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.faq {
  max-width: 1040px;
}

details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 6px 0 0;
}

@media (max-width: 980px) {
  .site-header {
    gap: 18px;
    padding: 16px 24px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    display: none;
  }

  .destination-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .assistant-section,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: min(760px, calc(100% - 48px));
    margin-left: 24px;
    padding-bottom: 82px;
  }

  .assistant-section {
    align-items: start;
  }

  .chat-shell {
    width: 100%;
  }

  .why article {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .language-link {
    min-height: 36px;
    padding: 0 10px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  h3 {
    font-size: 22px;
  }

  :lang(zh-Hant) h1 {
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1.18;
  }

  :lang(zh-Hant) h2 {
    font-size: clamp(27px, 7.4vw, 32px);
    line-height: 1.2;
  }

  :lang(zh-Hant) h3 {
    font-size: 21px;
    line-height: 1.24;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 15, 26, 0.28), rgba(10, 15, 26, 0.94)),
      linear-gradient(90deg, rgba(10, 15, 26, 0.92), rgba(10, 15, 26, 0.48));
  }

  .hero-content {
    margin: 0;
    width: 100%;
    padding: 130px 20px 64px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .section {
    padding: 56px 20px;
  }

  .destination-grid,
  .why-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .destination-options {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 280px;
    padding: 22px;
  }

  .itinerary {
    display: grid;
    gap: 16px;
    padding: 22px;
  }

  .itinerary a {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 164, 93, 0.55);
  }

  .chat-log {
    min-height: 240px;
    padding: 18px;
  }

  .message {
    max-width: 94%;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-form input,
  .chat-form button {
    min-height: 54px;
  }

  .inquiry-form input,
  .inquiry-form select,
  .inquiry-form textarea {
    min-height: 52px;
    font-size: 16px;
  }

  .assistant-summary-actions,
  .summary-action {
    width: 100%;
  }

  .destination-options label {
    min-height: 52px;
  }

  .inquiry-form .button {
    grid-column: 1 / -1;
    min-height: 56px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Checkpoint A: make context notes read like standard web copy, not dense cards. */
.route-explainer .explainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1180px;
}

.route-explainer .explainer-grid article {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.route-explainer .explainer-grid article:last-child {
  border-bottom: 1px solid var(--line);
}

.route-explainer .explainer-grid h3 {
  max-width: 14em;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
}

.route-explainer .explainer-grid p {
  max-width: 760px;
  margin-top: 0;
  font-size: 18px;
}

:lang(zh-Hant) h1,
:lang(zh-Hant) h2,
:lang(zh-Hant) h3 {
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

:lang(zh-Hant) .detail-hero-content h1 {
  max-width: min(1180px, calc(100vw - 160px));
  font-size: clamp(64px, 6vw, 104px);
  line-height: 1.12;
}

:lang(zh-Hant) .title-line {
  display: block;
  max-width: 100%;
}

:lang(zh-Hant) .route-explainer .explainer-grid h3 {
  max-width: 100%;
  line-height: 1.2;
}

:lang(zh-Hant) .route-explainer .explainer-grid article {
  grid-template-columns: 1fr;
  gap: 12px;
}

:lang(zh-Hant) .route-explainer .explainer-grid p {
  max-width: 820px;
}

@media (max-width: 980px) {
  .route-explainer .explainer-grid article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .route-explainer .explainer-grid p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  :lang(zh-Hant) .detail-hero-content h1 {
    max-width: 100%;
    font-size: clamp(36px, 9vw, 46px);
    line-height: 1.18;
  }
}

/* Checkpoint A v21: Chinese explanatory sections use one-column editorial flow to avoid long-title collisions. */
:lang(zh-Hant) .detail-intro,
:lang(zh-Hant) .detail-custom,
:lang(zh-Hant) .detail-fit,
:lang(zh-Hant) .quote-prep,
:lang(zh-Hant) .assistant-section,
:lang(zh-Hant) .split {
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
}

:lang(zh-Hant) .detail-intro > *,
:lang(zh-Hant) .detail-custom > *,
:lang(zh-Hant) .detail-fit > *,
:lang(zh-Hant) .quote-prep > *,
:lang(zh-Hant) .assistant-section > *,
:lang(zh-Hant) .split > * {
  min-width: 0;
}

:lang(zh-Hant) .detail-intro h2,
:lang(zh-Hant) .detail-custom h2,
:lang(zh-Hant) .detail-fit h2,
:lang(zh-Hant) .quote-prep h2,
:lang(zh-Hant) .assistant-section h2,
:lang(zh-Hant) .split h2 {
  max-width: 14em;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.16;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

:lang(zh-Hant) .route-explainer .section-heading h2 {
  max-width: 14em;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.16;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

:lang(zh-Hant) .detail-custom .custom-list,
:lang(zh-Hant) .quote-prep .quote-list,
:lang(zh-Hant) .detail-fit .fit-grid,
:lang(zh-Hant) .assistant-section .chat-shell {
  position: relative;
  z-index: 1;
}

:lang(zh-Hant) .detail-cta {
  gap: 22px;
}

:lang(zh-Hant) .detail-cta .button {
  min-width: 0;
  min-height: 46px;
  padding: 0 22px;
}

@media (max-width: 1180px) {
  :lang(zh-Hant) .detail-intro h2,
  :lang(zh-Hant) .detail-custom h2,
  :lang(zh-Hant) .detail-fit h2,
  :lang(zh-Hant) .quote-prep h2,
  :lang(zh-Hant) .assistant-section h2,
  :lang(zh-Hant) .split h2,
  :lang(zh-Hant) .route-explainer .section-heading h2 {
    max-width: 13em;
    font-size: clamp(32px, 5vw, 52px);
  }
}

@media (max-width: 720px) {
  :lang(zh-Hant) .detail-intro h2,
  :lang(zh-Hant) .detail-custom h2,
  :lang(zh-Hant) .detail-fit h2,
  :lang(zh-Hant) .quote-prep h2,
  :lang(zh-Hant) .assistant-section h2,
  :lang(zh-Hant) .split h2,
  :lang(zh-Hant) .route-explainer .section-heading h2 {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.22;
  }
}
