<section class="page-hero">
    <div class="container">
        <h1>客户案例</h1>
        <p>从需求沟通到成衣交付，为各行业提供定制化降温解决方案</p>
    </div>
</section>
<section class="section" style="padding-top:20px">
    <div class="container">
        <div class="news-grid">
            <?php foreach ($cases as $c): ?>
                <a class="news-card reveal" href="<?php echo site_url('cases/' . $c['slug']); ?>">
                    <div class="news-thumb" style="background:<?php echo gradient($c['id']); ?>">🤝</div>
                    <div class="news-body">
                        <div class="news-date"><?php echo e(format_date($c['published_at'])); ?> · <?php echo e($c['industry'] ?? ''); ?></div>
                        <div class="news-title"><?php echo e($c['title']); ?></div>
                        <div class="news-sum"><?php echo e($c['summary']); ?></div>
                    </div>
                </a>
            <?php endforeach; ?>
        </div>
        <?php if (empty($cases)): ?><p style="color:var(--c-muted)">暂无案例。</p><?php endif; ?>
    </div>
</section>
