/* =========================================================
   杭州西湖 · 静态网页样式表
   结构：变量 / 基础 / 导航 / 轮播 / 通用区块 / 各板块 / 页脚 / 响应式
   ========================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #16241f;
  --ink-2: #354b44;
  --ink-3: #6b8078;
  --jade: #2c6b60;
  --jade-deep: #1b463f;
  --jade-soft: #7fa89a;
  --gold: #b0894e;
  --gold-light: #d9bb84;
  --paper: #faf8f3;
  --paper-2: #f2eee4;
  --paper-3: #e9e3d5;
  --line: rgba(22, 36, 31, .1);
  --line-soft: rgba(22, 36, 31, .06);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 18px rgba(22, 36, 31, .06);
  --shadow: 0 18px 46px -22px rgba(22, 36, 31, .32);
  --shadow-lg: 0 34px 80px -34px rgba(22, 36, 31, .45);

  --ff-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --ff-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;

  --nav-h: 78px;
  --ease: cubic-bezier(.22, .7, .24, 1);
}

/* ---------- 2. 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--jade); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb {
  background: #b9c8c0;
  border-radius: 10px;
  border: 3px solid var(--paper-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--jade-soft); }

/* 顶部阅读进度 */
.progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  z-index: 999;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--jade), var(--gold-light));
  transition: width .12s linear;
}

/* ---------- 3. 导航栏 ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .35s var(--ease);
}
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 18, .55), rgba(8, 20, 18, 0));
  opacity: 1;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.navbar.scrolled {
  background: rgba(250, 248, 243, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(22, 36, 31, .6);
  height: 66px;
}
.navbar.scrolled::before { opacity: 0; }

.nav-inner {
  position: relative;
  width: min(1280px, 100% - 7vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌 */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 6px;
  background: var(--jade-deep);
  color: #f4ead6;
  font-family: var(--ff-serif);
  font-size: 13px;
  letter-spacing: .02em;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(217, 187, 132, .5);
  transition: transform .5s var(--ease), background .4s;
}
.brand:hover .brand-seal { transform: rotate(-6deg); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-txt strong {
  font-family: var(--ff-serif);
  font-size: 17px;
  letter-spacing: .28em;
  color: #fff;
  transition: color .4s;
}
.brand-txt em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .62);
  transition: color .4s;
}

/* 导航链接 */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 14.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .82);
  transition: color .35s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: #fff; }

.navbar.scrolled .brand-txt strong { color: var(--ink); }
.navbar.scrolled .brand-txt em { color: var(--ink-3); }
.navbar.scrolled .nav-link { color: var(--ink-2); }
.navbar.scrolled .nav-link.is-active { color: var(--jade-deep); }
.navbar.scrolled .brand-seal { background: var(--jade); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 8px;
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s, background .4s;
}
.navbar.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span { background: var(--ink); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 4. 首屏轮播 ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  background: #101c19;
  isolation: isolate;
}

.slides { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.slide-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7.5s linear;
}
.slide.is-active .slide-media { transform: scale(1); }

.slide--leifeng  .slide-media { background-image: url("../assets/leifeng.svg"); background-color: #6c4a58; }
.slide--duanqiao .slide-media { background-image: url("../assets/duanqiao.svg"); background-color: #d6e5e9; }
.slide--santan   .slide-media { background-image: url("../assets/santan.svg");   background-color: #16293c; }
.slide--sudi     .slide-media { background-image: url("../assets/sudi.svg");     background-color: #b8d6cb; }
.slide--quyuan   .slide-media { background-image: url("../assets/quyuan.svg");   background-color: #a9c9bc; }

/* 遮罩，保证文字可读 */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(7, 18, 16, .78) 0%, rgba(7, 18, 16, .5) 38%, rgba(7, 18, 16, .12) 62%, rgba(7, 18, 16, .38) 100%),
    linear-gradient(0deg, rgba(7, 18, 16, .6) 0%, rgba(7, 18, 16, 0) 42%);
  pointer-events: none;
}

/* 主文案 */
.hero-content {
  position: absolute;
  z-index: 4;
  left: max(6vw, calc((100% - 1280px) / 2));
  top: 50%;
  transform: translateY(-52%);
  width: min(660px, 84vw);
  color: #fff;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 26px;
  animation: riseIn 1s var(--ease) backwards;
}
.hero-kicker .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(217, 187, 132, .2);
}
.hero-title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 8.4vw, 7rem);
  line-height: 1.06;
  letter-spacing: .06em;
  color: #fff;
  text-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  animation: riseIn 1.1s .08s var(--ease) backwards;
}
.hero-title span {
  position: relative;
  margin-left: .08em;
  color: #f6e7c8;
}
.hero-title span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .04em;
  background: linear-gradient(90deg, var(--gold-light), rgba(217, 187, 132, 0));
}
.hero-poem {
  margin-top: 24px;
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .86);
  animation: riseIn 1.1s .18s var(--ease) backwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  animation: riseIn 1.1s .28s var(--ease) backwards;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  letter-spacing: .1em;
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s, border-color .35s;
}
.btn-primary {
  background: #f2e9d6;
  color: var(--jade-deep);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .8);
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .42);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .8);
  transform: translateY(-3px);
}

/* 右下角景点说明 */
.slide-caption {
  position: absolute;
  z-index: 4;
  right: max(6vw, calc((100% - 1280px) / 2));
  bottom: 118px;
  width: 300px;
  padding: 20px 22px 18px 26px;
  text-align: right;
  color: #fff;
  border-right: 2px solid rgba(217, 187, 132, .6);
  background: linear-gradient(270deg, rgba(8, 18, 16, .62), rgba(8, 18, 16, .3) 68%, rgba(8, 18, 16, 0));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s .25s var(--ease), transform .8s .25s var(--ease);
  pointer-events: none;
}
.slide.is-active .slide-caption { opacity: 1; transform: translateY(0); }
.caption-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(217, 187, 132, .55);
  padding-bottom: 6px;
}
.slide-caption h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .14em;
  margin: 12px 0 10px;
  color: #fff;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .35);
}
.slide-caption p {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
}

/* 右上角序号 */
.hero-meta {
  position: absolute;
  z-index: 4;
  right: max(6vw, calc((100% - 1280px) / 2));
  top: calc(var(--nav-h) + 34px);
  text-align: right;
  color: #fff;
}
.hero-count {
  font-family: var(--ff-serif);
  font-size: 13px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .55);
}
.hero-count span { font-size: 26px; color: #fff; letter-spacing: .04em; }
.hero-count i { margin: 0 4px; font-style: normal; opacity: .5; }
.hero-name {
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold-light);
  margin-top: 4px;
}

/* 箭头 */
.hero-arrow {
  position: absolute;
  z-index: 5;
  bottom: 40px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow:hover {
  background: #f2e9d6;
  border-color: #f2e9d6;
  color: var(--jade-deep);
  transform: scale(1.06);
}
.hero-arrow--prev { right: calc(max(6vw, (100% - 1280px) / 2) + 60px); }
.hero-arrow--next { right: max(6vw, calc((100% - 1280px) / 2)); }

/* 圆点 */
.hero-dots {
  position: absolute;
  z-index: 5;
  left: max(6vw, calc((100% - 1280px) / 2));
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-dots button {
  position: relative;
  width: 46px; height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .26);
  overflow: hidden;
  transition: background .4s;
}
.hero-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f2e9d6;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dots button.is-active { background: rgba(255, 255, 255, .3); }
.hero-dots button.is-active::after { animation: dotFill var(--dur, 6200ms) linear forwards; }
.hero-dots.paused button.is-active::after { animation-play-state: paused; }

/* 向下滚动提示 */
.hero-scroll {
  position: absolute;
  z-index: 5;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .68);
  font-size: 10.5px;
  letter-spacing: .3em;
  transition: color .3s;
}
.hero-scroll:hover { color: #fff; }
.scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -42px; left: 0;
  width: 1px; height: 42px;
  background: var(--gold-light);
  animation: scrollDrop 2.6s var(--ease) infinite;
}

@keyframes dotFill { to { transform: scaleX(1); } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDrop {
  0% { top: -42px; }
  60%, 100% { top: 42px; }
}

/* ---------- 5. 通用区块 ---------- */
.wrap {
  width: min(1280px, 100% - 12vw);
  margin: 0 auto;
}
.section { padding: 120px 0; position: relative; scroll-margin-top: 76px; }
.section-about { background: var(--paper); }
.section-scenery {
  background: linear-gradient(180deg, var(--paper-2), var(--paper-3));
  border-top: 1px solid rgba(255, 255, 255, .6);
}
.section-history { background: #13221e; color: rgba(255, 255, 255, .78); }
.section-travel { background: var(--paper); }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .34em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.34;
  letter-spacing: .04em;
  color: var(--ink);
}
.h2 span { color: var(--jade); }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-desc {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 15.5px;
}
.section-history .section-head { color: rgba(255, 255, 255, .8); }
.section-history .h2 { color: #f6f1e6; }
.section-history .section-desc { color: rgba(255, 255, 255, .55); }

/* 滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 6. 印象西湖 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: center;
}
.lead {
  font-family: var(--ff-serif);
  font-size: 17.5px;
  line-height: 2;
  color: var(--ink-2);
  margin-top: 26px;
}
.body { margin-top: 18px; font-size: 15px; color: var(--ink-3); line-height: 2; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.about-tags li {
  padding: 7px 16px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--jade-deep);
  border: 1px solid rgba(44, 107, 96, .28);
  border-radius: 999px;
  background: rgba(44, 107, 96, .05);
}

/* 图文卡 */
.about-figure { position: relative; }
.figure-frame {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 90px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6;
}
.figure-img {
  position: absolute;
  inset: 0;
  background: url("../assets/leifeng.svg") center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.figure-frame:hover .figure-img { transform: scale(1.08); }
.figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 34, 30, 0) 45%, rgba(19, 34, 30, .45));
}
.figure-seal {
  position: absolute;
  right: 22px; bottom: 22px;
  z-index: 2;
  writing-mode: vertical-rl;
  padding: 14px 8px;
  font-family: var(--ff-serif);
  font-size: 15px;
  letter-spacing: .3em;
  color: #f6ead2;
  border: 1px solid rgba(246, 234, 210, .55);
  border-radius: 4px;
  background: rgba(19, 34, 30, .35);
  backdrop-filter: blur(4px);
}
.about-figure blockquote {
  margin-top: 26px;
  font-family: var(--ff-serif);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
  padding-left: 20px;
  border-left: 2px solid var(--gold-light);
}
.about-figure cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--ink-3);
}

/* 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 86px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
.stat { text-align: center; padding: 0 12px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ink);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.stat-num i {
  font-style: normal;
  font-family: var(--ff-sans);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .04em;
}
.stat p { margin-top: 10px; font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }

/* ---------- 7. 西湖十景 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter {
  padding: 9px 22px;
  font-size: 13.5px;
  letter-spacing: .08em;
  color: var(--ink-2);
  border: 1px solid rgba(22, 36, 31, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  transition: all .35s var(--ease);
}
.filter:hover { border-color: var(--jade); color: var(--jade-deep); transform: translateY(-2px); }
.filter.is-active {
  background: var(--jade-deep);
  border-color: var(--jade-deep);
  color: #f4efe2;
  box-shadow: 0 14px 26px -16px rgba(27, 70, 63, .9);
}

.scenery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}
.scene-card {
  position: relative;
  padding: 28px 26px 30px;
  background: rgba(252, 251, 247, .92);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: 0 2px 0 rgba(22, 36, 31, .03);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.scene-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--jade), var(--gold-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .55s var(--ease);
}
.scene-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(44, 107, 96, .22);
}
.scene-card:hover::before { transform: scaleY(1); }

.scene-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.scene-no {
  font-family: var(--ff-serif);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--gold);
}
.scene-cat {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--jade);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(44, 107, 96, .08);
}
.scene-card h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .1em;
  color: var(--ink);
}
.scene-pinyin {
  font-size: 11px;
  letter-spacing: .18em;
  color: #a8b5ae;
  text-transform: uppercase;
  margin-top: 6px;
}
.scene-desc {
  margin-top: 14px;
  font-size: 13.8px;
  line-height: 1.9;
  color: var(--ink-3);
}
.scene-card.is-hidden { display: none; }

.empty-tip {
  display: none;
  padding: 40px 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}
.empty-tip.show { display: block; }

/* ---------- 8. 千年文脉 ---------- */
.history-deco {
  position: absolute;
  right: 9%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 26px;
  writing-mode: vertical-rl;
  font-family: var(--ff-serif);
  font-size: 24px;
  letter-spacing: .26em;
  color: rgba(217, 187, 132, .27);
  pointer-events: none;
  user-select: none;
}
.timeline {
  position: relative;
  padding-left: 34px;
  max-width: 860px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(217, 187, 132, .1), rgba(217, 187, 132, .6), rgba(217, 187, 132, .1));
}
.tl-item { position: relative; padding: 0 0 46px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -34px; top: 10px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #13221e;
  border: 1px solid var(--gold-light);
  transition: background .4s, box-shadow .4s;
}
.tl-item:hover .tl-dot {
  background: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(217, 187, 132, .16);
}
.tl-year {
  font-family: var(--ff-serif);
  font-size: 13.5px;
  letter-spacing: .12em;
  color: var(--gold-light);
}
.tl-item h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: .06em;
  color: #f7f2e6;
  margin: 8px 0 8px;
}
.tl-item p {
  font-size: 14.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .56);
  max-width: 640px;
}

/* ---------- 9. 游览攻略 ---------- */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.travel-card {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.travel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.travel-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-family: var(--ff-serif);
  font-size: 17px;
  color: var(--jade-deep);
  background: linear-gradient(140deg, #eef3ee, #dfe9e2);
  border: 1px solid rgba(44, 107, 96, .14);
  margin-bottom: 20px;
}
.travel-card h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 10px;
}
.travel-card p { font-size: 14px; line-height: 1.95; color: var(--ink-3); }

/* 路线 */
.route {
  margin-top: 26px;
  padding: 40px 40px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #17332c, #0f231e);
  color: rgba(255, 255, 255, .74);
  box-shadow: var(--shadow-lg);
}
.route-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.route-head h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: .1em;
  color: #f6efdf;
}
.route-len { font-size: 12.5px; letter-spacing: .12em; color: var(--gold-light); }
.route-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
}
.route-stop {
  position: relative;
  padding: 7px 16px;
  font-size: 13px;
  letter-spacing: .06em;
  color: #e9f0ea;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  transition: background .35s, border-color .35s, transform .35s var(--ease);
  margin-right: 26px;
}
.route-stop::after {
  content: "→";
  position: absolute;
  right: -20px;
  color: rgba(217, 187, 132, .55);
  font-size: 12px;
}
.route-stop:last-child { margin-right: 0; }
.route-stop:last-child::after { content: ""; }
.route-stop:hover {
  background: rgba(217, 187, 132, .16);
  border-color: rgba(217, 187, 132, .5);
  transform: translateY(-2px);
}
.route-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .5);
}

/* ---------- 10. 页脚 ---------- */
.footer {
  background: #0c1a17;
  color: rgba(255, 255, 255, .55);
  padding: 76px 0 46px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr;
  gap: 56px;
}
.footer-brand .brand-seal {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(217, 187, 132, .35);
  margin-bottom: 20px;
}
.footer-brand p { font-size: 13.5px; line-height: 2; color: rgba(255, 255, 255, .45); }
.footer h4 {
  font-size: 12.5px;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
  transition: color .3s, padding-left .3s;
  width: fit-content;
}
.footer-nav a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-info p { font-size: 13px; line-height: 1.95; }
.copyright {
  margin-top: 18px;
  font-size: 12px !important;
  color: rgba(255, 255, 255, .28) !important;
  letter-spacing: .04em;
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 800;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--jade-deep);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(44, 107, 96, .18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .4s var(--ease);
}
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--jade-deep); color: #fff; transform: translateY(-3px); }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1080px) {
  .about-grid { gap: 48px; }
  .history-deco { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-info { grid-column: 1 / -1; }
  .hero-arrow--prev { right: calc(max(6vw, (100% - 1280px) / 2) + 56px); }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }

  .section { padding: 84px 0; }
  .wrap { width: min(1280px, 100% - 10vw); }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 3;
  }
  .brand { position: relative; z-index: 3; }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0;
    background: #fff;
    border-radius: 2px;
    transition: transform .4s var(--ease), opacity .3s, background .4s;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1;
    padding: calc(var(--nav-h) + 20px) 8vw 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(250, 248, 243, .97);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 50px -30px rgba(22, 36, 31, .6);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .55s var(--ease);
  }
  .nav-links.open { clip-path: inset(0 0 0 0); }
  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    color: var(--ink-2) !important;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--jade-deep) !important; }
  .navbar.scrolled .nav-link { color: var(--ink-2); }

  .hero-content { width: min(560px, 86vw); transform: translateY(-54%); }
  .slide--leifeng .slide-media { background-position: 27% center; }
  .slide-caption { display: none; }
  .hero-meta { display: none; }
  .hero-scroll { display: none; }
  .hero-arrow { bottom: 20px; width: 40px; height: 40px; }
  .hero-arrow--prev { left: auto; right: calc(6vw + 48px); }
  .hero-arrow--next { right: 6vw; }
  .hero-dots { bottom: 30px; left: 6vw; gap: 6px; }
  .hero-dots button { width: 20px; }

  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-figure { order: -1; max-width: 460px; }
  .figure-frame { aspect-ratio: 4 / 3.4; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 0; margin-top: 56px; }
  .stat:nth-child(3)::before { display: none; }
  .travel-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 26px; }
  .tl-item { padding-left: 20px; }
  .tl-dot { left: -26px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 68px 0; }
  .wrap { width: calc(100% - 12vw); }

  .brand-txt em { display: none; }
  .hero { min-height: 560px; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.4rem); letter-spacing: .04em; }
  .hero-kicker { font-size: 11px; letter-spacing: .16em; margin-bottom: 20px; }
  .hero-poem { font-size: 14px; letter-spacing: .1em; margin-top: 18px; }
  .hero-actions { margin-top: 30px; gap: 10px; }
  .btn { padding: 12px 22px; font-size: 13.5px; }
  .hero-dots { bottom: 26px; }
  .hero-arrow { bottom: 16px; }
  .hero-arrow--prev { left: auto; right: calc(6vw + 46px); }

  .h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .lead { font-size: 16px; }
  .scene-card { padding: 24px 22px; }
  .scenery-grid { gap: 14px; grid-template-columns: 1fr; }
  .stats { gap: 28px 0; }
  .stat-num { font-size: 1.7rem; }
  .route { padding: 28px 22px; }
  .route-stop { margin-right: 22px; font-size: 12px; padding: 6px 13px; }
  .travel-card { padding: 26px 24px; }
  .footer { padding: 56px 0 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
