/* ============================================================
   Auto Service Types — Section 03
   白底，2行×3列渐变卡片（white→#d0e4ff），360×407px
   设计基准 1280px
   ============================================================ */

.sparta-auto-service-types {
	width: 100%;
	background: #fff;
	padding: 80px 0;
}

.sparta-auto-service-types__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}

/* ── Header ── */
.sparta-auto-service-types__header {
	text-align: center;
	margin-bottom: 56px;
}

.sparta-auto-service-types__title {
	font-family: 'Anton', sans-serif;
	font-size: 48px;
	font-weight: 400;
	color: #012f73;
	margin: 0 0 16px;
	line-height: 1.1;
}

.sparta-auto-service-types__subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #555;
	margin: 0;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.75;
}

/* ── Grid ── */
.sparta-auto-service-types__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

/* ── 单张卡片 ── */
.sparta-auto-service-types__card {
	width: 100%;
	max-width: 360px;
	background: linear-gradient(180deg, #ffffff 0%, #d0e4ff 100%);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(1, 47, 115, 0.12);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-self: center;
}

/* 图片区 */
.sparta-auto-service-types__card-img {
	width: 221px;
	height: 222px;
	margin: 28px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	filter: drop-shadow(0 8px 20px rgba(1, 47, 115, 0.2));
}

.sparta-auto-service-types__card-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sparta-auto-service-types__card-img--placeholder {
	background: rgba(1, 47, 115, 0.06);
	border-radius: 8px;
}

/* 卡片内容 */
.sparta-auto-service-types__card-body {
	padding: 20px 24px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	flex: 1;
}

.sparta-auto-service-types__card-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: #012f73;
	margin: 0;
	line-height: 1.3;
}

.sparta-auto-service-types__card-desc {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #444;
	margin: 0;
	line-height: 1.65;
	flex: 1;
}

/* 默认：黄底蓝字；Hover：蓝底白字 */
.sparta-auto-service-types__card-btn {
	display: inline-block;
	width: 150px;
	height: 37px;
	line-height: 37px;
	text-align: center;
	background: #ffd739;
	color: #054fbd;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none;
	margin-top: 4px;
	transition: background 0.2s, color 0.2s;
	flex-shrink: 0;
}

.sparta-auto-service-types__card-btn:hover {
	background: #054fbd;
	color: #ffffff;
}

/* ── 响应式 ── */
@media ( min-width: 1800px ) {
	.sparta-auto-service-types__inner {
		max-width: 1600px;
	}
	.sparta-auto-service-types__title {
		font-size: 56px;
	}
	.sparta-auto-service-types__grid {
		gap: 40px;
	}
	.sparta-auto-service-types__card {
		max-width: 440px;
	}
}

@media ( min-width: 768px ) and ( max-width: 1279px ) {
	.sparta-auto-service-types__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
	.sparta-auto-service-types__card {
		max-width: 100%;
	}
	.sparta-auto-service-types__title {
		font-size: 36px;
	}
}

@media ( max-width: 767px ) {
	.sparta-auto-service-types {
		padding: 48px 0;
	}
	.sparta-auto-service-types__inner {
		padding: 0 16px;
	}
	.sparta-auto-service-types__title {
		font-size: 28px;
	}
	.sparta-auto-service-types__subtitle {
		font-size: 14px;
	}
	.sparta-auto-service-types__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.sparta-auto-service-types__card {
		max-width: 100%;
	}
	.sparta-auto-service-types__card-img {
		width: 160px;
		height: 160px;
	}
}
