/* ==========================================================================
   北疆 7 日游环线官网 - 前台原型样式
   设计规范：草原绿 #347C46 / 晴空蓝 #3991C8 / 卡片 8px 圆角 / 按钮 6px 圆角
   ========================================================================== */

:root {
  --c-primary: #347C46;
  --c-primary-dark: #2A6639;
  --c-primary-light: #E8F2EA;
  --c-blue: #3991C8;
  --c-blue-light: #EAF4FA;
  --c-white: #FFFFFF;
  --c-gray-bg: #F8FAFB;
  --c-text: #333333;
  --c-text-sub: #666666;
  --c-line: #E8ECEF;
  --c-danger: #D93025;
  --radius-card: 8px;
  --radius-btn: 6px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.08);
  --header-h: 68px;
  --container: 1180px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  font-size: 15px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-blue { background: var(--c-blue); color: #fff; }
.btn-blue:hover { background: #2F7CAE; }
.btn-outline { background: #fff; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary-light); }
.btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .3); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 顶部固定导航栏 ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--c-white);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: var(--shadow-header); }
.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-blue));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 17px; letter-spacing: .5px; }
.logo-text span { font-size: 11px; color: var(--c-text-sub); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--c-text);
  border-radius: var(--radius-btn);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--c-primary); background: var(--c-primary-light); }
.nav a.active { color: var(--c-primary); font-weight: 600; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: var(--c-primary);
}
.header-actions { display: flex; align-items: center; gap: 10px; }

/* 汉堡按钮 */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger i {
  display: block; width: 22px; height: 2px;
  background: var(--c-text); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.hamburger.on i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.on i:nth-child(2) { opacity: 0; }
.hamburger.on i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉菜单 */
.mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 110;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.mask.on { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 74%;
  max-width: 320px;
  background: #fff;
  z-index: 120;
  padding: 20px 0;
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow-y: auto;
}
.drawer.on { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--c-line);
}
.drawer-head b { font-size: 16px; }
.drawer-close { border: 0; background: transparent; font-size: 22px; color: var(--c-text-sub); line-height: 1; }
.drawer nav { padding: 8px 0; }
.drawer nav a {
  display: block;
  padding: 13px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--c-line);
}
.drawer nav a.active { color: var(--c-primary); font-weight: 600; background: var(--c-primary-light); }
.drawer-foot { padding: 18px 20px; }
.drawer-tip { font-size: 12px; color: var(--c-text-sub); line-height: 1.6; margin-top: 12px; }

/* 移动端底部悬浮预约按钮 */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .08);
}

/* ---------- 通用区块 ---------- */
.main { padding-top: var(--header-h); }
.section { padding: 68px 0; }
.section.gray { background: var(--c-gray-bg); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head.left { text-align: left; }
.section-title { font-size: 28px; font-weight: 700; letter-spacing: .5px; }
.section-title span { color: var(--c-primary); }
.section-sub { margin-top: 10px; color: var(--c-text-sub); font-size: 15px; }

/* ---------- 业务边界提示条 ---------- */
.notice {
  display: flex; gap: 10px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: var(--c-blue-light);
  border-left: 3px solid var(--c-blue);
  color: var(--c-text-sub);
  font-size: 13px;
  line-height: 1.7;
}
.notice b { color: var(--c-blue); }
.notice-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-color: #2A6639;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 46, 30, .82) 0%, rgba(20, 46, 30, .55) 45%, rgba(20, 46, 30, .28) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 40px; }
.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 42px; line-height: 1.32; font-weight: 700; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: #A9E0B8; }
.hero-desc { margin-top: 16px; font-size: 16px; max-width: 620px; color: rgba(255, 255, 255, .92); }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 38px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats li b { display: block; font-size: 24px; font-weight: 700; }
.hero-stats li span { font-size: 13px; color: rgba(255, 255, 255, .82); }

/* 内页小 Hero */
.page-hero {
  position: relative;
  min-height: 260px;
  display: flex; align-items: center;
  background-color: #2A6639;
  background-size: cover; background-position: center;
  color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 46, 30, .85), rgba(20, 46, 30, .45));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 32px; font-weight: 700; }
.page-hero p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .9); }

/* 面包屑 */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--c-text-sub);
}
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb i { font-style: normal; color: #B9C2C8; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.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 {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.card-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-gray-bg); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px; }
.card-title { font-size: 17px; font-weight: 600; line-height: 1.5; }
.card-text { margin-top: 8px; font-size: 13px; color: var(--c-text-sub); line-height: 1.7; }
.card-meta {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #9AA5AC;
}
.card-link { color: var(--c-primary); font-weight: 500; }

/* 亮点卡（无阴影描边卡） */
.feature {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.feature:hover { border-color: var(--c-primary); box-shadow: var(--shadow-card); }
.feature-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-primary-light);
  font-size: 20px;
  margin-bottom: 14px;
}
.feature h3 { font-size: 17px; font-weight: 600; }
.feature p { margin-top: 8px; font-size: 13px; color: var(--c-text-sub); line-height: 1.75; }

/* 标签 */
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
}
.tag.blue { background: var(--c-blue-light); color: var(--c-blue); }
.tag.gray { background: #F1F4F6; color: var(--c-text-sub); }

/* ---------- D1-D7 行程时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-blue));
  opacity: .35;
}
.tl-item { position: relative; margin-bottom: 20px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: -34px; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--c-primary); font-weight: 700;
}
.tl-body {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
}
.tl-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tl-day {
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--c-primary);
  border-radius: 4px;
  padding: 2px 9px;
}
.tl-title { font-size: 17px; font-weight: 600; }
.tl-route { margin-top: 10px; font-size: 13px; color: var(--c-text-sub); }
.tl-route b { color: var(--c-text); }
.tl-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tl-list li {
  font-size: 12px; color: var(--c-text-sub);
  background: var(--c-gray-bg);
  border-radius: 4px;
  padding: 4px 10px;
}
.tl-list li em { font-style: normal; color: var(--c-primary); margin-right: 4px; }

/* 行程速览（首页横向） */
.preview-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.preview-item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
  color: #fff;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 10px 10px;
  font-size: 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
}
.preview-item b { display: block; font-size: 13px; }

/* ---------- FAQ 手风琴 ---------- */
.faq { border: 1px solid var(--c-line); border-radius: var(--radius-card); overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--c-line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border: 0;
  text-align: left;
  font-size: 15px;
  color: var(--c-text);
  font-weight: 500;
  transition: background .2s, color .2s;
}
.faq-q:hover { background: var(--c-gray-bg); }
.faq-q .q-mark {
  flex: none;
  width: 20px; height: 20px; border-radius: 4px;
  background: var(--c-primary-light); color: var(--c-primary);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq-q .arrow { margin-left: auto; flex: none; color: #B9C2C8; transition: transform .25s; font-size: 12px; }
.faq-item.open .faq-q { color: var(--c-primary); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); color: var(--c-primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  background: var(--c-gray-bg);
}
.faq-a-inner { padding: 0 20px 16px 52px; font-size: 14px; color: var(--c-text-sub); line-height: 1.8; }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.form-item { display: flex; flex-direction: column; gap: 7px; }
.form-item.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; color: var(--c-text); font-weight: 500; }
.form-label .req { color: var(--c-danger); margin-left: 3px; }
.form-label .opt { color: #9AA5AC; font-weight: 400; margin-left: 4px; font-size: 12px; }
.form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #DEE4E8;
  border-radius: var(--radius-btn);
  font-size: 14px;
  color: var(--c-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-input::placeholder { color: #AEB8BF; }
.form-input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(52, 124, 70, .12);
}
textarea.form-input { height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239AA5AC' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }

/* 输入错误状态 */
.form-item.error .form-input { border-color: var(--c-danger); background: #FEF4F3; }
.form-item.error .form-input:focus { box-shadow: 0 0 0 3px rgba(217, 48, 37, .12); }
.form-error {
  display: none;
  align-items: center; gap: 5px;
  font-size: 12px;
  color: var(--c-danger);
  line-height: 1.5;
}
.form-item.error .form-error { display: flex; }
.form-error::before { content: "!"; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c-danger); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* 人机验证 */
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row .form-input { flex: 1; }
.captcha-box {
  flex: none;
  min-width: 116px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-btn);
  background: var(--c-gray-bg);
  border: 1px dashed #D5DCE1;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--c-text-sub);
  letter-spacing: 1px;
  user-select: none;
}
.captcha-box b { color: var(--c-primary); font-weight: 700; }

.form-foot { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-agree { font-size: 12px; color: var(--c-text-sub); flex: 1; min-width: 240px; }
.form-agree a { color: var(--c-blue); }
.check-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-text-sub); cursor: pointer; }
.check-line input { width: 16px; height: 16px; accent-color: var(--c-primary); }

/* ---------- 提交成功弹窗 ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.modal.on { opacity: 1; visibility: visible; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.modal-box {
  position: relative;
  width: 100%; max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 34px 28px 26px;
  text-align: center;
  transform: translateY(14px) scale(.98);
  transition: transform .28s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}
.modal.on .modal-box { transform: translateY(0) scale(1); }
.modal-ico {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
}
.modal-title { font-size: 20px; font-weight: 700; }
.modal-text { margin-top: 10px; font-size: 14px; color: var(--c-text-sub); line-height: 1.8; }
.modal-actions { margin-top: 22px; display: flex; gap: 12px; justify-content: center; }
.modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 30px; height: 30px; border: 0; background: transparent;
  font-size: 20px; color: #B9C2C8; line-height: 1; border-radius: 50%;
}
.modal-close:hover { background: var(--c-gray-bg); color: var(--c-text); }

/* ---------- CTA 横幅 ---------- */
.cta {
  border-radius: var(--radius-card);
  background: linear-gradient(120deg, var(--c-primary), #2C7E8E 60%, var(--c-blue));
  color: #fff;
  padding: 34px 30px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta h3 { font-size: 22px; font-weight: 700; }
.cta p { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .88); max-width: 640px; }

/* ---------- 内容文章页 ---------- */
.article {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 36px;
}
.article h1 { font-size: 26px; line-height: 1.45; font-weight: 700; }
.article-meta {
  margin-top: 12px; padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #9AA5AC;
}
.article-body { margin-top: 22px; font-size: 15px; line-height: 1.9; color: #333; }
.article-body h2 { font-size: 19px; margin: 26px 0 12px; padding-left: 11px; border-left: 3px solid var(--c-primary); }
.article-body h3 { font-size: 16px; margin: 20px 0 10px; }
.article-body p { margin-bottom: 14px; }
.article-body ul { margin: 0 0 14px 4px; }
.article-body ul li { position: relative; padding-left: 16px; margin-bottom: 8px; color: var(--c-text-sub); }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); opacity: .6; }
.article-body img { border-radius: var(--radius-card); margin: 18px 0; }
.article-figure { margin: 18px 0; }
.article-figure figcaption { margin-top: 8px; font-size: 12px; color: #9AA5AC; text-align: center; }

/* ---------- 侧栏布局 ---------- */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.side-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 20px; }
.side-card + .side-card { margin-top: 20px; }
.side-title { font-size: 15px; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); margin-bottom: 12px; }
.side-list li { padding: 9px 0; font-size: 14px; color: var(--c-text-sub); border-bottom: 1px dashed var(--c-line); }
.side-list li:last-child { border-bottom: 0; }
.side-list li a:hover { color: var(--c-primary); }
.side-list li em { font-style: normal; color: var(--c-primary); margin-right: 6px; font-weight: 600; }

/* ---------- 合规文档（Tab 共用模板） ---------- */
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--c-line); margin-bottom: 22px; }
.tab {
  padding: 11px 20px;
  border: 0; background: transparent;
  font-size: 15px; color: var(--c-text-sub);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab.on { color: var(--c-primary); font-weight: 600; border-bottom-color: var(--c-primary); }
.tab-panel { display: none; }
.tab-panel.on { display: block; }
.doc-body { font-size: 14px; line-height: 1.9; color: var(--c-text-sub); }
.doc-body h3 { font-size: 15px; color: var(--c-text); margin: 20px 0 8px; }
.doc-body p { margin-bottom: 12px; }
.doc-body ol { counter-reset: n; }
.doc-body ol li { position: relative; padding-left: 24px; margin-bottom: 10px; counter-increment: n; }
.doc-body ol li::before {
  content: counter(n) ".";
  position: absolute; left: 0; top: 0;
  color: var(--c-primary); font-weight: 600;
}

/* ---------- 合作机构 ---------- */
.partner {
  display: flex; align-items: center; gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
}
.partner-logo {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 8px;
  background: var(--c-gray-bg);
  border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.partner-info h3 { font-size: 15px; font-weight: 600; }
.partner-info p { margin-top: 5px; font-size: 12px; color: var(--c-text-sub); line-height: 1.7; }

/* ---------- 联系信息 ---------- */
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px dashed var(--c-line);
}
.contact-item:last-child { border-bottom: 0; }
.contact-ico {
  flex: none; width: 40px; height: 40px; border-radius: 8px;
  background: var(--c-primary-light); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.contact-item h3 { font-size: 15px; font-weight: 600; }
.contact-item p { margin-top: 4px; font-size: 13px; color: var(--c-text-sub); }

/* ---------- 页脚 ---------- */
.footer { background: #24322A; color: rgba(255, 255, 255, .72); padding: 46px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h3 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer p { font-size: 13px; line-height: 1.9; }
.footer-list li { margin-bottom: 10px; font-size: 13px; }
.footer-list li:last-child { margin-bottom: 0; }
.footer-list a:hover { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo b { color: #fff; font-size: 16px; }
.footer-notice {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px; line-height: 1.9;
}
.footer-bottom {
  margin-top: 16px; padding: 16px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  font-size: 12px;
}

/* ---------- 通用工具类 ---------- */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.hide { display: none !important; }
.text-sub { color: var(--c-text-sub); }
.fs-13 { font-size: 13px; }

/* ---------- AI 悬浮对话窗 ---------- */
.ai-fab {
  position: fixed; right: 24px; bottom: 88px; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%; border: 0;
  background: var(--c-primary); color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 6px 18px rgba(52, 124, 70, .35);
  transition: transform .2s ease;
}
.ai-fab:hover { transform: translateY(-2px); }

.ai-panel {
  position: fixed; right: 24px; bottom: 152px; z-index: 901;
  width: 340px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
  display: none; flex-direction: column;
}
.ai-panel.on { display: flex; }
.ai-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: var(--c-primary); color: #fff; font-size: 14px;
}
.ai-close { border: 0; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.ai-body {
  padding: 12px 14px; max-height: 320px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px; background: var(--c-gray-bg);
}
.ai-msg {
  max-width: 86%; padding: 9px 12px; border-radius: 8px;
  font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word;
}
.ai-msg.is-user { align-self: flex-end; background: var(--c-primary); color: #fff; }
.ai-msg.is-ai { align-self: flex-start; background: #fff; color: var(--c-text); border: 1px solid var(--c-line); }
.ai-foot { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--c-line); }
.ai-input {
  flex: 1; height: 36px; padding: 0 12px; font-size: 13px;
  border: 1px solid var(--c-line); border-radius: 6px; outline: none;
}
.ai-input:focus { border-color: var(--c-primary); }
.ai-tip { padding: 0 12px 10px; font-size: 11px; color: var(--c-text-sub); line-height: 1.6; }

@media (max-width: 820px) {
  .ai-fab { bottom: 78px; right: 16px; }
  .ai-panel { right: 16px; bottom: 140px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .preview-strip { grid-template-columns: repeat(4, 1fr); }
  .layout { grid-template-columns: 1fr 280px; }
  .hero h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .float-bar { display: block; }
  .main { padding-bottom: 68px; }

  .section { padding: 46px 0; }
  .section-title { font-size: 22px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .preview-strip { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .preview-strip::-webkit-scrollbar { height: 0; }
  .preview-item { flex: none; width: 118px; }

  .hero { min-height: 460px; }
  .hero h1 { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  .hero-stats { gap: 24px; }
  .hero-stats li b { font-size: 19px; }

  .page-hero { min-height: 200px; }
  .page-hero h1 { font-size: 22px; }

  .layout { grid-template-columns: 1fr; }
  .article { padding: 24px 18px; }
  .article h1 { font-size: 21px; }
  .article-body h2 { font-size: 17px; }
  .timeline { padding-left: 28px; }
  .tl-dot { left: -28px; width: 18px; height: 18px; font-size: 9px; }
  .cta { padding: 26px 20px; }
  .cta h3 { font-size: 18px; }
  .modal-box { padding: 28px 20px 22px; }
  .form-card { padding: 20px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
