/* ==========================================================================
   甘肃旅游 · 地市专题页 共用样式表  gansu.css
   —— 与【风帆金城 · 印象兰州】保持完全一致的色彩体系 / 排版 / 组件风格
   所有地市页面共用本文件，页面内不再书写任何样式代码。
   色彩令牌：主色 #193B38 牛肉面汤红 / 次色 #1E3A8A 黄河蓝 /
             点缀 #D8B474 麦金黄 / 大地 #8B5A2B 黄土色
   ========================================================================== */
/* 字体改为 gansu.js 异步注入（非阻塞）；断网/国内网络下自动回退到系统宋体与雅黑 */

/* ===== 设计令牌 ===== */
:root {
    --primary:        #193B38;   /* 深青绿（数字丝路主色） */
    --primary-light:  #2E5A55;
    --primary-dark:   #122A28;
    --secondary:      #2A3B37;   /* 深靛蓝 */
    --secondary-light:#3C5B54;
    --accent:         #D8B474;   /* 沙金 */
    --earth:          #8B5A2B;
    --teal:           #477D78;   /* 青绿辅助色 */
    --ochre:          #A95F45;   /* 敦煌赭红（点缀） */
    --dark:           #263D38;   /* 深色文字 */
    --light:          #F3EDE0;   /* 暖米白 */
    --gray-50:  #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;

    --shadow-card:       0 4px 6px -1px rgba(0,0,0,.06), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-card-hover: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.07);
    --shadow-nav:        0 4px 20px rgba(0,0,0,.12);
    --shadow-btn:        0 4px 14px rgba(25,59,56,.32);

    --radius-card: .75rem;
    --radius-img:  .625rem;
    --radius-btn:  9999px;

    --ease-smooth: cubic-bezier(.25,.46,.45,.94);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --ease-expo:   cubic-bezier(.16,1,.3,1);
}

/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark);
    /* 站级背景：宣纸云纹质感（原为纯白 #fff）。图片已压缩到 1920 宽 / 145KB。 */
    background-color: #FBF7EE;
    background-image: url('assets/img/city-paper.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, .serif { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 5rem 0; }
/* 区块底色：白色区块让位给站级宣纸背景；灰色区块改成一层暖白薄纱，保留明暗节奏 */
.section--white { background: transparent; }
.section--gray  { background: rgba(255, 255, 255, .45); }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-center { text-align: center; }

/* ===== 章节标题（带渐变下划线动效） ===== */
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700; color: var(--dark);
    margin: 0 0 1rem;
}
.section-head .subtitle {
    font-size: 1.05rem; color: var(--gray-500);
    max-width: 46rem; margin: 1rem auto 0;
}
.heading-line { position: relative; }
.heading-line::after {
    content: ''; display: block; width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: .5rem auto 0; transition: width .6s ease;
}
.heading-line.active::after { width: 5rem; }
.heading-line--left::after { margin-left: 0; }

/* ===== 首页章节头：刊物式左对齐（不再每段都居中 + 短线 + 副标题） ===== */
.home-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 2rem; text-align: left; margin-bottom: 2.1rem; flex-wrap: wrap;
}
.home-head__main { min-width: 0; }
.home-head .eyebrow {
    display: block; font-size: .7rem; letter-spacing: .24em;
    color: var(--primary); opacity: .9; margin-bottom: .5rem;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}
.home-head h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.35rem); color: var(--dark); }
.home-head h2::after { display: none; }
.home-head .subtitle { margin: .55rem 0 0; text-align: left; max-width: 40rem; font-size: .97rem; color: var(--gray-500); }
.home-head__meta { font-size: .78rem; color: var(--gray-500); white-space: nowrap; padding-bottom: .35rem; }
@media (max-width: 640px) {
    .home-head { gap: .5rem; }
    .home-head__meta { display: none; }
}

/* ===== 跳过导航（无障碍） ===== */
.skip-link {
    position: fixed; top: -72px; left: 16px; z-index: 9999;
    background: var(--primary); color: #fff; padding: 10px 18px;
    border-radius: 0 0 10px 10px; transition: top .2s ease; font-weight: 500;
    box-shadow: 0 10px 26px rgba(18,42,40,.28);
}
.skip-link:focus, .skip-link:focus-visible { top: 0; outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== 顶部导航 Banner ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
    /* 固定外观：滚动、点锚点都不再变色，避免导航栏「点一下就变」的跳动 */
    background: rgba(22,40,37,.72);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255,255,255,.08);
    transition: none;
}
.navbar.scrolled {   /* 保留类名（脚本仍在切换），样式与常态一致 */
    background: rgba(22,40,37,.72);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; }
/* 左上角品牌：定位图标 + 名称（放大版，点击回顶部） */
.brand__logo { width: 38px; height: 38px; color: var(--primary); transition: transform .3s var(--ease-smooth); }
.brand:hover .brand__logo { transform: scale(1.1) rotate(-6deg); }
.brand__name { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-weight: 700; font-size: 1.62rem; letter-spacing: 1px; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.brand__name small { font-size: .8rem; font-weight: 400; opacity: .72; margin-left: .35rem; letter-spacing: 0; }

.nav { display: none; }
@media (min-width: 920px) { .nav { display: flex; align-items: center; gap: 1.5rem; } }
/* 5 个导航项 + 登录按钮：窄桌面（920—1180）收紧间距，避免右侧被切 */
@media (min-width: 920px) and (max-width: 1180px) {
    /* 8 项导航（含国潮/天气）：窄桌面进一步收紧 */
    .nav { gap: .62rem; }
    .nav__link { font-size: .82rem; padding-left: .1rem; padding-right: .1rem; }
    .navbar .brand__name { font-size: 1.05rem; }
    .gs-nav-user > a, .gs-nav-user button { padding-left: .7rem; padding-right: .7rem; font-size: .82rem; }
    .navbar__inner { padding-left: .75rem; padding-right: .75rem; }
}

.nav__link {
    white-space: nowrap;
    position: relative; color: #fff; font-size: .95rem; font-weight: 400;
    transition: color .3s ease; padding: 2px 0;
}
.nav__link:hover, .nav__link.active { color: var(--accent); }
.nav__link::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--accent); transition: width .3s ease;
}
.nav__link:hover::after, .nav__link.active::after, .nav__link:focus-visible::after { width: 100%; }
.nav__cta {
    display: inline-flex; align-items: center; gap: .35rem;
    color: #fff; font-size: .85rem; font-weight: 500;
    border: 1px solid rgba(255,255,255,.35); border-radius: 9999px;
    padding: .35rem .9rem; transition: all .3s ease; white-space: nowrap;
}
.nav__cta:hover { border-color: var(--accent); color: var(--accent); background: rgba(251,191,36,.08); }
.nav__cta svg { width: 15px; height: 15px; }

.menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 0; color: #fff;
}
.menu-toggle svg { width: 24px; height: 24px; }
@media (min-width: 920px) { .menu-toggle { display: none; } }

.mobile-menu {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: #16282a; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: var(--shadow-nav); overflow: hidden;
    max-height: 0; transition: max-height .4s var(--ease-expo);
}
.mobile-menu.open { max-height: 560px; }
@media (min-width: 920px) { .mobile-menu { display: none; } }
.mobile-menu__inner { display: flex; flex-direction: column; padding: .75rem 1rem 1.25rem; }
.mobile-menu__inner a {
    color: #fff; padding: .7rem 0; font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08); transition: color .3s ease;
}
.mobile-menu__inner a:hover { color: var(--accent); }
.mobile-menu__inner .nav__cta { margin-top: 1rem; justify-content: center; border-color: rgba(255,255,255,.3); }

/* ===== Hero 首屏 ===== */
.hero {
    position: relative; min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
/* Hero 实景背景：有图时铺满并压暗，保证标题文字可读 */
.hero__bg.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero__bg.has-photo::after { opacity: .16; }
.hero__bg.has-photo ~ .hero__motif { display: none; }
.hero__bg.has-photo + .hero__overlay { background: linear-gradient(180deg, rgba(17,24,39,.62) 0%, rgba(17,24,39,.26) 45%, rgba(17,24,39,.62) 100%); }
.hero__bg::after {
    content: ''; position: absolute; inset: 0; opacity: .35;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0, transparent 42%),
        radial-gradient(circle at 82% 68%, rgba(255,255,255,.12) 0, transparent 40%);
}
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(22,40,37,.55) 0%, rgba(25,59,56,.22) 42%, rgba(169,95,69,.42) 100%);
}
.hero__motif {
    position: absolute; inset: 0; margin: auto; z-index: 1;
    width: min(46vw, 400px); height: min(46vw, 400px);
    color: rgba(255,255,255,.20); pointer-events: none;
}
.hero__content { position: relative; z-index: 2; padding: 0 1.25rem; max-width: 60rem; }

/* ===== 首屏 v2：电影感实景（2026-10 改版） =====
   要点：缓慢的镜头推近（不是位移动画）、顶部压暗保证标题、底部渐隐到宣纸，
   再用一条金色曲线标出「丝路」意象，让首屏与地图区自然衔接。 */
.hero--silk { min-height: 100svh; }
.hero--silk .hero__bg { animation: silkPush 28s cubic-bezier(.16,.6,.3,1) both; }
@keyframes silkPush {
    from { transform: scale(1.14); }
    to   { transform: scale(1.02); }
}
.hero--silk .hero__overlay {
    background:
        radial-gradient(115% 85% at 50% -6%, rgba(10,14,20,.78) 0%, rgba(10,14,20,.22) 48%, rgba(10,14,20,.04) 72%),
        linear-gradient(180deg, rgba(10,14,20,.58) 0%, rgba(10,14,20,.14) 36%, rgba(26,18,12,.40) 76%, rgba(26,18,12,.66) 100%);
}
.hero--silk .hero__content { max-width: 58rem; }
.hero--silk .hero__title {
    font-size: clamp(2.35rem, 6vw, 4.5rem); line-height: 1.18; letter-spacing: .05em;
    text-shadow: 0 6px 40px rgba(0,0,0,.45);
}
.hero__brand { letter-spacing: .08em; }
.hero__accent { color: var(--accent); font-weight: 300; margin: 0 .06em; }
.hero--silk .hero__tagline {
    font-size: clamp(.95rem, 1.55vw, 1.12rem); line-height: 2.05; max-width: 46rem;
    letter-spacing: .02em; opacity: .93;
}
.hero--silk .hero__actions { margin-top: 1.8rem; }
.hero__meta {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: .75rem; margin-top: 2.1rem; font-size: .76rem; letter-spacing: .14em;
    color: rgba(255,255,255,.68);
}
.hero__meta b {
    font-family: 'Noto Serif SC', serif; font-size: 1.12rem; color: #fff;
    margin-right: .18rem; letter-spacing: 0;
}
.hero__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); opacity: .85; }

/* 底部：先渐隐到宣纸色，再压一条金色丝路曲线 */
.hero--silk::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    height: clamp(84px, 11vw, 160px); pointer-events: none;
    background: linear-gradient(180deg, rgba(243,237,224,0) 0%, rgba(243,237,224,.42) 52%, rgba(243,237,224,.95) 100%);
}
.hero__ribbon {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    width: 100%; height: clamp(70px, 9vw, 128px); pointer-events: none;
}
.hero__ribbon path:first-child { fill: none; }
.hero__ribbon path:last-child { opacity: .72; }
.hero--silk .hero__scroll {
    bottom: 14px;
    display: flex; flex-direction: column; align-items: center; gap: .25rem;
    font-size: .66rem; letter-spacing: .24em; color: rgba(72,64,52,.62);
    animation: heroBounce 2.4s infinite;
}
.hero--silk .hero__scroll svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
    .hero__meta { font-size: .68rem; gap: .5rem; letter-spacing: .08em; }
    .hero__meta b { font-size: 1rem; }
    .hero--silk .hero__scroll span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero--silk .hero__bg { animation: none; transform: none; }
    .hero__scroll { animation: none; }
}

.hero__badge {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .82rem; letter-spacing: 2px; text-transform: uppercase;
    color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
    padding: .35rem 1rem; border-radius: 9999px; margin-bottom: 1.4rem;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero__badge svg { width: 14px; height: 14px; color: var(--accent); }
.hero__title {
    font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; letter-spacing: .06em;
    margin: 0 0 1rem; text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero__en { display: block; font-size: clamp(.9rem, 2vw, 1.2rem); font-weight: 400; letter-spacing: .35em; opacity: .85; margin-top: .4rem; text-transform: uppercase; }
.hero__tagline {
    font-size: clamp(1.05rem, 2.6vw, 1.7rem); margin: 0 auto 2.2rem; max-width: 44rem;
    text-shadow: 0 2px 16px rgba(0,0,0,.5); opacity: .96;
}

/* 城市页首屏按钮压在照片上时，用细白描边保证边界（不改变各城章节色） */
.hero .btn--primary { box-shadow: 0 10px 26px -14px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.28); }
.hero .btn--ghost { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; color: rgba(255,255,255,.7); animation: heroBounce 2s infinite;
}
.hero__scroll svg { width: 30px; height: 30px; }
@keyframes heroBounce { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,10px);} }
.hero-enter { opacity: 0; transform: translateY(26px); animation: heroFadeIn .85s ease-out forwards; }
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-size: .95rem; font-weight: 500; padding: .85rem 2.2rem;
    border-radius: var(--radius-btn); border: 1.5px solid transparent;
    transition: all .3s ease; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(25,59,56,.42); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); border-color: #fff; transform: translateY(-2px); }
.btn--outline { background: #fff; color: var(--primary); border: 1px solid rgba(25,59,56,.35); box-shadow: none; }
.btn--outline:hover { background: rgba(25,59,56,.06); border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(25,59,56,.14); }
.overview__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* ===== 数据 / 亮点条 ===== */
.stats { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 30%, var(--accent) 72%, var(--earth) 100%); }
.stats__grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
    padding: 2.6rem 0; text-align: center; color: #fff;
}
.stats__note { margin: 0; padding: 0 1rem 1.8rem; text-align: center; font-size: 12px; line-height: 1.8; color: rgba(255,255,255,.72); }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__num { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: clamp(1.35rem, 2.6vw, 2.05rem); font-weight: 700; line-height: 1.15; white-space: nowrap; }
.stats__num span { font-size: .95rem; font-weight: 400; }
.stats__label { font-size: .85rem; opacity: .88; margin-top: .25rem; }

/* ===== 城市简介 ===== */
.about__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1fr; } }
.about__media {
    position: relative; border-radius: var(--radius-card); overflow: hidden;
    aspect-ratio: 16 / 10; box-shadow: 0 20px 40px -12px rgba(22,40,37,.35);
    display: flex; align-items: center; justify-content: center;
}
.about__media svg { width: 40%; max-width: 150px; aspect-ratio: 1 / 1; height: auto; color: rgba(255,255,255,.85); filter: drop-shadow(0 6px 20px rgba(0,0,0,.25)); }
/* 竖构图插画专用画框（仅甘肃总览页那张竖向拼贴用，其他页面不受影响）：
   原本 16/10 的横框会把竖图拦腰裁掉，改成竖框既能完整展示、画面也更大 */
.about__media--portrait { aspect-ratio: 3 / 4; max-height: 660px; }
/* 横构图：地貌拼贴用 16/10 横框，避免 3/4 竖框把五联裁成一条 */
.about__media--atlas { aspect-ratio: 16 / 10; }
.about__media-cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 2.2rem .95rem .7rem; font-size: .7rem; line-height: 1.6;
    color: rgba(255,255,255,.9); letter-spacing: .02em;
    background: linear-gradient(180deg, transparent 0%, rgba(18,26,24,.72) 100%);
}
.about__media--atlas .about__media-label { top: 1rem; left: 1rem; }
/* 城市简介封面图 */
.about__media.has-photo .about__media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about__media.has-photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.16) 50%, rgba(0,0,0,.42) 100%);
}
.about__media.has-photo svg { display: none; }
.about__media.has-photo .about__media-label { z-index: 2; }
.about__media-label {
    position: absolute; left: 1.2rem; bottom: 1.2rem;
    font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: clamp(1.4rem, 3vw, 2rem);
    color: #fff; letter-spacing: .18em; text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.about__body h3 { font-size: 1.5rem; font-weight: 600; color: var(--secondary); margin: 0 0 1rem; }
.about__body p { color: var(--gray-700); margin-bottom: 1rem; line-height: 1.9; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.6rem; }
.fact { display: flex; gap: .7rem; align-items: flex-start; background: var(--gray-50); border-radius: .75rem; padding: .8rem .9rem; transition: background .3s ease; }
.fact:hover { background: rgba(25,59,56,.06); }
.fact svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: .18rem; }
.fact__label { font-size: .82rem; font-weight: 600; color: var(--dark); }
.fact__value { font-size: .78rem; color: var(--gray-500); }

/* ===== 景点卡片网格 ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius-card); overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card__media {
    position: relative; height: 210px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.card__media svg.card__icon {
    width: 92px; height: 92px; color: rgba(255,255,255,.9);
    transition: transform .5s var(--ease-smooth); filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.card:hover .card__media svg.card__icon { transform: scale(1.1); }
.card__media::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.22), transparent 55%);
}
/* ===== 景点封面实拍图（卡片加 has-photo + 行内 background-image 即生效） =====
   有图时铺满封面、隐藏占位图标，并压深底部让级别徽标与悬停提示更清楚 */
.card__media.has-photo{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.card__media.has-photo svg.card__icon{ display: none; }
.card__media.has-photo::after{
    background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.20) 45%, rgba(0,0,0,.55) 100%);
}
.card__badge {
    position: absolute; top: .75rem; right: .75rem; z-index: 2;
    background: var(--accent); color: var(--dark); font-size: .72rem; font-weight: 700;
    padding: .22rem .65rem; border-radius: 9999px; box-shadow: 0 2px 8px rgba(0,0,0,.22); letter-spacing: .3px;
}
.card__overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30,58,138,.72); color: #fff; font-size: .95rem; font-weight: 500;
    opacity: 0; transition: opacity .35s ease; pointer-events: none; letter-spacing: .5px;
}
.card__overlay svg { width: 18px; height: 18px; margin-right: .4rem; }
.card:hover .card__overlay { opacity: 1; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: 1.2rem; font-weight: 600; color: var(--secondary); margin: 0 0 .5rem; }
.card__desc { color: var(--gray-600); font-size: .9rem; line-height: 1.75; margin: 0 0 1rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .78rem; color: var(--gray-400); margin-top: auto; }
.card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.card__meta svg { width: 14px; height: 14px; color: var(--primary); }
.card__more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .9rem; font-size: .85rem; font-weight: 500; color: var(--primary); }
.card__more svg { width: 15px; height: 15px; transition: transform .3s ease; }
.card:hover .card__more svg { transform: translateX(4px); }

/* ===== 特色名片（美食 / 文化小卡片） ===== */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.5rem; }
.chip {
    display: inline-flex; align-items: center; gap: .4rem;
    background: #fff; border: 1px solid var(--gray-200); border-radius: 9999px;
    padding: .45rem 1rem; font-size: .85rem; color: var(--gray-700);
    transition: all .3s ease; box-shadow: var(--shadow-card);
}
.chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.chip svg { width: 15px; height: 15px; color: var(--accent); }

/* ===== 提示条 ===== */
.notice {
    display: flex; gap: .8rem; align-items: flex-start; margin-top: 2.5rem;
    background: rgba(25,59,56,.05); border-left: 3px solid var(--primary);
    border-radius: 0 .6rem .6rem 0; padding: 1rem 1.2rem;
    font-size: .85rem; color: var(--gray-600); line-height: 1.8;
}
.notice svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: .15rem; }

/* ===== 详情弹窗 ===== */
.detail-overlay {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center; padding: 1rem;
    background: rgba(0,0,0,.7);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-smooth), visibility .35s;
}
.detail-overlay.active { opacity: 1; visibility: visible; }
.detail-modal {
    position: relative; display: flex; flex-direction: column;
    width: 100%; max-width: 760px; max-height: 90vh;
    background: #fff; border-radius: 1.25rem; overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,.35);
    transform: translateY(30px) scale(.96); transition: transform .4s var(--ease-spring);
}
.detail-overlay.active .detail-modal { transform: translateY(0) scale(1); }
.detail-header {
    position: relative; height: 300px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.detail-header svg.detail-header__icon { width: 120px; height: 120px; color: rgba(255,255,255,.9); filter: drop-shadow(0 8px 22px rgba(0,0,0,.3)); }
.detail-header__label {
    position: absolute; left: 1.7rem; bottom: 1.4rem;
    font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: 1.5rem; color: #fff; letter-spacing: .14em;
    text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.detail-modal-close {
    position: absolute; top: 1rem; right: 1rem; z-index: 10;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.45); color: #fff; border: 0; border-radius: 50%;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: all .3s var(--ease-smooth);
}
.detail-modal-close svg { width: 20px; height: 20px; }
.detail-modal-close:hover { background: linear-gradient(135deg, var(--primary), var(--primary-light)); transform: rotate(90deg) scale(1.12); box-shadow: 0 4px 16px rgba(25,59,56,.5); }
.detail-body { padding: 1.6rem 2rem 2rem; overflow-y: auto; flex: 1; min-height: 0; }
.detail-body::-webkit-scrollbar { width: 5px; }
.detail-body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--primary-light)); border-radius: 3px; }
.detail-body { scrollbar-width: thin; scrollbar-color: #d1d5db transparent; }
.detail-head-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.detail-tag {
    display: inline-block; font-size: .75rem; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: .25rem .75rem; border-radius: 9999px; letter-spacing: .5px;
}
.detail-tag--outline { background: none; border: 1.5px solid var(--gray-300); color: var(--gray-500); }
.detail-title { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: 1.5rem; font-weight: 700; color: var(--dark); margin: 0; }
.detail-subtitle { font-size: .88rem; color: var(--gray-500); font-style: italic; margin: .1rem 0 1rem; }
.detail-body p { color: var(--gray-700); font-size: .92rem; line-height: 1.85; margin-bottom: .85rem; }
.detail-divider { height: 1px; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, transparent 100%); margin: 1.3rem 0; }
.detail-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; }
.detail-info-item { background: var(--gray-50); border-radius: .75rem; padding: .75rem .9rem; text-align: center; transition: all .25s ease; }
.detail-info-item:hover { background: rgba(25,59,56,.06); transform: translateY(-2px); }
.detail-info-item svg { width: 20px; height: 20px; color: var(--primary); margin: 0 auto .3rem; }
.detail-info-label { display: block; font-size: .68rem; color: var(--gray-400); letter-spacing: 1px; text-transform: uppercase; }
.detail-info-value { display: block; font-size: .9rem; font-weight: 600; color: var(--dark); margin-top: .12rem; }
.detail-h4 { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: 1rem; font-weight: 600; color: var(--secondary); margin: 0 0 .75rem; display: flex; align-items: center; gap: .4rem; }
.detail-h4 svg { width: 17px; height: 17px; color: var(--accent); }
.detail-highlights { list-style: none; padding: 0; margin: 0; }
.detail-highlights li { display: flex; gap: .6rem; align-items: flex-start; padding: .5rem 0; font-size: .9rem; color: var(--gray-600); line-height: 1.65; border-bottom: 1px solid var(--gray-100); }
.detail-highlights li:last-child { border-bottom: 0; }
.detail-highlights li svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; margin-top: .28rem; }
.detail-link-btn {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
    padding: .6rem 1.4rem; border-radius: 9999px; font-size: .85rem; font-weight: 500;
    color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: var(--shadow-btn); transition: all .3s ease;
}
.detail-link-btn svg { width: 15px; height: 15px; }
.detail-link-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(25,59,56,.45); }

/* ===== 返回顶部 ===== */
#back-to-top {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff; border: 0; border-radius: 50%;
    box-shadow: var(--shadow-btn); opacity: 0; visibility: hidden;
    transition: all .3s var(--ease-smooth);
}
#back-to-top svg { width: 22px; height: 22px; }
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }
@media (max-width: 640px) { #back-to-top { right: 1rem; bottom: 1rem; width: 44px; height: 44px; } }

/* ===== 页脚 ===== */
.footer { background: var(--dark); color: #fff; padding: 0 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
/* 首页页脚含「常用功能」列，四栏均分 */
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.footer__brand svg { width: 28px; height: 28px; color: var(--primary); }
.footer__brand span { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: 1.3rem; font-weight: 700; }
.footer__desc { color: var(--gray-400); font-size: .88rem; line-height: 1.9; max-width: 34rem; }
.footer h4 { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: 1rem; margin: 0 0 1rem; color: #fff; }
.footer__links li { margin-bottom: .6rem; }
.footer__links a { color: var(--gray-400); font-size: .89rem; transition: color .3s ease, padding-left .3s ease; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.4rem; text-align: center; color: var(--gray-400); font-size: .8rem; line-height: 1.9; }
.footer__bottom a { color: var(--accent); }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,.07); color: var(--gray-400); transition: all .3s ease;
}
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ===== 滚动入场动画 ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth); will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== 首页（总览）专有：城市卡片 ===== */
.city-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
@media (min-width: 640px)  { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
.city-card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius-card); overflow: hidden;
    box-shadow: var(--shadow-card); transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.city-card__media { position: relative; height: 168px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.city-card__media svg { width: 68px; height: 68px; color: rgba(255,255,255,.9); transition: transform .5s var(--ease-smooth); filter: drop-shadow(0 6px 16px rgba(0,0,0,.25)); }
/* 城市卡片封面图：有图时铺满封面，并压一层暗角保证城市名可读 */
.city-card__media.has-photo .city-card__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .6s var(--ease-smooth);
}
.city-card__media.has-photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.58) 100%);
}
.city-card__media.has-photo svg { display: none; }
.city-card__media.has-photo strong { z-index: 2; }
.city-card:hover .city-card__media.has-photo .city-card__img { transform: scale(1.07); }
.city-card:hover .city-card__media svg { transform: scale(1.12); }
.city-card__media strong {
    position: absolute; left: 1.1rem; bottom: .9rem; font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif;
    font-size: 1.6rem; color: #fff; letter-spacing: .12em; text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.city-card__body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.city-card__tag { font-size: .8rem; color: var(--primary); font-weight: 500; margin-bottom: .35rem; }
.city-card__desc { font-size: .87rem; color: var(--gray-600); line-height: 1.7; margin-bottom: .9rem; }
.city-card__spots { font-size: .78rem; color: var(--gray-400); margin-bottom: 1rem; }
.city-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; font-weight: 500; color: var(--primary); }
.city-card__link svg { width: 15px; height: 15px; transition: transform .3s ease; }
.city-card:hover .city-card__link svg { transform: translateX(4px); }

/* ===== 旅行贴士 ===== */
.tips { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 760px) { .tips { grid-template-columns: repeat(3, 1fr); } }
.tip {
    background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card);
    padding: 1.6rem 1.6rem 1.7rem; border-top: 3px solid var(--primary);
    transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
    min-width: 0;                                   /* 三卡严格等宽：内部横滑条不撑开列宽 */
}
.tip > *{ min-width: 0; }
.tip:nth-child(2) { border-top-color: var(--secondary); }
.tip:nth-child(3) { border-top-color: var(--accent); }
.tip:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.tip__icon {
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: .9rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(25,59,56,.08); color: var(--primary);
}
.tip:nth-child(2) .tip__icon { background: rgba(30,58,138,.08); color: var(--secondary); }
.tip:nth-child(3) .tip__icon { background: rgba(251,191,36,.16); color: #B45309; }
.tip__icon svg { width: 24px; height: 24px; }
.tip h4 { font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', STSong, SimSun, serif; font-size: 1.05rem; color: var(--dark); margin: 0 0 .5rem; }
.tip p { font-size: .88rem; color: var(--gray-600); line-height: 1.8; }

/* ===== 主题渐变（卡片封面 / Hero / 弹窗头部共用） ===== */
[data-theme="danxia"]:not(.city-card):not(.cd-page):not(.gc-page)   { background: linear-gradient(135deg,#7C2D12 0%,#C2410C 38%,#F59E0B 68%,#FCD34D 100%); }
[data-theme="grotto"]:not(.city-card):not(.cd-page):not(.gc-page)   { background: linear-gradient(135deg,#4C1D0B 0%,#92400E 45%,#D97706 100%); }
[data-theme="temple"]:not(.city-card):not(.cd-page):not(.gc-page)   { background: linear-gradient(135deg,#7F1D1D 0%,#B91C1C 50%,#F59E0B 100%); }
[data-theme="mountain"]:not(.city-card):not(.cd-page):not(.gc-page) { background: linear-gradient(135deg,#064E3B 0%,#047857 48%,#34D399 100%); }
[data-theme="desert"]:not(.city-card):not(.cd-page):not(.gc-page)   { background: linear-gradient(135deg,#78350F 0%,#D97706 48%,#FDE68A 100%); }
[data-theme="grassland"]:not(.city-card):not(.cd-page):not(.gc-page){ background: linear-gradient(135deg,#065F46 0%,#10B981 52%,#A7F3D0 100%); }
[data-theme="river"]:not(.city-card):not(.cd-page):not(.gc-page)    { background: linear-gradient(135deg,#1E3A8A 0%,#2563EB 48%,#93C5FD 100%); }
[data-theme="wall"]:not(.city-card):not(.cd-page):not(.gc-page)     { background: linear-gradient(135deg,#5B3A1E 0%,#8B5A2B 48%,#D6B36A 100%); }
[data-theme="museum"]:not(.city-card):not(.cd-page):not(.gc-page)   { background: linear-gradient(135deg,#1F2937 0%,#475569 50%,#94A3B8 100%); }
[data-theme="lake"]:not(.city-card):not(.cd-page):not(.gc-page)     { background: linear-gradient(135deg,#0E7490 0%,#06B6D4 52%,#A5F3FC 100%); }
[data-theme="night"]:not(.city-card):not(.cd-page):not(.gc-page)    { background: linear-gradient(135deg,#111827 0%,#1E3A8A 50%,#6D28D9 100%); }
[data-theme="city"]:not(.city-card):not(.cd-page):not(.gc-page)     { background: linear-gradient(135deg,#1E3A8A 0%,#4F46E5 52%,#C7D2FE 100%); }
[data-theme="vineyard"]:not(.city-card):not(.cd-page):not(.gc-page) { background: linear-gradient(135deg,#4C1D95 0%,#7C3AED 52%,#C4B5FD 100%); }
[data-theme="red"]:not(.city-card):not(.cd-page):not(.gc-page)      { background: linear-gradient(135deg,#7F1D1D 0%,#DC2626 52%,#FCA5A5 100%); }
[data-theme="snow"]:not(.city-card):not(.cd-page):not(.gc-page)     { background: linear-gradient(135deg,#0C4A6E 0%,#0284C7 50%,#E0F2FE 100%); }
[data-theme="canyon"]:not(.city-card):not(.cd-page):not(.gc-page)   { background: linear-gradient(135deg,#3F2020 0%,#9A3412 46%,#FDBA74 100%); }
[data-theme="dune"]:not(.city-card):not(.cd-page):not(.gc-page)     { background: linear-gradient(135deg,#B45309 0%,#F59E0B 46%,#FDE68A 100%); }
[data-theme="forest"]:not(.city-card):not(.cd-page):not(.gc-page)   { background: linear-gradient(135deg,#14532D 0%,#15803D 48%,#86EFAC 100%); }
[data-theme="redflag"]:not(.city-card):not(.cd-page):not(.gc-page)  { background: linear-gradient(135deg,#7F1D1D 0%,#B91C1C 50%,#FCA5A5 100%); }
[data-theme="spring"]:not(.city-card):not(.cd-page):not(.gc-page)   { background: linear-gradient(135deg,#0F766E 0%,#14B8A6 50%,#99F6E4 100%); }
[data-theme="gansu"]:not(.city-card):not(.cd-page):not(.gc-page)    { background: linear-gradient(135deg,#7F1D1D 0%,#193B38 30%,#E85D75 52%,#D8B474 78%,#8B5A2B 100%); }

/* ===== 响应式细节 ===== */
@media (max-width: 640px) {
    .section { padding: 3.5rem 0; }
    .detail-header { height: 200px; }
    .detail-header svg.detail-header__icon { width: 84px; height: 84px; }
    .detail-body { padding: 1.25rem 1.25rem 1.6rem; }
    .detail-info-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero { min-height: 80vh; }
}

/* ===== 打印 & 动效偏好 ===== */
@media print {
    .navbar, .footer, #back-to-top, .skip-link, .detail-overlay { display: none !important; }
    body { font-size: 13pt; color: #000; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero { min-height: auto; padding: 2rem 0; color: #000; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero-enter { opacity: 1 !important; transform: none !important; }
}
/* 未启用脚本时（JS 被禁用）内容直接可见，避免滚动动画导致内容不可见 */
@media (scripting: none) {
    .reveal { opacity: 1 !important; transform: none !important; }
    .heading-line::after { width: 5rem !important; }
    .hero-enter { opacity: 1 !important; transform: none !important; }
}


/* ===== 图片占位框（无实拍图时统一显示，便于后续手动替换） ===== */
.img-placeholder{
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
    background:
        linear-gradient(135deg, rgba(25,59,56,.05), rgba(251,191,36,.07)),
        repeating-linear-gradient(45deg, var(--gray-100) 0 12px, var(--gray-50) 12px 24px);
    color: var(--gray-400); font-size: .72rem; letter-spacing: .12em; z-index: 1;
}
.img-placeholder svg{ width: 26px; height: 26px; opacity: .5; }

/* ===== 风味美食：卡片内嵌横向滚动小卡片列表 ===== */
.food-strip{
    display: flex; gap: .7rem;
    overflow-x: auto; overflow-y: hidden;            /* 只横向滚动，内容不越出卡片 */
    padding: .15rem .1rem .55rem;
    margin: 0 -.15rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.food-strip::-webkit-scrollbar{ height: 5px; }
.food-strip::-webkit-scrollbar-track{ background: var(--gray-100); border-radius: 9999px; }
.food-strip::-webkit-scrollbar-thumb{ background: var(--gray-300); border-radius: 9999px; }
.food-strip::-webkit-scrollbar-thumb:hover{ background: var(--gray-400); }
.food-card{
    flex: 0 0 auto; width: 136px; scroll-snap-align: start;
    background: var(--gray-50);
    border: 1px solid var(--gray-200); border-radius: .6rem;
    overflow: hidden;
    transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}
.food-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-card); }
.food-card__media{ position: relative; height: 76px; background: var(--gray-100); }
.food-card__media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.food-card__name{
    font-size: .82rem; font-weight: 600; color: var(--dark);
    padding: .45rem .55rem 0; line-height: 1.4;
}
.food-card__desc{
    font-size: .71rem; color: var(--gray-500); line-height: 1.65;
    padding: .18rem .55rem .55rem; margin: 0;
}


/* ===== 板块语音朗读按钮（voice.js 驱动）===== */
.voice-btn{
    display: inline-flex; align-items: center; gap: .3rem;
    margin-left: .7rem; vertical-align: middle;
    font-family: 'Noto Sans SC', -apple-system, sans-serif;
    font-size: .76rem; font-weight: 500; letter-spacing: .02em;
    color: var(--primary); background: rgba(25,59,56,.07);
    border: 1px solid rgba(25,59,56,.22); border-radius: 9999px;
    padding: .26rem .72rem; cursor: pointer; white-space: nowrap;
    transition: background-color .3s var(--ease-smooth), color .3s var(--ease-smooth),
                border-color .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}
.voice-btn:hover{ background: rgba(25,59,56,.13); border-color: rgba(25,59,56,.4); }
.voice-btn:focus-visible{ outline: 2px solid var(--primary); outline-offset: 2px; }
.voice-btn.is-playing{
    background: var(--primary); color: #fff; border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(25,59,56,.22);
}
.voice-btn.is-playing::after{                 /* 播放中的小动效 */
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: #fff; margin-left: .15rem;
    animation: voicePulse 1s ease-in-out infinite;
}
@keyframes voicePulse{ 0%,100%{ opacity: .35; transform: scale(.8); } 50%{ opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce){ .voice-btn.is-playing::after{ animation: none; } }


/* 风味美食小卡 · 角标（如「招牌必吃」「非遗」） */
.food-card__media{ position: relative; }
.food-card__tag{
    position: absolute; left: .4rem; top: .4rem; z-index: 2;
    padding: .12rem .45rem; border-radius: .25rem;
    font-size: .62rem; letter-spacing: .06em; line-height: 1.5;
    color: #FFF6E2; background: rgba(181, 43, 67, .88);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}


/* ===== 城市页「延伸探索」：横向条目，不用卡片 ===== */
.explore-more { background: var(--light); }
.explore-links { display: grid; border-top: 1px solid rgba(38,61,56,.14); }
.explore-link {
    display: grid; grid-template-columns: 10rem minmax(0,1fr) auto; align-items: center;
    gap: .3rem 1.2rem; padding: 1.15rem .2rem; text-decoration: none;
    border-bottom: 1px solid rgba(38,61,56,.14); color: var(--dark);
    transition: background .25s ease, padding .25s ease;
}
.explore-link:hover { background: rgba(216,180,116,.10); padding-left: .6rem; }
.explore-link__k {
    font-size: .72rem; letter-spacing: .14em; color: var(--ochre, #A95F45);
    font-family: ui-monospace, Menlo, monospace;
}
.explore-link__t { font-family: 'Noto Serif SC', serif; font-size: 1.05rem; }
.explore-link__d { grid-column: 2; font-size: .82rem; color: #6B6459; }
.explore-link__go { grid-row: 1 / span 2; grid-column: 3; font-size: 1.1rem; color: var(--accent); }
@media (max-width: 720px) {
    .explore-link { grid-template-columns: 1fr auto; }
    .explore-link__d { grid-column: 1; }
}


/* 首屏用五联拼贴时：画面更密，需要更重的压暗与居中留白 */
.hero--atlas .hero__bg.has-photo + .hero__overlay {
    background:
        radial-gradient(58% 52% at 50% 44%, rgba(8,12,14,.58) 0%, rgba(8,12,14,.32) 56%, rgba(8,12,14,.04) 82%),
        linear-gradient(180deg, rgba(8,12,14,.52) 0%, rgba(8,12,14,.18) 32%, rgba(12,10,8,.38) 78%, rgba(12,10,8,.62) 100%);
}
.hero--atlas .hero__bg { filter: brightness(1.12) saturate(1.02) contrast(1.01); }
.hero__credit {
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: calc(clamp(84px, 11vw, 160px) + 6px); z-index: 3;
    font-size: .66rem; letter-spacing: .08em; color: rgba(255,255,255,.42);
    white-space: nowrap; pointer-events: none;
}
@media (max-width: 760px) { .hero__credit { display: none; } }


/* 手机端：拼贴近乎 16:9，竖屏只会裁到中间一块，改用单张月牙泉实景 */
@media (max-width: 760px) {
    .hero--atlas .hero__bg { background-image: url('assets/img/hero-mobile.jpg') !important; background-position: center 38%; }
    /* 单张照片不需要拼贴那么重的压暗 */
    .hero--atlas .hero__overlay {
        background:
            radial-gradient(115% 85% at 50% -6%, rgba(10,14,20,.74) 0%, rgba(10,14,20,.20) 50%, rgba(10,14,20,.04) 74%),
            linear-gradient(180deg, rgba(10,14,20,.52) 0%, rgba(10,14,20,.12) 38%, rgba(26,18,12,.38) 78%, rgba(26,18,12,.62) 100%);
    }
}

/* ===== 城市专属内容模块（漫步 / 壁画 / 地质 / 礼仪）===== */
.cmod { padding: clamp(2.6rem, 5vw, 4.2rem) 0; background: var(--light); }
.cmod:nth-of-type(even) { background: #FFFDF8; }
.cmod__head { max-width: 46rem; margin-bottom: 1.8rem; }
.cmod__eyebrow {
    display: block; font-size: .7rem; letter-spacing: .24em; color: var(--ochre, #A95F45);
    font-family: ui-monospace, Menlo, monospace; margin-bottom: .5rem;
}
.cmod__head h2 {
    font-family: 'Noto Serif SC', serif; font-size: clamp(1.45rem, 3vw, 2.05rem);
    margin: 0 0 .7rem; color: var(--dark);
}
.cmod__intro { margin: 0; color: #5C584F; line-height: 1.95; font-size: .95rem; }
.cmod__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .9rem 0 0; padding: 0; }
.cmod__meta li { font-size: .76rem; color: #8A7C68; position: relative; padding-left: .9rem; }
.cmod__meta li::before { content: ''; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* 漫步路线 */
.cmod__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid rgba(169,95,69,.25); }
.cmod__steps li { display: grid; grid-template-columns: 3.2rem minmax(0,1fr); gap: .2rem 1rem; padding: 1rem 0 1rem 1.2rem; position: relative; }
.cmod__steps li::before {
    content: ''; position: absolute; left: -4.5px; top: 1.65rem; width: 8px; height: 8px;
    border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(216,180,116,.28);
}
.cmod__no { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; color: #A08F76; letter-spacing: .08em; }
.cmod__steps b { display: block; font-size: 1rem; color: var(--dark); margin-bottom: .2rem; }
.cmod__steps p { margin: 0; font-size: .87rem; line-height: 1.9; color: #5F5A51; }

/* 石窟案例 */
.cmod__cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cmod__cases li {
    display: grid; grid-template-columns: 15rem minmax(0,1fr); gap: 1.2rem;
    padding: 1.05rem 0; border-top: 1px solid rgba(38,61,56,.12);
}
.cmod__cave b { display: block; font-family: 'Noto Serif SC', serif; font-size: 1.05rem; color: var(--dark); }
.cmod__cave span { font-size: .74rem; letter-spacing: .08em; color: var(--ochre, #A95F45); }
.cmod__cases p { margin: 0; font-size: .88rem; line-height: 1.9; color: #55514A; }

/* 地质 FAQ */
.cmod__blocks { margin: 0; display: grid; gap: 0; }
.cmod__blocks > div { display: grid; grid-template-columns: 11rem minmax(0,1fr); gap: 1.4rem; padding: 1rem 0; border-top: 1px solid rgba(38,61,56,.12); }
.cmod__blocks dt { font-size: .92rem; font-weight: 600; color: var(--dark); }
.cmod__blocks dd { margin: 0; font-size: .88rem; line-height: 1.9; color: #55514A; }

/* 礼仪清单 */
.cmod__rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem 2.2rem; }
.cmod__rules li { padding-left: .9rem; border-left: 2px solid rgba(169,95,69,.3); }
.cmod__rules b { display: block; font-size: .92rem; color: var(--dark); margin-bottom: .2rem; }
.cmod__rules p { margin: 0; font-size: .85rem; line-height: 1.85; color: #5F5A51; }

.cmod__shoot, .cmod__note {
    margin: 1.2rem 0 0; padding: .85rem 1rem; font-size: .82rem; line-height: 1.9; color: #4F5A54;
    background: rgba(216,180,116,.12); border-left: 3px solid var(--accent);
}
.cmod__note { background: rgba(169,95,69,.07); border-left-color: var(--ochre, #A95F45); }

@media (max-width: 760px) {
    .cmod__cases li, .cmod__blocks > div { grid-template-columns: 1fr; gap: .35rem; }
    .cmod__rules { grid-template-columns: 1fr; }
    .cmod__steps li { grid-template-columns: 2.4rem minmax(0,1fr); }
}

/* 时间轴模块 */
.cmod__timeline { list-style: none; margin: 0; padding: 0 0 0 1.2rem; border-left: 1px solid rgba(169,95,69,.25); }
.cmod__timeline li { display: grid; grid-template-columns: 8.5rem minmax(0,1fr); gap: .2rem 1.2rem; padding: 1rem 0 1rem 1.1rem; position: relative; }
.cmod__timeline li::before {
    content: ''; position: absolute; left: -4.5px; top: 1.6rem; width: 8px; height: 8px; border-radius: 50%;
    background: var(--ochre, #A95F45); box-shadow: 0 0 0 3px rgba(169,95,69,.16);
}
.cmod__year { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; letter-spacing: .06em; color: var(--ochre, #A95F45); padding-top: .15rem; }
.cmod__timeline b { display: block; font-size: 1rem; color: var(--dark); margin-bottom: .2rem; }
.cmod__timeline p { margin: 0; font-size: .87rem; line-height: 1.9; color: #5F5A51; }
@media (max-width: 760px) { .cmod__timeline li { grid-template-columns: 1fr; gap: .15rem; } }

/* 模块正文限制行宽，避免长行难读 */
.cmod__steps, .cmod__cases, .cmod__blocks, .cmod__rules, .cmod__timeline { max-width: 58rem; }
.cmod__shoot, .cmod__note { max-width: 58rem; }


/* ===== 页脚装饰带（敦煌纹样，全站共用） ===== */
.footer::before {
    content: ''; display: block;
    height: clamp(112px, 14vw, 200px);   /* 花纹 : 纯色 ≈ 3 : 7 */
    margin: 0;
    background: url('assets/img/footer-band.jpg') center center / cover no-repeat;
}
.footer .container { padding-top: clamp(1.6rem, 3vw, 2.6rem); }
@media (max-width: 640px) {
    .footer::before { height: 76px; background-position: center 42%; }
}


/* ===== 旅行路线：顶部双图横幅 ===== */
.rt-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--dark); }
/* 首屏下方的辅助风景条：只做视觉过渡，不再占据大块高度 */
.rt-photos--slim { gap: 12px; background: none; padding: 1.2rem 0 0; max-width: 1200px; margin: 0 auto; }
.rt-photos--slim .rt-photo { height: 158px; border-radius: .75rem; }
.rt-photos--slim .rt-photo figcaption { font-size: .78rem; left: 1rem; bottom: .8rem; }
.rt-photo { margin: 0; position: relative; height: clamp(220px, 28vw, 360px); overflow: hidden; }
.rt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.rt-photo:hover img { transform: scale(1.03); }
.rt-photo::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(12,16,14,.30) 0%, rgba(12,16,14,0) 46%, rgba(12,16,14,.55) 100%);
}
.rt-photo figcaption {
    position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
    font-size: .78rem; letter-spacing: .1em; color: rgba(255,255,255,.92);
    text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
@media (max-width: 760px) {
    .rt-photos { grid-template-columns: 1fr; }
    .rt-photo { height: 150px; }
    .rt-photos--slim .rt-photo { height: 132px; }
}


/* 选中文字：沙金薄底（2026-10-21） */
::selection { background: rgba(216,180,116,.32); color: var(--dark); }
/* 数据条数字等宽，避免逐字宽度跳动 */
.stats__num { font-variant-numeric: tabular-nums; }

/* ===== 首页序章 · 三个问题（2026-10-21） ===== */
.prologue {
    background: var(--light);
    border-top: 1px solid rgba(38, 61, 56, .08);
    border-bottom: 1px solid rgba(38, 61, 56, .08);
}
.prologue .home-head { display: block; margin-bottom: clamp(1.8rem, 3.2vw, 2.6rem); text-align: left; }
.prologue .home-head .eyebrow { margin-bottom: .7rem; }
.prologue .home-head h2 { margin: 0; }
.prologue .home-head__meta { display: none; }

.prologue__list {
    display: grid;
    gap: 0;
    max-width: 62rem;
    border-top: 1px solid rgba(38, 61, 56, .14);
}

.prologue__item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: clamp(1rem, 2.4vw, 2.2rem);
    padding: clamp(1.4rem, 2.4vw, 1.9rem) 0;
    border-bottom: 1px solid rgba(38, 61, 56, .1);
}

.prologue__no {
    font-family: var(--font-serif, "Noto Serif SC", serif);
    font-size: 1.05rem;
    letter-spacing: .06em;
    color: var(--ochre);
    padding-top: .15rem;
}

.prologue__body h3 {
    margin: 0 0 .55rem;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--dark);
}

.prologue__body p {
    margin: 0;
    font-size: .96rem;
    line-height: 1.95;
    color: var(--secondary);
    max-width: 46rem;
}

.prologue__links {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.4rem;
    margin-top: .85rem !important;
    font-size: .9rem;
}
.prologue__links a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(25, 59, 56, .28);
    padding-bottom: 1px;
    transition: border-color .2s ease, color .2s ease;
}
.prologue__links a:hover,
.prologue__links a:focus-visible {
    color: var(--ochre);
    border-color: var(--ochre);
}

@media (max-width: 640px) {
    .prologue__item { grid-template-columns: 2.6rem minmax(0, 1fr); gap: .7rem; }
    .prologue__no { font-size: .92rem; }
    .prologue__body p { font-size: .93rem; line-height: 1.9; }
}

/* ---------- 城市页导航：首屏透明（只留顶部渐隐保证白字可读），滚动后转深绿玻璃 ---------- */
body.cd-page .navbar {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    transition: background .35s ease, box-shadow .35s ease;
}
body.cd-page .navbar .brand__name,
body.cd-page .navbar .nav__link { text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
body.cd-page .navbar::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 17, 15, .62), rgba(10, 17, 15, .18) 58%, transparent);
    transition: opacity .35s ease;
}
body.cd-page.nav-scrolled .navbar {
    background: rgba(22, 40, 37, .88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
body.cd-page.nav-scrolled .navbar::before { opacity: 0; }

/* ---------- 统一底色：城市页 / 国潮页的实底改为透出 body 的宣纸背景图 ---------- */
.cd-page, .gc-page { background-color: transparent; }

/* ---------- 版面底色：浅色板块改为透出 body 背景图（背景图片.png） ---------- */
body .citywall, body .aiband, body .gc-sec--paper, body .sec--paper, body .band--paper { background-color: transparent; }

/* 白色卡片面改为半透明暖白，让背景图透出来 */
body .cwcard--more { background-color: rgba(253, 250, 244, .78); }
body .map-card, body .gc-card, body .gc-swatch, body .gc-idea, body .gc-craft { background-color: rgba(253, 250, 244, .86); }
body .cf-input, body .cf-suggest { background-color: rgba(253, 250, 244, .94); }

/* 城市卡片：不再被 [data-theme] 渐变染成整块颜色，改半透明暖白 */
body .city-card { background-image: none; background-color: rgba(253, 250, 244, .9); }

/* ---------- 城市详情页：整页固定水墨长卷背景（滚动时画面不动） ---------- */
body.cd-page {
    background-color: #FBF7EE;
    background-image: url('assets/img/city-paper.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}
@media (max-width: 760px) {
    /* 移动端部分浏览器不支持 fixed 背景，退回随页滚动，避免空白 */
    body.cd-page { background-attachment: scroll; background-position: center top; }
}

/* ---------- 页脚压缩（全站）：高度约减 1/3，「更多地市」分两列 ---------- */
.footer { padding-bottom: 1.1rem; }
.footer::before { height: clamp(42px, 4.5vw, 70px); }
.footer__grid { gap: 1.5rem; }
.footer__brand { margin-bottom: .65rem; }
.footer__desc { font-size: .83rem; line-height: 1.75; margin-bottom: .5rem; }
.footer h4 { margin-bottom: .5rem; font-size: .86rem; letter-spacing: .04em; }
.footer__links li { margin-bottom: .32rem; }
.footer__links a { font-size: .84rem; }
.socials { margin-top: .8rem; }
.footer__bottom { margin-top: 1.4rem; padding-top: 1rem; font-size: .76rem; line-height: 1.8; }
/* 最后一列（更多地市）两列排布，省一半高度 */
.footer__grid > div:last-child .footer__links { column-count: 2; column-gap: 1.4rem; }
.footer__grid > div:last-child .footer__links li { break-inside: avoid; }
@media (max-width: 760px) {
    .footer::before { height: 38px; }
    .footer__grid { gap: 1.1rem; }
    .footer__grid > div:last-child .footer__links { column-count: 2; }
}

/* ==========================================================================
   页脚 v2：装饰带 50–80px + 四栏 + 版权条
   ========================================================================== */
.footer {
    position: relative;
    background: #203B33;
    color: #cfd8d2;
    padding: 0;
    overflow: hidden;
}
.footer::before { display: none; }              /* 旧的整幅花纹带停用 */
.footer__deco {
    height: clamp(50px, 5.4vw, 80px);
    background: url('assets/img/footer-band.jpg') center 42% / cover no-repeat;
    opacity: .55;
    filter: saturate(.75);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, .35) 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, .35) 82%, transparent 100%);
}
.footer__main { max-width: 1200px; margin: 0 auto; padding: 1.6rem 0 .4rem; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(1.2rem, 2.6vw, 2.4rem);
    padding-bottom: 1.5rem;
}
.footer__brand { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.footer__brand svg { width: 24px; height: 24px; color: #d8b474; }
.footer__brand span {
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
    font-size: 1.25rem; font-weight: 700; color: #f3e6c8; letter-spacing: .08em;
}
.footer__en { margin: 0 0 .7rem; font-size: .64rem; letter-spacing: .26em; color: rgba(216, 180, 116, .78); }
.footer__desc { margin: 0 0 .9rem; font-size: .84rem; line-height: 1.85; color: #a9b8af; max-width: 26rem; }
.footer__col h4 {
    margin: 0 0 .7rem; font-size: .82rem; font-weight: 600; letter-spacing: .12em; color: #d8b474;
}
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .38rem; }
.footer__links a {
    font-size: .84rem; line-height: 1.7; color: #b9c6bf; text-decoration: none;
    transition: color .2s ease;
}
.footer__links a:hover { color: #e6cd97; }
.socials { display: flex; gap: .5rem; margin-top: .2rem; }
.socials a {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid rgba(216, 180, 116, .3);
    color: #d8b474; text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}
.socials a:hover { background: rgba(216, 180, 116, .12); border-color: rgba(216, 180, 116, .6); }
.socials svg { width: 14px; height: 14px; }
.footer__bottom {
    display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding: 1rem 0 1.3rem;
    font-size: .76rem; color: #93a49c;
}
.footer__bottom p { margin: 0; line-height: 1.8; }
.footer__bottom-links { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.footer__bottom-links a { color: #b9c6bf; text-decoration: none; }
.footer__bottom-links a:hover { color: #e6cd97; }
.footer__bottom-links i { font-style: normal; color: rgba(217, 180, 116, .5); }

@media (max-width: 900px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
    .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
    .footer__col--brand { grid-column: 1 / -1; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   导航栏纹样：在深色导航条上显示，城市页 / 景点页首屏透明状态隐藏
   —— 旧纹样压到导航下沿，用户线稿叠加在上层，整体只做轻肌理
   ========================================================================== */
.navbar {
    background-image: none !important;
    isolation: isolate;
}
/* 导航栏只使用用户提供的线稿纹样，居中放在导航中间
   图片源：_source/导航栏纹样.png；若部署时排除 _source，请复制到 assets/img/ 并同步改路径 */
.navbar::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url('_source/导航栏纹样.png') center 38% / 100% auto no-repeat;
    opacity: .95;
    mix-blend-mode: screen;
    filter: brightness(1.12) contrast(1.06);
    transition: opacity .35s ease;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
}
.navbar__inner,
.navbar .brand,
.navbar .nav { position: relative; z-index: 1; }
.navbar .mobile-menu { z-index: 2; }
/* 城市页：首屏透明无纹样，滚动转实底后显示 */
body.cd-page .navbar { background-image: none !important; }
body.cd-page .navbar::after { opacity: 0; }
body.cd-page.nav-scrolled .navbar::after { opacity: .95; }
/* 景点页：首屏透明无纹样，滚动转实底后显示 */
body.spot-page .navbar:not(.scrolled) { background-image: none !important; }
body.spot-page .navbar:not(.scrolled)::after { opacity: 0; }
body.spot-page .navbar.scrolled::after { opacity: .95; }
/* 国潮页：实底深绿，只保留线稿 */
body.gc-page .navbar { background-image: none !important; }
body.gc-page .navbar::after { opacity: .85; }

/* ==========================================================================
   首屏下的云纹衔接带（全部景点页 / 首页）
   —— 整页宽、压低高度，首页与景点页共用同一套过渡
   ========================================================================== */
.spot-band {
    position: relative;
    display: flow-root;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    line-height: 0;
    z-index: 2;
}
.spot-band img {
    display: block;
    /* 抵消源图顶部透明区：移动整张图片，保留全部花纹。 */
    margin-top: -5.35vw;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 2;
    object-fit: fill;
    object-position: center;
    opacity: 1;
}
/* 首页：与 01 / DESTINATIONS 同屏出现 */
.spot-band--home { margin: 0 auto clamp(1.4rem, 2.8vw, 2.4rem); }
@media (max-width: 900px) {
    .spot-band { width: 100%; }
    .spot-band img { height: auto; }
    .spot-band--home { margin-top: 0; }
}
