/* ============================================================
   时桉 · 行迹本 官网 全局样式 · 响应式规范 v2
   品牌色取自小程序主题：--color-primary #fcca25 / deep #92400e
   ------------------------------------------------------------
   【断点体系】desktop-first，共 4 档（见文件末尾各 media 区块）：
     D 桌面  ≥1024px   横向导航、Hero 双列、功能 3 列、攻略 2 列
     T 平板  768–1023  Hero 上下堆叠、网格降为 2 列、页脚 2 栏
     M 手机  ≤767px    单列布局、汉堡抽屉导航、触控优先、卡片纵排
     S 小屏  ≤400px    收紧字号/间距、隐藏品牌副标题
   标题字号使用 clamp() 在断点之间流式缩放，切换窗口不跳变。

   【交互适配】
     悬停(hover)效果仅在精确指针设备启用：
       @media (hover:hover) and (pointer:fine)
     触屏设备改用 :active 按压反馈；可点目标 ≥ 44px(--tap)；
     键盘导航提供 :focus-visible 描边（PC 无障碍）。

   【分辨率 / DPR】
     插图全部为内联 SVG 矢量，任意缩放与 DPR 下均清晰；
     正文为系统字体栈，无需按分辨率单独适配。
   ============================================================ */

:root {
  /* ---- 色彩 ---- */
  --primary: #fcca25;
  --primary-deep: #92400e;
  --primary-ink: #78350f;
  --primary-soft: #fef3c7;
  --on-primary: #1f2328;
  --ink: #1f2937;
  --muted: #6b7280;
  --faint: #9ca3af;
  --bg: #fffdf6;
  --card: #ffffff;
  --line: #f0e6c8;
  --line-soft: #f6efdc;
  --shadow: 0 10px 30px rgba(146, 64, 14, 0.08);
  --shadow-lg: 0 18px 50px rgba(146, 64, 14, 0.14);
  --radius: 16px;
  --container: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;

  /* ---- 字号（clamp 流式：min , 随视口增长 , max）---- */
  --fs-hero: clamp(30px, 1.2vw + 26px, 46px);        /* 首页主标题 */
  --fs-h2: clamp(24px, 0.8vw + 21px, 32px);          /* 区块标题 */
  --fs-page-h1: clamp(27px, 0.9vw + 23px, 36px);     /* 二级页大标题 */
  --fs-article-h1: clamp(25px, 0.9vw + 22px, 34px);  /* 文章标题 */
  --fs-legal-h1: clamp(24px, 0.6vw + 22px, 30px);    /* 协议页标题 */

  /* ---- 间距（流式） ---- */
  --sec-pad: clamp(60px, 6vw, 84px);   /* 区块上下留白 */
  --pad-x: clamp(16px, 3vw, 24px);     /* 容器左右留白 */

  /* ---- 触控 ---- */
  --tap: 44px;                          /* 最小可点目标 */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 防装饰元素在窄屏撑出横向滚动 */
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

/* 键盘可达性（主要服务 PC 端） */
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 6px 18px rgba(252, 202, 37, 0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--primary-deep);
  border-color: rgba(146, 64, 14, 0.35);
}
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn .btn-ico { width: 18px; height: 18px; }

/* ---------- 顶部导航（桌面：横向 / 手机：抽屉） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(146, 64, 14, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(252, 202, 37, 0.5);
  flex: none;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand small {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
  display: block;
  line-height: 1.2;
}
.brand-text { line-height: 1.25; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a.is-active { background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; }
.nav-links .nav-cta { margin-left: 8px; }

/* 汉堡按钮（仅手机端显示） */
.nav-toggle {
  display: none;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero（桌面：左文右机） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(252, 202, 37, 0.22), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(254, 243, 199, 0.9), transparent 60%),
    linear-gradient(180deg, #fffcf1 0%, var(--bg) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(146, 64, 14, 0.06);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(252, 202, 37, 0.25);
}
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 14px;
  background: rgba(252, 202, 37, 0.45);
  border-radius: 7px;
  z-index: -1;
}
.hero-desc {
  color: var(--muted);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--faint); margin-top: 14px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .route {
  position: absolute;
  inset: -40px -20px auto -20px;
  width: calc(100% + 40px);
  z-index: 0;
  opacity: 0.9;
}

/* ---------- 手机样机（纯装饰，桌面/平板展示） ---------- */
.phones {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 26px;
  align-items: flex-end;
}
.phone {
  width: 246px;
  background: #111827;
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  flex: none;
}
.phone--back { transform: translateY(26px) scale(0.94); }
.phone-screen {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  font-size: 11px;
}
.ph-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px 2px;
  color: var(--faint);
  font-size: 9px;
}
.ph-head {
  padding: 8px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ph-head .ph-title { font-weight: 700; font-size: 13px; color: var(--ink); }
.ph-head .ph-sub { color: var(--faint); font-size: 9px; }
.ph-search {
  margin: 0 12px 10px;
  background: #f4efe1;
  border-radius: 8px;
  padding: 5px 10px;
  color: var(--faint);
  font-size: 9px;
}
.ph-card {
  margin: 0 12px 10px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(146, 64, 14, 0.05);
}
.ph-card-cover {
  height: 52px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 6px 10px;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
}
.ph-card-cover .ph-pin {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 14px;
  height: 14px;
}
.ph-card-body { padding: 7px 10px 9px; }
.ph-card-row { display: flex; justify-content: space-between; align-items: center; }
.ph-card-date { color: var(--muted); font-size: 9px; }
.ph-badge {
  font-size: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 600;
}
.ph-badge--done { background: #e8f5ec; color: #2f7d51; }
.ph-card-meta { display: flex; gap: 8px; margin-top: 4px; color: var(--faint); font-size: 8.5px; }

.ph-tabs {
  display: flex;
  gap: 4px;
  margin: 0 12px 10px;
  background: #f4efe1;
  border-radius: 999px;
  padding: 3px;
}
.ph-tab {
  flex: 1;
  text-align: center;
  padding: 3px 0;
  border-radius: 999px;
  font-size: 9px;
  color: var(--muted);
}
.ph-tab.is-on { background: var(--card); color: var(--primary-deep); font-weight: 700; box-shadow: 0 2px 6px rgba(146, 64, 14, 0.08); }

.ph-item {
  margin: 0 12px 8px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ph-item-time { color: var(--primary-deep); font-weight: 700; font-size: 9px; flex: none; }
.ph-item-main { flex: 1; min-width: 0; }
.ph-item-name { font-weight: 600; font-size: 10px; color: var(--ink); }
.ph-item-loc { color: var(--faint); font-size: 8.5px; display: flex; align-items: center; gap: 3px; }
.ph-item-loc svg { width: 9px; height: 9px; }
.ph-item .ph-check {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  border: 1.4px solid #d8cba4;
  flex: none;
}
.ph-item .ph-check.is-on { background: var(--primary); border-color: var(--primary); position: relative; }
.ph-item .ph-check.is-on::after {
  content: "";
  position: absolute;
  left: 3.4px;
  top: 0.8px;
  width: 3.4px;
  height: 6.4px;
  border: solid #7c4a03;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.ph-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 7px 0 10px;
  border-top: 1px solid var(--line-soft);
  background: var(--card);
}
.ph-tabitem { display: grid; justify-items: center; gap: 1px; color: var(--faint); font-size: 8px; }
.ph-tabitem.is-on { color: var(--primary-deep); }
.ph-tabitem .ico {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: #e9e2cd;
}
.ph-tabitem.is-on .ico { background: var(--primary); }

/* ---------- 区块通用 ---------- */
.section { padding: var(--sec-pad) 0; }
.section--alt { background: linear-gradient(180deg, #fffcf1, var(--bg)); border-block: 1px solid var(--line-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-deep);
  background: var(--primary-soft);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 4px 16px rgba(146, 64, 14, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--primary-deep);
}
.feature-ico svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 工具说明段 ---------- */
.about-tool {
  max-width: 660px;
  margin: 52px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 30px;
  box-shadow: 0 4px 16px rgba(146, 64, 14, 0.04);
}

/* ---------- 攻略卡片 ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.guide-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(146, 64, 14, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.guide-cover { position: relative; }
.guide-cover svg { width: 100%; height: 172px; }
.guide-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 253, 246, 0.92);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.guide-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.guide-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.guide-body h3 a::after { content: ""; position: absolute; inset: 0; } /* 整卡可点 */
.guide-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; flex: 1; }
.guide-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 12px;
  color: var(--primary-deep);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 3px 11px;
  font-weight: 600;
}
.chip--plain { background: #f4f0e4; color: var(--muted); font-weight: 500; }

/* ---------- 二级页头部 ---------- */
.page-hero {
  padding: 72px 0 58px;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(252, 202, 37, 0.2), transparent 60%),
    linear-gradient(180deg, #fffcf1, var(--bg));
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: var(--fs-page-h1); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 620px; }
.breadcrumb { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

/* ---------- 攻略详情 ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 56px var(--pad-x) 80px; }
.article-head h1 { font-size: var(--fs-article-h1); font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.article-head .lede { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.article-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 26px 0 8px; border: 1px solid var(--line-soft); }
.article-cover svg { width: 100%; height: 220px; }

.article h2 {
  font-size: 23px;
  font-weight: 800;
  margin: 44px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.article h2 .day-no {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 10px rgba(252, 202, 37, 0.4);
}
.article h3 { font-size: 17.5px; font-weight: 700; margin: 26px 0 10px; }
.article p { color: #374151; margin-bottom: 14px; }

/* 每日路线时间轴 */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--primary) 0 8px, transparent 8px 16px);
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 22px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--primary);
}
.tl-time {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary-deep);
  background: var(--primary-soft);
  border-radius: 6px;
  padding: 1px 9px;
  margin-bottom: 5px;
}
.tl-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.tl-item h4 .tl-loc {
  font-weight: 500;
  font-size: 12.5px;
  color: var(--faint);
  margin-left: 8px;
}
.tl-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* 贴士卡 */
.notice {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 18px 0;
}
.notice h4 { font-size: 15px; color: var(--primary-ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.notice ul { padding-left: 2px; }
.notice li {
  font-size: 14.5px;
  color: #7c5a1e;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.notice li:last-child { margin-bottom: 0; }
.notice li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* 行李清单（对齐小程序清单面板观感） */
.packing-list {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 8px 22px;
  box-shadow: 0 4px 16px rgba(146, 64, 14, 0.04);
}
.packing-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 15px;
}
.packing-list li:last-child { border-bottom: 0; }
.packing-list .pk-check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.6px solid #d8cba4;
  flex: none;
  position: relative;
}
.packing-list .pk-check.is-on { background: var(--primary); border-color: var(--primary); }
.packing-list .pk-check.is-on::after {
  content: "";
  position: absolute;
  left: 4.6px;
  top: 1.4px;
  width: 5px;
  height: 9px;
  border: solid #7c4a03;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.packing-list .pk-cat { margin-left: auto; font-size: 12px; color: var(--faint); }

/* 费用参考表 */
.expense-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(146, 64, 14, 0.04);
  font-size: 14.5px;
}
.expense-table th, .expense-table td { padding: 12px 16px; text-align: left; }
.expense-table th { background: var(--primary-soft); color: var(--primary-ink); font-size: 13.5px; }
.expense-table tr + tr td { border-top: 1px solid var(--line-soft); }
.expense-table td:last-child { color: var(--primary-deep); font-weight: 700; }
.expense-table tfoot td { color: var(--primary-deep); font-weight: 800; background: #fffaf0; }

/* 文末行动条 */
.article-cta {
  margin-top: 52px;
  background: linear-gradient(135deg, #fff8e1, #fef3c7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.article-cta h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.article-cta p { color: var(--muted); font-size: 14px; margin: 0; }

/* 上一篇/下一篇 */
.article-nav {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 90px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.article-nav a {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px 20px;
  min-height: var(--tap);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.article-nav .dir { font-size: 12px; color: var(--faint); display: block; margin-bottom: 4px; }
.article-nav .t { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.article-nav a.next { text-align: right; }

/* ---------- 关于页 ---------- */
.about-wrap { max-width: 780px; margin: 0 auto; padding: 56px var(--pad-x) 90px; }
.about-block {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(146, 64, 14, 0.04);
}
.about-block h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.about-block h2 .feature-ico { width: 36px; height: 36px; margin: 0; border-radius: 10px; }
.about-block h2 .feature-ico svg { width: 18px; height: 18px; }
.about-block p { color: #374151; font-size: 15px; margin-bottom: 10px; }
.about-block p:last-child { margin-bottom: 0; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 14.5px;
}
.contact-line svg { width: 18px; height: 18px; color: var(--primary-deep); flex: none; }

/* ---------- 隐私/协议页 ---------- */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 56px var(--pad-x) 90px; }
.legal-wrap h1 { font-size: var(--fs-legal-h1); font-weight: 800; margin-bottom: 6px; }
.legal-updated { color: var(--faint); font-size: 13px; margin-bottom: 34px; }
.legal-wrap section { margin-bottom: 34px; }
.legal-wrap h2 { font-size: 19px; font-weight: 800; margin-bottom: 10px; padding-left: 12px; border-left: 4px solid var(--primary); }
.legal-wrap p, .legal-wrap li { color: #374151; font-size: 14.5px; margin-bottom: 8px; }
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; list-style: disc; }
.legal-wrap ol { list-style: decimal; }
.legal-wrap li { margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #201a0e;
  color: #cbbfa4;
  margin-top: 40px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: #fff; margin-bottom: 14px; }
.footer-main p { font-size: 13.5px; color: #a2957a; max-width: 320px; }
.footer-col { text-align: center; }
.footer-col h4 { color: #f5ead0; font-size: 14px; margin-bottom: 14px; letter-spacing: 1px; }
.footer-col a { display: block; font-size: 13.5px; color: #a2957a; padding: 5px 0; transition: color 0.2s ease; }
.footer-bar {
  border-top: 1px solid rgba(245, 234, 208, 0.12);
  padding: 20px 0;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 12.5px;
  color: #8a7d63;
}
.footer-bar a { color: #b3a586; white-space: nowrap; }
.footer-bar .sep { margin: 0 10px; opacity: 0.5; }

/* ---------- 返回顶部（固定元素，适配安全区） ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(252, 202, 37, 0.5);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}
.back-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.back-top.is-hidden { opacity: 0; transform: translateY(14px); pointer-events: none; }
.back-top svg { width: 18px; height: 18px; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   交互适配：悬停仅限精确指针；触屏用按压反馈
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(252, 202, 37, 0.55); }
  .btn--ghost:hover { background: var(--primary-soft); transform: translateY(-2px); }
  .nav-links a:hover { background: var(--primary-soft); color: var(--primary-deep); }
  .feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .article-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .breadcrumb a:hover { color: var(--primary-deep); }
  .footer-col a:hover { color: var(--primary); }
  .footer-bar a:hover { color: var(--primary); }
  .back-top.is-show:hover { transform: translateY(-3px); }
}

@media (hover: none) {
  /* 触屏：按压反馈（不再有"悬停粘住"问题） */
  .btn:active { transform: scale(0.97); }
  .feature-card:active,
  .guide-card:active,
  .article-nav a:active { transform: scale(0.985); }
  .nav-links a:active { background: var(--primary-soft); color: var(--primary-deep); }
  .footer-col a:active { color: var(--primary); }
  .back-top.is-show:active { transform: scale(0.9); }
}

/* ============================================================
   T 平板：768–1023px
   Hero 改上下堆叠；网格降为 2 列；页脚并两栏
   ============================================================ */
@media (max-width: 1023px) {
  .hero { padding: 72px 0 88px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { margin-top: 8px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; text-align: center; }
  .footer-main .footer-brand { justify-content: center; }
  .footer-main p { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   M 手机：≤767px
   抽屉导航、单列布局、触控优先、表格横滑
   ============================================================ */
@media (max-width: 767px) {
  body { font-size: 15px; }

  /* --- 导航：64px 高 + 汉堡抽屉 --- */
  .nav { height: 64px; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 2px;
    display: none;
    box-shadow: 0 20px 30px rgba(146, 64, 14, 0.08);
  }
  .nav-links.is-open {
    display: flex;
    animation: drawer-in 0.22s ease;
  }
  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 16px;
  }
  .nav-links .nav-cta { margin: 8px 0 0; }

  /* --- Hero：单列，隐藏装饰路线，按钮等宽 --- */
  .hero { padding: 56px 0 76px; }
  .hero-visual .route { display: none; }
  .hero-desc { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-note { font-size: 12.5px; }

  /* --- 样机：只留正面机，居中不再缩放 --- */
  .phones { justify-content: center; transform: none; }
  .phones .phone--back { display: none; }

  /* --- 网格全部纵排 --- */
  .feature-grid, .guide-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .feature-card { padding: 24px 22px; }
  .guide-cover svg { height: 150px; }
  .about-tool { margin-top: 40px; padding: 20px 22px; font-size: 15px; }

  /* --- 二级页 / 文章 --- */
  .page-hero { padding: 52px 0 44px; }
  .page-hero p { font-size: 15px; }
  .article { padding: 40px var(--pad-x) 64px; }
  .article h2 { font-size: 20px; margin: 36px 0 16px; }
  .article-cover svg { height: 170px; }
  .timeline { padding-left: 24px; }
  .tl-item h4 { display: flex; flex-direction: column; gap: 2px; }
  .tl-item h4 .tl-loc { margin-left: 0; }
  .notice { padding: 16px; }

  /* --- 清单 / 费用表 --- */
  .packing-list { padding: 6px 16px; }
  .packing-list li { font-size: 14.5px; gap: 10px; }
  .expense-table {
    display: block;              /* 窄屏横向滑动，避免挤压换行 */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .expense-table th, .expense-table td { padding: 10px 12px; white-space: nowrap; }

  /* --- 行动条与翻页 --- */
  .article-cta { flex-direction: column; align-items: stretch; padding: 24px; }
  .article-cta .btn { width: 100%; }
  .article-nav { flex-direction: column; padding-bottom: 70px; }
  .article-nav a.next { text-align: left; }

  /* --- 关于 / 协议 --- */
  .about-wrap, .legal-wrap { padding: 40px var(--pad-x) 70px; }
  .about-block { padding: 24px 20px; }
  .contact-line { font-size: 13.5px; }

  /* --- 页脚：品牌居中置顶 + 两栏链接 --- */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding: 44px 0 30px; }
  .footer-main p { font-size: 13px; }
  .footer-bar .sep { display: none; }
  .footer-bar a { display: block; margin-top: 6px; }

  /* --- 返回顶部：贴近拇指区 --- */
  .back-top { right: 16px; }
}

/* ============================================================
   S 小屏手机：≤400px 进一步收紧
   ============================================================ */
@media (max-width: 400px) {
  .brand small { display: none; }        /* 头部只留主名 */
  .brand { font-size: 17px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; }
  .hero-desc { font-size: 15.5px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 10px 22px; font-size: 14.5px; }
  .btn--lg { padding: 13px 24px; font-size: 15px; }
  .eyebrow { letter-spacing: 2px; font-size: 12px; }
  .chip { font-size: 11.5px; padding: 2px 9px; }
  .article-meta { gap: 6px; }
  .guide-tag { font-size: 11px; padding: 3px 10px; }
  .phones .phone { width: 236px; }
}

/* ---------- 动画与降级 ---------- */
@keyframes drawer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature-card, .guide-card, .article-nav a, .back-top { transition: none; }
  .nav-links.is-open { animation: none; }
  html { scroll-behavior: auto; }
}
