:root {
  color-scheme: light;
  --lake-blue-deep: #3772BE;
  --lake-blue-mid: #529FCD;
  --lake-blue-light: #93CBE4;
  --leaf-green: #6EA27F;
  --sage-green-light: #ACC794;
  --soft-yellow: #EDED8B;
  --cream-yellow: #F1EABD;
  --bg: #f8fbf4;
  --panel: rgba(255, 255, 255, 0.92);
  --text: #173653;
  --muted: #638096;
  --line: rgba(55, 114, 190, 0.18);
  --shadow: 0 24px 70px rgba(55, 114, 190, 0.16);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(147, 203, 228, 0.42), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(237, 237, 139, 0.42), transparent 24%),
    linear-gradient(180deg, #fbfff7 0%, #eff8f8 46%, #f8fbf4 100%);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--lake-blue-deep);
}

.nav,
.hero-grid,
.section,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(147, 203, 228, 0.28);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
}

.nav strong {
  font-size: 22px;
}

.nav span,
.eyebrow {
  color: var(--lake-blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(420px, 1.06fr);
  gap: 52px;
  align-items: center;
  padding: 44px 0 78px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.subtitle {
  max-width: 610px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--lake-blue-deep);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--lake-blue-deep);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(55, 114, 190, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--lake-blue-deep);
}

.hero-board {
  display: grid;
  gap: 14px;
}

.cover-card,
.map-panel,
.stop-card,
.roadmap article,
.stat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cover-card {
  margin: 0;
  overflow: hidden;
  transform: rotate(1.4deg);
}

.cover-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--lake-blue-light), var(--cream-yellow));
}

.cover-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
  color: var(--lake-blue-deep);
  font-weight: 900;
}

.cover-card figcaption span {
  color: var(--leaf-green);
  font-size: 13px;
}

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

.hero-stats span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--lake-blue-deep);
  font-weight: 900;
  text-align: center;
}

.section {
  padding: 68px 0;
}

.section-head {
  margin-bottom: 24px;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: end;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 30px;
}

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

.map-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
}

.map-panel.stylized {
  grid-template-rows: auto auto 1fr auto;
  background: linear-gradient(180deg, rgba(241, 234, 189, 0.72), rgba(255, 255, 255, 0.92));
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-title > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lake-blue-deep);
  color: #ffffff;
  font-weight: 900;
}

.panel-title h3,
.panel-title p {
  margin-bottom: 0;
}

.map-panel img {
  width: 100%;
  height: min(74vh, 720px);
  border-radius: 8px;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(147, 203, 228, 0.28), rgba(241, 234, 189, 0.36));
}

.map-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-badges span,
.panel-note {
  border-radius: 999px;
  background: rgba(241, 234, 189, 0.78);
  color: var(--lake-blue-deep);
  font-size: 13px;
  font-weight: 900;
}

.map-badges span {
  padding: 7px 10px;
}

.panel-note {
  margin: 0;
  padding: 10px 12px;
  line-height: 1.5;
}

.map-note {
  margin: 14px 0 0;
  color: var(--lake-blue-deep);
  font-weight: 900;
}

.route-timeline-block {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--text);
}

.timeline-head button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--lake-blue-deep);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.route-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-chip {
  display: inline-flex;
  align-items: center;
  max-width: 190px;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(147, 203, 228, 0.2);
  color: var(--lake-blue-deep);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-chip b {
  flex: 0 0 auto;
  color: var(--leaf-green);
}

.debug-panel {
  margin-top: 12px;
  border: 1px dashed rgba(55, 114, 190, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 13px;
}

.debug-panel summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 900;
  color: var(--lake-blue-deep);
}

.debug-panel pre {
  margin: 0;
  padding: 0 12px 12px;
  white-space: pre-wrap;
}

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

.stop-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 20px;
}

.stop-number {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--cream-yellow);
  color: var(--lake-blue-deep);
  font-size: 26px;
  font-weight: 900;
}

.poi-list,
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.poi-list span,
.source-list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(147, 203, 228, 0.22);
  color: var(--lake-blue-deep);
  font-size: 13px;
  font-weight: 900;
}

.source-list span:nth-child(2n) {
  background: rgba(172, 199, 148, 0.28);
  color: #416c50;
}

.stop-photos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.stop-photos img,
.photo-wall img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--lake-blue-light);
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.step-row,
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-row span,
.roadmap article {
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  color: var(--lake-blue-deep);
  font-size: 18px;
  font-weight: 900;
}

.roadmap article:nth-child(2) {
  background: rgba(237, 237, 139, 0.26);
}

.roadmap article p {
  margin-bottom: 0;
}

footer {
  padding: 28px 0 52px;
  color: var(--muted);
}

.empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-head,
  .map-comparison,
  .stop-card,
  .step-row,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .photo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stop-photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cover-card {
    transform: none;
  }
}

@media (max-width: 620px) {
  .nav,
  .hero-grid,
  .section,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .nav,
  .cover-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .stats-grid,
  .hero-stats,
  .photo-wall,
  .stop-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-panel img {
    height: auto;
    max-height: 72vh;
  }
}
