/* cases.html · 合作案例 —— 专属命名空间 .pg-cases */
.pg-cases { background: var(--c-cream); }

.cases-hero { padding: 150px 0 80px; background:
  linear-gradient(120deg, rgba(51,80,60,.8), rgba(51,80,60,.45)),
  url("../images/banner-cases.jpg") center/cover no-repeat; color: var(--c-cream); }
.cases-hero .crumb { color: rgba(251,247,240,.85); margin-bottom: 1rem; }
.cases-hero .crumb a { color: var(--c-sage); }
.cases-hero h1 { color: var(--c-cream); font-size: clamp(2rem,4.5vw,3rem); margin-bottom: .8rem; }
.cases-hero p { max-width: 620px; color: #E9EFE4; }

/* 服务过程复盘 */
.cases-review { padding: 60px 0 10px; }
.review-wrap { background: var(--c-white); border-radius: var(--radius); padding: 2.2rem 2.5rem; box-shadow: var(--shadow-card); border-left: 5px solid var(--c-clay); }
.review-wrap h2 { font-size: 1.4rem; margin-bottom: .9rem; }
.review-wrap p { font-size: .95rem; color: var(--c-ink); margin-bottom: .8rem; }

/* 数据带 */
.cases-data { padding: 60px 0; background: var(--c-sand); }
.data-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.data-cell .d-num { font-size: 2.2rem; font-weight: 800; color: var(--c-clay); }
.data-cell .d-num span { font-size: 1rem; }
.data-cell .d-label { font-size: .88rem; color: var(--c-ink); }

/* 案例卡：图文交错 */
/* 写在前面 */
.cases-intro { padding: 50px 0 10px; }
.intro-wrap { background: var(--c-white); border-radius: var(--radius); padding: 2.2rem 2.5rem; box-shadow: var(--shadow-card); border-left: 5px solid var(--c-clay); }
.intro-wrap h2 { font-size: 1.4rem; margin-bottom: .8rem; }
.intro-wrap p { font-size: .96rem; color: var(--c-ink); margin-bottom: .8rem; }

/* 案例数据汇总表 */
.cases-table { padding: 50px 0 10px; }
.ct-wrap { background: var(--c-white); border-radius: var(--radius); padding: 2rem 2.2rem; box-shadow: var(--shadow-card); }
.ct-wrap h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.ct-wrap .tbl { width: 100%; border-collapse: collapse; }
.ct-wrap .tbl th, .ct-wrap .tbl td { padding: .7rem 1rem; border-bottom: 1px solid var(--c-line); text-align: left; font-size: .9rem; }
.ct-wrap .tbl th { background: var(--c-sand); font-weight: 600; }
.ct-note { margin-top: .8rem; font-size: .85rem; color: var(--c-ink); opacity: .8; }

.cases-list { padding: 80px 0; }
.case-item { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
.case-item:nth-child(even) .case-img { order: 2; }
.case-img img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; }
.case-body .badge { margin-bottom: .8rem; }
.case-body h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.case-body p { font-size: .95rem; color: var(--c-ink); margin-bottom: .6rem; }
.case-body .case-meta { font-size: .85rem; color: var(--c-green-d); font-weight: 600; }

/* 客户评价 */
.cases-voice { padding: 70px 0; background: var(--c-forest); }
.cases-voice h2 { color: var(--c-cream); text-align: center; margin-bottom: 1rem; }
.cases-voice .voice-sub { text-align: center; color: #C6D3C0; max-width: 560px; margin: 0 auto 2rem; font-size: .92rem; }
.cases-voice .voice-sub-last { margin-top: 1.5rem; margin-bottom: 0; }
.voice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.voice-card { background: rgba(251,247,240,.07); border: 1px solid rgba(216,228,208,.22); border-radius: var(--radius); padding: 1.8rem 1.6rem; color: #DCE6D6; }
.voice-card p { font-size: .92rem; line-height: 1.9; margin-bottom: 1rem; }
.voice-card cite { font-style: normal; color: var(--c-apricot); font-size: .88rem; }

/* CTA */
/* 看完案例你应该知道的 */
.cases-takeaway { padding: 40px 0 10px; }
.takeaway-wrap { background: var(--c-white); border-radius: var(--radius); padding: 2.2rem 2.5rem; box-shadow: var(--shadow-card); border-left: 5px solid var(--c-green-d); }
.takeaway-wrap h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.takeaway-wrap p { font-size: .96rem; color: var(--c-ink); margin-bottom: .8rem; }

.cases-cta { padding: 90px 0; text-align: center; }
.cases-cta h2 { font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 1rem; }
.cases-cta p { max-width: 600px; margin: 0 auto 1.8rem; color: var(--c-ink); }

@media (max-width: 1024px) {
  .case-item { grid-template-columns: 1fr; gap: 1.5rem; }
  .case-item:nth-child(even) .case-img { order: 0; }
  .voice-grid { grid-template-columns: 1fr; }
  .data-band { grid-template-columns: repeat(2,1fr); }
}
