/* ============================================================
   Waywander · 官网 1.0 全局样式
   2026-09 · Atland

   使用说明
   1. 本文件是整站唯一样式表，六个页面共用。
   2. 三条线的配色由 body 上的 class 决定（line-tibet / line-sichuan / line-xinjiang），
      只改 --line-color 一个变量就能换整条线的主色。
   3. 加第四条线：复制一个目的地页 HTML，改 body class 与 --line-color 即可，不用改本文件。
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --ink: #0D1826;          /* 深墨蓝 · 主色 */
  --ink-2: #142438;        /* 次级深底 */
  --ink-3: #1B2F47;        /* 图片占位底 */
  --sand: #F4EFE6;         /* 砂白 · 亮底 */
  --sand-2: #FAF7F1;       /* 砂白 · 输入框底 */
  --vermilion: #A8342A;    /* 朱砂红 · 西藏 */
  --pine: #2F5D50;         /* 松绿 · 四川 */
  --ochre: #C89B5A;        /* 砂金 · 新疆 */
  --gold-dark: #8A6A2E;    /* 暗金 · 辅助 */

  /* 文字色 */
  --text-dark: #142438;
  --text-light: #F2F5F8;
  --muted-dark: #6B6459;
  --muted-light: #8FA3BC;
  --muted-line: #7C93AE;
  --border-dark: #1E3348;
  --border-sand: #E3DCCE;

  /* 字体栈 —— 优先系统字体，保证国内首屏不闪、无外网依赖。
     如需 Web 字体，见文件末尾注释中的国内 CDN 接入方式。 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --font-num: "Outfit", "Helvetica Neue", Arial, sans-serif;

  /* 布局 */
  --maxw: 1200px;
  --pad-x: 60px;
  --radius: 14px;
  --radius-sm: 10px;

  /* 当前线路主色（默认西藏），目的地页会被覆盖 */
  --line-color: var(--vermilion);
}

/* 三条线配色覆盖 */
body.line-tibet   { --line-color: var(--vermilion); }
body.line-sichuan { --line-color: var(--pine); }
body.line-xinjiang{ --line-color: var(--ochre); }

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 3. 布局容器 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: 92px 0; }
.section--dark { background: var(--ink); color: var(--text-light); }
.section--ink2 { background: var(--ink-2); color: var(--text-light); }
.section--sand { background: var(--sand); color: var(--text-dark); }

/* ---------- 4. 文字组件 ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  color: var(--line-color);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px;
  background: var(--line-color);
}
.section--dark .eyebrow,
.section--ink2 .eyebrow { color: var(--ochre); }
.section--dark .eyebrow::before,
.section--ink2 .eyebrow::before { background: var(--ochre); }

.h2 { font-size: 34px; line-height: 1.4; letter-spacing: .5px; }
.h3 { font-size: 22px; line-height: 1.45; }
.lead {
  font-size: 15px; line-height: 1.9; color: var(--muted-dark);
  max-width: 680px; margin-top: 14px;
}
.section--dark .lead,
.section--ink2 .lead { color: var(--muted-light); }
.mono { font-family: var(--font-num); font-weight: 600; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 500; font-family: var(--font-sans);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--line-color); color: #fff; }
.btn--primary:hover { opacity: .92; }
.btn--ghost { background: transparent; color: var(--text-light); border-color: #3B526F; }
.btn--ghost:hover { border-color: var(--muted-light); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--outline { background: transparent; color: var(--line-color); border-color: var(--line-color); }
.btn--block { display: flex; width: 100%; }

/* ---------- 6. 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 24, 38, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #1C2E44;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x);
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--vermilion); }
.nav__name { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--text-light); }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 14px; font-weight: 500; color: #C3D0DE; }
.nav__links a:hover { color: #fff; }
.nav__links a.is-active { color: var(--line-color); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__tel { font-family: var(--font-num); font-weight: 600; font-size: 14px; color: #C3D0DE; }
.nav__toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  cursor: pointer; padding: 0;
}
.nav__toggle span {
  display: block; height: 2px; background: #C3D0DE; margin: 5px 0; border-radius: 2px;
}

/* ---------- 7. 首屏 ---------- */
.hero {
  display: flex; align-items: center; gap: 56px;
  padding: 88px 0 96px; background: var(--ink);
}
.hero__text { flex: 1; max-width: 620px; }
.hero__title {
  font-size: 48px; line-height: 1.3; color: var(--text-light); margin: 22px 0 20px;
}
.hero__sub { font-size: 15px; line-height: 1.9; color: var(--muted-light); }
.hero__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero__media { position: relative; width: 440px; flex: none; }
.hero__frame {
  position: absolute; inset: 20px 30px 0 0;
  border: 1.5px solid rgba(168, 52, 42, .5); border-radius: 12px;
}
.hero__img { position: relative; border-radius: 12px; overflow: hidden; }

/* ---------- 8. 图片占位块 ----------
   拿到真实照片后，把 <div class="ph"> 整段替换为 <img src="..."> 即可。 */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 160px;
  background: linear-gradient(135deg, var(--ink-3), #243C57);
  display: flex; align-items: center; justify-content: center;
  color: rgba(242, 245, 248, .45);
  font-size: 13px; font-family: var(--font-sans); letter-spacing: 1px;
  text-align: center; padding: 12px;
}
.ph::after {
  content: attr(data-label);
}
.ph--sand { background: linear-gradient(135deg, #DDD4C5, #CFC5B4); color: rgba(20, 36, 56, .4); }

/* ---------- 9. 三线图卡 ---------- */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.lcard {
  background: #fff; border: 1px solid var(--border-sand); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.lcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 36, 56, .12); }
.lcard__bar { height: 5px; background: var(--line-color); }
.lcard__img { height: 200px; }
.lcard__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lcard__meta { font-size: 12px; font-weight: 500; color: var(--line-color); }
.lcard__title { font-size: 26px; }
.lcard__desc { font-size: 13px; line-height: 1.85; color: var(--muted-dark); flex: 1; }
.lcard__price { font-family: var(--font-num); font-weight: 600; font-size: 13px; color: var(--text-dark); }

/* ---------- 10. 通用卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 26px 24px 28px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.card--dark { background: var(--ink-2); border: 1px solid #3B526F; }
.card--light { background: #fff; border: 1px solid var(--border-sand); }
.card__num { font-family: var(--font-num); font-weight: 700; font-size: 13px; color: var(--line-color); }
.card__title { font-size: 18px; color: var(--text-light); }
.card--light .card__title { color: var(--text-dark); }
.card__desc { font-size: 13px; line-height: 1.85; color: var(--muted-light); }
.card--light .card__desc { color: var(--muted-dark); }

/* ---------- 11. 线路概览条 ---------- */
.overview {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink-2); border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.overview__item { padding: 28px 0; text-align: center; border-left: 1px solid var(--border-dark); }
.overview__item:first-child { border-left: 0; }
.overview__val { font-family: var(--font-num); font-weight: 700; font-size: 30px; color: var(--text-light); }
.overview__item:last-child .overview__val { color: var(--line-color); }
.overview__label { font-size: 13px; color: var(--muted-light); }

/* ---------- 12. 站点卡 ---------- */
.spot { background: #fff; border: 1px solid var(--border-sand); border-radius: 12px; overflow: hidden; }
.spot__img { height: 150px; }
.spot__body { padding: 18px; display: flex; flex-direction: column; gap: 7px; }
.spot__meta { font-size: 11px; font-weight: 500; color: var(--line-color); }
.spot__name { font-size: 17px; }
.spot__desc { font-size: 12px; line-height: 1.7; color: var(--muted-dark); }

/* ---------- 13. 每日行程 ---------- */
.day { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border-dark); }
.day:last-child { border-bottom: 0; }
.day__no {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: var(--line-color); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 700; font-size: 15px;
}
.day__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.day__title { font-size: 18px; color: var(--text-light); }
.day__desc { font-size: 14px; line-height: 1.8; color: var(--muted-light); }
.day__meta { font-size: 12px; color: var(--muted-line); font-family: var(--font-num); }

/* ---------- 14. 价格与包含项 ---------- */
.price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.price__num { font-family: var(--font-num); font-weight: 700; font-size: 34px; color: var(--text-light); }
.price__unit { font-size: 13px; color: var(--muted-light); }
.incl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 20px; }
.incl__item { display: flex; gap: 10px; font-size: 14px; color: var(--muted-light); }
.incl__item::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--line-color); margin-top: 12px; }

/* ---------- 15. FAQ ---------- */
.faq__item { padding: 22px 0; border-bottom: 1px solid var(--border-dark); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--text-light); margin-bottom: 8px; }
.faq__a { font-size: 14px; line-height: 1.85; color: var(--muted-light); }

/* ---------- 16. CTA 条 ---------- */
.cta {
  background: var(--line-color); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 56px var(--pad-x); flex-wrap: wrap;
}
.cta__inner { max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta__title { font-size: 28px; line-height: 1.4; }
.cta__sub { font-size: 14px; color: rgba(255, 255, 255, .85); margin-top: 8px; }

/* ---------- 17. 表单 ---------- */
.form {
  background: #fff; border: 1px solid var(--border-sand); border-radius: 16px;
  padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 18px 44px rgba(20, 36, 56, .08);
}
.form__title { font-size: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-size: 12px; font-weight: 500; color: #4A443C; }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 13px; color: var(--text-dark);
  background: var(--sand-2); border: 1px solid var(--border-sand);
  border-radius: 8px; padding: 11px 13px; width: 100%;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--line-color);
}
.field textarea { min-height: 84px; resize: vertical; line-height: 1.7; }
.form__note { font-size: 11px; line-height: 1.7; color: #8A8175; }
.form__msg { font-size: 13px; color: var(--pine); display: none; }
.form__msg.is-on { display: block; }

/* ---------- 18. 承诺步骤 ---------- */
.promise { display: flex; flex-direction: column; gap: 16px; }
.promise__item { display: flex; gap: 14px; }
.promise__badge {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: var(--line-color); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 700; font-size: 13px;
}
.promise__title { font-family: var(--font-serif); font-weight: 700; font-size: 15px; }
.promise__desc { font-size: 12px; line-height: 1.7; color: var(--muted-dark); }

/* ---------- 19. 顾问条 ---------- */
.advisor {
  display: flex; align-items: center; gap: 16px;
  padding: 22px var(--pad-x) 26px; background: #fff;
}
.advisor__inner { max-width: var(--maxw); margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 16px; }
.advisor__avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; }
.advisor__name { font-family: var(--font-serif); font-weight: 700; font-size: 16px; }
.advisor__role { font-size: 12px; color: #8A8175; }

/* ---------- 20. 页脚 ---------- */
.footer { background: #091320; padding: 64px 0 32px; color: var(--muted-line); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__big { font-family: var(--font-serif); font-weight: 700; font-size: 30px; line-height: 1.45; color: var(--text-light); max-width: 620px; }
.footer__cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__tel { font-family: var(--font-num); font-weight: 600; font-size: 20px; color: #B9C7D6; }
.footer__div { height: 1px; background: #1A2A3C; margin: 48px 0 32px; }
.footer__cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--text-light); }
.footer__en { font-family: var(--font-num); font-weight: 600; font-size: 10px; letter-spacing: 1.6px; color: #6B7F99; margin-top: 6px; }
.footer__addr { font-size: 13px; line-height: 1.8; margin-top: 14px; }
.footer__coltitle { font-size: 14px; font-weight: 500; color: var(--text-light); margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer__links a:hover { color: var(--text-light); }
.footer__bar {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: #5C7086; padding-top: 24px; border-top: 1px solid #1A2A3C; margin-top: 32px;
}

/* 落地页专用：无导航干扰 */
.page-booking { background: var(--sand); }
.nav--slim .nav__links { display: none; }

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .hero { flex-direction: column; align-items: flex-start; gap: 40px; padding: 64px 0 72px; }
  .hero__media { width: 100%; max-width: 520px; }
  .hero__title { font-size: 40px; }
  .lines { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --pad-x: 22px; }
  .section { padding: 64px 0; }
  .nav__links, .nav__tel { display: none; }
  .nav__toggle { display: block; }
  .nav__links.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid #1C2E44; padding: 8px 0;
  }
  .nav__links.is-open a { padding: 14px 22px; font-size: 15px; }
  .hero__title { font-size: 32px; line-height: 1.35; }
  .h2 { font-size: 26px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .overview { grid-template-columns: repeat(2, 1fr); }
  .overview__item:nth-child(3) { border-left: 0; }
  .incl { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cta { padding: 40px var(--pad-x); }
  .cta__title { font-size: 22px; }
  .footer__big { font-size: 22px; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   附：如需接入 Web 字体（可选）
   Google Fonts 在国内不稳定，如需 Noto Serif SC / Outfit，
   建议用国内镜像，在 </head> 前加：
   <link rel="stylesheet" href="https://fonts.font.im/css?family=Noto+Serif+SC:wght@700&display=swap">
   若镜像不可用，删掉该行即可 —— 系统字体栈已保证可读性。
   ============================================================ */
