/* ============================================================
   常见问题局部版块（.faq-band）
   用于：首页 index.html、产品页 page1~page7
   说明：faq.html 是独立问答页，用自己文件内的内联样式；
         本文件只负责「嵌在其它页面里的问答版块」这一种形态。
   取值为 1920px 设计稿 px，随 main.js 的 zoom 整体缩放。
   ============================================================ */

.faq-band {
  position: relative;
  width: 100%;
  background: #f7f7f7;
  padding: 96px 0 88px;
  /* 首页 #faq 锚点跳转留白：本块自带 96px 上内边距，
     补 24px 后标题落在固定导航（64px）下方约 56px 处，与 faq.html 的分组标题一致。 */
  scroll-margin-top: 24px;
}

.faq-band-inner {
  padding-left: max(32px, calc((100% - 1600px) / 2 + 32px));
  padding-right: max(32px, calc((100% - 1600px) / 2 + 32px));
  box-sizing: border-box;
}

/* ── 版块标题 ── */
.faq-band-title {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 0 0 16px;
  padding-left: 22px;
  position: relative;
}

.faq-band-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 38px;
  background: #f26522;
  border-radius: 3px;
}

.faq-band-sub {
  font-size: 18px;
  line-height: 1.8;
  color: #6e6e6e;
  margin: 0 0 40px;
  padding-left: 22px;
  max-width: 1100px;
}

/* ── 问答列表 ── */
.faq-band-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-band-item {
  padding: 32px 0 28px 22px;
  border-top: 1px solid #e2e2e2;
}

.faq-band-item:last-child {
  border-bottom: 1px solid #e2e2e2;
}

.faq-band-q {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.65;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: 0.01em;
  max-width: 1200px;
  flex: 1;
  min-width: 0;
}

/* 编号与问句同行，但编号不在 h3 内部，保证 h3 文本是纯问句 */
.faq-band-q-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
}

.faq-band-num {
  flex: none;
  font-size: 14px;
  font-weight: 700;
  color: #c2410c;
  background: #fef1e9;
  border-radius: 5px;
  padding: 2px 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.faq-band-a {
  font-size: 17px;
  line-height: 1.95;
  color: #4a4a4a;
  margin: 0;
  letter-spacing: 0.015em;
  max-width: 1200px;
}

.faq-band-a .lead {
  color: #1a1a1a;
  font-weight: 600;
}

.faq-band-a .bound {
  color: #6e6e6e;
}

/* ── 查看全部 ── */
.faq-band-more {
  display: inline-block;
  margin-top: 44px;
  padding: 16px 40px;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  background: #cc4a0d;
  border-radius: 44px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.25s ease;
}

.faq-band-more:hover {
  background: #b8460f;
}

/* ── 移动端（真实手机/平板，html.is-mobile） ── */
html.is-mobile .faq-band {
  padding: 11vw 0 10vw;
}

html.is-mobile .faq-band-inner {
  padding-left: 5.1vw;
  padding-right: 5.1vw;
}

html.is-mobile .faq-band-title {
  font-size: 6.4vw;
  margin-bottom: 3vw;
  padding-left: 4.6vw;
}

html.is-mobile .faq-band-title::before {
  width: 1.3vw;
  height: 6.4vw;
  top: 1.2vw;
}

html.is-mobile .faq-band-sub {
  font-size: 3.6vw;
  line-height: 1.75;
  margin-bottom: 7vw;
  padding-left: 4.6vw;
}

html.is-mobile .faq-band-item {
  padding: 6.6vw 0 6vw 4.6vw;
}

html.is-mobile .faq-band-q {
  font-size: 4.4vw;
  line-height: 1.6;
}

html.is-mobile .faq-band-q-row {
  gap: 2.4vw;
  margin-bottom: 3.2vw;
  align-items: flex-start;
}

html.is-mobile .faq-band-num {
  font-size: 3vw;
  padding: 0.5vw 2vw;
}

html.is-mobile .faq-band-a {
  font-size: 3.85vw;
  line-height: 1.92;
  text-align: justify;
  text-align-last: left;
}

html.is-mobile .faq-band-more {
  margin-top: 8vw;
  padding: 3.6vw 8vw;
  font-size: 3.9vw;
}

/* ============================================================
   常见问题 V2 板块（.faq-v2，仅首页 index.html）
   结构：8 板块分类卡片网格（每卡前 3 条问题 + 查看更多），
         板块内只列问题，点击问题跳转 faq.html 对应锚点查看答案；
         由 dev/build-faq-v2.py 依据官网FAQ内容稿 docx 生成。
   复用：.faq-band 容器与内边距 / .faq-band-more 底部按钮。
   ============================================================ */

/* 白底（覆盖 .faq-band 的浅灰底） */
.faq-v2 {
  background: #fff;
}

/* 标题：与「最新资讯」区块同款居中样式 */
.faq-v2-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #3f3f3f;
  text-align: center;
}

.faq-v2-title-en {
  margin: 0;
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: #999;
  text-align: center;
}

/* 卡片网格：3 列 */
.faq-v2-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.faq-v2-card {
  display: flex;
  flex-direction: column;
  background: #f8f9fb;
  border-radius: 12px;
  padding: 28px 28px 24px;
  transition: box-shadow 0.25s ease;
}

.faq-v2-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.faq-v2-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ececec;
}

.faq-v2-card-ico {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f26522;
  color: #fff;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.faq-v2-card-name {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
}

.faq-v2-card-count {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  color: #999;
  background: #fff;
  border-radius: 12px;
  padding: 2px 10px;
  letter-spacing: 0.04em;
}

.faq-v2-qi {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  text-decoration: none;
  border-bottom: 1px dashed #eee;
  transition: color 0.2s ease;
}

.faq-v2-qi:hover {
  color: #f26522;
}

.faq-v2-more {
  margin-top: 14px;
  font-size: 14px;
  color: #f26522;
  text-decoration: none;
}

.faq-v2-more:hover {
  text-decoration: underline;
}

/* 底部「查看更多」按钮居中 */
.faq-v2-foot {
  text-align: center;
}

/* ── 移动端（真实手机/平板，html.is-mobile）：卡片单列 ── */
html.is-mobile .faq-v2-title {
  font-size: 6.2vw;
}

html.is-mobile .faq-v2-title-en {
  font-size: 3.7vw;
}

html.is-mobile .faq-v2-grid {
  grid-template-columns: 1fr;
  gap: 4.1vw;
  margin-top: 8vw;
}

html.is-mobile .faq-v2-card {
  padding: 5.1vw;
  border-radius: 2.6vw;
}

html.is-mobile .faq-v2-card-head {
  padding-bottom: 3.6vw;
  margin-bottom: 1.6vw;
}

html.is-mobile .faq-v2-card-ico {
  width: 6vw;
  height: 6vw;
  font-size: 3.4vw;
  line-height: 6vw;
}

html.is-mobile .faq-v2-card-name {
  font-size: 4.4vw;
}

html.is-mobile .faq-v2-card-count {
  font-size: 2.8vw;
  padding: 0.5vw 2.4vw;
}

html.is-mobile .faq-v2-qi {
  font-size: 3.7vw;
  line-height: 1.7;
  padding: 3vw 0;
}

html.is-mobile .faq-v2-more {
  font-size: 3.4vw;
  margin-top: 3vw;
}
