/* ============================================================
   ShangrilaGuide · Design System
   视觉语言源自 shangrilaguide.com-2.0（The Cultural Atlas）
   编辑式 / 画册式高原美学
   说明：服务端渲染静态 HTML（SEO/GEO 关键：内容必须在 HTML 里）
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Inter:wght@300;400;500&family=Noto+Serif+SC:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* —— 品牌色（与原项目完全一致）—— */
  --snow-white:    #F7F8F6;
  --prayer-red:    #8C2F39;
  --highland-blue: #2E5E7E;
  --wood-brown:    #5A4632;
  --ink-black:     #121212;
  --tibetan-gold:  #D4AF37;

  --line: rgba(90, 70, 50, .18);
  --maxw: 1240px;

  --font-serif:   'Cormorant Garamond', 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --font-sans:    'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --font-display: 'Playfair Display', 'Cormorant Garamond', 'Noto Serif SC', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink-black);
  background-color: var(--snow-white);
  /* 纸纹质感 */
  background-image:
    radial-gradient(rgba(90,70,50,.035) 1px, transparent 1px),
    radial-gradient(rgba(90,70,50,.025) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--prayer-red); color: #fff; }

a { color: var(--prayer-red); text-decoration: none; }
a:hover { color: var(--ink-black); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-black);
  line-height: 1.25;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0 0 1.1em; color: var(--wood-brown); font-weight: 300; }
ul { color: var(--wood-brown); font-weight: 300; }
li { margin-bottom: .5em; }
b, strong { font-weight: 500; color: var(--ink-black); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Header — 透明 → 滚动后磨砂（对齐原项目 scrolled 行为）
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  padding: 32px 0;
  transition: all .7s cubic-bezier(.4,0,.2,1);
}
.site-header.scrolled {
  background: rgba(247,248,246,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(90,70,50,.10);
  padding: 16px 0;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; gap: 20px;
}
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand .mark { display: none; }   /* 编辑式排版：去掉方块 logo */
.brand > span:last-child {
  font-family: var(--font-serif);
  font-size: 20px; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; transition: color .5s;
}
.site-header.scrolled .brand > span:last-child { color: var(--ink-black); }
.brand small {
  font-family: var(--font-sans);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.75); transition: color .5s;
}
.site-header.scrolled .brand small { color: var(--wood-brown); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-family: var(--font-sans);
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; transition: color .4s;
}
.site-header.scrolled .nav-links a { color: var(--ink-black); }
.nav-links a:hover { color: var(--prayer-red) !important; }
.nav-toggle {
  display: none; background: none; border: 0; font-size: 22px;
  cursor: pointer; color: #fff; transition: color .4s;
}
.site-header.scrolled .nav-toggle { color: var(--ink-black); }

/* ============================================================
   Buttons — 全大写 + 宽字距
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  padding: 15px 32px; border: 1px solid transparent; cursor: pointer;
  transition: all .4s;
  background: var(--ink-black); color: #fff;
}
.btn:hover { background: var(--prayer-red); color: #fff; border-color: var(--prayer-red); }
.btn-gold { background: var(--tibetan-gold); color: var(--ink-black); }
.btn-gold:hover { background: var(--prayer-red); color: #fff; border-color: var(--prayer-red); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--ink-black); border-color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 11px; }

/* ============================================================
   Hero（首页）— 全屏图像 + 遮罩
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background-image: url('https://picsum.photos/id/1036/2400/1400');
  background-size: cover; background-position: center;
  padding: 170px 24px 110px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.48), rgba(0,0,0,.20) 45%, rgba(0,0,0,.68));
}
.hero > .container { position: relative; z-index: 2; }
.hero-deco { display: none; }

.hero .tag {
  display: block; margin-bottom: 30px;
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: .34em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.hero h1 {
  color: #fff; font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(44px, 8vw, 104px); line-height: 1.04;
  margin-bottom: 30px;
}
.hero .lead {
  max-width: 640px; margin: 0 auto 44px;
  font-weight: 300; font-size: 16px; line-height: 1.9;
  color: rgba(255,255,255,.85);
}
.channels {
  display: flex; gap: 30px; justify-content: center; flex-wrap: wrap;
  margin: 0 0 46px; padding: 0; list-style: none;
}
.channel-pill {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
}
.channel-pill b { color: var(--tibetan-gold); font-weight: 400; margin-right: 8px; }

/* ============================================================
   通用区块
   ============================================================ */
.section { padding: 110px 0; }
.section.alt { background: #fff; }

.eyebrow {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--prayer-red); margin-bottom: 18px;
}
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 16px; margin: 0; }

/* ============================================================
   价值卡 — 极简编辑式
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.value-card { background: var(--snow-white); padding: 46px 34px; transition: background .5s; }
.section.alt .value-card { background: #fff; }
.value-card:hover { background: #fff; }
.value-card .ico { font-size: 22px; margin-bottom: 18px; display: block; }
.value-card h3 { font-size: 22px; margin-bottom: 12px; }
.value-card p { font-size: 14.5px; margin: 0; }

/* ============================================================
   景点卡 — 整版图像 + hover 放大 + 文案浮现
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spot-card { position: relative; height: 430px; overflow: hidden; display: block; background: var(--ink-black); }
.spot-card .thumb {
  position: absolute; inset: 0;
  background-size: cover !important; background-position: center !important;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}
.spot-card:hover .thumb { transform: scale(1.09); }
.spot-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.10) 60%, rgba(0,0,0,.25));
  transition: background .6s;
}
.spot-card:hover::after { background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.30) 60%, rgba(0,0,0,.38)); }
.spot-card .body {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 30px; color: #fff;
}
.spot-card h3 {
  color: #fff; font-family: var(--font-serif); font-style: italic;
  font-size: 30px; margin: 0 0 10px; font-weight: 400;
}
.spot-card p {
  color: rgba(255,255,255,.82); font-size: 14px; margin: 0 0 16px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s, opacity .6s;
}
.spot-card:hover p { max-height: 96px; opacity: 1; }
.spot-card .meta {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: .1em;
  color: rgba(255,255,255,.75); display: flex; gap: 14px; flex-wrap: wrap;
  text-transform: uppercase;
}
.spot-card .meta span::before { content: ''; margin: 0; }
.tag-row { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag-chip {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,.4); padding: 4px 10px;
}

/* 各景点主题图（与 attractions/ 子页保持一致） */
.card-grid .spot-card:nth-child(1) .thumb { background-image: url('https://picsum.photos/id/1057/900/1200') !important; }
.card-grid .spot-card:nth-child(2) .thumb { background-image: url('https://picsum.photos/id/1015/900/1200') !important; }
.card-grid .spot-card:nth-child(3) .thumb { background-image: url('https://picsum.photos/id/164/900/1200') !important; }
.card-grid .spot-card:nth-child(4) .thumb { background-image: url('https://picsum.photos/id/1036/900/1200') !important; }
.card-grid .spot-card:nth-child(5) .thumb { background-image: url('https://picsum.photos/id/1043/900/1200') !important; }
.card-grid .spot-card:nth-child(6) .thumb { background-image: url('https://picsum.photos/id/1039/900/1200') !important; }

/* ============================================================
   行程卡
   ============================================================ */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.itin-card { background: var(--snow-white); padding: 46px 34px; }
.itin-card h3 { font-size: 26px; margin-bottom: 18px; }
.itin-card ul { padding-left: 18px; margin: 0 0 28px; }
.itin-card li { font-size: 14px; }

/* ============================================================
   内容页 Hero
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: flex-end;
  background-image: url('https://picsum.photos/id/1018/2000/1100');
  background-size: cover; background-position: center;
  padding: 175px 24px 66px;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.52), rgba(0,0,0,.15) 40%, rgba(0,0,0,.74));
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff; font-size: clamp(38px, 6vw, 74px); font-weight: 300;
  line-height: 1.08; margin-bottom: 18px;
}
.page-hero .lead {
  max-width: 680px; color: rgba(255,255,255,.85);
  font-size: 16px; font-weight: 300; margin: 0;
}
.breadcrumb {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 26px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--tibetan-gold); }
.breadcrumb span { margin: 0 8px; }

/* ============================================================
   正文布局
   ============================================================ */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 72px; align-items: start; }
.aside { position: sticky; top: 120px; }
.aside .box { background: #fff; border: 1px solid var(--line); padding: 30px 26px; margin-bottom: 20px; }
.aside .box h4 {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--prayer-red); margin: 0 0 18px;
}
.aside .box a {
  display: block; font-family: var(--font-serif); font-size: 17px;
  padding: 10px 0; border-bottom: 1px solid rgba(90,70,50,.10); color: var(--ink-black);
}
.aside .box a:last-child { border-bottom: 0; }
.aside .box a:hover { color: var(--prayer-red); }

.callout {
  background: rgba(140,47,57,.06);
  border-left: 2px solid var(--prayer-red);
  padding: 20px 26px; margin: 28px 0;
  font-size: 14.5px; color: var(--wood-brown);
}

/* 事实表 — 细线编辑式 */
.fact-table { width: 100%; border-collapse: collapse; margin: 8px 0 34px; font-family: var(--font-sans); }
.fact-table th, .fact-table td {
  text-align: left; padding: 16px 8px;
  border-bottom: 1px solid rgba(90,70,50,.14);
  font-size: 14.5px; vertical-align: top; font-weight: 300;
}
.fact-table th {
  width: 30%; color: var(--ink-black); font-weight: 400;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding-top: 20px;
}
.fact-table td { color: var(--wood-brown); }

/* ============================================================
   GYG 区块 — 墨黑 + 鎏金
   ============================================================ */
.gyg-section { background: var(--ink-black); color: #fff; }
.gyg-section h2 { color: #fff; }
.gyg-section .eyebrow { color: var(--tibetan-gold); }
.gyg-section .section-head p { color: rgba(255,255,255,.6); }
.gyg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); }
.gyg-card { background: var(--ink-black); padding: 36px 28px; display: flex; flex-direction: column; transition: background .5s; }
.gyg-card:hover { background: #1c1c1c; }
/* A hand-picked card standing alone in the article flow (not inside .gyg-grid) */
.gyg-card--solo { border-radius: 4px; margin: 6px 0 30px; max-width: 580px; }
.gyb-badge, .gyg-badge {
  font-family: var(--font-sans); font-size: 9px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--tibetan-gold); margin-bottom: 16px;
}
.gyg-card h4 { color: #fff; font-family: var(--font-serif); font-size: 21px; margin: 0 0 10px; font-weight: 400; }
.gyg-card p { color: rgba(255,255,255,.55); font-size: 13.5px; margin: 0 0 24px; flex: 1; }
.gyg-card .price { font-family: var(--font-serif); font-size: 18px; color: var(--tibetan-gold); }

/* ----- GYG 实时库存挂件（live iframe） ----- */
.gyg-live { margin: 0 0 30px; }
.gyg-live-head {
  display: flex; align-items: center; gap: 9px; margin: 0 0 14px;
  font-family: var(--font-sans); font-size: 9.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--tibetan-gold);
}
.gyg-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  animation: gygPulse 2.2s infinite; flex: none;
}
@keyframes gygPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.gyg-live [data-gyg-widget] { min-height: 130px; width: 100%; }
.gyg-live iframe { width: 100% !important; border: 0; display: block; }
@media (max-width: 640px) {
  .gyg-live-head { font-size: 8.5px; letter-spacing: .18em; }
}

/* ============================================================
   FAQ 手风琴
   ============================================================ */
.faq-item { border-bottom: 1px solid rgba(90,70,50,.16); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 28px 0; cursor: pointer;
  font-family: var(--font-serif); font-size: 21px; font-weight: 400;
  color: var(--ink-black);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color .4s;
}
.faq-q:hover { color: var(--prayer-red); }
.faq-q::after {
  content: '+'; font-family: var(--font-sans); font-size: 24px; font-weight: 300;
  color: var(--prayer-red); transition: transform .4s; flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.faq-item.open .faq-a { max-height: 520px; }
.faq-a > div { padding: 0 0 30px; }
.faq-a p { font-size: 15px; margin: 0 0 30px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink-black); color: rgba(255,255,255,.55); padding: 92px 0 44px; }
.site-footer h4 {
  color: #fff; font-family: var(--font-sans); font-size: 10px;
  letter-spacing: .26em; text-transform: uppercase; margin: 0 0 22px;
}
.site-footer a { color: rgba(255,255,255,.55); }
.site-footer a:hover { color: var(--tibetan-gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; font-size: 14px; }
.site-footer p { color: rgba(255,255,255,.45); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-note {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 64px; padding-top: 28px;
  font-size: 11.5px; color: rgba(255,255,255,.35);
}
.footer-disclosure {
  margin-top: 14px; padding: 14px 18px; border-radius: 4px;
  background: rgba(255,255,255,.045); border-left: 2px solid var(--tibetan-gold);
  font-size: 11.5px; line-height: 1.75; color: rgba(255,255,255,.45);
}
.footer-disclosure b { color: rgba(255,255,255,.66); font-weight: 600; }

/* ============================================================
   入场动效（对齐原项目 fade-in-up）
   ============================================================ */
.fade-in-up { animation: fadeInUp 1s cubic-bezier(.4,0,.2,1) forwards; opacity: 0; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 980px) {
  .value-grid, .card-grid, .timeline, .gyg-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; gap: 48px; }
  .aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(247,248,246,.98); backdrop-filter: blur(12px);
    flex-direction: column; padding: 20px 24px; gap: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
  }
  .nav-links.show { display: flex; }
  .nav-links a { color: var(--ink-black) !important; }
  .nav-toggle { display: block; }
  .value-grid, .card-grid, .timeline, .gyg-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 74px 0; }
  .spot-card { height: 340px; }
  .hero { min-height: 92vh; padding: 150px 24px 90px; }
  .page-hero { min-height: 52vh; padding: 150px 24px 56px; }
  .faq-q { font-size: 18px; }
}
