/* =========================================================
   湖南科研科学仪器研究院 · 科研服务页面
   路径：/skin/kxyqyservice/css/research-service.css
   ========================================================= */

.rs-page {
  --rs-blue: #0a417b;
  --rs-blue-dark: #062e58;
  --rs-blue-light: #edf5fc;
  --rs-gold: #efad3f;
  --rs-text: #26394d;
  --rs-muted: #68798a;
  --rs-line: #dce6ef;
  --rs-white: #fff;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--rs-text);
}

.rs-page *,
.rs-page *::before,
.rs-page *::after {
  box-sizing: border-box;
}

.rs-page a {
  text-decoration: none;
}

.rs-wrap {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.rs-eyebrow,
.rs-section-head__en,
.rs-block-title > span {
  display: inline-block;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--rs-gold);
}

.rs-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background:
    radial-gradient(circle at 78% 38%, rgba(54, 139, 219, .28), transparent 27%),
    linear-gradient(135deg, #0a447f 0%, #073566 58%, #05294f 100%);
}

.rs-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255,255,255,.025),
    0 0 0 140px rgba(255,255,255,.018);
}

.rs-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 70px;
  align-items: center;
  min-height: 430px;
  padding: 68px 0;
}

.rs-hero h1,
.rs-detail-hero h1,
.rs-list-hero h1 {
  margin: 12px 0 18px;
  font-size: 46px;
  line-height: 1.18;
  color: #fff;
}

.rs-hero__line {
  width: 72px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--rs-gold);
  border-radius: 3px;
}

.rs-hero__content > p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 2;
  color: rgba(255,255,255,.9);
}

.rs-hero__actions,
.rs-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  transition: .25s ease;
}

.rs-btn--gold {
  background: var(--rs-gold);
  color: #173856;
}

.rs-btn--gold:hover {
  transform: translateY(-2px);
  background: #f5bb59;
  color: #173856;
}

.rs-btn--light {
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.07);
  color: #fff;
}

.rs-btn--light:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.rs-hero__panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
}

.rs-hero__panel-title {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.rs-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.13);
}

.rs-hero__stats div {
  min-height: 105px;
  padding: 20px 15px;
  background: rgba(5,42,80,.82);
}

.rs-hero__stats strong,
.rs-hero__stats span {
  display: block;
}

.rs-hero__stats strong {
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--rs-gold);
}

.rs-hero__stats span {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
}

.rs-section {
  padding: 72px 0;
}

.rs-section--soft {
  background: #f4f8fb;
}

.rs-section--dark {
  background: var(--rs-blue-dark);
}

.rs-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 34px;
}

.rs-section-head h2,
.rs-block-title h2 {
  margin: 8px 0 0;
  font-size: 32px;
  line-height: 1.35;
  color: var(--rs-blue-dark);
}

.rs-section-head > p {
  max-width: 540px;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--rs-muted);
}

.rs-section-head--light h2,
.rs-section-head--light > p {
  color: #fff;
}

.rs-section-head--light > p {
  color: rgba(255,255,255,.7);
}

.rs-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rs-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid var(--rs-line);
  background: #fff;
  color: var(--rs-text);
  transition: .25s ease;
}

.rs-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--rs-gold);
  transition: .25s ease;
}

.rs-service-card:hover {
  transform: translateY(-4px);
  border-color: #bdd0e0;
  box-shadow: 0 15px 38px rgba(15,55,91,.1);
  color: var(--rs-text);
}

.rs-service-card:hover::before {
  height: 100%;
}

.rs-service-card--tool {
  background: linear-gradient(145deg, #0d4b86, #073765);
  color: #fff;
}

.rs-service-card--tool h3,
.rs-service-card--tool p,
.rs-service-card--tool .rs-more {
  color: #fff;
}

.rs-service-card__num {
  margin-bottom: 26px;
  font-size: 22px;
  font-weight: 800;
  color: var(--rs-gold);
}

.rs-service-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--rs-blue-dark);
}

.rs-service-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--rs-muted);
}

.rs-tags,
.rs-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.rs-tags span,
.rs-detail-tags span {
  padding: 5px 10px;
  border: 1px solid #dce8f2;
  background: #f7fafc;
  font-size: 12px;
  color: #567087;
}

.rs-service-card--tool .rs-tags span {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
}

.rs-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rs-blue);
}

.rs-mode-grid,
.rs-scene-grid,
.rs-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rs-mode-grid article,
.rs-scene-grid article,
.rs-practice-grid article {
  padding: 28px 24px;
  border: 1px solid var(--rs-line);
  background: #fff;
}

.rs-mode-grid article > span,
.rs-practice-grid article > span {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rs-gold);
}

.rs-mode-grid h3,
.rs-scene-grid h3,
.rs-practice-grid h3 {
  margin: 0 0 12px;
  font-size: 19px;
  color: var(--rs-blue-dark);
}

.rs-mode-grid p,
.rs-scene-grid p,
.rs-practice-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--rs-muted);
}

.rs-scene-grid article {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.rs-scene-grid h3 {
  color: #fff;
}

.rs-scene-grid p {
  color: rgba(255,255,255,.7);
}

.rs-practice-grid {
  grid-template-columns: repeat(3, 1fr);
}

.rs-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rs-line);
  border-bottom: 1px solid var(--rs-line);
}

.rs-process article {
  position: relative;
  min-height: 205px;
  padding: 30px 20px;
  border-right: 1px solid var(--rs-line);
}

.rs-process article:last-child {
  border-right: 0;
}

.rs-process b {
  display: inline-block;
  margin-bottom: 25px;
  font-size: 24px;
  color: var(--rs-gold);
}

.rs-process h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--rs-blue-dark);
}

.rs-process p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--rs-muted);
}

.rs-text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--rs-blue);
}

.rs-cta {
  padding: 48px 0;
  background: linear-gradient(120deg, #0b4b88, #062f5c);
}

.rs-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.rs-cta span {
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--rs-gold);
}

.rs-cta h2 {
  margin: 7px 0 8px;
  font-size: 28px;
  color: #fff;
}

.rs-cta p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.72);
}

/* 详情页 */
.rs-detail-hero,
.rs-list-hero {
  padding: 30px 0 62px;
  background: linear-gradient(135deg, #0a447f, #052c55);
}

.rs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 42px;
  font-size: 13px;
  color: #8093a7;
}

.rs-detail-hero .rs-breadcrumb,
.rs-list-hero .rs-breadcrumb {
  color: rgba(255,255,255,.6);
}

.rs-breadcrumb a {
  color: inherit;
}

.rs-breadcrumb strong {
  font-weight: 400;
  color: inherit;
}

.rs-detail-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 70px;
  align-items: end;
}

.rs-detail-hero__content > p {
  max-width: 780px;
  margin: 0;
  font-size: 17px;
  line-height: 2;
  color: rgba(255,255,255,.87);
}

.rs-detail-tags span {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.8);
}

.rs-detail-hero__aside {
  padding: 26px;
  border-left: 3px solid var(--rs-gold);
  background: rgba(255,255,255,.08);
}

.rs-detail-hero__aside strong,
.rs-detail-hero__aside p,
.rs-detail-hero__aside b,
.rs-detail-hero__aside a {
  display: block;
}

.rs-detail-hero__aside strong {
  margin-bottom: 18px;
  color: #fff;
}

.rs-detail-hero__aside p {
  margin: 12px 0 4px;
  font-size: 12px;
  color: rgba(255,255,255,.56);
}

.rs-detail-hero__aside b {
  font-size: 18px;
  color: #fff;
}

.rs-detail-hero__aside a {
  margin-top: 22px;
  font-size: 13px;
  color: var(--rs-gold);
}

.rs-detail-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rs-line);
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 16px rgba(23,55,85,.05);
}

.rs-detail-nav .rs-wrap {
  display: flex;
  overflow-x: auto;
}

.rs-detail-nav a {
  flex: 0 0 auto;
  padding: 18px 28px;
  border-right: 1px solid #edf1f5;
  font-size: 14px;
  color: #40576c;
}

.rs-two-col {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 65px;
}

.rs-prose p {
  margin: 0;
  font-size: 16px;
  line-height: 2.15;
  color: #506579;
}

.rs-item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rs-item-grid article {
  padding: 28px 25px;
  border: 1px solid var(--rs-line);
  background: #fff;
}

.rs-item-grid article > span {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 800;
  color: var(--rs-gold);
}

.rs-item-grid h3 {
  margin: 0 0 12px;
  font-size: 19px;
  color: var(--rs-blue-dark);
}

.rs-item-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--rs-muted);
}

.rs-process--compact article {
  min-height: 135px;
}

.rs-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rs-check-grid div {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.83);
}

.rs-check-grid span {
  margin-right: 10px;
  color: var(--rs-gold);
}

.rs-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rs-deliverables div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid var(--rs-line);
}

.rs-deliverables b {
  color: var(--rs-gold);
}

.rs-related {
  padding: 60px 0;
  background: #f4f8fb;
}

.rs-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rs-related-grid a {
  padding: 18px 20px;
  border: 1px solid var(--rs-line);
  background: #fff;
  color: var(--rs-blue-dark);
  transition: .2s ease;
}

.rs-related-grid a:hover {
  border-color: var(--rs-gold);
  color: var(--rs-blue);
}

/* 案例列表 */
.rs-list-hero h1 {
  margin-bottom: 12px;
}

.rs-list-hero > .rs-wrap > p {
  max-width: 760px;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,.75);
}

.rs-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rs-case-card {
  overflow: hidden;
  border: 1px solid var(--rs-line);
  background: #fff;
  transition: .25s ease;
}

.rs-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(24,64,99,.1);
}

.rs-case-card__image {
  display: block;
  height: 210px;
  overflow: hidden;
  background: #edf3f8;
}

.rs-case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.rs-case-card:hover .rs-case-card__image img {
  transform: scale(1.04);
}

.rs-case-card__body {
  padding: 24px;
}

.rs-case-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #8795a3;
}

.rs-case-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.55;
}

.rs-case-card h2 a {
  color: var(--rs-blue-dark);
}

.rs-case-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--rs-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.rs-pagination {
  margin-top: 38px;
  text-align: center;
}

/* 案例内容 */
.rs-article {
  padding: 34px 0 70px;
  background: #f5f8fb;
}

.rs-article__wrap {
  padding: 42px 64px 55px;
  border: 1px solid var(--rs-line);
  background: #fff;
}

.rs-article__header {
  max-width: 900px;
  margin: 0 auto 38px;
  padding-bottom: 32px;
  text-align: center;
  border-bottom: 1px solid var(--rs-line);
}

.rs-article__header h1 {
  margin: 12px 0 18px;
  font-size: 34px;
  line-height: 1.45;
  color: var(--rs-blue-dark);
}

.rs-article__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: #8996a3;
}

.rs-article__summary {
  margin: 24px 0 0;
  padding: 18px 20px;
  text-align: left;
  background: #f5f8fb;
  font-size: 14px;
  line-height: 1.9;
  color: #5f7182;
}

.rs-article__body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
  color: #364c60;
}

.rs-article__body img {
  max-width: 100%;
  height: auto;
}

.rs-article__nav {
  max-width: 900px;
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--rs-line);
  font-size: 14px;
  line-height: 2;
  color: #6a7d8f;
}

/* 响应式 */
@media (max-width: 1100px) {
  .rs-hero__inner,
  .rs-detail-hero__body {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .rs-service-grid,
  .rs-item-grid,
  .rs-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-mode-grid,
  .rs-scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-process {
    grid-template-columns: repeat(3, 1fr);
  }

  .rs-process article:nth-child(3) {
    border-right: 0;
  }

  .rs-process article:nth-child(-n+3) {
    border-bottom: 1px solid var(--rs-line);
  }
}

@media (max-width: 767px) {
  .rs-wrap {
    max-width: calc(100% - 24px);
  }

  .rs-hero__inner {
    min-height: auto;
    padding: 45px 0;
  }

  .rs-hero h1,
  .rs-detail-hero h1,
  .rs-list-hero h1 {
    font-size: 32px;
  }

  .rs-hero__content > p,
  .rs-detail-hero__content > p {
    font-size: 15px;
    line-height: 1.9;
  }

  .rs-hero__panel {
    padding: 18px;
  }

  .rs-section {
    padding: 48px 0;
  }

  .rs-section-head {
    display: block;
    margin-bottom: 25px;
  }

  .rs-section-head h2,
  .rs-block-title h2 {
    font-size: 26px;
  }

  .rs-section-head > p {
    margin-top: 12px;
  }

  .rs-service-grid,
  .rs-mode-grid,
  .rs-scene-grid,
  .rs-practice-grid,
  .rs-item-grid,
  .rs-check-grid,
  .rs-related-grid,
  .rs-case-grid,
  .rs-deliverables {
    grid-template-columns: 1fr;
  }

  .rs-service-card {
    min-height: 290px;
  }

  .rs-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-process article,
  .rs-process article:nth-child(3) {
    min-height: 145px;
    border-right: 1px solid var(--rs-line);
    border-bottom: 1px solid var(--rs-line);
  }

  .rs-process article:nth-child(even) {
    border-right: 0;
  }

  .rs-two-col {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .rs-detail-nav a {
    padding: 15px 18px;
  }

  .rs-cta__inner {
    display: block;
  }

  .rs-cta h2 {
    font-size: 23px;
  }

  .rs-article__wrap {
    padding: 28px 18px 38px;
  }

  .rs-article__header h1 {
    font-size: 27px;
  }
}

@media (max-width: 460px) {
  .rs-hero__stats {
    grid-template-columns: 1fr;
  }

  .rs-process {
    grid-template-columns: 1fr;
  }

  .rs-process article,
  .rs-process article:nth-child(3),
  .rs-process article:nth-child(even) {
    border-right: 0;
  }

  .rs-btn {
    width: 100%;
  }
}
