/* ============================================================
   Cap PCB Types — Section 02
   Figma 280:1748 | PCB Types We Served
   设计基准 1280px
   ============================================================ */

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

.sparta-cap-pcb-types__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 39px;
}

/* ── 顶部标题区 ── */
.sparta-cap-pcb-types__header {
	text-align: center;
	margin-bottom: 57px;
}

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

.sparta-cap-pcb-types__subtitle {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 30px;
	color: #043580;
	margin: 0;
	max-width: 544px;
	margin-left: auto;
	margin-right: auto;
}

/* ── 卡片网格 ── */
.sparta-cap-pcb-types__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
}

/* ── 单张卡片 ── */
.sparta-cap-pcb-types__card {
	width: 221px;
	flex-shrink: 0;
	background: #f9f9f8;
	border-radius: 20px;
	box-shadow: 0px 4px 10px 0px rgba(157, 157, 157, 0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sparta-cap-pcb-types__card-img-wrap {
	width: 100%;
	height: 222px;
	overflow: hidden;
	flex-shrink: 0;
	box-shadow: 0px 10px 10px 0px rgba(143, 143, 143, 0.25);
}

.sparta-cap-pcb-types__card-img-wrap--empty {
	background: #e0e0e0;
}

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

.sparta-cap-pcb-types__card-body {
	padding: 20px 16px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	flex: 1;
}

.sparta-cap-pcb-types__card-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 20px;
	color: #053b8c;
	margin: 0;
	text-align: center;
}

.sparta-cap-pcb-types__card-desc {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	color: #043580;
	margin: 0;
	text-align: center;
	flex: 1;
}

.sparta-cap-pcb-types__card-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #054fbd;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	width: 150px;
	height: 37px;
	border-radius: 5px;
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.3s, color 0.3s;
	margin-top: auto;
}

.sparta-cap-pcb-types__card-btn:hover {
	background: #ffd739;
	color: #054fbd;
}

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

	.sparta-cap-pcb-types__card {
		width: 260px;
	}

	.sparta-cap-pcb-types__card-img-wrap {
		height: 260px;
	}
}

/* ── 平板 768px–1279px ── */
@media (min-width: 768px) and (max-width: 1279px) {
	.sparta-cap-pcb-types {
		padding: 60px 0;
	}

	.sparta-cap-pcb-types__inner {
		padding: 0 24px;
	}

	.sparta-cap-pcb-types__title {
		font-size: 36px;
		line-height: 48px;
	}

	.sparta-cap-pcb-types__card {
		width: calc(20% - 20px);
		min-width: 160px;
	}

	.sparta-cap-pcb-types__card-img-wrap {
		height: 180px;
	}
}

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

	.sparta-cap-pcb-types__inner {
		padding: 0 20px;
	}

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

	.sparta-cap-pcb-types__grid {
		gap: 16px;
		justify-content: center;
	}

	.sparta-cap-pcb-types__card {
		width: calc(50% - 8px);
		min-width: 160px;
	}

	.sparta-cap-pcb-types__card-img-wrap {
		height: 160px;
	}

	.sparta-cap-pcb-types__card-title {
		font-size: 16px;
	}

	.sparta-cap-pcb-types__card-btn {
		width: 120px;
		font-size: 14px;
	}
}
