/* =========================================
   大同市文物安全监测中心 · 首页样式
   设计方向：北地厚土 · 夯土砖石 · 沉静
   ========================================= */

:root {
  /* 核心色板 */
  --c-earth: #c9a770;          /* 夯土黄 */
  --c-earth-deep: #8a7142;     /* 深夯土 */
  --c-earth-pale: #e8dcc2;     /* 浅土色 */
  --c-brick: #2d2a26;          /* 城砖深灰 */
  --c-brick-soft: #4a463f;     /* 中灰 */
  --c-seal: #8b2d2d;           /* 朱砂红（印章） */
  --c-seal-deep: #6a1f1f;
  --c-paper: #f5ecd7;          /* 纸本色 */
  --c-paper-warm: #efe4c9;
  --c-line: #b9a883;           /* 分割线 */
  --c-line-dark: #3a362f;

  /* 字体 */
  --f-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --f-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 尺度 */
  --max-w: 1320px;
  --pad-x: clamp(24px, 5vw, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--f-sans);
  background: var(--c-paper);
  color: var(--c-brick);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =========================================
   纸本肌理底纹（全站）
   ========================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139, 45, 45, 0.015) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 167, 112, 0.025) 0%, transparent 40%);
  mix-blend-mode: multiply;
}

/* 全局噪点（增加质感） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================
   顶部导航
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 236, 215, 0);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(245, 236, 215, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(185, 168, 131, 0.3);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-text {
  display: flex;
  align-items: baseline;
  line-height: 1.2;
}

.logo-text strong {
  font-family: var(--f-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--c-paper);
  transition: color 0.3s;
  white-space: nowrap;
}

.nav.scrolled .logo-text strong { color: var(--c-brick); }

.logo-alt {
  font-family: var(--f-serif);
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: var(--c-earth);
  margin-left: 4px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav.scrolled .logo-alt { color: var(--c-brick-soft); }

@media (max-width: 1280px) {
  .logo-text strong { font-size: 15px; letter-spacing: 0.5px; }
  .logo-alt { font-size: 11px; }
}

@media (max-width: 1080px) {
  .logo-alt { display: none; }
}

.nav-menu {
  display: flex;
  gap: 22px;
  font-family: var(--f-serif);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.nav-menu a {
  position: relative;
  color: var(--c-paper);
  padding: 6px 0;
  transition: color 0.3s;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav.scrolled .nav-menu a { color: var(--c-brick); }

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--c-seal);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
  left: 0;
}

.nav-aux {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-ic {
  font-size: 18px;
  color: var(--c-paper);
  transition: color 0.3s;
}

.nav.scrolled .nav-ic { color: var(--c-brick); }

.nav-vr {
  font-family: var(--f-serif);
  font-size: 14px;
  padding: 8px 18px;
  border: 1px solid var(--c-paper);
  color: var(--c-paper);
  letter-spacing: 2px;
  transition: all 0.3s;
}

.nav.scrolled .nav-vr {
  border-color: var(--c-seal);
  color: var(--c-seal);
}

.nav-vr:hover {
  background: var(--c-seal);
  border-color: var(--c-seal);
  color: var(--c-paper);
}

/* =========================================
   第 1 屏 · 英雄区（轮播）
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--c-brick);
  color: var(--c-paper);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  animation: slowPan 16s ease-in-out infinite alternate;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide-1 { background-image: url("../img/hero-bg.svg"); }
.hero-slide-2 { background-image: url("../img/hero-bg-2.svg"); }
.hero-slide-3 { background-image: url("../img/hero-bg-3.svg"); }

@keyframes slowPan {
  0%   { transform: scale(1.00); }
  100% { transform: scale(1.08); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom,
    rgba(26, 24, 20, 0.35) 0%,
    rgba(26, 24, 20, 0.05) 40%,
    rgba(26, 24, 20, 0.05) 60%,
    rgba(26, 24, 20, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--c-earth);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-divider {
  width: 30px;
  height: 1px;
  background: var(--c-earth);
  opacity: 0.6;
}

.hero-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(48px, 10vw, 140px);
  line-height: 1.05;
  letter-spacing: 8px;
  margin-bottom: 50px;
}

.ht-line {
  display: block;
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ht-line:nth-child(1) { animation-delay: 0.5s; }
.ht-line:nth-child(2) { animation-delay: 0.8s; }

.ht-offset {
  padding-left: clamp(40px, 10vw, 160px);
  color: var(--c-earth);
}

.hero-sub {
  font-family: var(--f-serif);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 2;
  color: rgba(245, 236, 215, 0.9);
  max-width: 520px;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

/* 轮播圆点 */
.hero-dots {
  position: absolute;
  right: clamp(30px, 4vw, 60px);
  bottom: 40px;
  z-index: 10;
  display: flex;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1s ease 1.6s forwards;
}

.hero-dots .dot {
  width: 36px;
  height: 2px;
  background: rgba(245, 236, 215, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.4s, width 0.4s;
  position: relative;
}

.hero-dots .dot:hover {
  background: rgba(245, 236, 215, 0.5);
}

.hero-dots .dot.is-active {
  background: var(--c-earth);
  width: 52px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   通用 section 头
   ========================================= */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 60px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}

.section-head-light {
  border-bottom-color: rgba(245, 236, 215, 0.2);
}

.section-head-center {
  justify-content: center;
  border-bottom: none;
  margin-bottom: 50px;
}

.section-num {
  font-family: var(--f-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-seal);
  letter-spacing: 3px;
  opacity: 0.95;
}

.section-head-light .section-num {
  color: var(--c-earth);
  opacity: 1;
}

.section-label {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-brick);
  letter-spacing: 6px;
}

.section-head-light .section-label { color: var(--c-paper); }

.section-more {
  margin-left: auto;
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--c-brick-soft);
  letter-spacing: 2px;
  transition: color 0.3s;
}

.section-more:hover { color: var(--c-seal); }

/* =========================================
   第 2 屏 · 中心概况
   ========================================= */
.about {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px var(--pad-x);
  position: relative;
  z-index: 5;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-title {
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 6px;
  margin-bottom: 40px;
  color: var(--c-brick);
}

.about-desc {
  font-family: var(--f-serif);
  font-size: 16px;
  line-height: 2;
  color: var(--c-brick-soft);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 40px;
  border-left: 1px solid var(--c-line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.stat::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--c-seal);
  border-radius: 50%;
}

.stat-num {
  font-family: var(--f-serif);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  color: var(--c-brick);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--c-brick-soft);
  letter-spacing: 3px;
}

/* =========================================
   第 3 屏 · VR 入口
   ========================================= */
.vr-entries {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x) 110px;
  position: relative;
  z-index: 5;
}

.vr-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vr-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  aspect-ratio: 3 / 4;
}

.vr-card:hover {
  transform: translateY(-8px);
}

.vr-card-img {
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease;
}

.vr-card:hover .vr-card-img {
  transform: scale(1.06);
}

/* 城墙遗址陈列馆 */
.vr-card-img-1 {
  background:
    linear-gradient(180deg, rgba(10,6,4,0) 50%, rgba(10,6,4,0.75) 100%),
    url("../img/chengqiang.svg") center/cover no-repeat,
    #1a1410;
}

/* 乾楼 */
.vr-card-img-2 {
  background:
    linear-gradient(180deg, rgba(10,6,4,0) 45%, rgba(10,6,4,0.8) 100%),
    url("../img/qianlou.svg") center/cover no-repeat,
    #1a1410;
}

/* 移除旧的 CSS 绘制叠加 */
.vr-card-img-1::before, .vr-card-img-2::before { display: none; }

.vr-card-meta {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
}

.vr-card-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 45, 45, 0.85);
  color: var(--c-paper);
  font-family: var(--f-serif);
  font-size: 12px;
  letter-spacing: 2px;
}

.vr-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 30px 30px;
  z-index: 2;
  color: var(--c-paper);
}

.vr-card-body h3 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.vr-card-body p {
  font-family: var(--f-serif);
  font-size: 14px;
  line-height: 1.9;
  color: rgba(245, 236, 215, 0.8);
  letter-spacing: 1px;
  margin-bottom: 22px;
  max-width: 92%;
}

.vr-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-serif);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--c-earth);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-earth);
  transition: gap 0.3s;
}

.vr-card-cta i {
  font-style: normal;
  transition: transform 0.3s;
}

.vr-card:hover .vr-card-cta i {
  transform: translateX(6px);
}

/* =========================================
   第 4 屏 · 城墙史话
   ========================================= */
.history {
  background: var(--c-brick);
  color: var(--c-paper);
  padding: 110px var(--pad-x);
  position: relative;
  overflow: hidden;
}

.history::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(201, 167, 112, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(139, 45, 45, 0.08) 0%, transparent 50%);
}

.history::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 55px, rgba(245, 236, 215, 0.02) 55px, rgba(245, 236, 215, 0.02) 56px);
}

.history > * { position: relative; z-index: 1; }

.history .section-head {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.history-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

.history-title {
  font-family: var(--f-serif);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 8px;
  color: var(--c-earth);
}

.history-title span {
  display: inline-block;
  margin: 0 1px;
}

.history-era {
  font-family: var(--f-serif);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--c-earth-pale);
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--c-earth-deep);
  width: fit-content;
}

.history-lead {
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 2.1;
  color: var(--c-paper);
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 2px solid var(--c-earth);
}

.history-body {
  font-family: var(--f-serif);
  font-size: 15px;
  line-height: 2;
  color: rgba(245, 236, 215, 0.75);
  letter-spacing: 1.2px;
  margin-bottom: 40px;
}

.history-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.h-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  border: 1px solid var(--c-earth-deep);
  transition: all 0.3s;
  font-family: var(--f-serif);
}

.h-link:hover {
  background: var(--c-earth-deep);
  border-color: var(--c-earth);
}

.h-link-num {
  font-size: 20px;
  color: var(--c-earth);
  font-weight: 700;
}

.h-link-title {
  flex: 1;
  font-size: 15px;
  color: var(--c-paper);
  letter-spacing: 1.5px;
}

.h-link i {
  font-style: normal;
  color: var(--c-earth);
  transition: transform 0.3s;
}

.h-link:hover i { transform: translateX(4px); }

/* =========================================
   第 5 屏 · 守护动态
   ========================================= */
.news {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px var(--pad-x);
  position: relative;
  z-index: 5;
}

.news-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 60px;
  align-items: start;
}

.news-feature {
  cursor: pointer;
  transition: transform 0.4s;
}

.news-feature:hover {
  transform: translateY(-6px);
}

.news-feature-img {
  aspect-ratio: 16 / 10;
  background: url("../img/news-hero.svg") center/cover no-repeat, #1a1410;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.news-feature-img::before { display: none; }

.news-feature-body time {
  font-family: var(--f-serif);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--c-seal);
  margin-bottom: 14px;
  display: block;
}

.news-feature-body h3 {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 14px;
  color: var(--c-brick);
  line-height: 1.5;
}

.news-feature-body p {
  font-family: var(--f-serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-brick-soft);
  letter-spacing: 1px;
}

.news-list {
  list-style: none;
}

.news-list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--c-line);
  transition: padding 0.3s;
}

.news-list li:first-child { padding-top: 0; }

.news-list li:hover {
  padding-left: 8px;
}

.news-list time {
  font-family: var(--f-serif);
  font-size: 13px;
  color: var(--c-seal);
  letter-spacing: 2px;
  min-width: 60px;
}

.news-list a {
  font-family: var(--f-serif);
  font-size: 15px;
  color: var(--c-brick);
  letter-spacing: 1px;
  line-height: 1.6;
  transition: color 0.3s;
}

.news-list a:hover { color: var(--c-seal); }

/* =========================================
   第 6 屏 · 文化专题
   ========================================= */
.culture {
  background: var(--c-paper-warm);
  padding: 110px 0;
  position: relative;
  z-index: 5;
}

.culture .section-head {
  max-width: var(--max-w);
  margin: 0 auto 60px;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.culture-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.culture-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s;
}

.culture-card:hover {
  transform: translateY(-8px);
}

.cc-img {
  position: absolute;
  inset: 0;
  transition: transform 0.6s;
}

.culture-card:hover .cc-img {
  transform: scale(1.08);
}

.culture-card-1 .cc-img {
  background: linear-gradient(180deg, rgba(10,6,4,0) 45%, rgba(10,6,4,0.85) 100%),
              url("../img/culture-1.svg") center/cover no-repeat, #1a1410;
}
.culture-card-2 .cc-img {
  background: linear-gradient(180deg, rgba(10,6,4,0) 45%, rgba(10,6,4,0.85) 100%),
              url("../img/culture-2.svg") center/cover no-repeat, #1a1422;
}
.culture-card-3 .cc-img {
  background: linear-gradient(180deg, rgba(10,6,4,0) 45%, rgba(10,6,4,0.85) 100%),
              url("../img/culture-3.svg") center/cover no-repeat, #1a1410;
}
.culture-card-4 .cc-img {
  background: linear-gradient(180deg, rgba(10,6,4,0) 45%, rgba(10,6,4,0.85) 100%),
              url("../img/culture-4.svg") center/cover no-repeat, #1a0a0a;
}

.cc-img::before { display: none; }

.cc-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
  color: var(--c-paper);
}

.cc-cat {
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-seal);
  color: var(--c-paper);
  font-family: var(--f-serif);
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.cc-body h4 {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cc-body p {
  font-family: var(--f-serif);
  font-size: 13px;
  color: rgba(245, 236, 215, 0.8);
  letter-spacing: 1px;
}

/* =========================================
   第 7 屏 · 公告与政策
   ========================================= */
.notices {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px var(--pad-x);
  position: relative;
  z-index: 5;
}

.notices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.notice-list, .policy-list {
  list-style: none;
}

.notice-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-line);
}

.notice-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--c-line);
  min-width: 60px;
  flex-shrink: 0;
}

.notice-date b {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-brick);
  line-height: 1;
}

.notice-date em {
  font-family: var(--f-serif);
  font-style: normal;
  font-size: 10px;
  color: var(--c-brick-soft);
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.notice-list a {
  font-family: var(--f-serif);
  font-size: 15px;
  color: var(--c-brick);
  letter-spacing: 1px;
  line-height: 1.6;
  transition: color 0.3s;
}

.notice-list a:hover { color: var(--c-seal); }

.policy-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--c-line);
}

.policy-list a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s;
}

.policy-list a:hover {
  transform: translateX(6px);
}

.policy-t {
  font-family: var(--f-serif);
  font-size: 16px;
  color: var(--c-brick);
  letter-spacing: 1px;
  font-weight: 500;
}

.policy-m {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--c-brick-soft);
  letter-spacing: 2px;
}

/* =========================================
   页脚（简化版）
   ========================================= */
.footer {
  background: var(--c-brick);
  color: var(--c-earth-pale);
  padding: 44px var(--pad-x);
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(185, 168, 131, 0.15);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.fb-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 13px;
  color: var(--c-earth-pale);
  opacity: 0.72;
  letter-spacing: 1.5px;
}

.fb-partners {
  gap: 0;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(185, 168, 131, 0.15);
  opacity: 0.88;
}

.fb-partners-label {
  color: var(--c-earth);
  letter-spacing: 3px;
  font-weight: 500;
  padding-right: 22px;
  margin-right: 6px;
  border-right: 1px solid rgba(185, 168, 131, 0.25);
}

.fb-partners a {
  color: var(--c-earth-pale);
  opacity: 0.8;
  padding: 0 14px;
  transition: opacity 0.3s, color 0.3s;
}

.fb-partners a:hover {
  opacity: 1;
  color: var(--c-earth);
}

.fb-line a {
  color: var(--c-earth);
  transition: opacity 0.3s;
}

.fb-line a:hover { opacity: 1; }

.fb-sep {
  color: var(--c-earth-deep);
  opacity: 0.5;
}

/* =========================================
   悬浮"我要留言"
   ========================================= */
.float-msg {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(80px, 12vh, 130px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  background: var(--c-seal);
  color: var(--c-paper);
  font-family: var(--f-serif);
  font-size: 14px;
  letter-spacing: 3px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  box-shadow: 0 6px 20px rgba(139, 45, 45, 0.35), 0 2px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.float-msg:hover {
  background: var(--c-seal-deep);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(139, 45, 45, 0.5);
}

.fm-icon {
  writing-mode: horizontal-tb;
  font-size: 18px;
  margin-bottom: 4px;
  font-family: var(--f-sans);
}

.fm-text {
  writing-mode: vertical-rl;
  line-height: 1.3;
}

/* 留言弹层 */
.msg-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msg-modal[hidden] { display: none; }

.msg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.65);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.msg-dialog {
  position: relative;
  width: min(480px, 92vw);
  background: var(--c-paper);
  padding: 44px 36px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: dialogIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.msg-dialog::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80px;
  height: 3px;
  background: var(--c-seal);
}

.msg-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--c-brick-soft);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.msg-close:hover { color: var(--c-seal); }

.msg-title {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--c-brick);
  letter-spacing: 6px;
  margin-bottom: 10px;
}

.msg-sub {
  font-family: var(--f-serif);
  font-size: 13px;
  color: var(--c-brick-soft);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.msg-form label {
  display: block;
  margin-bottom: 18px;
}

.msg-form label span {
  display: block;
  font-family: var(--f-serif);
  font-size: 13px;
  color: var(--c-brick-soft);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.msg-form input,
.msg-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.4);
  font-family: var(--f-serif);
  font-size: 14px;
  color: var(--c-brick);
  resize: vertical;
  transition: border-color 0.3s;
}

.msg-form input:focus,
.msg-form textarea:focus {
  outline: none;
  border-color: var(--c-seal);
}

.msg-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  background: var(--c-seal);
  color: var(--c-paper);
  border: none;
  font-family: var(--f-serif);
  font-size: 15px;
  letter-spacing: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.msg-submit:hover { background: var(--c-seal-deep); }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   响应式（平板及以下）
   ========================================= */
@media (max-width: 960px) {
  .nav-menu { display: none; }

  .about-grid,
  .vr-cards,
  .history-layout,
  .news-grid,
  .notices-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .culture-scroll {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-links {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-title {
    letter-spacing: 4px;
  }

  .ht-offset {
    padding-left: 30px;
  }

  .about-stats {
    padding-left: 0;
    border-left: none;
    padding-top: 30px;
    border-top: 1px solid var(--c-line);
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
  }

  .stat { flex: 1; min-width: 120px; }
  .stat::before { display: none; }
  .stat-num { font-size: 42px !important; }

  .hero-seal {
    width: 60px;
    right: 24px;
    bottom: 30px;
  }
  .seal-inner {
    width: 60px;
    height: 60px;
    padding: 6px;
  }
  .seal-inner span { font-size: 16px; }

  .hero-actions { flex-direction: column; gap: 16px; align-items: flex-start; }
  .btn-primary, .btn-ghost { padding: 14px 26px; width: auto; }
}

@media (max-width: 600px) {
  .culture-scroll { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .hero-content { padding-top: 100px; }
  .hero-meta { flex-wrap: wrap; gap: 10px; font-size: 11px; letter-spacing: 2px; }
  .hero-seal { display: none; }
}
