/* ============================================================
   Cap Process — Section 05
   Figma 527:5359 | PCB Manufacturing Process
   居中标题 + 5 步骤（左号 + 竖线 + 中文字 + 右图）
   设计基准 1280px
   ============================================================ */

.sparta-cap-process {
	background: #fff;
	width: 100%;
	padding: 80px 0;
}

.sparta-cap-process__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 154px; /* 与 Figma left:154px 对齐 */
	display: flex;
	flex-direction: column;
	gap: 60px;
}

/* ── 顶部标题（居中） ── */
.sparta-cap-process__header {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 27px;
	align-items: center;
}

.sparta-cap-process__title {
	font-family: 'Anton', sans-serif;
	font-size: 48px;
	line-height: 60px;
	color: #012f73;
	margin: 0;
	font-weight: 400;
	max-width: 536px;
}

.sparta-cap-process__desc {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 30px;
	color: #000;
	margin: 0;
	max-width: 794px;
}

/* ── 步骤列表 ── */
.sparta-cap-process__steps {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ── 单个步骤 ── */
.sparta-cap-process__step {
	display: grid;
	grid-template-columns: 66px 1fr 471px;
	gap: 0 24px;
	align-items: start;
	min-height: 294px; /* 图片 256px + 上下间距 */
	padding-bottom: 38px;
}

.sparta-cap-process__step:last-child {
	padding-bottom: 0;
}

/* 左侧：步骤号 + 竖线 */
.sparta-cap-process__step-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}

.sparta-cap-process__badge {
	flex-shrink: 0;
	width: 66px;
	height: 66px;
	border-radius: 33px;
	background: #d0e4ff;
	box-shadow: 0px 5px 2.5px rgba(157, 157, 157, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
}

.sparta-cap-process__badge span {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 30px;
	color: #054fbd;
}

.sparta-cap-process__line {
	flex: 1;
	width: 2px;
	background: #d0e4ff;
	margin-top: 8px;
	min-height: 40px;
}

/* 中间文字 */
.sparta-cap-process__step-content {
	padding-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sparta-cap-process__step-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 35px;
	color: #000;
	margin: 0;
}

.sparta-cap-process__step-desc {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 25px;
	color: #000;
	margin: 0;
	max-width: 373px;
}

/* 右侧图片 */
.sparta-cap-process__step-image {
	border-radius: 20px;
	overflow: hidden;
	height: 256px;
}

.sparta-cap-process__step-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── 大屏 ≥1800px ── */
@media (min-width: 1800px) {
	.sparta-cap-process__inner {
		max-width: 1600px;
		padding: 0 180px;
	}

	.sparta-cap-process__step {
		grid-template-columns: 66px 1fr 560px;
	}

	.sparta-cap-process__step-image {
		height: 300px;
	}
}

/* ── 平板 768px–1279px ── */
@media (min-width: 768px) and (max-width: 1279px) {
	.sparta-cap-process__inner {
		padding: 0 24px;
		gap: 48px;
	}

	.sparta-cap-process__step {
		grid-template-columns: 66px 1fr 320px;
		gap: 0 16px;
		min-height: auto;
	}

	.sparta-cap-process__step-image {
		height: 200px;
	}

	.sparta-cap-process__title {
		font-size: 36px;
		line-height: 46px;
	}
}

/* ── 手机 ≤767px ── */
@media (max-width: 767px) {
	.sparta-cap-process {
		padding: 48px 0;
	}

	.sparta-cap-process__inner {
		padding: 0 20px;
		gap: 40px;
	}

	.sparta-cap-process__title {
		font-size: 30px;
		line-height: 38px;
	}

	.sparta-cap-process__step {
		grid-template-columns: 50px 1fr;
		grid-template-rows: auto auto;
		gap: 0 12px;
		min-height: auto;
		padding-bottom: 28px;
	}

	.sparta-cap-process__step-image {
		grid-column: 1 / -1;
		height: 180px;
		margin-top: 16px;
	}

	.sparta-cap-process__badge {
		width: 50px;
		height: 50px;
	}

	.sparta-cap-process__badge span {
		font-size: 20px;
	}

	.sparta-cap-process__step-title {
		font-size: 20px;
		line-height: 28px;
	}
}
