/* ==========================================================
   业务与服务页 · 全屏 Hero
   ------------------------------------------------------------
   根因：首页主标题是 hero-slogan.png，桌面渲染约 286×163；
   业务页若用普通单行 h1（即便 80–100px），视觉高度仍只有 slogan 的
   一半左右，整屏就会「发空、发小」。导航/Logo 其实没被缩放。
   处理：与首页共用同一套 .hero-fullbg 边距；标题做成 slogan 同尺寸的
   两行文字块（286×163），英文副标走 .hero-en。
   ========================================================== */
body[data-page="business"] .business-hero .hero-overlay {
  background:
    linear-gradient(105deg, rgba(6, 11, 25, .55) 0%, rgba(6, 11, 25, .22) 55%, rgba(6, 11, 25, .08) 100%),
    linear-gradient(180deg, rgba(6, 11, 25, .28) 0%, rgba(6, 11, 25, .08) 48%, rgba(6, 11, 25, .36) 100%);
}

/* 文字标题占位：对齐 .hero-main-slogan 的 286×163 显示框 */
.hero-fullbg h1.business-hero-title {
  width: 286px;
  height: 163px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #fff;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.hero-fullbg h1.business-hero-title span {
  display: block;
}

@media (max-width: 980px) {
  .hero-fullbg h1.business-hero-title {
    width: 240px;
    height: 137px;
    font-size: 58px;
  }
}

@media (max-width: 680px) {
  .hero-fullbg h1.business-hero-title {
    width: 180px;
    height: 102px;
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  .hero-fullbg h1.business-hero-title {
    width: 150px;
    height: 86px;
    font-size: 36px;
  }
}

/* ==========================================================
   首页「三大核心业务领域」区块样式（产品中心卡片式）
   ========================================================== */
.business-section {
  background: #1a1d24;
  padding: 100px 0;
}
.business-section .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 头部 */
.business-section .section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.business-section .section-label {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: #93c5fd;
  background: rgba(147, 197, 253, .10);
  border: 1px solid rgba(147, 197, 253, .25);
  padding: 6px 16px; border-radius: 30px; margin-bottom: 18px;
}
.business-section .section-title { font-size: 36px; font-weight: 800; letter-spacing: -.5px; color: #fff; margin: 0 0 14px; }
.business-section .section-desc { font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .72); margin: 0; }

/* 卡片网格 */
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.business-card {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  border-color: rgba(255, 255, 255, .22);
}

/* 产品卡片图片区 */
.business-image {
  width: 100%;
  height: 220px;
  background: #171b26;
  overflow: hidden;
}
.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  transition: transform .45s ease;
}
.business-card:hover .business-image img { transform: scale(1.05); }

/* 卡片内容 */
.business-body { padding: 26px 80px 30px 28px; }
.business-body h3 { font-size: 19px; font-weight: 800; color: #fff; margin: 0 0 10px; line-height: 1.35; padding-right: 0; }
.business-body p { font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .78); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 黑色箭头（白底黑箭头：深色卡片上保持清晰可见，箭头本身仍为黑色） */
.business-arrow {
  position: absolute; right: 22px; bottom: 26px;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: #000;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all .3s ease;
}
.business-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.business-card:hover .business-arrow {
  background: rgba(255, 255, 255, .82); transform: translateX(3px);
}

/* 响应式 */
@media (max-width: 1024px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .business-section { padding: 68px 0; }
  .business-section .section-title { font-size: 28px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-image { height: 200px; }
  .business-body { padding: 22px 24px 26px; }
}

/* ==========================================================
   首页「公司介绍」
   ========================================================== */
.company-intro-section {
  background: #1f2329;
  padding: 88px 0;
}
.company-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.company-intro-media {
  border-radius: 0;
  overflow: hidden;
  background: #2a2f38;
  min-height: 420px;
  margin-left: -48px;
}
.company-intro-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0;
}
.company-intro-content h2 {
  margin: 0 0 22px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: #fff;
}
.company-intro-content > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
  /* 两端对齐：中文正文左右边缘都对齐 */
  text-align: justify;
  text-justify: inter-ideograph;
}
.company-intro-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  gap: 24px 12px;
  margin: 34px 0 28px;
}
.company-intro-stat {
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
  padding-top: 12px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .55s cubic-bezier(.22, 1, .36, 1),
    transform .55s cubic-bezier(.22, 1, .36, 1),
    filter .35s ease;
}
.company-intro-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.company-intro-stat:last-child {
  text-align: right;
}
.company-intro-stat:last-child::before {
  left: auto;
  right: 0;
  transform-origin: right center;
}
.company-intro-inner.reveal.in .company-intro-stat {
  opacity: 1;
  transform: translateY(0);
}
.company-intro-inner.reveal.in .company-intro-stat::before {
  transform: scaleX(1);
}
.company-intro-inner.reveal.in .company-intro-stat:nth-child(1) { transition-delay: .08s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(2) { transition-delay: .18s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(3) { transition-delay: .28s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(4) { transition-delay: .38s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(5) { transition-delay: .48s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(6) { transition-delay: .58s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(7) { transition-delay: .68s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(1)::before { transition-delay: .18s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(2)::before { transition-delay: .28s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(3)::before { transition-delay: .38s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(4)::before { transition-delay: .48s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(5)::before { transition-delay: .58s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(6)::before { transition-delay: .68s; }
.company-intro-inner.reveal.in .company-intro-stat:nth-child(7)::before { transition-delay: .78s; }

.company-intro-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.3px;
  color: #fff;
  transition: transform .3s ease, filter .3s ease;
}
.company-intro-stat .stat-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff 20%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.company-intro-stat:nth-child(1) .stat-num { min-width: 4ch; }
.company-intro-stat:nth-child(2) .stat-num { min-width: 3ch; }
.company-intro-stat:nth-child(3) .stat-num { min-width: 2ch; }
.company-intro-stat:nth-child(4) .stat-num { min-width: 2ch; }
.company-intro-stat:nth-child(5) .stat-num { min-width: 2ch; }
.company-intro-stat:nth-child(6) .stat-num { min-width: 2ch; }
.company-intro-stat:nth-child(7) .stat-num { min-width: 1ch; }
.company-intro-stat .stat-suffix {
  font-weight: 800;
  background: linear-gradient(120deg, #93c5fd 0%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.company-intro-stat > span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  transition: color .3s ease;
}
.company-intro-stat:hover strong {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 12px rgba(147, 197, 253, .45));
}
.company-intro-stat:hover > span {
  color: rgba(255, 255, 255, .82);
}
.company-intro-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease;
}
.company-intro-more:hover {
  background: rgba(255, 255, 255, .08);
  border-color: #fff;
  color: #fff;
}
.company-intro-more span {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 960px) {
  .company-intro-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .company-intro-media {
    margin-left: 0;
  }
  .company-intro-media,
  .company-intro-media img {
    min-height: 280px;
  }
  .company-intro-content h2 { font-size: 28px; }
  .company-intro-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
  }
  .company-intro-stat:last-child {
    text-align: left;
  }
  .company-intro-stat:last-child::before {
    left: 0;
    right: auto;
    transform-origin: left center;
  }
}

@media (max-width: 560px) {
  .company-intro-section { padding: 64px 0; }
  .company-intro-stat strong { font-size: 24px; }
}

/* ==========================================================
   首页「国朝科技核心业务」五方向区块
   交互参考伏羲科技「核心服务」：悬停展开手风琴
   ========================================================== */
.core-business-section {
  background: #1a1d24;
  padding: 100px 0;
  overflow: visible;
}
.core-business-section .section-inner {
  max-width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 24px;
  overflow: visible;
}

.core-business-section .section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.core-business-section .section-label {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: #93c5fd;
  background: rgba(147, 197, 253, .10);
  border: 1px solid rgba(147, 197, 253, .25);
  padding: 6px 16px; border-radius: 30px; margin-bottom: 18px;
}
.core-business-section .section-title { font-size: 36px; font-weight: 800; letter-spacing: -.5px; color: #fff; margin: 0 0 14px; }
.core-business-section .section-desc { font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .72); margin: 0; }

/* 手风琴容器 */
.core-business-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  height: 560px;
  overflow: visible;
}

.core-business-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  min-width: 0;
  cursor: pointer;
  flex: 0 0 auto;
  width: 96px;
  opacity: .62;
  z-index: 2;
  transform: translateY(0);
}

/* 覆盖 .reveal 的 transition，用 width 做展开动画（比 flex-grow 更稳） */
.core-business-card.reveal,
.core-business-card.reveal.in {
  transition:
    width .7s cubic-bezier(.22, 1, .36, 1),
    opacity .7s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1),
    box-shadow .7s ease;
}

/* 提高优先级，避免被 .reveal.in 的 opacity/transform 盖住 */
.core-business-card.reveal.in {
  opacity: .62;
  transform: translateY(0);
}
.core-business-card.is-active,
.core-business-card.reveal.in.is-active {
  opacity: 1;
  z-index: 1;
  transform: translateY(-12px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .5);
}

.core-business-card:not(.is-active):hover,
.core-business-card.reveal.in:not(.is-active):hover {
  opacity: .82;
  z-index: 6;
  transform: translateY(-6px);
}

/* 键盘聚焦可见（卡片可用 Tab 聚焦，Enter / 空格展开） */
.core-business-card:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

/* 图片区 */
.core-business-image {
  position: absolute; inset: 0;
  background: #0f1322;
  overflow: hidden;
}
.core-business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s ease;
}
.core-business-card:not(.is-active) .core-business-image img {
  filter: brightness(.72) saturate(.9);
}
.core-business-card.is-active .core-business-image img {
  transform: scale(1.04);
  filter: none;
}
.core-business-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 24, .2) 0%, rgba(10, 13, 24, .45) 50%, rgba(10, 13, 24, .78) 100%);
  pointer-events: none;
  transition: background .7s ease;
}
.core-business-card.is-active .core-business-image::after {
  background: linear-gradient(180deg, rgba(10, 13, 24, .12) 0%, rgba(10, 13, 24, .35) 45%, rgba(10, 13, 24, .88) 100%);
}

/* 文字区 */
.core-business-body {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  z-index: 2;
  transition: padding .7s ease, align-items .7s ease, justify-content .7s ease;
}
.core-business-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.45;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  transition:
    font-size .7s cubic-bezier(.22, 1, .36, 1),
    letter-spacing .7s ease,
    writing-mode .01s linear,
    margin .7s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1),
    opacity .45s ease;
}
.core-business-body p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .86);
  margin: 0;
  max-width: 520px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transform-origin: left bottom;
  max-height: 0;
  pointer-events: none;
  transition:
    opacity .35s ease,
    transform .35s ease,
    max-height .45s ease,
    margin .35s ease;
}

/* 展开态：标题回到底部横排，描述在展开后再显现 */
.core-business-card.is-active .core-business-body {
  inset: auto 0 0 0;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px 28px 30px;
  background: linear-gradient(180deg, rgba(10, 13, 24, 0) 0%, rgba(10, 13, 24, .72) 55%, rgba(10, 13, 24, .94) 100%);
}
.core-business-card.is-active .core-business-body h3 {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: -.01em;
  font-size: 26px;
  white-space: normal;
  margin-bottom: 0;
}
.core-business-card.is-active .core-business-body p {
  max-height: 160px;
  opacity: 1;
  margin-top: 12px;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  /* 等宽度展开后再显示文字 */
  transition:
    opacity .45s ease .38s,
    transform .5s cubic-bezier(.22, 1, .36, 1) .38s,
    max-height .55s ease .32s,
    margin .45s ease .32s;
}

/* 核心业务区底部 CTA（首页跳转到关于国朝） */
.core-business-cta {
  text-align: center;
  margin-top: 56px;
}
/* 覆盖 .btn-primary：在深色区块内改为白底深色文字 */
.core-business-cta .btn {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.core-business-cta .btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45);
}

/* 响应式 */
@media (max-width: 1180px) {
  .core-business-grid { height: 500px; }
  .core-business-card.is-active .core-business-body h3 { font-size: 22px; }
  .core-business-card.is-active .core-business-body { padding: 24px; }
}
@media (max-width: 720px) {
  .core-business-section { padding: 68px 0; }
  .core-business-section .section-title { font-size: 28px; }
  .core-business-grid {
    flex-direction: column;
    height: auto;
    gap: 14px;
  }
  .core-business-card,
  .core-business-card.is-active,
  .core-business-card.reveal,
  .core-business-card.reveal.in,
  .core-business-card.reveal.in.is-active,
  .core-business-card.reveal.in:not(.is-active):hover {
    flex: none;
    width: 100%;
    min-width: 0;
    height: 320px;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }
  .core-business-card:not(.is-active) .core-business-image img,
  .core-business-card.is-active .core-business-image img {
    filter: none;
    transform: none;
  }
  .core-business-body,
  .core-business-card.is-active .core-business-body {
    inset: auto 0 0 0;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px 22px;
    background: linear-gradient(180deg, rgba(10, 13, 24, 0) 0%, rgba(10, 13, 24, .78) 65%, rgba(10, 13, 24, .92) 100%);
  }
  .core-business-body h3,
  .core-business-card.is-active .core-business-body h3 {
    writing-mode: horizontal-tb;
    font-size: 18px;
    letter-spacing: -.01em;
    white-space: normal;
    margin-bottom: 8px;
  }
  .core-business-body p,
  .core-business-card.is-active .core-business-body p {
    max-height: none;
    opacity: 1;
    margin-top: 0;
    transform: none;
    pointer-events: auto;
    transition: none;
    font-size: 13px;
  }
}

/* ==========================================================
   首页「合作领域」双行水平无缝滚动卡片
   ========================================================== */
.partnership-section {
  background: #1a1d24;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.partnership-section .section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.partnership-section .section-label {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: #93c5fd;
  background: rgba(147, 197, 253, .10);
  border: 1px solid rgba(147, 197, 253, .25);
  padding: 6px 16px; border-radius: 30px; margin-bottom: 18px;
}
.partnership-section .section-title {
  font-size: 36px; font-weight: 800; letter-spacing: -.5px;
  color: #fff; margin: 0 0 14px;
}
.partnership-section .section-desc {
  font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .72); margin: 0;
}

/* 双行滚动轨道 */
.partner-row {
  overflow: hidden;
  margin: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.partner-track {
  display: flex;
  gap: 18px;
  width: max-content;
}
.partner-row-left .partner-track { animation: partner-scroll-left 50s linear infinite; }
.partner-row-right .partner-track { animation: partner-scroll-right 50s linear infinite; }
.partner-row:hover .partner-track { animation-play-state: paused; }

@keyframes partner-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes partner-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* 单卡 */
.partner-card {
  flex: 0 0 340px;
  height: 240px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

/* 合作领域卡片图片区 */
.partner-card-image {
  position: absolute; inset: 0;
  background: #0f1322;
  overflow: hidden;
}
.partner-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  transition: transform .45s ease;
}
.partner-card:hover .partner-card-image img { transform: scale(1.06); }
.partner-card-image::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 13, 24, .12) 0%, rgba(10, 13, 24, .28) 50%, rgba(10, 13, 24, .5) 100%);
}

/* 卡片文字（左下角 + 自下而上渐变带） */
.partner-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px 22px;
  background: linear-gradient(180deg, rgba(10, 13, 24, 0) 0%, rgba(10, 13, 24, .78) 65%, rgba(10, 13, 24, .92) 100%);
  z-index: 2;
}
.partner-card-body h3 {
  font-size: 17px; font-weight: 800; color: #fff;
  margin: 0 0 6px; line-height: 1.35;
}
.partner-card-body p {
  font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .82);
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 响应式 */
@media (max-width: 720px) {
  .partnership-section { padding: 68px 0; }
  .partnership-section .section-title { font-size: 28px; }
  .partner-card { flex-basis: 260px; height: 220px; }
  .partner-card-body { padding: 18px 20px 20px; }
}


/* ===== 兜底：没有 JS 时核心业务卡片不能塌成 96px 窄条 ===== */
/* 手风琴的展开宽度由 main.js 用内联 width 设置，CSS 里卡片的基础宽度是 96px（收起态）。
   只要 JS 没执行、执行报错，或执行得比布局更早，5 张卡片就会全部停在 96px，
   在 1143px 宽的容器里变成一排窄缝 —— 整块看起来「缩成一团」。
   下面用 html.js 当开关（main.js 一跑就加上这个类）：有 JS 才启用手风琴；
   没有 JS 时走正常文档流，卡片等分、文字横排、说明直接显示、高度由内容撑开。 */

html:not(.js) .core-business-grid {
  height: auto;
}

html:not(.js) .core-business-card,
html:not(.js) .core-business-card.is-active {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: auto;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

/* 关键：这两层原本是 position:absolute，卡片高度全靠 grid 的固定 height 撑着。
   兜底时放回文档流，否则 height:auto 会让卡片高度塌成 0、内容看不见。 */
html:not(.js) .core-business-image {
  position: relative;
  inset: auto;
  height: 170px;
}

html:not(.js) .core-business-body,
html:not(.js) .core-business-card.is-active .core-business-body {
  position: static;
  inset: auto;
  display: block;
  padding: 18px 18px 20px;
  background: #12141c;
  align-items: flex-start;
  justify-content: flex-start;
}

html:not(.js) .core-business-body h3,
html:not(.js) .core-business-card.is-active .core-business-body h3 {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: -.01em;
  font-size: 20px;
  white-space: normal;
  margin: 0 0 8px;
  transform: none;
}

html:not(.js) .core-business-body p {
  max-height: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  -webkit-line-clamp: 4;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}

@media (max-width: 960px) {
  html:not(.js) .core-business-grid {
    flex-direction: column;
  }
  html:not(.js) .core-business-card,
  html:not(.js) .core-business-card.is-active {
    width: 100%;
    flex: none;
  }
}


/* ===== 修复横向溢出：721–960px 之间核心业务卡片没有换行 ===== */
/* 这一段原本只存在于 @media (max-width:720px)，导致 721–960px 之间卡片
   仍是横排，却各自 width:100%（763px），5 张并排把文档撑到 3900px 宽，
   浏览器为显示完整页面会整页缩放 —— 看起来就是「所有东西小了一圈」。
   这里把 ≤960px 的竖排规则补齐，与 main.js 的 961px 判断对齐。 */
@media (max-width: 960px) {
  .core-business-grid {
    flex-direction: column;
    height: auto;
    gap: 14px;
  }

  .core-business-card,
  .core-business-card.is-active,
  .core-business-card.reveal,
  .core-business-card.reveal.in,
  .core-business-card.reveal.in.is-active,
  .core-business-card.reveal.in:not(.is-active):hover {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 320px;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .core-business-image {
    position: absolute;
    inset: 0;
  }

  .core-business-body,
  .core-business-card.is-active .core-business-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 22px;
  }

  .core-business-card.is-active .core-business-body {
    inset: auto 0 0 0;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(10, 13, 24, 0) 0%, rgba(10, 13, 24, .78) 65%, rgba(10, 13, 24, .92) 100%);
  }

  .core-business-body h3,
  .core-business-card.is-active .core-business-body h3 {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 18px;
    letter-spacing: -.01em;
    white-space: normal;
    margin-bottom: 8px;
  }

  .core-business-body p {
    max-height: none;
    opacity: 1;
    margin-top: 0;
    transform: none;
    pointer-events: auto;
    font-size: 13px;
  }
}

/* ==========================================================
   核心业务页 · 五大方向详解（手风琴下方）
   ========================================================== */
.core-detail-section {
  padding: 96px 0 110px;
  background: #1a1d24;
}
.core-detail-section .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.core-detail-section .section-head .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #93c5fd;
  background: rgba(147, 197, 253, .10);
  border: 1px solid rgba(147, 197, 253, .25);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.core-detail-section .section-head h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #fff;
  margin: 0 0 12px;
}
.core-detail-section .section-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .72);
}

.core-detail {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 20px;
  padding: 36px 40px 40px;
  margin-bottom: 22px;
  box-shadow: none;
}
.core-detail:last-of-type { margin-bottom: 0; }
.core-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}
.core-detail-no {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #93c5fd;
  background: rgba(147, 197, 253, .12);
  border: 1px solid rgba(147, 197, 253, .22);
}
.core-detail-head h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: #fff;
}
.core-detail-slogan {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #93c5fd;
}
.core-detail-lead {
  margin: 0 0 28px;
  max-width: 920px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
}
.core-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
}
.core-detail-grid h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
}
.core-detail-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.core-detail-grid li {
  position: relative;
  padding: 0 0 10px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .68);
}
.core-detail-grid li:last-child { padding-bottom: 0; }
.core-detail-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #93c5fd;
}

.core-detail-cta {
  margin-top: 48px;
  text-align: center;
  padding: 36px 24px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 20px;
}
.core-detail-cta p {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 900px) {
  .core-detail { padding: 28px 22px 30px; }
  .core-detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .core-detail-section .section-head h2 { font-size: 28px; }
  .core-detail-head h3 { font-size: 20px; }
}
