/* ============================================
   服务案例 — 统一风格
   ============================================ */

/* ── Hero ── */
.fw-hero {
	padding: var(--space-5xl) 0 var(--space-4xl);
	background: linear-gradient(165deg, #0a1a24 0%, #132a38 50%, #0d1e2b 100%);
	position: relative; overflow: hidden;
}

.fw-hero-bg {
	position: absolute; inset: 0;
	opacity: 0.08;
	background-image:
		linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
}

.fw-hero-inner { position: relative; z-index: 1; }

.fw-hero-eyebrow { font-size: 11px; font-weight: 600; color: var(--color-accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-md); }
.fw-hero-title { font-size: 3.5rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 var(--space-sm); }
.fw-hero-desc { font-size: var(--text-md); color: rgba(255,255,255,0.5); line-height: 1.7; margin: 0 0 var(--space-xl); max-width: 600px; }
.fw-hero-tabs { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.fw-hero-tab {
	display: inline-flex; align-items: center; padding: 0.65rem 1.8rem;
	font-size: 14px; font-weight: 600;
	color: rgba(255,255,255,0.5);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 4px; text-decoration: none;
	transition: all 0.25s ease;
}
.fw-hero-tab:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.fw-hero-tab.active { color: #0a1a24; background: var(--color-accent); border-color: var(--color-accent); }

/* ── 合作客户（Logo墙滚动） ── */
.fw-clients { padding: var(--space-5xl) 0 0; background: #f4f6f8; }

.fw-clients-header {
	display: flex; align-items: center; gap: var(--space-lg);
	margin-bottom: var(--space-xl);
}

.fw-clients-title {
	font-size: var(--text-sm); font-weight: 600;
	color: var(--color-text-muted);
	white-space: nowrap; letter-spacing: 0.05em; text-transform: uppercase;
}

.fw-clients-header::after { content: ''; flex: 1; height: 1px; background: var(--color-divider); }

/* 覆盖组件滚动样式 */
.fw-clients .fwal-logo-wall { overflow: hidden; }

.fw-clients .fwal-logo-wall-b { white-space: nowrap !important; }

.fw-clients .fwal-logo-wall-col {
	display: inline-block !important;
	vertical-align: top;
	list-style: none; padding: 0; margin: 0;
	border-right: 1px solid var(--color-divider);
}
.fw-clients .fwal-logo-wall-col:first-child { border-left: 1px solid var(--color-divider); }

.fw-clients .fwal-logo-wall li { display: block; background: #fff; }
.fw-clients .fwal-logo-wall li:not(:last-child) { border-bottom: 1px solid var(--color-divider); }

.fw-clients .fwal-logo-wall li a {
	display: flex; align-items: center; justify-content: center;
	width: 180px; height: 80px; padding: var(--space-2xs);
}

.fw-clients .fwal-logo-wall li a img {
	max-width: 85%; max-height: 48px;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.fw-clients .fwal-logo-wall li:hover { background: #fafcfd; }
.fw-clients .fwal-logo-wall li:hover img { transform: scale(1.08); }

/* ── 案例展示 ── */
.fw-cases { padding: var(--space-5xl) 0; background: #f4f6f8; }

.fw-cases-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-xl);
}

.fw-case-card {
	display: block; background: #fff;
	border: 1px solid #dce2e8; border-radius: 6px;
	overflow: hidden; text-decoration: none;
	transition: all 0.35s ease;
}
.fw-case-card:hover { border-color: var(--color-primary); box-shadow: 0 8px 24px rgba(13,110,140,0.06); transform: translateY(-3px); }

.fw-case-img { aspect-ratio: 16 / 10; overflow: hidden; }
.fw-case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.fw-case-card:hover .fw-case-img img { transform: scale(1.06); }

.fw-case-body { padding: var(--space-md) var(--space-lg); }
.fw-case-title { font-size: var(--text-sm); font-weight: 500; color: var(--color-text); margin: 0; transition: color 0.2s ease; }
.fw-case-card:hover .fw-case-title { color: var(--color-primary); }

.fw-pagination { margin-top: var(--space-3xl); }

/* ── 响应式 ── */
@media (max-width: 1024px) {
	.fw-hero-title { font-size: 2.5rem; }
	.fw-cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.fw-hero { padding: var(--space-4xl) 0 var(--space-3xl); }
	.fw-hero-title { font-size: 2rem; }
	.fw-clients { padding-top: var(--space-3xl); }
	.fw-clients .fwal-logo-wall li a { width: 140px; height: 64px; }
	.fw-clients .fwal-logo-wall li a img { max-height: 36px; }
	.fw-cases { padding: var(--space-4xl) 0; }
	.fw-cases-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}
