/* 产品服务 — 明亮大气，对齐 site.css 设计令牌 */

@keyframes svc-fade-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes svc-mask-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* ---------- Hero：明亮大气 ---------- */
.svc-hero {
	position: relative;
	min-height: 440px;
	overflow: hidden;
	background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 45%, #f8fafc 100%);
	color: var(--zly-text, #111827);
}

.svc-hero-media {
	position: absolute;
	inset: 0;
	background-image: url("/home/images/banner-service-bright.jpg");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.02);
	animation: svc-mask-in 0.9s var(--zly-ease, ease) both;
}

.svc-hero-mask {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(248, 250, 252, 0.88) 0%, rgba(239, 246, 255, 0.72) 38%, rgba(219, 234, 254, 0.28) 72%, rgba(191, 219, 254, 0.12) 100%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(239, 246, 255, 0.45) 100%);
}

.svc-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 440px;
	padding: 52px 15px 88px;
}

.svc-breadcrumb {
	margin: 0 0 28px;
	font-size: 13px;
	color: var(--zly-muted, #6b7280);
	animation: svc-fade-up 0.55s var(--zly-ease, ease) 0.05s both;
}

.svc-breadcrumb a {
	color: var(--zly-brand, #2563eb);
	text-decoration: none;
}

.svc-breadcrumb a:hover {
	color: var(--zly-brand-dark, #1d4ed8);
}

.svc-breadcrumb-sep {
	margin: 0 8px;
	opacity: 0.45;
}

.svc-hero-copy {
	max-width: 680px;
	animation: svc-fade-up 0.65s var(--zly-ease, ease) 0.12s both;
}

.svc-hero-eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--zly-brand, #2563eb);
}

.svc-hero-copy h1 {
	margin: 0;
	font-size: clamp(34px, 5vw, 48px);
	font-weight: 700;
	line-height: 1.18;
	color: var(--zly-text, #111827);
	letter-spacing: 0.01em;
}

.svc-hero-lead {
	margin: 18px 0 0;
	max-width: 540px;
	font-size: 16px;
	line-height: 1.8;
	color: #4b5563;
}

.svc-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
	animation: svc-fade-up 0.65s var(--zly-ease, ease) 0.22s both;
}

.svc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border-radius: var(--zly-radius, 8px);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.2s var(--zly-ease, ease), color 0.2s var(--zly-ease, ease),
		border-color 0.2s var(--zly-ease, ease), transform 0.2s var(--zly-ease, ease),
		box-shadow 0.2s var(--zly-ease, ease);
}

.svc-btn-primary {
	background: var(--zly-brand, #2563eb);
	color: #fff !important;
	box-shadow: var(--zly-shadow-brand, 0 8px 24px rgba(37, 99, 235, 0.28));
}

.svc-btn-primary:hover {
	background: var(--zly-brand-dark, #1d4ed8);
	color: #fff !important;
	transform: translateY(-1px);
}

.svc-btn-ghost {
	border: 1px solid rgba(37, 99, 235, 0.28);
	color: var(--zly-brand-deep, #1e3a8a) !important;
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.svc-btn-ghost:hover {
	border-color: var(--zly-brand, #2563eb);
	color: var(--zly-brand-dark, #1d4ed8) !important;
	background: #fff;
}

.svc-btn-ghost-dark {
	border-color: rgba(255, 255, 255, 0.32);
	color: rgba(255, 255, 255, 0.92) !important;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.svc-btn-ghost-dark:hover {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff !important;
	background: rgba(255, 255, 255, 0.12);
}

/* ---------- 服务目录：两行，贴在头图下沿 ---------- */
.svc-anchors {
	position: relative;
	z-index: 3;
	margin-top: -46px;
	background: transparent;
	border: 0;
}

.svc-directory {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fff 100%);
	border: 1px solid rgba(37, 99, 235, 0.14);
	border-radius: 18px;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.8) inset,
		0 16px 40px rgba(30, 58, 138, 0.08);
}

.svc-directory-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.svc-directory-row + .svc-directory-row {
	padding-top: 10px;
	border-top: 1px solid #eef2ff;
}

.svc-directory-label {
	flex: 0 0 84px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	margin-top: 1px;
	border-radius: 10px;
	background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
	color: #1d4ed8 !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none !important;
}

.svc-directory-label:hover,
.svc-directory-label.is-active {
	background: #2563eb;
	color: #fff !important;
}

.svc-directory-links {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
}

.svc-directory-links a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 10px;
	border: 1px solid #e6edf5;
	border-radius: 999px;
	background: #f8fafc;
	color: #334155;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-directory-links a:hover,
.svc-directory-links a.is-active {
	border-color: #2563eb;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}

.svc-directory-links a.svc-directory-link-extra.is-collapsed {
	display: none;
}

.svc-directory-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	min-height: 34px;
	padding: 0;
	border: 1px solid #e6edf5;
	border-radius: 999px;
	background: #f8fafc;
	color: #2563eb;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-directory-toggle:hover,
.svc-directory-toggle[aria-expanded="true"] {
	border-color: #2563eb;
	background: #eff6ff;
	color: #1d4ed8;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
}

.svc-directory-toggle:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.svc-directory-toggle-icon {
	display: block;
	transition: transform 0.2s ease;
}

.svc-directory-toggle[aria-expanded="true"] .svc-directory-toggle-icon {
	transform: rotate(180deg);
}

/* ---------- Page body ---------- */
.svc-page {
	padding: 36px 0 80px;
	background:
		radial-gradient(ellipse 70% 28% at 50% 0%, rgba(219, 234, 254, 0.7) 0%, transparent 62%),
		linear-gradient(180deg, #f8fafc 0%, #f3f6fb 220px);
}

.svc-kicker {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--zly-brand, #2563eb);
}

/* ---------- Blocks ---------- */
.svc-block {
	margin-bottom: 56px;
	scroll-margin-top: 130px;
}

.svc-block-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
	margin-bottom: 22px;
	padding: 4px 4px 0;
	border-bottom: 0;
}

.svc-block-head h2 {
	margin: 0;
	font-size: clamp(26px, 3.4vw, 34px);
	font-weight: 700;
	color: var(--zly-text, #111827);
	line-height: 1.28;
	max-width: 640px;
}

.svc-block-head h2::after {
	content: "";
	display: block;
	width: 42px;
	height: 3px;
	margin-top: 12px;
	border-radius: 999px;
	background: linear-gradient(90deg, #2563eb 0%, rgba(37, 99, 235, 0) 100%);
}

.svc-block-head--split h2 {
	max-width: 520px;
}

.svc-block-note {
	margin: 0 0 14px;
	max-width: 320px;
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(191, 219, 254, 0.8);
	font-size: 13px;
	line-height: 1.7;
	color: #475569;
}

/* ---------- Category ---------- */
.svc-cat {
	margin-bottom: 22px;
	padding: 0 0 8px;
	scroll-margin-top: 130px;
	background: #fff;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
	overflow: hidden;
}

.svc-cat:last-child {
	margin-bottom: 0;
}

.svc-cat-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 18px;
	padding: 18px 22px;
	background:
		linear-gradient(90deg, #eff6ff 0%, rgba(255, 255, 255, 0.4) 62%, #fff 100%);
	border-bottom: 1px solid #eef2ff;
}

.svc-cat-num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 8px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #fff;
	background: linear-gradient(160deg, #3b82f6 0%, #1d4ed8 100%);
	box-shadow: 0 8px 16px rgba(37, 99, 235, 0.28);
}

.svc-cat-head h3 {
	margin: 0 0 6px;
	font-size: clamp(20px, 2.4vw, 24px);
	font-weight: 700;
	color: var(--zly-text, #111827);
	line-height: 1.35;
}

.svc-cat-head p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--zly-muted, #6b7280);
}

/* ---------- Product cards ---------- */
.svc-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding: 0 18px 16px;
}

.svc-cards--dense {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.svc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 24px 22px 22px;
	background: var(--zly-surface, #fff);
	border: 1px solid rgba(229, 231, 235, 0.9);
	border-radius: 14px;
	border-top: 3px solid var(--svc-accent, var(--zly-brand, #2563eb));
	box-shadow: 0 1px 2px rgba(10, 22, 40, 0.03), 0 8px 24px rgba(10, 22, 40, 0.04);
	transition: border-color 0.22s var(--zly-ease, ease), box-shadow 0.22s var(--zly-ease, ease),
		transform 0.22s var(--zly-ease, ease);
}

.svc-card--home {
	padding: 22px 22px 22px;
	border: 1px solid var(--zly-line, #e5e7eb);
	transition: border-color 0.25s var(--zly-ease, ease), box-shadow 0.25s var(--zly-ease, ease),
		transform 0.25s var(--zly-ease, ease);
}

.svc-card:hover {
	box-shadow: var(--zly-shadow, 0 12px 40px rgba(10, 22, 40, 0.1));
	transform: translateY(-3px);
}

.svc-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.svc-card--home .svc-card-top {
	margin-bottom: 14px;
}

.svc-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	border: 1px solid transparent;
}

.svc-tag--ready {
	color: #047857;
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.svc-tag--plan {
	color: #4b5563;
	background: #f3f4f6;
	border-color: #e5e7eb;
}

.svc-tag--pending {
	color: #c2410c;
	background: #fff7ed;
	border-color: #fed7aa;
}

.svc-tag--manual {
	color: #1d4ed8;
	background: #eff6ff;
	border-color: #bfdbfe;
}

.svc-tag--info {
	color: #1e40af;
	background: #eff6ff;
	border-color: #bfdbfe;
}

.svc-card h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--zly-text, #111827);
	line-height: 1.35;
}

.svc-card-desc {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--zly-muted, #6b7280);
}

.svc-card-points {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	flex: 1;
}

.svc-card-points li {
	position: relative;
	padding: 0 0 8px 16px;
	font-size: 13px;
	line-height: 1.6;
	color: #4b5563;
}

.svc-card-points li:last-child {
	padding-bottom: 0;
}

.svc-card-points li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--svc-accent, var(--zly-brand, #2563eb));
	opacity: 0.75;
}

.svc-card-foot {
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px dashed var(--zly-line, #e5e7eb);
	font-size: 12px;
	line-height: 1.65;
	color: #9ca3af;
}

.svc-card-link {
	display: inline-flex;
	align-items: center;
	margin-top: 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--zly-brand, #2563eb);
	text-decoration: none;
}

.svc-card-link:hover {
	color: var(--zly-brand-dark, #1d4ed8);
	text-decoration: none;
}

.svc-card-link span {
	margin-left: 4px;
	font-size: 12px;
	transition: transform 0.2s var(--zly-ease, ease);
}

.svc-card:hover .svc-card-link span {
	transform: translateX(3px);
}

/* ---------- AI capability ---------- */
.svc-ai {
	padding: 36px 32px 32px;
	background: var(--zly-surface, #fff);
	border: 1px solid var(--zly-line, #e5e7eb);
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(10, 22, 40, 0.04);
}

.svc-ai .svc-block-head {
	border-bottom-color: transparent;
	padding-bottom: 0;
	margin-bottom: 28px;
}

.svc-ai-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.svc-ai-card {
	display: flex;
	flex-direction: column;
	padding: 22px 20px 20px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border: 1px solid var(--zly-line, #e5e7eb);
	border-radius: 14px;
	transition: border-color 0.22s var(--zly-ease, ease), box-shadow 0.22s var(--zly-ease, ease),
		transform 0.22s var(--zly-ease, ease);
}

.svc-ai-card:hover {
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
	transform: translateY(-2px);
}

.svc-ai-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 14px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
	box-shadow: 0 6px 14px rgba(234, 88, 12, 0.28);
}

.svc-ai-card h4 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--zly-text, #111827);
}

.svc-ai-card p {
	margin: 10px 0 16px;
	flex: 1;
	font-size: 13px;
	line-height: 1.7;
	color: var(--zly-muted, #6b7280);
}

.svc-ai-card .svc-tag {
	align-self: flex-start;
}

.svc-ai-catalog {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 28px;
	flex-wrap: wrap;
	margin-top: 28px;
	padding: 26px 28px;
	border-radius: 14px;
	background:
		radial-gradient(ellipse 50% 80% at 100% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 55%),
		linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
	border: 1px solid #dbeafe;
}

.svc-ai-catalog h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: var(--zly-text, #111827);
}

.svc-ai-catalog-note {
	margin: 0;
	flex: 1 1 240px;
	max-width: 420px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--zly-muted, #6b7280);
}

/* ---------- Process ---------- */
.svc-process {
	margin-top: 8px;
	padding: 32px 28px 28px;
	background:
		radial-gradient(ellipse 50% 80% at 100% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 55%),
		#fff;
	border-radius: 18px;
	border: 1px solid rgba(191, 219, 254, 0.9);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.svc-process-head {
	max-width: 560px;
	margin-bottom: 28px;
}

.svc-process-head h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: var(--zly-text, #111827);
}

.svc-process-head p {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--zly-muted, #6b7280);
}

.svc-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.svc-step {
	position: relative;
	padding: 18px 16px 16px;
	background: #f8fafc;
	border: 1px solid #e8eef6;
	border-radius: 14px;
}

.svc-step-num {
	display: inline-flex;
	align-items: center;
	height: 26px;
	margin-bottom: 12px;
	padding: 0 10px;
	border-radius: 999px;
	background: #eff6ff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #1d4ed8;
}

.svc-step h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--zly-text, #111827);
}

.svc-step p {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--zly-muted, #6b7280);
}

/* ---------- CTA band ---------- */
.svc-cta {
	margin-top: 28px;
	padding: 36px 36px;
	border-radius: 18px;
	background:
		radial-gradient(ellipse 55% 90% at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 50%),
		linear-gradient(115deg, #1e3a8a 0%, #2563eb 58%, #3b82f6 100%);
	color: #fff;
	border: 0;
	box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.svc-cta h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
}

.svc-cta p {
	margin: 10px 0 0;
	max-width: 520px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.84);
}

.svc-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex: 0 0 auto;
}

.svc-cta .svc-btn-primary {
	background: #fff;
	color: #1d4ed8 !important;
	box-shadow: none;
}

.svc-cta .svc-btn-primary:hover {
	background: #eff6ff;
	color: #1e3a8a !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.svc-hero,
	.svc-hero-inner {
		min-height: 380px;
	}

	.svc-cards,
	.svc-cards--dense,
	.svc-ai-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.svc-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 20px;
	}

	.svc-process,
	.svc-ai {
		padding: 28px 22px;
	}

	.svc-ai-catalog {
		padding: 22px;
	}
}

@media (max-width: 767px) {
	.svc-hero,
	.svc-hero-inner {
		min-height: 340px;
	}

	.svc-hero-inner {
		padding: 36px 15px 44px;
	}

	.svc-hero-lead {
		font-size: 14px;
	}

	.svc-anchors {
		margin-top: 14px;
	}

	.svc-directory {
		padding: 12px;
		border-radius: 14px;
	}

	.svc-directory-row {
		flex-direction: column;
		gap: 8px;
	}

	.svc-directory-label {
		flex: none;
		width: auto;
		align-self: flex-start;
		padding: 0 12px;
	}

	.svc-page {
		padding: 22px 0 56px;
	}

	.svc-block {
		margin-bottom: 40px;
		scroll-margin-top: 120px;
	}

	.svc-block-head {
		margin-bottom: 24px;
		align-items: flex-start;
	}

	.svc-block-note {
		max-width: none;
	}

	.svc-cat {
		scroll-margin-top: 80px;
	}

	.svc-cat-head {
		padding: 16px;
	}

	.svc-cards {
		padding: 0 12px 12px;
	}

	.svc-cards,
	.svc-cards--dense,
	.svc-ai-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.svc-card {
		padding: 20px 18px;
	}

	.svc-process {
		margin-top: 0;
		padding: 24px 18px;
	}

	.svc-steps {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.svc-cta {
		margin-top: 36px;
		padding: 28px 20px;
	}

	.svc-cta h2 {
		font-size: 20px;
	}

	.svc-cta-actions {
		width: 100%;
	}

	.svc-cta-actions .svc-btn {
		flex: 1 1 auto;
		min-width: 140px;
	}

	.svc-ai-catalog .svc-btn {
		width: 100%;
	}
}

.svc-detail-card-title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.svc-detail-card-title-link:hover {
	color: var(--zly-brand, #2563eb);
}
