/*
 * Sparta Home Why Choose Us Section
 * Figma 节点: 265:1033 / 265:1032
 * 设计基准: 1280px
 *
 * 上半：全宽背景图 + 左侧半透明卡片 + 按钮
 * 下半：蓝色数据条 3 项
 */

/* ────────────────────────────────────────────────
   Section 外层
──────────────────────────────────────────────── */
.sparta-why-choose {
	width: 100%;
}

/* ── 上半：背景图区 ── */
.sparta-why-choose__hero {
	position: relative;
	width: 100%;
	height: 648px;
	overflow: hidden;
}

.sparta-why-choose__hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

/* 左侧半透明黑色卡片 */
.sparta-why-choose__card {
	position: absolute;
	left: 87px;
	top: 106px;
	width: 453px;
	min-height: 408px;
	background: rgba(16, 16, 16, 0.50);
	border-radius: 20px;
	padding: 80px 56px 56px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.sparta-why-choose__card-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 30px;
	color: #ffffff;
	margin: 0 0 24px;
}

.sparta-why-choose__card-desc {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 30px;
	color: #ffffff;
	margin: 0 0 32px;
}

/* Explore more 按钮（黄底蓝字） */
.sparta-why-choose__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: #ffd739;
	padding: 7px 23px;
	border-radius: 5px;
	height: 44px;
	text-decoration: none;
	box-sizing: border-box;
	align-self: flex-start;
	transition: background-color 0.3s ease;
}

.sparta-why-choose__btn-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 20px;
	color: #054fbd;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.sparta-why-choose__btn-icon {
	display: flex;
	align-items: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.sparta-why-choose__btn-icon svg {
	width: 20px;
	height: 20px;
}

.sparta-why-choose__btn-icon svg path {
	transition: stroke 0.3s ease;
}

.sparta-why-choose__btn:hover {
	background-color: #054fbd;
}

.sparta-why-choose__btn:hover .sparta-why-choose__btn-text {
	color: #ffd739;
}

.sparta-why-choose__btn:hover .sparta-why-choose__btn-icon svg path {
	stroke: #ffd739;
}

/* ── 下半：蓝色数据条 ── */
.sparta-why-choose__bar {
	background-color: #054fbd;
	width: 100%;
	padding: 46px 0;
}

.sparta-why-choose__bar-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 39px;
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
}

.sparta-why-choose__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.sparta-why-choose__stat-icon {
	width: 45px;
	height: 45px;
	border: 2px solid #ffffff;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sparta-why-choose__stat-icon img {
	max-width: 22px;
	max-height: 24px;
	object-fit: contain;
}

.sparta-why-choose__stat-label {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 30px;
	color: #ffffff;
	text-align: center;
	margin: 0;
}

/* ────────────────────────────────────────────────
   响应式
──────────────────────────────────────────────── */
@media (max-width: 767px) {
	.sparta-why-choose__hero {
		height: auto;
		min-height: 400px;
	}

	.sparta-why-choose__card {
		position: relative;
		left: auto;
		top: auto;
		width: 100%;
		min-height: auto;
		border-radius: 0;
		padding: 40px 20px;
		background: rgba(16, 16, 16, 0.65);
	}

	.sparta-why-choose__bar-inner {
		flex-direction: column;
		gap: 32px;
		padding: 0 24px;
	}

	.sparta-why-choose__stat {
		flex-direction: row;
		align-items: center;
		gap: 16px;
	}

	.sparta-why-choose__stat-label {
		text-align: left;
		font-size: 16px;
	}
}

@media (min-width: 768px) and (max-width: 1279px) {
	.sparta-why-choose__hero {
		height: 480px;
	}

	.sparta-why-choose__card {
		left: 40px;
		top: 60px;
		width: 380px;
		padding: 60px 40px 40px;
	}

	.sparta-why-choose__bar-inner {
		padding: 0 24px;
	}
}

@media (min-width: 1800px) {
	.sparta-why-choose__hero {
		height: 720px;
	}

	.sparta-why-choose__bar-inner {
		max-width: 1600px;
	}
}
