/* ============================================================
   case-law.html 独有样式 —— 折页骨架
   双页对折式四段卡
   ============================================================ */

/* ---------- Hero：左文右图 ---------- */
.lw-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--topbar-h) + 56px) 0 80px;
  background: linear-gradient(160deg, var(--cream-3) 0%, var(--cream) 100%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  overflow: hidden;
}
.lw-bread { font-size: .86rem; color: var(--ink-3); margin-bottom: 18px; }
.lw-hero h1 { margin-bottom: 16px; }
.lw-hero-sub { margin-bottom: 28px; }
.lw-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.lw-hero-img {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--clay-shadow-lg);
}
.lw-hero-img img { width: 100%; display: block; }

/* ---------- 折页卡：左右双页 ---------- */
.lw-folds {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.lw-fold {
  display: flex; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--clay-shadow-sm);
  transition: transform .35s var(--ease);
}
.lw-fold:hover { transform: translateY(-5px); }
.lw-fold-page { padding: 26px 26px; }
.lw-fold-front {
  flex: 1.15;
  background: linear-gradient(165deg, #FFFDF6, var(--cream-2));
  border-right: 2px dashed var(--yellow-3);
}
.lw-fold-back {
  flex: 1; background: var(--cream-3);
}
.lw-fold-front h3 { margin-bottom: 10px; color: var(--green-3); }
.lw-fold p { font-size: .92rem; }

/* ---------- 数据圆卡 ---------- */
.lw-metrics {
  background: linear-gradient(160deg, var(--green) 0%, var(--cream) 100%);
  padding: clamp(50px,6vw,80px) 0;
}
.lw-metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lw-metric {
  aspect-ratio: 1/1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  border-radius: 50%;
}
.lw-metric b { font-size: clamp(1.4rem,3vw,2.1rem); color: var(--ink); }
.lw-metric span { font-size: .84rem; color: var(--ink-2); margin-top: 8px; }

/* ---------- 设计拉片 ---------- */
.lw-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lw-shot img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--clay-shadow-sm);
  margin-bottom: 14px;
}
.lw-shot figcaption { font-size: .93rem; color: var(--ink-2); }
.lw-shot figcaption b { color: var(--ink); display: block; margin-bottom: 6px; }

/* ---------- 客户评价 ---------- */
.lw-quote { padding: clamp(40px,5vw,64px) 0; }
.lw-quote-card {
  max-width: 800px; margin: 0 auto; padding: 44px 48px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #FFFDF6, var(--green) 160%);
}
.lw-quote-card p { font-size: 1.08rem; color: var(--ink); margin-bottom: 16px; }
.lw-quote-card cite { font-style: normal; font-size: .88rem; color: var(--ink-3); }

/* ---------- 相关案例 ---------- */
.lw-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lw-case-card { overflow: hidden; border-radius: var(--radius); }
.lw-case-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.lw-case-card span { display: block; padding: 16px 20px; font-weight: 700; color: var(--ink); }
.lw-case-card:hover span { color: var(--green-3); }

/* ---------- 行业 + 服务 ---------- */
.lw-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lw-links-grid > div { padding: 34px 36px; border-radius: var(--radius); box-shadow: var(--clay-shadow-sm); }
.lw-links-grid h3 { margin-bottom: 12px; }
.lw-links-grid p { margin-bottom: 18px; font-size: .95rem; }

/* ---------- CTA ---------- */
.lw-cta {
  background: linear-gradient(150deg, var(--cream-3) 0%, var(--green) 130%);
  padding: clamp(56px,7vw,88px) 0; text-align: center;
}
.lw-cta h2 { margin-bottom: 14px; }
.lw-cta p { margin-bottom: 26px; }
.lw-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .lw-hero { grid-template-columns: 1fr; }
  .lw-folds { grid-template-columns: 1fr; }
  .lw-fold { flex-direction: column; }
  .lw-fold-front { border-right: 0; border-bottom: 2px dashed var(--yellow-3); }
  .lw-metric-row { grid-template-columns: repeat(2, 1fr); }
  .lw-shots, .lw-cases { grid-template-columns: 1fr; }
  .lw-links-grid { grid-template-columns: 1fr; }
}

/* ---------- 补充：三句话模块 ---------- */
.lg-extra, .tv-extra, .wd-extra, .bt-extra, .dc-extra, .lw-extra, .rt-extra, .re-extra {
  background: linear-gradient(160deg, var(--cream-2), var(--cream));
  padding: clamp(50px,6vw,80px) 0;
}
.lg-extra-list, .tv-extra-list, .wd-extra-list, .bt-extra-list, .dc-extra-list, .lw-extra-list, .rt-extra-list, .re-extra-list {
  max-width: 860px; margin: 0 auto; padding: 36px 40px;
}
.lg-extra-list p, .tv-extra-list p, .wd-extra-list p, .bt-extra-list p, .dc-extra-list p, .lw-extra-list p, .rt-extra-list p, .re-extra-list p {
  font-size: .97rem; margin-bottom: 16px; color: var(--ink-2);
}
.lg-extra-list p:last-child, .tv-extra-list p:last-child, .wd-extra-list p:last-child, .bt-extra-list p:last-child, .dc-extra-list p:last-child, .lw-extra-list p:last-child, .rt-extra-list p:last-child, .re-extra-list p:last-child { margin-bottom: 0; }
.lg-extra-list b, .tv-extra-list b, .wd-extra-list b, .bt-extra-list b, .dc-extra-list b, .lw-extra-list b, .rt-extra-list b, .re-extra-list b { color: var(--ink); }
