/* ==========================================================================
   list.css —— 品牌页 / 分类页 / 服务页 列表页扩展样式
   依赖 style.css（基础）与 product.css（chip / prod-tag / 询盘等）
   ========================================================================== */

/* ---------- 列表页 Hero ---------- */
.list-hero {
  background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 60%);
  border-bottom: 1px solid #e5e9f2;
  padding: 40px 0 32px;
}
.list-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.list-hero-info {
  flex: 1;
  min-width: 300px;
}
.list-hero-kicker {
  font-size: 14px;
  color: #2563eb;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.list-hero-title {
  font-size: 32px;
  line-height: 1.25;
  color: #1a2233;
  margin: 0 0 10px;
}
.list-hero-title small {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
  margin-top: 4px;
}
.list-hero-desc {
  color: #4b5563;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 0 14px;
}
.list-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fact-chip {
  background: #ffffff;
  border: 1px solid #d6e0f5;
  color: #334;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
}
/* Hero 右侧迷你询价卡 */
.list-hero-cta {
  width: 250px;
  background: #ffffff;
  border: 1px solid #e5e9f2;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(20, 40, 90, 0.07);
  padding: 18px;
  text-align: center;
}
.list-hero-cta .cta-phone a {
  font-size: 22px;
  font-weight: 700;
  color: #f97316;
  text-decoration: none;
}
.list-hero-cta .cta-wechat {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 10px;
}
.list-hero-cta .cta-qr-img {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 8px;
  border: 1px solid #e5e9f2;
  margin: 0 auto;
}
.list-hero-cta .btn {
  width: 100%;
  margin-top: 10px;
  box-sizing: border-box;
}

/* ---------- 产品列表卡片 ---------- */
.p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.p-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e9f2;
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
}
.p-card:hover {
  border-color: #93b4f5;
  box-shadow: 0 8px 22px rgba(20, 40, 90, 0.10);
  transform: translateY(-2px);
}
.pc-brand {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 6px;
}
.pc-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a2233;
  line-height: 1.4;
  margin-bottom: 6px;
}
.pc-sub {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 10px;
}
.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.pc-tags .prod-tag {
  font-size: 12px;
  padding: 2px 8px;
}
.pc-svcs {
  font-size: 12.5px;
  color: #4b5563;
  border-top: 1px dashed #e5e9f2;
  padding-top: 8px;
}
.pc-btn {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
}

/* ---------- 空状态 ---------- */
.empty-state {
  background: #f8fafd;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 32px 20px;
  text-align: center;
  color: #6b7280;
  line-height: 1.8;
}
.empty-state strong {
  color: #1a2233;
}

/* ---------- 品牌优势 / 服务亮点 ---------- */
.hl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.hl-item {
  background: #ffffff;
  border: 1px solid #e5e9f2;
  border-left: 3px solid #2563eb;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

/* ---------- 分类/品牌跳转 chips（带链接） ---------- */
.chip-list a.chip {
  text-decoration: none;
  color: #1f3a8a;
  background: #eef4ff;
  border: 1px solid #d6e0f5;
}
.chip-list a.chip:hover {
  background: #dbe8ff;
}

/* ---------- 服务流程 ---------- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  counter-reset: step;
}
.flow-step {
  background: #ffffff;
  border: 1px solid #e5e9f2;
  border-radius: 10px;
  padding: 18px 16px 14px;
  position: relative;
  counter-increment: step;
}
.flow-step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.flow-step .fs-title {
  font-weight: 700;
  color: #1a2233;
  margin-bottom: 4px;
  font-size: 15px;
}
.flow-step .fs-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* ---------- 服务页服务卡 ---------- */
.svc-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.svc-hero-tags .fact-chip {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .list-hero-inner {
    flex-direction: column;
  }
  .list-hero-cta {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }
  .list-hero-cta .cta-title {
    margin-left: 16px;
  }
  .list-hero-cta .btn {
    width: auto;
  }
  .list-hero-title {
    font-size: 25px;
  }
}
