/* ==============================================
   Service Showcase Widget
   ============================================== */
.svc-section,
.svc-section *,
.svc-section *::before,
.svc-section *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.svc-section {
	padding: 72px 24px 80px;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	font-family: Inter, sans-serif;
}

.svc-title {
	text-align: center;
	font-size: clamp(26px, 3.6vw, 38px);
	font-weight: 800;
	letter-spacing: -0.5px;
	margin-bottom: 48px;
	color: #111827;
}

.svc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

/* ── 图片卡片 ── */
.svc-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.32s ease, box-shadow 0.32s ease;
	text-decoration: none;
	cursor: pointer;
}

.svc-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 55px rgba(17, 24, 39, 0.12);
}

.svc-thumb {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
}

.svc-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.svc-card:hover .svc-thumb img {
	transform: scale(1.05) rotate(1.5deg);
}

.svc-overlay {
	position: absolute;
	inset: 0;
	background: rgba(30, 30, 30, 0.55);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.svc-overlay::after {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1.5px solid rgba(255, 255, 255, 0.6);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.35s ease, inset 0.35s ease;
}

.svc-card:hover .svc-overlay {
	opacity: 1;
}

.svc-card:hover .svc-overlay::after {
	opacity: 1;
	inset: 18px;
}

.svc-label {
	padding: 20px 22px;
	font-size: 15px;
	font-weight: 600;
	color: #1f3fa0;
	text-align: center;
	border-top: 1px solid #e5e7eb;
}

/* ── 引用卡片 ── */
.svc-quote {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	padding: 36px 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	transition: transform 0.32s ease, box-shadow 0.32s ease;
	text-decoration: none;
	cursor: pointer;
	color: inherit;
}

.svc-quote:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 55px rgba(17, 24, 39, 0.12);
}

.quote-icon {
	width: 38px;
	height: 38px;
	display: block;
}

.quote-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.quote-text {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	color: #1f3fa0;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	line-height: 1.55;
}

.quote-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
}

.quote-desc {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.6;
	flex: 1;
}

.quote-arrow {
	width: 44px;
	height: 44px;
	background: #1f3fa0;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	transition: background 0.25s ease, transform 0.25s ease;
}

.quote-arrow img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.svc-quote:hover .quote-arrow {
	background: #142d75;
	transform: translateX(4px);
}

/* ── 响应式 ── */
@media (max-width: 900px) {
	.svc-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 560px) {
	.svc-section {
		padding: 48px 16px 56px;
	}
	.svc-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.svc-thumb {
		height: 200px;
	}
	.svc-quote {
		padding: 28px 22px;
	}
}
