:root {
  --ink: #13212a;
  --muted: #5d6b73;
  --paper: #fffdf8;
  --surface: #ffffff;
  --mist: #edf6f4;
  --aqua: #007c82;
  --aqua-dark: #04595f;
  --coral: #d6533c;
  --gold: #c58b20;
  --plum: #4f3d74;
  --line: #d8e2df;
  --shadow: 0 18px 38px rgba(19, 33, 42, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(0, 124, 130, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(216, 226, 223, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--aqua), var(--coral));
  border-radius: var(--radius);
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: var(--radius);
  text-decoration: none;
  color: #34444d;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--aqua-dark);
  background: var(--mist);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background: #10262c;
}

.page-hero {
  min-height: 48vh;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 28, 0.74), rgba(8, 23, 28, 0.34) 54%, rgba(8, 23, 28, 0.18)),
    linear-gradient(0deg, rgba(8, 23, 28, 0.72), transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 86px 0 66px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #f7d98d;
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.hero-lede {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.anchor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button,
.anchor-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
}

.button {
  color: #ffffff;
  background: var(--coral);
  border-color: var(--coral);
}

.button.secondary,
.anchor-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--mist);
}

.section.deep {
  color: #ffffff;
  background: #143d41;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.deep .section-heading p,
.deep .muted {
  color: rgba(255, 255, 255, 0.76);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.feature-card,
.route-card,
.tip-panel,
.image-card,
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(19, 33, 42, 0.06);
}

.card,
.feature-card,
.route-card,
.tip-panel,
.timeline-card {
  padding: 24px;
}

.card h3,
.feature-card h3,
.route-card h3,
.tip-panel h3,
.timeline-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.28;
}

.card p,
.feature-card p,
.route-card p,
.tip-panel p,
.timeline-card p {
  margin: 0;
  color: var(--muted);
}

.image-card {
  overflow: hidden;
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card .image-body {
  padding: 20px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 9px;
  color: var(--aqua-dark);
  background: #dff2ef;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.feature-card {
  min-height: 220px;
  border-top: 4px solid var(--aqua);
  color: inherit;
  text-decoration: none;
}

.feature-card:nth-child(2n) {
  border-top-color: var(--coral);
}

.feature-card:nth-child(3n) {
  border-top-color: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 32px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.96fr 1.04fr;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.copy-block h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
}

.copy-block p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
}

.quick-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.quick-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.quick-list strong {
  display: block;
  line-height: 1.35;
}

.quick-list span {
  color: var(--muted);
}

.dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--aqua);
  border-radius: var(--radius);
  font-weight: 900;
}

.deep .card,
.deep .route-card,
.deep .tip-panel {
  color: var(--ink);
}

.route-card {
  display: grid;
  gap: 16px;
}

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

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  color: var(--plum);
  background: #f2ebff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.steps li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
}

.callout {
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--aqua-dark), #276b63);
  border-radius: var(--radius);
}

.callout h2,
.callout h3 {
  margin: 0 0 10px;
}

.callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.source-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.source-list a {
  color: var(--aqua-dark);
  font-weight: 800;
}

.source-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #10262c;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a {
  color: #f7d98d;
  font-weight: 800;
}

.footer-note {
  max-width: 720px;
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--coral);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.text-link {
  color: var(--aqua-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.compact {
  max-width: 850px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .grid.four,
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .photo-frame img {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    display: none;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero,
  .page-hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 72px 0 48px;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .header-inner,
  .container,
  .hero-content,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand span:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 {
    font-size: 38px;
  }

  .button,
  .anchor-link {
    width: 100%;
  }
}
