/* ============================================================
   Auto Hero — Section 01
   Figma 554:1317
   全宽背景图（700px）+ 左侧渐变浮动卡片（638×583px）
   按钮：蓝底白字 + 右侧黄色方块箭头（Quote 组件）
   设计基准 1280px
   ============================================================ */

.sparta-auto-hero {
	position: relative;
	width: 100%;
	height: 700px;
	background-color: #0d1f44;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
}

/* ── 内容容器：左侧 39px 对齐（Figma card left:39px / 1280px） ── */
.sparta-auto-hero__inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 39px;
	display: flex;
	align-items: center;
}

/* ── 渐变卡片 ── */
/* Figma: 638×583px, pt43 pr58 pb42 pl54, white→#d0e4ff, border-radius 20px,
   drop-shadow: 0px 4px 5px rgba(157,157,157,0.25) */
.sparta-auto-hero__card {
	width: 638px;
	min-height: 583px;
	background: linear-gradient(180deg, #ffffff 0%, #d0e4ff 100%);
	border-radius: 20px;
	filter: drop-shadow(0px 4px 5px rgba(157, 157, 157, 0.25));
	padding: 43px 58px 42px 54px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
	flex-shrink: 0;
	box-sizing: border-box;
}

/* ── 副标题：Montserrat Bold 20px #053b8c ── */
.sparta-auto-hero__subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 20px;
	color: #053b8c;
	margin: 0;
}

/* ── 主标题：Anton 60px / line-height 70px #012f73 ── */
.sparta-auto-hero__title {
	font-family: 'Anton', sans-serif;
	font-size: 60px;
	line-height: 70px;
	color: #012f73;
	margin: 0;
	font-weight: 400;
}

/* ── 描述：Montserrat Medium 16px #043580 ── */
.sparta-auto-hero__desc {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 25px;
	color: #043580;
	margin: 0;
	max-width: 500px;
}

/* ── 按钮：Quote 组件 ── */
/* 默认态：蓝底白字 + 黄色方块蓝箭头 */
/* Hover 态：黄底蓝字 + 蓝色方块黄箭头 */
/* Figma: w232 h44, px23 py7, border-radius 5px, gap 20, justify-center */
.sparta-auto-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 232px;
	height: 44px;
	background: #054fbd;
	color: #ffffff;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 20px;
	padding: 7px 23px;
	border-radius: 5px;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s, color 0.2s;
	align-self: flex-start;
	flex-shrink: 0;
}

.sparta-auto-hero__btn:hover {
	background: #ffd739;
	color: #054fbd;
}

.sparta-auto-hero__btn-text {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* 右侧图标区域：外层 40px 高（Figma 136:142），内部 absolute 定位 */
.sparta-auto-hero__btn-icon {
	position: relative;
	width: 33px;
	height: 40px;
	flex-shrink: 0;
}

/* 默认：黄色方块；hover：蓝色方块 */
.sparta-auto-hero__btn-icon-bg {
	position: absolute;
	top: 3.5px;
	left: 0;
	width: 33px;
	height: 33px;
	background: #ffd739;
	border-radius: 5px;
	transition: background 0.2s;
}

.sparta-auto-hero__btn:hover .sparta-auto-hero__btn-icon-bg {
	background: #054fbd;
}

/* SVG 箭头：默认蓝色；hover 黄色 */
.sparta-auto-hero__btn-icon svg {
	position: absolute;
	top: 10px;
	left: 6.5px;
	width: 20px;
	height: 20px;
	color: #054fbd;
	transition: color 0.2s;
}

.sparta-auto-hero__btn:hover .sparta-auto-hero__btn-icon svg {
	color: #ffd739;
}

/* ── 响应式 ── */
@media ( min-width: 1800px ) {
	.sparta-auto-hero {
		height: 800px;
	}
	.sparta-auto-hero__inner {
		max-width: 1600px;
		padding: 0 60px;
	}
	.sparta-auto-hero__card {
		width: 720px;
	}
	.sparta-auto-hero__title {
		font-size: 72px;
		line-height: 80px;
	}
}

@media ( min-width: 768px ) and ( max-width: 1279px ) {
	.sparta-auto-hero {
		height: auto;
		min-height: 560px;
	}
	.sparta-auto-hero__inner {
		padding: 48px 32px;
	}
	.sparta-auto-hero__card {
		width: 480px;
		min-height: auto;
		padding: 36px 40px;
	}
	.sparta-auto-hero__title {
		font-size: 44px;
		line-height: 54px;
	}
	.sparta-auto-hero__subtitle {
		font-size: 16px;
	}
}

@media ( max-width: 767px ) {
	.sparta-auto-hero {
		height: auto;
		min-height: auto;
		padding: 48px 0;
	}
	.sparta-auto-hero__inner {
		padding: 0 16px;
	}
	.sparta-auto-hero__card {
		width: 100%;
		min-height: auto;
		padding: 32px 24px;
		gap: 16px;
	}
	.sparta-auto-hero__title {
		font-size: 36px;
		line-height: 46px;
	}
	.sparta-auto-hero__subtitle {
		font-size: 16px;
	}
	.sparta-auto-hero__desc {
		font-size: 14px;
		max-width: 100%;
	}
	.sparta-auto-hero__btn {
		width: auto;
	}
}
