/**
 * PCB 中心页 · 段8 为什么选择 SUNHOPE
 *
 * 数值取自 Figma 实测：标题 #14363F 40px/73（居中）；副标题 #008C11 28px/42；
 * 正文 #666666 16px/20（1082 宽）；按钮 404×60（圆角 4 + 描边 #008C11）；
 * 卡片 804×224（白底 / 圆角 10 / 描边 #CCE0D7，2 列 × 2 行，间距 30）；
 * 圆图标 71×71；卡标题 #14363F 24px/28；卡说明 #14363F 14px/20（723 宽）。
 */

.pcb-process {
  padding-block: 90px 100px;
  background: #ffffff;
}

.pcb-process__inner {
  max-width: 1718px /* = 设计稿内容宽 1638 + 左右各 40 padding */;
  margin: 0 auto;
  padding: 0 40px;
}

.pcb-process__title {
  /* 设计稿标题框底 6895 → 副标题顶 6918，间距 23。 */
  margin: 0 0 23px;
  font-family: var(--pcb-font-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 73px;
  text-align: center;
  color: #14363f;
}

.pcb-process__subtitle {
  /* 设计稿副标题底 6960 → 正文顶 6982，间距 22。 */
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
  color: #008c11;
}

.pcb-process__body {
  max-width: 1082px;
  /* 设计稿正文底 7022 → CTA 顶 7085，间距 63。 */
  margin: 0 auto 63px;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #666666;
}

.pcb-process__actions {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.pcb-process__cta {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-width: 404px;
  min-height: 60px;
  padding: 0 14px 0 22px;
  font-size: 16px;
  font-weight: 600;
  color: #14363f;
  text-decoration: none;
  border: 1px solid #008c11;
  border-radius: 4px;
  transition: background 0.24s ease, box-shadow 0.24s ease;
}

.pcb-process__cta-dot {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: #008c11;
  border-radius: 50%;
}

.pcb-process__cta-dot svg { width: 14px; height: 14px; }

.pcb-process__cta:hover {
  background: #eff5f3;
  box-shadow: 0 12px 26px rgba(0, 140, 17, 0.12);
}

/* ── 4 张卡（2 列 × 2 行，804×224）───────────────────── */

.pcb-process__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 804px));
  gap: 30px;
  justify-content: center;
  max-width: 1720px;
  margin: 0 auto;
}

.pcb-process-card {
  min-height: 224px;
  padding: 31px 30px 30px;
  background: #ffffff;
  border: 1px solid #cce0d7;
  border-radius: 10px;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.pcb-process-card:hover {
  border-color: rgba(0, 140, 17, 0.35);
  box-shadow: 0 16px 36px rgba(4, 62, 48, 0.08);
  transform: translateY(-4px);
}

/* 绿色实心圆 + 白色线性图标（设计稿 1:409 为 #008C11 实心圆，图标叠于其上） */
.pcb-process-card__icon {
  display: grid;
  place-items: center;
  width: 71px;
  height: 71px;
  margin: 0 0 20px;
  color: #ffffff;
  background: #008c11;
  border-radius: 50%;
}

.pcb-process-card__icon svg {
  width: 36px;
  height: 36px;
}

.pcb-process-card__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  color: #14363f;
}

.pcb-process-card__text {
  max-width: 723px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #14363f;
}

/* ── 响应式 ─────────────────────────────────────────── */

@media (max-width: 1500px) {
  .pcb-process { padding-block: 70px 78px; }
  .pcb-process__title { font-size: 34px; line-height: 62px; }
  .pcb-process__subtitle { font-size: 24px; line-height: 36px; }
  .pcb-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .pcb-process-card { min-height: 0; padding: 26px 24px; }
}

@media (max-width: 1080px) {
  .pcb-process__body { font-size: 15px; line-height: 24px; margin-bottom: 28px; }
  .pcb-process__actions { margin-bottom: 40px; }
  .pcb-process__cta { min-width: 0; width: 100%; }
  .pcb-process-card__title { font-size: 20px; line-height: 26px; }
}

@media (max-width: 720px) {
  .pcb-process { padding-block: 52px 60px; }
  .pcb-process__title { font-size: 24px; line-height: 40px; }
  .pcb-process__subtitle { font-size: 18px; line-height: 30px; }
  .pcb-process__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pcb-process-card__icon { width: 56px; height: 56px; margin-bottom: 14px; }
  .pcb-process-card__text { font-size: 14px; line-height: 22px; }
}
