/* ==========================================================================
   凤凰美术馆 · 奢侈感历史文物展示网站
   配色：乌檀黑 × 鎏金 × 象牙白
   ========================================================================== */

:root {
  --bg: #0b0906;
  --bg-2: #12100b;
  --bg-card: #16120c;
  --bg-elev: #1c1710;

  --gold: #c9a962;
  --gold-light: #e9cf8f;
  --gold-deep: #8a6d3b;

  --ivory: #f2e9d8;
  --muted: #a89a82;
  --faint: #6f6453;

  --line: rgba(201, 169, 98, 0.20);
  --line-soft: rgba(201, 169, 98, 0.10);

  --font-display: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ivory);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(201, 169, 98, 0.30); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* --------------------------------------------------------------------------
   页面切换幕布
   -------------------------------------------------------------------------- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(135deg, #1c1710 0%, #0b0906 55%, #2a2012 100%);
  transform: translateX(100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease-lux);
}
.page-transition.in { transform: translateX(0); }
.page-transition.out { transform: translateX(-100%); }

.page-transition__mark {
  font-family: var(--font-display);
  font-size: clamp(80px, 20vw, 220px);
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--dur) var(--ease-lux), backdrop-filter var(--dur), box-shadow var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 9, 6, 0.94);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { position: relative; z-index: 101; display: flex; align-items: center; gap: 14px; }
.brand__seal {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  background: rgba(201, 169, 98, 0.06);
  transition: background var(--dur) var(--ease-lux), transform var(--dur);
}
.brand:hover .brand__seal { background: rgba(201, 169, 98, 0.16); transform: rotate(-4deg); }

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__cn { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: 0.12em; }
.brand__en { font-family: var(--font-serif); font-size: 10px; letter-spacing: 0.32em; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.35s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease-lux);
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--gold-light);
  transition: transform 0.4s var(--ease-lux), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   语言切换器
   -------------------------------------------------------------------------- */
.lang-switcher { position: relative; z-index: 102; }
.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: border-color 0.35s, color 0.35s;
}
.lang-switcher__toggle:hover { border-color: var(--gold); color: var(--gold-light); }
.lang-switcher__flag { font-size: 16px; line-height: 1; }
.lang-switcher__code { font-weight: 400; }
.lang-switcher__caret {
  font-size: 10px;
  transition: transform 0.3s var(--ease-lux);
  color: var(--gold);
}
.lang-switcher.open .lang-switcher__caret { transform: rotate(180deg); }

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 156px;
  list-style: none;
  background: rgba(18, 16, 11, 0.97);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s var(--ease-lux), transform 0.35s var(--ease-lux), visibility 0.35s;
}
.lang-switcher.open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher__menu li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--ivory);
  transition: background 0.25s, color 0.25s;
}
.lang-switcher__menu li:hover { background: rgba(201, 169, 98, 0.10); }
.lang-switcher__menu li.active { color: var(--gold-light); }
.lang-switcher__menu li .lang-switcher__flag { font-size: 17px; }

/* --------------------------------------------------------------------------
   页面容器 / 切换动画
   -------------------------------------------------------------------------- */
.page {
  display: none;
  min-height: 100vh;
}
.page.active { display: block; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s var(--ease-lux) both;
  animation-delay: calc(var(--i, 1) * 0.09s);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   主页 · Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 32px 90px;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 110vmax; height: 110vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center,
    rgba(201, 169, 98, 0.14) 0%,
    rgba(138, 109, 59, 0.06) 30%,
    transparent 60%);
}
.hero__texture {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(242, 233, 216, 0.035) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.5;
}
.hero__ornament {
  position: absolute;
  width: 220px; height: 220px;
  border: 1px solid var(--line);
}
.hero__ornament--tl { top: 12%; left: 6%; border-right: none; border-bottom: none; }
.hero__ornament--br { bottom: 12%; right: 6%; border-left: none; border-top: none; }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 34px;
}
.hero__kicker .line { height: 1px; width: 52px; background: var(--line); }

.hero__title { line-height: 1.05; }
.hero__title-cn {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 11vw, 132px);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #f6ead0 0%, var(--gold-light) 38%, var(--gold) 70%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title-en {
  display: block;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 2.6vw, 26px);
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero__sub {
  margin-top: 34px;
  max-width: 560px;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero__actions { margin-top: 48px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 64px;
}
.stat {
  padding: 0 44px;
  border-left: 1px solid var(--line-soft);
}
.stat:first-child { border-left: none; }
.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--faint);
}

.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll-text { font-size: 11px; letter-spacing: 0.4em; color: var(--faint); }
.hero__scroll-line {
  width: 1px; height: 40px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 14px;
  letter-spacing: 0.28em;
  border: 1px solid var(--gold);
  transition: all 0.45s var(--ease-lux);
  position: relative;
  overflow: hidden;
}
.btn--gold {
  background: var(--gold);
  color: #191306;
  font-weight: 500;
}
.btn--gold:hover {
  background: var(--gold-light);
  box-shadow: 0 10px 34px rgba(201, 169, 98, 0.35);
  transform: translateY(-2px);
}
.btn--ghost {
  color: var(--gold-light);
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.btn--block { width: 100%; text-align: center; }

/* --------------------------------------------------------------------------
   通用 section
   -------------------------------------------------------------------------- */
.section { padding: 100px 32px; }
.section--narrow { max-width: 1080px; margin: 0 auto; }
.section--featured { max-width: 1280px; margin: 0 auto; padding-top: 40px; }

/* --------------------------------------------------------------------------
   首页轮播 Banner
   -------------------------------------------------------------------------- */
.banner {
  position: relative;
  height: 320px;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.banner__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s var(--ease-lux);
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% 20%, #6a4a2a, #241a08);
}
.banner__slide.active { opacity: 1; pointer-events: auto; }
.banner__slide:nth-child(1) { background: radial-gradient(120% 120% at 30% 20%, #6a4a2a, #2a1c10); }
.banner__slide:nth-child(2) { background: radial-gradient(120% 120% at 70% 25%, #3e7a5e, #122a1e); }
.banner__slide:nth-child(3) { background: radial-gradient(120% 120% at 50% 20%, #b8913a, #3a2a10); }
.banner__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.banner__title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--ivory);
}
.banner__sub {
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: #d8cfbc;
}
.banner__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(242, 233, 216, 0.3);
  cursor: pointer;
  transition: background 0.3s;
}
.banner__dot.active { background: var(--gold); }

.section__head { text-align: center; margin-bottom: 60px; }
.eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ivory);
}
.section__sub { margin-top: 14px; font-size: 14px; letter-spacing: 0.2em; color: var(--muted); }

/* --------------------------------------------------------------------------
   精选宝物（主页）
   -------------------------------------------------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.featured-card {
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.6s var(--ease-lux), border-color 0.6s, box-shadow 0.6s;
}
.featured-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.featured-card__art {
  height: 300px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.featured-card__art span {
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(242, 233, 216, 0.85);
  text-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform 0.8s var(--ease-lux);
}
.featured-card__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-lux);
}
.featured-card:hover .featured-card__art img { transform: scale(1.05); }
.featured-card:hover .featured-card__art span { transform: scale(1.08); }
.featured-card__meta { padding: 24px 26px 28px; border-top: 1px solid var(--line-soft); }
.featured-card__meta h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: 0.08em; }
.featured-card__meta p { margin-top: 6px; font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }

/* --------------------------------------------------------------------------
   子页面 hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 180px 32px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,169,98,0.10), transparent 70%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ivory);
}
.page-hero__sub { margin-top: 18px; font-size: 15px; letter-spacing: 0.28em; color: var(--muted); }

/* --------------------------------------------------------------------------
   关于我们
   -------------------------------------------------------------------------- */
.about-cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.about-cols__lead p {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 2.1;
  color: #d8cfbc;
  letter-spacing: 0.06em;
}
.about-cols__lead p + p { margin-top: 26px; }

.about-item {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}
.about-item__num {
  flex: none;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
}
.about-item h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: 0.1em; }
.about-item p { margin-top: 8px; font-size: 14px; color: var(--muted); letter-spacing: 0.04em; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.timeline__item { border-left: 1px solid var(--gold); padding-left: 22px; }
.timeline__year {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-light);
}
.timeline__text { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* --------------------------------------------------------------------------
   宝物展示
   -------------------------------------------------------------------------- */
.search-bar {
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}
.search-bar::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a962' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
.search-bar input {
  width: 100%;
  padding: 17px 22px 17px 52px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--ivory);
  font-size: 16px;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar input::placeholder { color: var(--faint); }
.search-bar input:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18), 0 8px 30px rgba(0, 0, 0, 0.32);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.filter-btn {
  padding: 10px 28px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.22em;
  transition: all 0.4s var(--ease-lux);
}
.filter-btn:hover { color: var(--gold-light); border-color: var(--gold); }
.filter-btn.active { background: var(--gold); color: #191306; border-color: var(--gold); font-weight: 500; }

.treasure-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.treasure-card {
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s var(--ease-lux), border-color 0.6s, box-shadow 0.6s, opacity 0.5s;
}
.treasure-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.treasure-card.hidden { display: none; }

.treasure-card__art {
  height: 320px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.treasure-card__art::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.5) 100%);
}
.treasure-card__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.treasure-card__art span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 140px;
  color: rgba(242, 233, 216, 0.9);
  text-shadow: 0 24px 60px rgba(0,0,0,0.5);
  transition: transform 0.9s var(--ease-lux);
}
.treasure-card:hover .treasure-card__art span { transform: scale(1.1); }

.treasure-card__body { padding: 26px 28px 30px; border-top: 1px solid var(--line-soft); }
.treasure-card__era {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.treasure-card__body h3 { margin-top: 10px; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: 0.06em; }
.treasure-card__body p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.treasure-card__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  opacity: 0.7;
  transition: opacity 0.35s, transform 0.35s;
}
.treasure-card:hover .treasure-card__link { opacity: 1; transform: translateX(4px); }

/* --------------------------------------------------------------------------
   文物艺术背景（主题渐变）
   -------------------------------------------------------------------------- */
.art-bronze   { background: radial-gradient(120% 120% at 30% 20%, #4a3420 0%, #2a1c10 50%, #14100a 100%); }
.art-porcelain{ background: radial-gradient(120% 120% at 70% 25%, #31577d 0%, #16304a 55%, #0b1620 100%); }
.art-jade     { background: radial-gradient(120% 120% at 30% 25%, #2e5a44 0%, #163627 55%, #0a1a13 100%); }
.art-sancai   { background: radial-gradient(120% 120% at 50% 30%, #8a5a2a 0%, #4a2e12 50%, #1a1008 100%); }
.art-gold     { background: radial-gradient(120% 120% at 50% 20%, #b8913a 0%, #6e5216 55%, #241a08 100%); }
.art-ink      { background: radial-gradient(120% 120% at 50% 30%, #3a3a38 0%, #20201f 55%, #0e0e0d 100%); }

/* --------------------------------------------------------------------------
   预约参观
   -------------------------------------------------------------------------- */
.booking-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.booking-info h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 26px; }
.booking-info ul { list-style: none; }
.booking-info li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--muted);
}
.booking-info li span { color: var(--gold-light); letter-spacing: 0.14em; white-space: nowrap; }
.booking-info__note { margin-top: 22px; font-size: 13px; color: var(--faint); }

.booking-form {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: 40px;
}
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold-light);
}
.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(11, 9, 6, 0.5);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.35s, background 0.35s;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.06);
}
.field input::placeholder { color: var(--faint); }
.field input[type="date"] { color-scheme: dark; }

/* 地区区号选择 */
.phone-input { display: flex; gap: 10px; }
.phone-input > input { flex: 1; }
.phone-code {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: rgba(11, 9, 6, 0.5);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.3s;
}
.phone-code:hover { border-color: var(--gold); }
.phone-code__flag { font-size: 18px; line-height: 1; }
.phone-code__caret { font-size: 10px; color: var(--gold); }
.phone-code__dropdown {
  position: relative;
  margin-top: 6px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
}
.phone-code__dropdown[hidden] { display: none; }
.phone-code__dropdown > input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(11, 9, 6, 0.4);
  border: none;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 14px;
}
.phone-code__dropdown > input::placeholder { color: var(--faint); }
.phone-code__dropdown > input:focus { outline: none; }
.phone-code__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
}
.phone-code__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ivory);
  transition: background 0.2s;
}
.phone-code__item:hover { background: rgba(201, 169, 98, 0.10); }
.phone-code__item .phone-code__name { flex: 1; }
.phone-code__item .phone-code__code { color: var(--muted); }

/* 联系我们留言 */
.message-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: 40px;
}
.message-form__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 26px;
  text-align: center;
}
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(11, 9, 6, 0.5);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  line-height: 1.7;
  transition: border-color 0.3s;
}
.field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea::placeholder { color: var(--faint); }

.booking-form__msg {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  min-height: 22px;
}

/* --------------------------------------------------------------------------
   联系我们
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  text-align: center;
  padding: 44px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  transition: transform 0.5s var(--ease-lux), border-color 0.5s;
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--line); }
.contact-card__icon {
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}
.contact-card h3 { margin-top: 18px; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: 0.16em; }
.contact-card p { margin-top: 10px; font-size: 14px; color: var(--muted); letter-spacing: 0.06em; }

.map-placeholder {
  height: 320px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.museum-map { width: 100%; height: 100%; min-height: 320px; }
.map-placeholder__mark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.4em;
  color: var(--gold);
}
.map-placeholder p { font-size: 13px; letter-spacing: 0.3em; color: var(--faint); }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
  text-align: center;
  padding: 60px 32px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--ivory);
}
.footer-line {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--gold);
}
.footer-copy { margin-top: 24px; font-size: 12px; letter-spacing: 0.14em; color: var(--faint); }

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .featured-grid, .treasure-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cols { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .booking-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    background: rgba(11, 9, 6, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-lux);
    z-index: -1;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; z-index: 99; }
  .nav-link { font-size: 22px; letter-spacing: 0.3em; padding: 16px; }
  .nav-toggle { position: relative; z-index: 101; }
  .header-inner { padding: 14px 18px; gap: 10px; }
  .brand__seal { width: 38px; height: 38px; font-size: 20px; }
}

@media (max-width: 640px) {
  /* 头部：收起副标题、缩小尺寸，避免 logo/语言/菜单重叠 */
  .brand__en { display: none; }
  .brand__cn { font-size: 17px; }
  .brand { gap: 10px; }

  .hero { padding: 96px 20px 72px; }
  .hero__kicker { display: block; font-size: 11px; letter-spacing: 0.15em; margin-bottom: 20px; }
  .hero__kicker .line { display: none; }
  .hero__title-cn { font-size: clamp(32px, 13vw, 50px); }
  .hero__title-en { font-size: 12px; letter-spacing: 0.16em; margin-top: 10px; }
  .hero__sub { font-size: 14px; letter-spacing: 0.04em; line-height: 1.9; margin-top: 22px; }
  .hero__actions { margin-top: 30px; }
  .btn { padding: 13px 26px; font-size: 13px; letter-spacing: 0.16em; }
  .hero__ornament { width: 76px; height: 76px; }

  .hero__stats { display: none; }
  .featured-grid, .treasure-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .booking-form { padding: 24px 18px; }
  .section { padding: 60px 20px; }
  .section--featured { padding-top: 20px; }
  .section__head { margin-bottom: 36px; }
  .section__sub { letter-spacing: 0.1em; line-height: 1.8; }
  .eyebrow { letter-spacing: 0.28em; }
  .page-hero { padding: 116px 20px 48px; }
  .page-hero__sub { letter-spacing: 0.14em; line-height: 1.8; }

  .featured-card__art { height: 210px; }
  .featured-card__art span { font-size: 84px; }
  .treasure-card__art { height: 230px; }
  .treasure-card__art span { font-size: 96px; }
  .treasure-card__body { padding: 20px 18px 22px; }
  .filter-bar { gap: 8px; margin-bottom: 36px; }
  .filter-btn { padding: 9px 18px; font-size: 13px; letter-spacing: 0.12em; }

  .booking-info li { flex-direction: column; gap: 2px; }
  .booking-info li span { white-space: normal; letter-spacing: 0.1em; }
  .map-placeholder { height: 190px; }
  .map-placeholder__mark { font-size: 16px; letter-spacing: 0.18em; }
  .footer-brand { letter-spacing: 0.1em; }
}

@media (max-width: 400px) {
  .lang-switcher__toggle { padding: 7px 9px; }
  .lang-switcher__code { display: none; }
  .brand__seal { width: 34px; height: 34px; font-size: 18px; }
  .brand__cn { font-size: 15px; letter-spacing: 0.08em; }
  .hero__title-cn { font-size: 30px; }
  .hero__title-en { font-size: 11px; letter-spacing: 0.1em; }
}

/* --------------------------------------------------------------------------
   文物详情弹窗
   -------------------------------------------------------------------------- */
.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.detail-modal[hidden] { display: none; }
.detail-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 5, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.detail-modal__panel {
  position: relative;
  width: min(1120px, 100%);
  height: min(86vh, 800px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.detail-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding: 0 18px;
  line-height: 1;
  background: rgba(11, 9, 6, 0.65);
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 15px;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}
.detail-modal__close:hover { border-color: var(--gold); background: rgba(201, 169, 98, 0.15); }

/* 主照片（大图，占据左侧原地球位置） */
.detail-modal__photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.detail-modal__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-modal__photo span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 220px;
  color: rgba(242, 233, 216, 0.85);
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* 右侧信息 */
.detail-modal__info {
  padding: 56px 40px 40px;
  overflow-y: auto;
  border-left: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}

/* 标题行：标题 + 缩小地球 */
.detail-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.detail-modal__titles { flex: 1; min-width: 0; }
.detail-modal__globe {
  width: 128px;
  height: 128px;
  flex: none;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: radial-gradient(circle at center, rgba(201, 169, 98, 0.08), transparent 70%);
}
.detail-modal__globe canvas { display: block; }

.detail-modal__era {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.detail-modal__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory);
  line-height: 1.3;
}
.detail-modal__loc {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.detail-modal__loc-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--faint);
  flex: none;
}
.detail-modal__loc-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}
.detail-modal__desc {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.globe-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.globe-fallback__mark { font-size: 28px; color: var(--gold); }
.globe-fallback p { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-align: center; padding: 0 6px; }

/* 细节图（下方，可下拉查看） */
.detail-modal__gallery {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.detail-modal__gallery[hidden] { display: none; }
.detail-modal__gimg {
  width: 150px;
  height: 110px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}
.detail-modal__gimg:hover { border-color: var(--gold); transform: translateY(-3px); }
.detail-modal__gimg img { width: 100%; height: 100%; object-fit: cover; }

.detail-modal__globe canvas { cursor: grab; }
.detail-modal__globe canvas:active { cursor: grabbing; }

@media (max-width: 820px) {
  .detail-modal { padding: 0; }
  .detail-modal__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: 100vh;
    width: 100%;
  }
  .detail-modal__photo { height: 34vh; }
  .detail-modal__info {
    padding: 22px 20px 32px;
    border-left: none;
    border-top: 1px solid var(--line-soft);
  }
  .detail-modal__head { gap: 14px; }
  .detail-modal__globe { width: 96px; height: 96px; }
  .detail-modal__title { font-size: 23px; }
  .detail-modal__close { top: auto; bottom: 16px; right: 16px; }
  .detail-modal__gimg { width: 110px; height: 84px; }
}

/* --------------------------------------------------------------------------
   图片查看器
   -------------------------------------------------------------------------- */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 4, 3, 0.94);
}
.image-viewer[hidden] { display: none; }
.image-viewer__close {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 10;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 6, 0.6);
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 28px;
  line-height: 1;
  transition: all 0.3s;
}
.image-viewer__close:hover { border-color: var(--gold); background: rgba(201, 169, 98, 0.15); }
.image-viewer__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.image-viewer__stage:active { cursor: grabbing; }
.image-viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 6, 0.6);
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 32px;
  line-height: 1;
  transition: all 0.3s;
}
.image-viewer__nav:hover:not(:disabled) { border-color: var(--gold); background: rgba(201, 169, 98, 0.15); }
.image-viewer__nav:disabled { opacity: 0.25; cursor: default; }
.image-viewer__nav--prev { left: 20px; }
.image-viewer__nav--next { right: 20px; }
.image-viewer__stage img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
}

/* --------------------------------------------------------------------------
   昼夜系统 · 白天白色轻奢主题
   -------------------------------------------------------------------------- */
.theme-day {
  --bg: #faf6ee;
  --bg-2: #f4eee2;
  --bg-card: #fffefb;
  --bg-elev: #ffffff;
  --ivory: #1f1a12;
  --muted: #463d2d;
  --faint: #675e4d;
  --gold: #b8912e;
  --gold-light: #8a6c18;
  --gold-deep: #7a5f1e;
  --line: rgba(184, 145, 46, 0.30);
  --line-soft: rgba(184, 145, 46, 0.16);
}

.theme-day .hero__texture {
  background-image: radial-gradient(rgba(43, 36, 24, 0.06) 1px, transparent 1px);
}

.theme-day .hero__title-cn {
  background: linear-gradient(180deg, #d9b96a 0%, #c09a35 40%, #a07f20 75%, #7a5f1e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-day .site-header.scrolled {
  background: rgba(250, 246, 238, 0.94);
  box-shadow: 0 12px 40px rgba(120, 100, 40, 0.10);
}

.theme-day .main-nav {
  background: rgba(250, 246, 238, 0.97);
}

.theme-day .lang-switcher__menu {
  background: rgba(255, 254, 251, 0.97);
  box-shadow: 0 20px 50px rgba(120, 100, 40, 0.15);
}

.theme-day .map-placeholder {
  background:
    linear-gradient(rgba(250, 246, 238, 0.72), rgba(250, 246, 238, 0.72)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(184, 145, 46, 0.10) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(184, 145, 46, 0.10) 40px);
}

.theme-day .page-transition {
  background: linear-gradient(135deg, #f4eee2 0%, #faf6ee 55%, #e8dcc0 100%);
}

/* 白天主题：表单输入框改为浅色背景 */
.theme-day .field input,
.theme-day .field select {
  background: #fffdf8;
  color: var(--ivory);
}
.theme-day .field input:focus,
.theme-day .field select:focus {
  background: #fffdf8;
  border-color: var(--gold);
}
.theme-day .field input[type="date"] { color-scheme: light; }

.theme-day .search-bar input {
  background: #fffdf8;
  color: var(--ivory);
  box-shadow: 0 6px 20px rgba(120, 100, 40, 0.12);
}

.theme-day .phone-code {
  background: #fffdf8;
  color: var(--ivory);
}
.theme-day .phone-code__dropdown { background: #fffdf8; }
.theme-day .phone-code__dropdown > input {
  background: #fffdf8;
  color: var(--ivory);
}
