/* 行业方案单页。区块头用 components.css 的 ds-head；区块白灰交替，白区块用浅灰卡，灰区块用白卡 */
.sl-sec { scroll-margin-top: 120px; }
.anchor-bar + .sl-sec { padding-top: 72px; }

/* 头图：明亮实景 */
.sl-hero { position: relative; overflow: hidden; padding: 32px var(--wrap-x) 40px; background: radial-gradient(720px 380px at 80% 40%, rgba(var(--brand-rgb), .08), transparent 70%), linear-gradient(180deg, var(--white) 0%, var(--page-bg) 100%); }
.sl-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: center; gap: 48px; }
.sl-hero-copy .page-title { font-size: 32px; line-height: 44px; }
.sl-hero-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-3); }
.sl-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.sl-hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); pointer-events: none; }
/* 锚点条 */
.sl-anchor { gap: 56px; }

/* 行业痛点：白区块用浅灰卡 */
.sl-pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sl-pain {
  position: relative;
  min-height: 200px;
  padding: 28px 28px 28px 32px;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--fill-1);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), background var(--dur-3);
}
.sl-pain::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 0; width: 3px; border-radius: 0 2px 2px 0; background: var(--brand-500); }
.sl-pain em { display: block; font-family: var(--font-num); font-size: 24px; font-style: normal; font-weight: 700; line-height: 32px; color: var(--brand-300); }
.sl-pain h3 { margin-top: 12px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.sl-pain p { margin-top: 10px; font-size: 14px; line-height: 24px; color: var(--sub); }

/* 方案架构：灰区块用白卡，卡里的小块用浅灰底 */
.sl-arch-body { display: flex; align-items: center; gap: 64px; }
.sl-layers { display: flex; flex: 0 0 58%; flex-direction: column; gap: 12px; min-width: 0; }
.sl-layer { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 16px 14px 0; border-radius: var(--r-card); background: var(--white); box-shadow: var(--sh-1); }
.sl-layer h4 { flex: 0 0 96px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--sub); text-align: center; letter-spacing: 1px; }
.sl-layer--svc h4 { color: var(--brand-600); }
.sl-chips { display: flex; flex: 1; flex-wrap: wrap; gap: 8px; }
.sl-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: var(--fill-1);
  font-size: 14px;
  font-weight: 500;
  color: var(--title);
  white-space: nowrap;
  transition: background var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.sl-chip--svc { font-weight: 400; color: var(--text); }
.sl-chip:hover { background: var(--brand-500); color: var(--white); box-shadow: var(--glow); }
.sl-arch-text { flex: 1; min-width: 0; }
.sl-arch-text h3 { font-size: 24px; font-weight: 600; line-height: 34px; color: var(--title); }
.sl-arch-text > p { margin-top: 12px; font-size: 14px; line-height: 26px; color: var(--sub); }
.sl-arch-text dl { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.sl-arch-text dt { position: relative; padding-left: 18px; font-size: 16px; font-weight: 600; line-height: 24px; color: var(--title); }
.sl-arch-text dt::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.sl-arch-text dd { margin-top: 4px; padding-left: 18px; font-size: 14px; line-height: 22px; color: var(--sub); }

/* 核心能力：白区块用浅灰卡 */
.sl-ability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sl-ability-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  border-radius: var(--r-card);
  background: var(--fill-1);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), background var(--dur-3);
}
.sl-ability-ico { --tile: 56px; background: var(--white); }
.sl-ability-text { flex: 1; min-width: 0; }
.sl-ability-card h3 { font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); transition: color var(--dur-2); }
.sl-ability-card p { margin-top: 10px; font-size: 14px; line-height: 24px; color: var(--sub); }
.sl-ability-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--brand-500); }
.sl-ability-go .arrow-r { width: 6px; height: 6px; }
.sl-ability-card:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--sh-2); }
.sl-ability-card:hover h3 { color: var(--brand-500); }

/* 能力之后的区块（流程、产品组合、文档）底色按实际输出顺序交替，样式跟着区块底色走 */
/* 实施流程 */
.sl-step-list { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 20px; }
.sl-step-list::before { content: ""; position: absolute; top: 20px; left: calc(10% + 20px); right: calc(10% + 20px); height: 1px; background: repeating-linear-gradient(90deg, var(--brand-200) 0 6px, transparent 6px 12px); }
.sl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sl-step-no { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 6px var(--white), var(--glow); color: var(--white); font-family: var(--font-num); font-size: 14px; font-weight: 700; }
.sec-gray .sl-step-no { box-shadow: 0 0 0 6px var(--fill-1), var(--glow); }
.sl-step h3 { margin-top: 20px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.sl-step p { max-width: 260px; margin: 8px 0 12px; font-size: 14px; line-height: 24px; color: var(--sub); }
.sl-step .tag { margin-top: auto; }
.sec-gray .sl-step .tag { background: var(--white); }
.sl-steps-note { margin-top: 32px; font-size: 14px; line-height: 22px; color: var(--muted); text-align: center; }

/* 推荐产品组合 */
.sl-more { display: flex; justify-content: center; margin-top: 40px; }
.sl-more .btn { min-width: 200px; }

/* 相关文档与其他方案 */
.sl-docs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; }
.sl-doc-card { display: flex; flex-direction: column; gap: 18px; padding: 28px 32px; border-radius: var(--r-card); }
.sec-white .sl-doc-card { background: var(--fill-1); }
.sec-gray .sl-doc-card { background: var(--white); box-shadow: var(--sh-1); }
.sl-doc-card h3 { font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.sl-doc-links { display: flex; flex-direction: column; gap: 12px; }
.sl-doc-links a { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 22px; color: var(--text); transition: color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.sl-doc-links .ico { --ico-c: var(--muted); --ico-f: transparent; }
.sl-doc-links a:hover { color: var(--brand-500); transform: translateX(2px); }
.sl-doc-links a:hover .ico { --ico-c: var(--brand-500); }
.sl-doc-card .link-more { margin-top: auto; }
.sl-other { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.sl-other a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); transition: background var(--dur-2); }
.sl-other img { flex: none; width: 80px; height: 45px; border-radius: var(--r-xs); object-fit: cover; }
.sl-other a .ico { --ico-w: 2.4; }
.sl-other a span { flex: 1; min-width: 0; }
.sl-other b { display: block; font-size: 14px; font-weight: 600; line-height: 22px; color: var(--title); }
.sl-other small { display: block; font-size: 14px; line-height: 22px; color: var(--muted); }
.sl-other .arrow-r { width: 6px; height: 6px; color: var(--muted); }
.sec-white .sl-other a:hover { background: var(--white); }
.sec-gray .sl-other a:hover { background: var(--fill-1); }
.sl-other a:hover b, .sl-other a:hover .arrow-r { color: var(--brand-500); }

@media (max-width: 900px) {
  .anchor-bar + .sl-sec { padding-top: 48px; }
  .sl-hero { padding: 24px var(--wrap-x) 40px; }
  .sl-hero-copy .page-title { font-size: 24px; line-height: 34px; }
  .sl-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .sl-anchor { gap: 24px; }
  .sl-pain-grid, .sl-ability-grid, .sl-docs-grid { grid-template-columns: 1fr; gap: 16px; }
  .sl-pain { min-height: 0; padding: 20px 20px 20px 24px; }
  .sl-arch-body { flex-direction: column; gap: 32px; }
  .sl-layers { flex: none; width: 100%; }
  .sl-layer h4 { flex-basis: 60px; }
  .sl-ability-card { gap: 16px; padding: 20px; }
  .sl-step-list { grid-template-columns: 1fr; gap: 24px; }
  .sl-step-list::before { display: none; }
  .sl-step { flex-direction: row; gap: 16px; text-align: left; }
  .sl-step h3 { margin-top: 0; }
  .sl-step p { max-width: none; }
  .sl-step-no { flex: none; }
  .sl-step > h3, .sl-step > p { flex: 1 1 100%; }
  .sl-other { grid-template-columns: 1fr; }
}
