﻿/* 案例中心页面样式 · NCRSIT Neo v1.4
   作用域：/cases/ 案例列表页专用样式
   基础版式（neo-page / neo-container / neo-section 等）仍由 style.css 全站提供
   引入方式：<link rel="stylesheet" href="/assets/css/cases.css" />
   使用页面：/cases/ */

/* 内页 Banner：案例中心 */
.neo-page-hero--cases {
  background-image:
    linear-gradient(110deg, rgba(4, 27, 62, .96), rgba(8, 78, 140, .68)),
    url('/assets/images/banner/banner-solution-detail.jpg');
}

/* 首屏数据 */
.cs-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 52px;
  margin-top: 36px;
}

.cs-hero__stat strong {
  display: block;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.05;
}

.cs-hero__stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

/* 分类区块 */
.cs-sec {
  padding: 86px 0;
  scroll-margin-top: 96px;
}

.cs-sec--white {
  background: #fff;
}

.cs-sec--tint {
  background: #eef5fc;
}

.cs-head {
  margin-bottom: 38px;
}

.cs-head .neo-eyebrow {
  margin: 0 0 10px;
}

.cs-head .neo-title {
  margin: 0 0 14px;
}

.cs-head__side p {
  max-width: 780px;
  margin: 0;
  color: var(--neo-muted);
  font-size: 16px;
  line-height: 1.8;
}

/* 最新案例 */
.cs-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cs-feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(25, 64, 113, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cs-feature:hover {
  border-color: #c9dcf0;
  box-shadow: 0 18px 44px rgba(25, 64, 113, .13);
  transform: translateY(-4px);
}

.cs-feature__media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--neo-blue-100);
}

.cs-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.cs-feature:hover .cs-feature__media img {
  transform: scale(1.05);
}

.cs-feature__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  color: var(--neo-blue-900);
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, .94);
  border-radius: 999px;
}

.cs-feature__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.cs-feature__region {
  margin-bottom: 8px;
  color: var(--neo-blue-600);
  font-size: 13px;
  font-weight: 700;
}

.cs-feature h3 {
  margin: 0 0 10px;
  color: var(--neo-ink);
  font-size: 20px;
  line-height: 1.45;
}

.cs-feature p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--neo-muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.cs-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--neo-blue-700);
  font-size: 14px;
}

.cs-more::after {
  content: "→";
  transition: transform .2s ease;
}

.cs-more:hover {
  text-decoration: none;
}

.cs-feature:hover .cs-more::after,
.cs-item:hover .cs-more::after {
  transform: translateX(4px);
}

/* 专题案例 */
.cs-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cs-theme {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 14px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cs-theme::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 40px;
  height: 3px;
  background: var(--neo-blue-600);
  border-radius: 0 0 3px 3px;
  content: "";
}

.cs-theme:hover {
  border-color: #c9dcf0;
  box-shadow: 0 16px 36px rgba(25, 64, 113, .10);
  text-decoration: none;
  transform: translateY(-4px);
}

.cs-theme__no {
  margin-bottom: 12px;
  color: #b9cfe6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
}

.cs-theme__no em {
  margin-left: 10px;
  color: var(--neo-blue-700);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.cs-theme h3 {
  margin: 0 0 8px;
  color: var(--neo-ink);
  font-size: 18px;
  line-height: 1.45;
}

.cs-theme p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--neo-muted);
  font-size: 14px;
  line-height: 1.7;
}

.cs-theme__more {
  color: var(--neo-blue-700);
  font-size: 13.5px;
}

.cs-theme:hover h3 {
  color: var(--neo-ink);
}

.cs-theme:hover p {
  color: var(--neo-muted);
}

/* 案例清单 */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cs-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 12px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

/* 白底区块内给卡片加浅底色，增强层次 */
.cs-sec--white .cs-item {
  background: #f5fcff47;
  border-color: #e2ecf8;
}

.cs-sec--white .cs-item:hover {
  background: #fff;
}

.cs-item:hover {
  border-color: #c9dcf0;
  box-shadow: 0 14px 32px rgba(25, 64, 113, .09);
  transform: translateY(-3px);
}

.cs-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cs-region {
  padding: 3px 10px;
  color: var(--neo-blue-700);
  font-size: 12px;
  font-weight: 700;
  background: var(--neo-blue-100);
  border-radius: 999px;
}

.cs-item__no {
  color: #c3d6e9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

.cs-item h3 {
  margin: 0 0 10px;
  color: var(--neo-ink);
  font-size: 17px;
  line-height: 1.55;
}

.cs-item p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--neo-muted);
  font-size: 14px;
  line-height: 1.75;
}

.cs-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-item__tags span {
  padding: 3px 10px;
  color: #5b6b80;
  font-size: 12px;
  background: #f2f6fb;
  border-radius: 6px;
}

.cs-item .cs-more {
  margin-top: 14px;
  font-size: 13.5px;
}

/* 交付记录（深色带） */
.cs-band {
  color: #fff;
  background: linear-gradient(115deg, #071b3c 0%, #0f3c80 58%, #1855a3 100%);
}

.cs-band .neo-eyebrow {
  color: #9ec8f0;
}

.cs-band .neo-title {
  color: #fff;
}

.cs-band .neo-lead {
  color: rgba(255, 255, 255, .78);
}

.cs-band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
  border-radius: 14px;
}

.cs-band__item {
  padding: 28px 20px;
  text-align: center;
  background: rgba(7, 27, 60, .32);
}

.cs-band__item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.cs-band__item span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

/* 客户故事 */
.cs-stories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cs-story {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 62%);
  border: 1px solid #ccdef4;
  border-radius: 16px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.cs-story:hover {
  transform: translateY(-3px);
  border-color: #c9dcf0;
  box-shadow: 0 16px 34px rgba(25, 64, 113, .09);
}

.cs-story__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.cs-story__tag {
  padding: 4px 12px;
  color: #1a63b8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  background: #e8f2fd;
  border-radius: 999px;
}

.cs-story__region {
  color: #8a9bb0;
  font-size: 12.5px;
}

.cs-story h3 {
  margin: 0 0 12px;
  color: #0d2b4e;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.cs-story__text {
  margin: 0;
  color: #5b7288;
  font-size: 14px;
  line-height: 1.85;
}

.cs-story__quote {
  margin: 18px 0 0;
  padding: 10px 0 10px 14px;
  color: #35506e;
  font-size: 13.5px;
  font-style: normal;
  line-height: 1.8;
  border-left: 3px solid #9cc8f0;
}

blockquote.cs-story__quote::before {
    content: '\e939';
    font-family: "iconfont";
    font-size: 4rem;
    color: #0c5adb5e;
    float: left;
    line-height: 1;
    margin-top: -6px;
    padding-right: 10px;
}


.cs-story__quote cite {
  display: block;
  margin-top: 8px;
  color: #8a9bb0;
  font-size: 12.5px;
  font-style: normal;
}

.cs-story__result {
  margin-top: auto;
  padding-top: 18px;
  color: #1a63b8;
  font-size: 13px;
  line-height: 1.7;
}

.cs-story__result span {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 9px;
  color: #0f4c8c;
  font-size: 11.5px;
  font-weight: 700;
  background: #e8f2fd;
  border-radius: 6px;
}

.cs-stories__note {
  margin: 26px 0 0;
  padding: 20px 24px;
  color: #41586f;
  font-size: 14px;
  line-height: 1.85;
  background: #eef5fc;
  border-radius: 12px;
}

.cs-stories__note strong {
  color: #0d2b4e;
}

/* 响应式 */
@media (max-width: 980px) {
  .cs-sec {
    padding: 68px 0;
  }

  .cs-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-hero__stats {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .cs-feature-grid,
  .cs-grid,
  .cs-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-stories__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cs-sec {
    padding: 56px 0;
  }

  .cs-feature-grid,
  .cs-grid,
  .cs-theme-grid,
  .cs-band__grid {
    grid-template-columns: 1fr;
  }

  .cs-feature__media {
    height: 180px;
  }

  .cs-story {
    padding: 24px 20px;
  }

  .cs-story h3 {
    font-size: 18px;
  }

  .cs-item,
  .cs-theme {
    padding: 20px;
  }

  .cs-hero__stat strong {
    font-size: 30px;
  }

  .cs-band__item strong {
    font-size: 28px;
  }
}

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .cs-feature,
  .cs-feature__media img,
  .cs-theme,
  .cs-item,
  .cs-more::after {
    transition: none;
  }
}

/* 案例列表"显示更多" */
.cs-grid > .is-more-hidden,
.cs-stories__grid > .is-more-hidden {
  display: none !important;
}

.cs-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.cs-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 26px;
  color: var(--neo-blue-700);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 999px;
  cursor: pointer;
  transition: .2s;
}

.cs-more-btn span {
  font-size: 12px;
  letter-spacing: 1px;
}

.cs-more-btn:hover {
  color: #fff;
  background: var(--neo-blue-700);
  border-color: var(--neo-blue-700);
}
