/* 流程页只定义 Figma 主体区域，头部和横幅继续使用 service-guide.css。 */
/* 页面内容结束后保留 60px 空白，避免最后一项紧贴浏览器底部。 */
.page-canvas {
  padding-bottom: 60px;
}

.process-intro {
  position: relative;
  height: 160px;
  margin-top: 80px;
}

/* 浅蓝胶囊背景从插图右侧开始，保持设计稿的前后层级。 */
.process-intro::before {
  position: absolute;
  top: 20px;
  left: 90px;
  width: 1590px;
  height: 120px;
  border-radius: 120px;
  background: #f5fafd;
  content: "";
}

.process-intro > img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 280px;
  height: 160px;
  object-fit: contain;
}

.process-intro-text {
  position: absolute;
  top: 46px;
  left: 320px;
  z-index: 1;
}

.process-intro h1 {
  margin: 0;
  color: #165c91;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.process-intro p {
  margin: 10px 0 0;
  color: #999999;
  font-size: 16px;
  line-height: 22px;
}

/* 流程卡片最小高度保持设计稿尺寸，说明文字为多行时由内容撑高。 */
.process-list {
  margin-top: 40px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.process-item {
  position: relative;
  min-height: 140px;
  margin-bottom: 60px;
}

.process-item:last-child {
  margin-bottom: 0;
}

.process-number {
  position: absolute;
  top: 20px;
  left: 180px;
  z-index: 3;
  display: grid;
  width: 60px;
  height: 100px;
  border-radius: 60px;
  color: #ffffff;
  background: #165c91;
  font-size: 24px;
  line-height: 34px;
  place-items: center;
}

.process-connector {
  position: absolute;
  top: calc(100% - 5px);
  left: 180px;
  z-index: 2;
  width: 60px;
  height: 70px;
  object-fit: contain;
}

.process-card-bg {
  position: absolute;
  top: 0;
  left: 280px;
  width: 1400px;
  height: 100%;
}

.process-accent {
  position: absolute;
  top: 0;
  left: 280px;
  z-index: 1;
  width: 6px;
  height: 100%;
  background: #165c91;
}

.process-copy {
  position: relative;
  z-index: 2;
  width: 1160px;
  min-height: 140px;
  margin-left: 320px;
  padding: 20px 0;
}

.process-copy h2 {
  height: 50px;
  margin: 0;
  border-bottom: 1px solid #dddddd;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.process-copy p {
  margin: 20px 0 0;
  color: #999999;
  font-size: 16px;
  line-height: 30px;
  /* 说明文字自动折行，并保留后台内容中录入的换行符。 */
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.process-action {
  position: absolute;
  top: 0;
  left: 1520px;
  z-index: 3;
  display: block;
  width: 160px;
  height: 100%;
  color: #ffffff;
}

.process-action-bg {
  position: absolute;
  inset: 0;
  width: 160px;
  height: 100%;
}

.process-action span {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 30px;
  white-space: nowrap;
}

.process-arrow {
  position: absolute;
  top: 50%;
  left: 112px;
  transform: translateY(-50%);
  width: 8px;
  height: 14px;
}

/* 键盘与鼠标聚焦时使用轻微明暗变化，不改变卡片原始尺寸。 */
.process-action:hover,
.process-action:focus-visible {
  filter: brightness(1.08);
}

/* 手机端改为纵向卡片，隐藏仅用于桌面流程线的装饰资源。 */
.is-mobile .process-intro {
  display: flex;
  width: calc(100% - 32px);
  height: auto;
  min-height: 112px;
  margin-top: 24px;
  padding: 16px;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  background: #f5fafd;
}

.is-mobile .process-intro::before {
  display: none;
}

.is-mobile .process-intro > img {
  position: static;
  flex: 0 0 112px;
  width: 112px;
  height: 64px;
}

.is-mobile .process-intro-text {
  position: static;
  min-width: 0;
}

.is-mobile .process-intro h1 {
  font-size: 17px;
  line-height: 24px;
}

.is-mobile .process-intro p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 20px;
}

.is-mobile .process-list {
  width: calc(100% - 32px);
  margin-top: 24px;
}

.is-mobile .process-item {
  display: grid;
  height: auto;
  min-height: 154px;
  margin-bottom: 16px;
  padding-left: 48px;
}

.is-mobile .process-number {
  top: 0;
  left: 0;
  width: 38px;
  height: 64px;
  border-radius: 38px;
  font-size: 16px;
  line-height: 22px;
}

.is-mobile .process-connector,
.is-mobile .process-card-bg {
  display: none;
}

.is-mobile .process-accent {
  top: 0;
  left: 48px;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
}

.is-mobile .process-copy {
  position: static;
  width: 100%;
  min-height: 0;
  margin-left: 0;
  min-width: 0;
  padding: 16px 16px 58px 20px;
  border-radius: 8px;
  background: #f7f7f7;
}

.is-mobile .process-copy h2 {
  height: auto;
  min-height: 38px;
  padding-bottom: 10px;
  font-size: 15px;
  line-height: 22px;
}

.is-mobile .process-copy p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 20px;
}

.is-mobile .process-action {
  top: auto;
  right: 0;
  bottom: 0;
  left: auto;
  width: 116px;
  height: 44px;
  border-radius: 8px 0 8px 0;
  background: #165c91;
}

.is-mobile .process-action-bg {
  display: none;
}

.is-mobile .process-action span {
  top: 7px;
  left: 22px;
  font-size: 14px;
  line-height: 30px;
}

.is-mobile .process-arrow {
  top: 15px;
  left: 91px;
  width: 7px;
  height: 12px;
}
