/* 工程案例列表页 */
.case-page { background: #f8fafc; color: #334155; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.case-page .product-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 45%, #2563eb 100%);
}
.case-page .product-banner::after {
    background: radial-gradient(ellipse at 25% 0%, rgba(59,130,246,0.35) 0%, transparent 55%),
                radial-gradient(ellipse at 85% 100%, rgba(14,165,233,0.2) 0%, transparent 50%);
}

.cs-hero-stats { margin-top: -36px; position: relative; z-index: 3; padding-bottom: 10px; }
.cs-hero-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    background: #fff; border-radius: 16px; padding: 24px 28px;
    box-shadow: 0 12px 40px rgba(30,64,175,0.12); border: 1px solid rgba(30,64,175,0.08);
}
.cs-stat { text-align: center; padding: 8px 12px; border-right: 1px solid #e2e8f0; }
.cs-stat:last-child { border-right: none; }
.cs-stat-num { display: block; font-size: 28px; font-weight: 700; color: #1e40af; margin-bottom: 4px; }
.cs-stat-label { font-size: 13px; color: #64748b; }

.cs-section { padding: 56px 0 80px; }
.cs-section--light { background: #fff; }

.cs-head { text-align: center; margin-bottom: 48px; }
.cs-head .cs-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; background: #eff6ff; color: #1e40af;
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    border-radius: 50px; border: 1px solid rgba(30,64,175,0.12); margin-bottom: 16px;
}
.cs-head h2 { font-size: 30px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.cs-head p { font-size: 15px; color: #64748b; max-width: 720px; margin: 0 auto; line-height: 1.8; }

.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.cs-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid #e2e8f0; transition: all 0.35s;
    box-shadow: 0 4px 20px rgba(15,23,42,0.04);
}
.cs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30,64,175,0.12);
    border-color: rgba(30,64,175,0.2);
}
.cs-card-img { position: relative; height: 220px; overflow: hidden; background: #e2e8f0; }
.cs-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.cs-card:hover .cs-card-img img { transform: scale(1.06); }
.cs-card-tag {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; background: rgba(30,64,175,0.88); color: #fff;
    font-size: 11px; font-weight: 600; border-radius: 14px;
    backdrop-filter: blur(4px);
}
.cs-card-hover {
    position: absolute; inset: 0;
    background: rgba(30,64,175,0.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.35s;
}
.cs-card:hover .cs-card-hover { opacity: 1; }
.cs-card-hover a {
    padding: 10px 24px; background: #fff; color: #1e40af;
    font-size: 14px; font-weight: 600; border-radius: 50px;
    text-decoration: none; transition: all 0.3s;
}
.cs-card-hover a:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cs-card-body { padding: 20px 22px 22px; }
.cs-card-body h3 {
    font-size: 17px; font-weight: 600; color: #0f172a; line-height: 1.45; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cs-card-body h3 a { color: inherit; text-decoration: none; }
.cs-card-body h3 a:hover { color: #1e40af; }
.cs-card-desc {
    font-size: 13px; color: #64748b; line-height: 1.7; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cs-card-meta { display: flex; gap: 16px; font-size: 12px; color: #94a3b8; }
.cs-card-meta span { display: flex; align-items: center; gap: 5px; }
.cs-card-meta i { color: #1e40af; font-size: 13px; }

.cs-pagination { display: flex; justify-content: center; }
.cs-pagination .pagination {
    display: flex; gap: 8px; list-style: none; flex-wrap: wrap;
    justify-content: center; padding: 0; margin: 0;
}
.cs-pagination .pagination a, .cs-pagination .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px;
    border: 1px solid #e2e8f0; color: #475569; font-size: 14px;
    text-decoration: none; transition: all 0.25s;
}
.cs-pagination .pagination a:hover, .cs-pagination .pagination .current {
    background: #1e40af; color: #fff; border-color: #1e40af;
}

.cs-advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cs-adv-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
    padding: 28px 22px; text-align: center; transition: all 0.3s;
}
.cs-adv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,64,175,0.1); border-color: rgba(30,64,175,0.2); }
.cs-adv-icon {
    width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px;
    background: #eff6ff; color: #1e40af;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.cs-adv-card h4 { font-size: 16px; font-weight: 600; color: #0f172a; margin-bottom: 8px; }
.cs-adv-card p { font-size: 13px; color: #64748b; line-height: 1.7; }

.cs-service { padding: 64px 0; background: linear-gradient(135deg, #1e3a8a, #1e40af); }
.cs-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cs-service-item { text-align: center; color: #fff; padding: 16px; }
.cs-service-num { font-size: 36px; font-weight: 700; margin-bottom: 8px; line-height: 1; }
.cs-service-label { font-size: 13px; color: rgba(255,255,255,0.78); }

.cs-cta { background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); padding: 80px 0; text-align: center; border-top: 1px solid #e2e8f0; }
.cs-cta h3 { font-size: 30px; font-weight: 700; color: #0f172a; margin-bottom: 14px; }
.cs-cta p { font-size: 15px; color: #64748b; margin-bottom: 32px; max-width: 680px; margin-left: auto; margin-right: auto; line-height: 1.85; }
.cs-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cs-cta-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 36px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff; font-size: 15px; font-weight: 600; border-radius: 10px; text-decoration: none;
    transition: all 0.35s; box-shadow: 0 8px 28px rgba(30,64,175,0.3); border: none; cursor: pointer;
}
.cs-cta-btn:hover { transform: translateY(-3px); color: #fff; }
.cs-cta-btn--outline { background: #fff; color: #1e40af; border: 1px solid rgba(30,64,175,0.35); box-shadow: none; }
.cs-cta-btn--outline:hover { background: #eff6ff; color: #1e40af; }

.cs-empty { text-align: center; padding: 60px 20px; color: #94a3b8; grid-column: 1 / -1; }
.cs-empty i { font-size: 48px; display: block; margin-bottom: 16px; opacity: 0.4; }

.cs-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.cs-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
    .cs-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-advantages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .cs-hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-stat:nth-child(2) { border-right: none; }
    .cs-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cs-grid, .cs-advantages { grid-template-columns: 1fr; }
    .cs-hero-stats-grid { grid-template-columns: 1fr 1fr; padding: 20px; }
    .cs-stat { border-right: none; border-bottom: 1px solid #e2e8f0; padding-bottom: 14px; }
    .cs-stat:nth-last-child(-n+2) { border-bottom: none; }
    .cs-cta-actions { flex-direction: column; align-items: stretch; }
    .cs-cta-btn { justify-content: center; }
}
