/* 仅 service.html 引用，不影响其他页面 */

.service-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
	max-width: 100%;
}

.service-jump a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.service-jump a:hover,
.service-jump a:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.service-page .sub-hero {
	background:
		linear-gradient(135deg, rgba(53, 11, 85, 0.97), rgba(87, 12, 140, 0.95)),
		url("../img/banner2.png") center / cover;
}

.service-page .sub-hero h1 {
	max-width: 920px;
	line-height: 1.16;
}

.service-page .sub-hero p {
	max-width: 820px;
}

.service-page section[id] {
	scroll-margin-top: 96px;
}

/* 底部 CTA：左右分栏，仅服务页 */
.service-cta-section {
	padding-bottom: 72px;
}

.service-cta {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 28px;
	align-items: stretch;
	padding: 36px 38px;
	border-radius: var(--radius);
	color: #fff;
	background:
		linear-gradient(135deg, rgba(53, 11, 85, 0.98), rgba(138, 23, 224, 0.92)),
		url("../img/main-banner.jpg") center / cover;
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
}

.service-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
}

.service-cta-main,
.service-cta-panel {
	position: relative;
	z-index: 1;
}

.service-cta-eyebrow {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.92);
	background: rgba(255, 255, 255, 0.1);
}

.service-cta h2 {
	margin-top: 16px;
	max-width: 640px;
	font-size: clamp(24px, 3.2vw, 38px);
	line-height: 1.22;
}

.service-cta-main > p {
	max-width: 600px;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
	line-height: 1.75;
}

.service-cta-steps {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
	max-width: 520px;
}

.service-cta-steps li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.92);
	font-size: 14px;
	line-height: 1.5;
}

.service-cta-steps li::before {
	content: counter(step);
	counter-increment: step;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	font-size: 12px;
	font-weight: 800;
}

.service-cta-steps {
	counter-reset: step;
}

.service-cta-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 26px 24px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: calc(var(--radius) - 2px);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
}

.service-cta-panel-label {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.88);
	text-align: center;
}

.service-cta-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.service-cta-actions .button {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.service-cta-actions .button.secondary {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.service-cta-actions .button.secondary:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.6);
}

.service-cta-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 10px;
	font-size: 14px;
}

.service-cta-links a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	font-weight: 600;
}

.service-cta-links a:hover {
	color: #fff;
	text-decoration: underline;
}

.service-cta-links span {
	color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 980px) {
	.service-jump {
		gap: 8px;
		margin-top: 24px;
	}

	.service-jump a {
		padding: 7px 12px;
		font-size: 13px;
	}

	.service-cta {
		grid-template-columns: 1fr;
		padding: 30px 28px;
		gap: 22px;
	}

	.service-cta-panel {
		padding: 22px 20px;
	}
}

@media (max-width: 640px) {
	.service-page .sub-hero h1 {
		font-size: clamp(26px, 7.2vw, 34px);
		line-height: 1.22;
	}

	.service-page .sub-hero p {
		font-size: 16px;
		line-height: 1.7;
	}

	.service-jump {
		gap: 8px;
		margin-top: 20px;
	}

	.service-jump a {
		padding: 6px 11px;
		font-size: 12px;
	}

	.service-page .product-desc {
		margin-bottom: 14px;
	}

	.service-cta-section {
		padding-bottom: 56px;
	}

	.service-cta {
		padding: 24px 18px;
	}

	.service-cta-main > p {
		font-size: 15px;
	}

	.service-cta-steps li {
		padding: 9px 12px;
		font-size: 13px;
	}

	.service-cta-panel {
		padding: 18px 16px;
	}
}
