/* =====================================================
   信用中国 · 产品服务详情页专属样式（css/pages/service.css）
   -----------------------------------------------------
   组织约定：
   1. 整站公共样式见 /static/website/css/styles.css（base.html 全局引入）；
      正文排版类 .about__body / .about__heading / .about__text 也在公共文件中。
   2. 本文件只放「产品服务详情页」独有组件（4 个服务详情共用）：
      小节标题(sub__head) / 查询表单(search-form) / 服务要点清单(check-list) /
      实践效果卡片(result-grid) / 图片卡片网格(smart-grid) / 单张宽幅配图(figure-wide)
   3. 样式来源：html效果图/styles.css（权威母本）；母本中 smart-card 引用的
      --shadow-md 变量未定义，此处修正为 --shadow。
===================================================== */

/* ---------- 小节标题（正文中 h3 级） ---------- */
.sub__head {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.8rem 0 0.6rem;
  padding-left: 0.7rem;
  border-left: 3px solid var(--red-500);
  line-height: 1.3;
}

/* ---------- 检索查询表单（信用评级页：类别下拉 + 关键词 + 查询按钮） ---------- */
.search-form {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 0.6rem;
  margin: 1rem 0 0.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.search-form__select,
.search-form__input {
  height: 42px;
  padding: 0 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}
.search-form__select:focus,
.search-form__input:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}
.search-form .btn { height: 42px; padding: 0 1.4rem; }
@media (max-width: 720px) {
  .search-form { grid-template-columns: 1fr; }
}

/* ---------- 服务要点清单（信用调查「我们的产品」/商账追收「成功因素」） ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.check-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2rem;
  font-size: var(--fs-base);
  color: var(--ink-2);
  line-height: 1.6;
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 18px;
  height: 18px;
  border: 2px solid var(--red-500);
  border-radius: 50%;
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: calc(1rem + 6px);
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--red-500);
  border-bottom: 2px solid var(--red-500);
  transform: rotate(45deg);
}

/* ---------- 实践效果卡片（管理咨询页：24 家样本企业调研指标） ---------- */
.result-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin: 1.2rem 0;
}
.result-card {
  padding: 1.4rem 0.8rem;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all 240ms;
}
.result-card:hover {
  border-color: var(--red-500);
  transform: translateY(-2px);
}
.result-card .num {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red-500);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.result-card .lbl {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .result-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 图片卡片组件（服务页配图）
   用于：催收优势 / 行业协会信用评价 / 中关村信用评级 等 ---------- */
.smart-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
/* 每组配图横向一行排列，按断点降列 */
.smart-grid--3 { grid-template-columns: repeat(3, 1fr); }
.smart-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .smart-grid--3,
  .smart-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .smart-grid--3,
  .smart-grid--4 { grid-template-columns: 1fr; }
}
.smart-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease-out-quart), box-shadow 260ms var(--ease-out-quart), border-color 260ms;
}
.smart-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--red-500);
}
.smart-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fbfaf7;
}
.smart-card__cap {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.smart-card__cap small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

/* ---------- 单张宽幅配图（管理咨询模式图 / 联系我们横幅） ---------- */
.figure-wide {
  margin: 1.6rem 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 260ms var(--ease-out-quart), border-color 260ms;
}
.figure-wide:hover {
  box-shadow: var(--shadow);
  border-color: var(--red-500);
}
.figure-wide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}
.figure-wide__cap {
  display: block;
  margin-top: 0.75rem;
  padding: 0.5rem 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.03em;
}
