/* =====================================================
   VEPO FAQ 常见问题页面样式
   适用：/faq
   风格：与 /about-vepo 等公司页统一的 cp-* 结构（引用 company.css）
   ===================================================== */

/* ===== 1. FAQ 主体布局（左分类导航 + 右手风琴） ===== */
.fq-section { padding: 70px 0 90px; }
.fq-layout {
  display: flex;
  align-items: flex-start;
  gap: 42px;
}
.fq-side {
  flex: 0 0 300px;
  position: sticky;
  top: 120px;
}
.fq-side-card {
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(23, 65, 135, .07);
  overflow: hidden;
}
.fq-side-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #174187, #2a57a8);
}
.fq-side-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  color: var(--cp-gold);
  font-size: 19px;
}
.fq-side-text h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.fq-side-text p {
  margin: 3px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
}
.fq-side-nav {
  padding: 10px;
  display: grid;
  gap: 6px;
}
.fq-side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .2s ease;
}
.fq-side-link:hover { background: #f2f6fc; }
.fq-side-link.active {
  background: #eef3fb;
  border-color: #dbe6f5;
}
.fq-side-link-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #f1f5fb;
  color: var(--cp-primary);
  font-size: 16px;
  transition: all .2s ease;
}
.fq-side-link.active .fq-side-link-icon {
  background: linear-gradient(135deg, #174187, #2a57a8);
  color: #fff;
  box-shadow: 0 6px 14px rgba(23, 65, 135, .22);
}
.fq-side-link-text { flex: 1; min-width: 0; }
.fq-side-link-text b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cp-primary);
}
.fq-side-link-text i {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-style: normal;
  color: #8a93a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fq-side-link-badge {
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef1f6;
  color: #6b7688;
  font-size: 12px;
  font-weight: 600;
}
.fq-side-link.active .fq-side-link-badge {
  background: var(--cp-gold);
  color: #fff;
}

/* ===== 2. 右侧分组 ===== */
.fq-main { flex: 1; min-width: 0; }
.fq-group {
  margin-bottom: 44px;
  scroll-margin-top: 120px;
}
.fq-group:last-child { margin-bottom: 0; }
.fq-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.fq-group-no {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #174187, #2a57a8);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 8px 18px rgba(23, 65, 135, .18);
}
.fq-group-title h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--cp-primary);
}
.fq-group-title h3::after {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  background: var(--cp-gold);
  margin-top: 8px;
  border-radius: 1px;
}
.fq-group-title p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #7a8498;
}

/* ===== 3. 手风琴条目 ===== */
.fq-list { display: grid; gap: 12px; }
.fq-item {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.fq-item[open] {
  border-color: #cfdcef;
  box-shadow: 0 12px 30px rgba(23, 65, 135, .09);
}
.fq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  user-select: none;
}
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item-no {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5fb;
  color: var(--cp-primary);
  font-size: 13px;
  font-weight: 700;
  transition: all .25s ease;
}
.fq-item[open] .fq-item-no {
  background: linear-gradient(135deg, #174187, #2a57a8);
  color: #fff;
}
.fq-item-q {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #24304d;
  line-height: 1.5;
}
.fq-item-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  border: 1px solid #c6d2e4;
  border-radius: 50%;
  transition: all .3s ease;
}
.fq-item-ico::before,
.fq-item-ico::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #7d8ca6;
  transform: translate(-50%, -50%);
  border-radius: 1px;
  transition: all .3s ease;
}
.fq-item-ico::before { width: 10px; height: 2px; }
.fq-item-ico::after { width: 2px; height: 10px; }
.fq-item[open] .fq-item-ico {
  background: var(--cp-gold);
  border-color: var(--cp-gold);
}
.fq-item[open] .fq-item-ico::before { background: #fff; }
.fq-item[open] .fq-item-ico::after { opacity: 0; }
.fq-item-a {
  padding: 2px 22px 22px 70px;
  font-size: 14px;
  color: #5a6478;
  line-height: 1.95;
}

/* ===== 4. 其他问题 CTA 横幅 ===== */
.fq-cta-section {
  padding: 10px 0 96px;
  background: #fff;
}
.fq-cta-wrap {
  position: relative;
  border-radius: 18px;
  padding: 62px 48px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(120deg, #0e2e68 0%, #174187 55%, #2a57a8 100%);
  box-shadow: 0 18px 44px rgba(23, 65, 135, .2);
}
.fq-cta-wrap::before {
  content: '';
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 100, .3);
}
.fq-cta-wrap::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(201, 163, 100, .12);
}
.fq-cta-label {
  position: relative;
  z-index: 1;
  color: var(--cp-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fq-cta-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.fq-cta-desc {
  position: relative;
  z-index: 1;
  margin: 14px auto 28px;
  max-width: 640px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.9;
}
.fq-cta-btns {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}
.fq-btn i { font-size: 15px; }
.fq-btn-solid {
  background: var(--cp-gold);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.fq-btn-solid:hover {
  background: #b98f4f;
  color: #fff;
  transform: translateY(-2px);
}
.fq-btn-ghost {
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.fq-btn-ghost:hover {
  background: #fff;
  color: var(--cp-primary);
  transform: translateY(-2px);
}

/* ===== 5. 响应式 ===== */
@media (max-width: 992px) {
  .fq-layout { flex-direction: column; gap: 26px; }
  .fq-side { position: static; flex: none; width: 100%; }
}
@media (max-width: 768px) {
  .fq-section { padding: 52px 0 64px; }
  .fq-group { margin-bottom: 34px; }
  .fq-item summary { padding: 15px 16px; gap: 10px; }
  .fq-item-q { font-size: 14px; }
  .fq-item-a { padding: 0 16px 18px 16px; }
  .fq-cta-section { padding: 6px 0 64px; }
  .fq-cta-wrap { padding: 46px 22px; }
  .fq-cta-title { font-size: 24px; }
}
