/* ============================================================
   长沙印象 · 岳麓水墨风设计系统
   配色：水墨灰 × 湘江蓝 × 朱砂红 × 宣纸米白
   字体：Noto Serif SC / Ma Shan Zheng / Cormorant Garamond
   ============================================================ */

/* ---------- 字体引入 ---------- */
/* 字体已本地化：assets/css/fonts.css（由各页面引用），无需第三方请求 */

/* ---------- 设计变量 ---------- */
:root {
  /* 水墨灰阶 */
  --ink-0: #0a0a0a;
  --ink-1: #1a1a1a;
  --ink-2: #2b2b2b;
  --ink-3: #4a4a4a;
  --ink-4: #6b6b6b;
  --ink-5: #8c8c8c;
  --ink-6: #ababab;
  --ink-7: #d4d4d4;
  --ink-8: #e8e8e8;

  /* 湘江蓝 */
  --river: #2c5f6e;
  --river-deep: #1a3d47;
  --river-light: #4a8a9c;
  --river-mist: #7fb3bf;

  /* 朱砂红（印章/点缀） */
  --cinnabar: #b8312f;
  --cinnabar-deep: #8b1f1d;
  --cinnabar-light: #d4514e;

  /* 宣纸底色 */
  --paper: #f5f1e8;
  --paper-warm: #efe8d8;
  --paper-dark: #e0d8c4;

  /* 功能色 */
  --bg: #f5f1e8;
  --bg-alt: #efe8d8;
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --text-mute: #8c8c8c;
  --line: #d4d4d4;
  --accent: #b8312f;

  /* 间距 */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;

  /* 字体 */
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-brush: 'Ma Shan Zheng', 'STKaiti', serif;
  --font-latin: 'Cormorant Garamond', serif;
  --font-sans: 'Noto Serif SC', serif;

  /* 容器 */
  --maxw: 1280px;
  --maxw-narrow: 860px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

html { overflow-x: hidden; }

body {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  max-width: 100vw;
  /* 宣纸纹理底 */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184,49,47,0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(44,95,110,0.02) 0%, transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/><feColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

::selection { background: var(--cinnabar); color: var(--paper); }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--paper-warm); }
::-webkit-scrollbar-thumb { background: var(--ink-5); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* ============================================================
   导航栏
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: transparent;
  border-bottom: none;
  transition: padding .3s ease, background .3s ease, border-color .3s ease;
}
.navbar.scrolled {
  padding: 0.6rem 2.5rem;
  background: rgba(245,241,232,0.95);
  border-bottom: 1px solid rgba(184,49,47,0.12);
  backdrop-filter: blur(12px);
}
/* 未滚动时导航文字默认深色（浅色Hero页面） */
.navbar:not(.scrolled) .nav-brand { color: var(--ink-1); }
.navbar:not(.scrolled) .nav-links a { color: var(--ink-3); }
.navbar:not(.scrolled) .nav-brand .seal { color: var(--paper); }
/* 滚动后文字恢复深色 */
.navbar.scrolled .nav-brand { color: var(--ink-1); }
.navbar.scrolled .nav-links a { color: var(--ink-3); }
/* 深色Hero页面（首页/文脉/人文）：未滚动时白色文字 */
.navbar.nav-dark:not(.scrolled) .nav-brand { color: var(--paper); }
.navbar.nav-dark:not(.scrolled) .nav-links a { color: var(--ink-7); }
.navbar.nav-dark:not(.scrolled) .nav-brand .seal { color: var(--paper); }

.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-brush); font-size: 1.5rem; color: var(--ink-1);
}
.nav-brand .seal {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--cinnabar); color: var(--paper);
  font-family: var(--font-serif); font-weight: 700; font-size: 1rem;
  border-radius: 3px; letter-spacing: -1px;
  box-shadow: 0 2px 6px rgba(184,49,47,0.3);
}

.nav-links { display: flex; gap: 0.3rem; align-items: center; }
.nav-links a {
  position: relative; padding: 0.5rem 1.1rem;
  font-size: 0.95rem; color: var(--ink-3);
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: 0.2rem;
  width: 0; height: 2px; background: var(--cinnabar);
  transition: width .3s, left .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink-1); }
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; left: 20%; }

.nav-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--ink-2); }

/* ============================================================
   印章组件（SVG 逼真印面：歪斜边栏 · 双线印框 · 印泥颗粒）
   ============================================================ */
.seal-mark {
  display: inline-grid; place-items: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  background-color: #b03833;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><filter id='rough' x='-12%25' y='-12%25' width='124%25' height='124%25'><feTurbulence type='fractalNoise' baseFrequency='0.05 0.06' numOctaves='4' seed='8' result='n'/><feDisplacementMap in='SourceGraphic' in2='n' scale='6'/></filter><filter id='dark'><feTurbulence type='fractalNoise' baseFrequency='0.09 0.11' numOctaves='4' seed='6'/><feColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0.75 0'/></filter><filter id='light'><feTurbulence type='fractalNoise' baseFrequency='0.13 0.15' numOctaves='3' seed='9'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0.5 0'/></filter><filter id='grain'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.05 0 0 0 0 0.04 0 0 0 0.5 0'/></filter></defs><g filter='url(%23rough)'><rect x='3.5' y='3.5' width='93' height='93' rx='5' fill='%23b23833'/><rect x='3.5' y='3.5' width='93' height='93' rx='5' filter='url(%23dark)'/><rect x='3.5' y='3.5' width='93' height='93' rx='5' filter='url(%23light)'/><rect x='8.5' y='8.5' width='83' height='83' rx='2.5' fill='none' stroke='rgba(246,238,221,0.8)' stroke-width='2.4'/></g><rect width='100' height='100' filter='url(%23grain)' opacity='0.45'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #f2e9d8;
  font-family: var(--font-serif); font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 0 2px rgba(140,30,25,0.4);
  box-shadow: 1px 2px 8px rgba(150,45,40,0.24);
  transform: rotate(-1deg);
  transition: transform .3s ease;
}
.seal-mark:hover { transform: rotate(-1deg) scale(1.04); }
.seal-mark.lg {
  font-size: 1.05rem;
  width: 74px; height: 74px;
  line-height: 1.45;
  letter-spacing: 0.1em;
}
.seal-mark.sm {
  font-size: 0.7rem;
  padding: 0.55rem 0.6rem;
  width: auto; height: auto;
  line-height: 1.8;
  letter-spacing: 0.16em;
}
.seal-mark.md {
  font-size: 0.92rem;
  padding: 0.75rem 0.85rem;
  width: auto; height: auto;
  line-height: 1.8;
  letter-spacing: 0.18em;
  border-radius: 4px 5px 4px 6px / 5px 4px 6px 5px;
}
.seal-mark.round { border-radius: 50%; }

/* ============================================================
   通用布局
   ============================================================ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 2rem; }

.section { padding: var(--space-2xl) 0; position: relative; }
.section-tight { padding: var(--space-xl) 0; }

.section-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ink-1); line-height: 1.2;
  margin-bottom: 0.6rem;
}
.section-title .brush {
  font-family: var(--font-brush); color: var(--cinnabar);
}
.section-sub {
  font-family: var(--font-latin); font-style: italic;
  color: var(--ink-5); font-size: 1.1rem; margin-bottom: var(--space-lg);
}
.section-divider {
  width: 60px; height: 3px; background: var(--cinnabar);
  margin: 1.5rem 0 var(--space-lg);
  position: relative;
}
.section-divider::before, .section-divider::after {
  content: ''; position: absolute; top: 50%; width: 6px; height: 6px;
  background: var(--cinnabar); border-radius: 50%; transform: translateY(-50%);
}
.section-divider::before { left: -12px; }
.section-divider::after { right: -12px; }

.text-mute { color: var(--text-mute); }
.text-soft { color: var(--text-soft); }

/* 竖排标题 */
.vertical-text {
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--font-brush); letter-spacing: 0.4em;
}

/* ============================================================
   水墨晕染装饰
   ============================================================ */
.ink-blob {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--ink-3) 0%, transparent 70%);
  opacity: 0.06; pointer-events: none; filter: blur(20px);
  z-index: 1;
}
.ink-blob.blue {
  background: radial-gradient(circle, var(--river) 0%, transparent 70%);
}
.ink-blob.red {
  background: radial-gradient(circle, var(--cinnabar) 0%, transparent 70%);
  opacity: 0.05;
}

/* 山形剪影 */
.mountain-silhouette {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 120px; pointer-events: none; opacity: 0.5;
}
.mountain-silhouette svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; font-family: var(--font-serif);
  font-size: 1rem; font-weight: 500; letter-spacing: 0.1em;
  border: 1.5px solid var(--ink-2); background: transparent;
  color: var(--ink-1); cursor: pointer;
  transition: all .35s ease; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ink-1); transform: translateY(101%);
  transition: transform .35s ease; z-index: -1;
}
.btn:hover { color: var(--paper); border-color: var(--ink-1); }
.btn:hover::before { transform: translateY(0); }
.btn-primary { border-color: var(--cinnabar); color: var(--cinnabar); }
.btn-primary::before { background: var(--cinnabar); }
.btn-primary:hover { color: var(--paper); border-color: var(--cinnabar); }

/* ============================================================
   卡片
   ============================================================ */
.card {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(184,49,47,0.12);
  border-radius: 4px; padding: 2rem;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0;
  background: var(--cinnabar); transition: height .4s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: rgba(184,49,47,0.25); }
.card:hover::before { height: 100%; }

/* ============================================================
   滚动入场动画
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   页面 Hero 通用
   ============================================================ */
.page-hero {
  min-height: clamp(480px, 72vh, 760px); display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 6rem 2rem 4rem;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245,241,232,0.85) 0%, transparent 30%, transparent 70%, rgba(245,241,232,0.95) 100%);
  z-index: 2;
}
.page-hero-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  object-fit: cover; object-position: center top;
  opacity: 0.75; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 3; }
.page-hero h1 {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5rem); color: var(--ink-1);
  line-height: 1.1; margin-bottom: 1rem;
}
.page-hero h1 .brush { font-family: var(--font-brush); color: var(--cinnabar); }
.page-hero .latin {
  font-family: var(--font-latin); font-style: italic;
  font-size: 1.4rem; color: var(--ink-5); letter-spacing: 0.15em;
}
.page-hero .lead {
  max-width: 560px; margin: 2rem auto 0;
  font-size: 1.1rem; color: var(--text-soft); line-height: 1.9;
}

/* 面包屑 */
.breadcrumb {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: var(--ink-5);
  font-family: var(--font-latin); font-style: italic;
  margin-bottom: 2rem;
}
.breadcrumb a:hover { color: var(--cinnabar); }
.breadcrumb span { color: var(--ink-7); }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: var(--ink-1); color: var(--ink-7);
  padding: 4rem 2rem 2rem; position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cinnabar), var(--river), var(--cinnabar));
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand .seal { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.25; letter-spacing: 0.08em; }
.footer-brand h3 { font-family: var(--font-brush); font-size: 1.6rem; color: var(--paper); margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: var(--ink-6); }
.footer-col h4 { font-size: 0.95rem; color: var(--paper); margin-bottom: 1rem; font-weight: 500; letter-spacing: 0.1em; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--ink-6); padding: 0.3rem 0; transition: color .25s; }
.footer-col a:hover { color: var(--cinnabar-light); }
.footer-bottom {
  max-width: var(--maxw); margin: 3rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--ink-3);
  display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--ink-5); font-family: var(--font-latin); font-style: italic;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  :root { --space-2xl: 5rem; --space-xl: 3.5rem; }
  .navbar { padding: 0.8rem 1.2rem; }
  .nav-links {
    position: fixed; top: 56px; left: 0; right: 0;
    flex-direction: column; background: var(--paper);
    padding: 1rem; gap: 0; border-bottom: 1px solid var(--line);
    transform: translateY(-150%); transition: transform .35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.8rem 1rem; border-bottom: 1px solid var(--ink-8); }
  .nav-toggle { display: block; }
  .container, .container-narrow { padding: 0 1.2rem; }
  .page-hero { padding: 5rem 1.2rem 3rem; min-height: clamp(380px, 60vh, 560px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-art { height: clamp(560px, 100vh, 1000px); }
  .hero-content { padding-top: 5rem !important; }
}
@media (max-width: 560px) {
  /* 手机端隐藏装饰性水墨晕染块，彻底消除横向溢出 */
  .ink-blob { display: none; }

  /* 导航 */
  .nav-brand { font-size: 1.25rem; }
  .nav-brand .seal { width: 30px; height: 30px; font-size: 0.85rem; }

  /* 首页 Hero 手机端 */
  .hero { padding: 0 1rem 3rem; }
  .hero-verse { right: 3% !important; top: 4% !important; gap: 0.3em !important; }
  .hero-verse .char { font-size: 0.95rem !important; letter-spacing: 0.22em !important; }
  .hero-title .brush-char { font-size: 4rem !important; }
  .hero-stamp .seal-mark { width: 56px !important; height: 56px !important; font-size: 1.1rem !important; }
  .hero-latin { letter-spacing: 0.15em !important; font-size: 1rem !important; }
  .hero-tagline { letter-spacing: 0.08em !important; font-size: 1rem !important; margin-top: 1rem !important; }
  .scroll-hint { bottom: 1rem; }

  /* 子页面 Hero 手机端 */
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .page-hero .lead { font-size: 0.95rem; }
  .page-hero .latin { font-size: 1rem; }
  .page-hero-bg { opacity: 0.6; }

  /* 通用排版 */
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: 0.95rem; }
  .btn { padding: 0.7rem 1.4rem; font-size: 0.9rem; width: 100%; justify-content: center; }
  .card { padding: 1.4rem; }
  .overview-card { min-height: 200px; padding: 1.4rem 1.2rem; }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 1rem; }

  /* 地图页手机端：地图可横向滑动 */
  .filter-btn { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
  .map-canvas { padding: 0.6rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .map-canvas svg { min-width: 640px; }
  .spot-list-card { flex-direction: column; }
  .spot-list-img { width: 100%; height: 150px; }
  .gallery-overlay { opacity: 1; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.78) 100%); }

  /* 各板块卡片间距收紧 */
  .tips-grid { gap: 1rem; }
  .tip-card { padding: 1.3rem 1rem; }
  .tip-icon { font-size: 2rem; }
  .char-card { padding: 1.5rem 1rem; }
  .timeline { padding-left: 1.2rem; }
  .street-grid { gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AI 工笔国风插画样式
   ============================================================ */
.spot-img {
  width: 100%; border-radius: 4px;
  border: 1px solid rgba(184,49,47,0.15);
  background: rgba(255,255,255,0.4);
  display: block; transition: transform .5s ease, box-shadow .5s ease;
}
.spot-feature:hover .spot-img { transform: scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.spot-img-sm {
  width: 100%; display: block;
  border-radius: 4px 4px 0 0;
  background: rgba(255,255,255,0.5);
}
.spot-card:hover .spot-img-sm { transform: scale(1.03); }
.spot-img-sm { transition: transform .5s ease; }

.hero-art {
  position: absolute; top: 0; left: 0;
  width: 100%; height: clamp(560px, 100vh, 1000px);
  object-fit: cover; object-position: center;
  z-index: 3; pointer-events: none;
  transition: transform .8s ease;
}
.hero:hover .hero-art { transform: scale(1.03); }

/* 页面 hero 背景图 */
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  object-fit: cover; object-position: center top;
  opacity: 0.85; pointer-events: none;
}

/* ============================================================
   地图页样式
   ============================================================ */
.filter-bar { display:flex; flex-wrap:wrap; gap:0.6rem; justify-content:center; margin-bottom:1.5rem; }
.filter-btn {
  padding: 0.5rem 1.4rem; font-family: var(--font-serif); font-size: 0.9rem;
  border: 1px solid var(--ink-6); background: rgba(255,255,255,0.5);
  color: var(--ink-4); border-radius: 20px; cursor: pointer;
  transition: all .3s ease;
}
.filter-btn:hover { border-color: var(--cinnabar); color: var(--cinnabar); }
.filter-btn.active { background: var(--cinnabar); color: var(--paper); border-color: var(--cinnabar); }

.map-layout { display:grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.map-canvas {
  background: rgba(255,255,255,0.5); border: 1px solid rgba(184,49,47,0.12);
  border-radius: 4px; padding: 1rem; position: relative; overflow: hidden;
}
.map-canvas svg { border-radius: 4px; }
.marker { cursor: pointer; transition: opacity .3s; }
.marker:hover .marker-dot { transform: scale(1.4); }
.marker-dot { transition: transform .2s; }

.spot-list { max-height: 700px; overflow-y: auto; padding-right: 0.5rem; }
.spot-list::-webkit-scrollbar { width: 4px; }
.spot-list::-webkit-scrollbar-track { background: transparent; }
.spot-list::-webkit-scrollbar-thumb { background: var(--ink-6); border-radius: 2px; }
.spot-list-card {
  display: flex; gap: 1rem; background: rgba(255,255,255,0.5);
  border: 1px solid rgba(184,49,47,0.1); border-radius: 4px; overflow: hidden;
  margin-bottom: 1rem; cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.spot-list-card:hover {
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: rgba(184,49,47,0.25);
}
.spot-list-img { width: 120px; min-width: 120px; height: 100px; overflow: hidden; position: relative; }
.spot-list-img img { width:100%; height:100%; object-fit: cover; transition: transform .4s; }
.spot-list-card:hover .spot-list-img img { transform: scale(1.08); }
.spot-list-info { padding: 1rem; display: flex; flex-direction: column; }
.spot-list-info h3 { font-size: 1.1rem; color: var(--ink-1); margin: 0; }
.spot-area { font-size: 0.78rem; color: var(--ink-5); margin: 0.2rem 0 0.4rem; font-family: var(--font-latin); font-style: italic; }
.spot-desc { font-size: 0.82rem; color: var(--text-soft); line-height: 1.5; margin: 0 0 0.5rem; }
.spot-detail-btn {
  align-self: flex-start; font-size: 0.8rem; color: var(--cinnabar);
  border: none; background: none; cursor: pointer; padding: 0;
  transition: color .2s;
}
.spot-detail-btn:hover { color: var(--cinnabar-deep); text-decoration: underline; }
.spot-cat-badge {
  display: inline-block; font-size: 0.7rem; padding: 0.15rem 0.6rem;
  background: rgba(184,49,47,0.1); color: var(--cinnabar-deep);
  border-radius: 12px; white-space: nowrap;
}

/* 弹窗 */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,10,10,0.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; transition: opacity .3s;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-card {
  background: var(--paper); border-radius: 8px; max-width: 720px; width: 100%;
  max-height: 85vh; overflow-y: auto; position: relative;
  border: 1px solid rgba(184,49,47,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: translateY(20px); transition: transform .3s;
}
.modal-overlay.active .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(26,26,26,0.7); color: var(--paper);
  font-size: 1rem; cursor: pointer; transition: background .2s;
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--cinnabar); }
.modal-img { width: 100%; height: 280px; object-fit: cover; border-radius: 8px 8px 0 0; }
.modal-img.modal-img-only { border-radius: 8px; }
/* 照片墙 */
.photo-wall {
  display: flex; gap: 4px; padding: 4px;
  background: var(--bg-alt);
  overflow: hidden;
}
.photo-wall-img {
  flex: 1; min-width: 0; height: 55px; object-fit: cover;
  cursor: pointer; opacity: 0.4;
  transition: opacity .25s ease, border-color .25s ease;
  border: 2px solid transparent;
}
.photo-wall-img:hover { opacity: 0.75; }
.photo-wall-img.active {
  opacity: 1; border-color: var(--cinnabar);
  box-shadow: 0 0 8px rgba(184,49,47,0.3);
}
.modal-content { padding: 2rem; }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.5rem; }
.modal-header h2 { font-size: 1.8rem; color: var(--ink-1); margin: 0; }
.modal-en { font-family: var(--font-latin); font-style: italic; color: var(--ink-5); font-size: 0.95rem; margin: 0.2rem 0; }
.modal-area { font-size: 0.85rem; color: var(--cinnabar-deep); margin-bottom: 1rem; }
.modal-desc { font-size: 0.95rem; color: var(--text-soft); line-height: 1.8; margin-bottom: 1.5rem; }
.modal-info {
  background: rgba(255,255,255,0.4); border-radius: 4px; padding: 1.2rem;
  margin-bottom: 1.5rem; border: 1px solid rgba(184,49,47,0.1);
}
.info-row { display: flex; padding: 0.4rem 0; border-bottom: 1px dashed rgba(184,49,47,0.1); }
.info-row:last-child { border-bottom: none; }
.info-label { width: 60px; min-width: 60px; font-weight: 600; color: var(--ink-3); font-size: 0.85rem; }
.info-val { flex: 1; color: var(--text-soft); font-size: 0.85rem; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* 画廊 */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.gallery-card {
  position: relative; border-radius: 4px; overflow: hidden; cursor: pointer;
  aspect-ratio: 3/4; border: 1px solid rgba(184,49,47,0.1);
  transition: transform .4s, box-shadow .4s;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-card:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1rem;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.8) 100%);
  color: var(--paper); opacity: 0; transition: opacity .3s;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 { font-size: 1.1rem; margin: 0.3rem 0 0.2rem; }
.gallery-overlay p { font-size: 0.8rem; opacity: 0.8; margin: 0; }
.gallery-overlay .spot-cat-badge { background: rgba(184,49,47,0.8); color: var(--paper); margin-bottom: 0.3rem; }

/* 出行贴士 */
.tips-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.tip-card {
  background: rgba(255,255,255,0.5); border: 1px solid rgba(184,49,47,0.12);
  border-radius: 4px; padding: 2rem 1.5rem; text-align: center;
  transition: transform .4s, box-shadow .4s;
}
.tip-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.tip-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tip-card h3 { font-size: 1.2rem; color: var(--ink-1); margin-bottom: 0.5rem; }
.tip-card p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.7; }

@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .spot-list { max-height: 500px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .tips-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .spot-list-img { width: 90px; min-width: 90px; }
  .modal-img { height: 200px; }
  .modal-content { padding: 1.2rem; }
}
