/* ==========================================================
   index.css — 瑞成数控机床官网 · 首页专属样式
   模块顺序：Banner → 统计 → 产品 → 关于 → 方案 → 视频 → 新闻 → CTA
   ========================================================== */

/* ---------- 1. Banner 轮播 ---------- */
.ruicheng-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.ruicheng-banner-slides {
  position: relative;
  width: 100%;
}
.ruicheng-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1.1s ease-out;
  pointer-events: none;
  will-change: opacity;
}
.ruicheng-banner-slide.is-active {
  position: relative;
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.ruicheng-banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 42, 102, 0.53);
  z-index: 1;
}
.ruicheng-banner-bg {
  width: 100%;
  height: auto;
  display: block;
}
.ruicheng-banner-slide.is-active .ruicheng-banner-bg {
  animation: ruicheng-zoom 8s ease-out forwards;
}
@keyframes ruicheng-zoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.08); }
}

.ruicheng-banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
}
.ruicheng-banner-text {
  max-width: 760px;
  color: #fff;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s .25s ease-out, transform .9s .25s var(--ruicheng-ease-out);
}
.ruicheng-banner-slide.is-active .ruicheng-banner-text {
  opacity: 1;
  transform: translateY(0);
}
.ruicheng-banner-tag {
  display: inline-block;
  padding: 6px 18px;
  border-left: 3px solid var(--ruicheng-accent);
  background: rgba(201, 169, 110, 0.12);
  color: var(--ruicheng-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.ruicheng-banner-title {
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.ruicheng-banner-subtitle {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.9;
  color: rgba(255,255,255,0.88);
  margin-bottom: 38px;
  max-width: 640px;
}
.ruicheng-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 左右箭头 */
.ruicheng-banner-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.ruicheng-banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ruicheng-ease);
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,0.2);
}
.ruicheng-banner-arrow svg { width: 20px; height: 20px; }
.ruicheng-banner-arrow:hover {
  background: var(--ruicheng-primary);
  border-color: var(--ruicheng-primary);
  transform: translateY(-50%) scale(1.08);
}
.ruicheng-banner-arrow.prev { left: 24px; }
.ruicheng-banner-arrow.next { right: 24px; }

/* 圆点指示器 */
.ruicheng-banner-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  display: flex;
  gap: 12px;
  z-index: 10;
}
.ruicheng-banner-dot {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.4);
  transition: all .3s var(--ruicheng-ease);
  position: relative;
  overflow: hidden;
}
.ruicheng-banner-dot::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--ruicheng-accent);
}
.ruicheng-banner-dot.is-active {
  background: rgba(255,255,255,0.8);
  width: 48px;
}
.ruicheng-banner-dot.is-active::after {
  width: 100%;
  animation: ruicheng-dot-progress 5s linear forwards;
}
@keyframes ruicheng-dot-progress {
  from { width: 0; }
  to   { width: 100%; }
}

/* ---------- 通用模块 Header ---------- */
.ruicheng-section-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.ruicheng-section-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--ruicheng-radius-sm);
  background: rgba(201, 169, 110, 0.12);
  color: var(--ruicheng-accent-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.ruicheng-section-title {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--ruicheng-text);
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.ruicheng-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--ruicheng-primary);
  margin: 20px auto 0;
  border-radius: 2px;
}
.ruicheng-section-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ruicheng-text-sub);
}

/* ---------- 2. 核心数据 4 项 ---------- */
.ruicheng-stats {
  background: #fff;
  position: relative;
  margin-top: -60px;
  z-index: 20;
}
.ruicheng-stats-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--ruicheng-shadow-md);
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid var(--ruicheng-border-light);
}
.ruicheng-stat-item {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.ruicheng-stat-item + .ruicheng-stat-item::before {
  content: "";
  position: absolute;
  left: 0; top: 20%;
  height: 60%;
  width: 1px;
  background: var(--ruicheng-border-light);
}
.ruicheng-stat-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  
  color: var(--ruicheng-primary);
}
.ruicheng-stat-icon svg { width: 28px; height: 28px; }
.ruicheng-stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--ruicheng-text);
  line-height: 1.1;
  letter-spacing: -1px;
  background: var(--ruicheng-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ruicheng-stat-unit {
  font-size: 22px;
  font-weight: 600;
  margin-left: 2px;
}
.ruicheng-stat-label {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--ruicheng-text-sub);
  font-weight: 500;
}

/* ---------- 3. 产品中心 ---------- */
.ruicheng-products {
  background: var(--ruicheng-bg);
  padding-top: var(--ruicheng-section-py);
  padding-bottom: var(--ruicheng-section-py);
}
.ruicheng-products-tab {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 44px;
  background: #fff;
  padding: 6px;
  border-radius: var(--ruicheng-radius);
  border: 1px solid var(--ruicheng-border);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.ruicheng-products-tab-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  border-radius: var(--ruicheng-radius-sm);
  background: var(--ruicheng-primary);
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.35);
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1), width .4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}
.ruicheng-products-tab-btn {
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ruicheng-text-sub);
  background: transparent;
  border: none;
  border-radius: var(--ruicheng-radius-sm);
  transition: color .3s var(--ruicheng-ease);
  position: relative;
  cursor: pointer;
  z-index: 1;
}
.ruicheng-products-tab-btn:hover {
  color: var(--ruicheng-primary);
}
.ruicheng-products-tab-btn.is-active {
  color: #fff;
}
.ruicheng-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* 子栏目暂无产品时的兜底提示 */
.ruicheng-products-empty {
  grid-column: 1 / -1;
  padding: 64px 20px;
  text-align: center;
  color: var(--ruicheng-text-sub, #6B7280);
  font-size: 15px;
  letter-spacing: .5px;
  border: 1px dashed var(--ruicheng-border, #E5E7EB);
  border-radius: var(--ruicheng-radius, 12px);
  background: #FAFBFC;
}
.ruicheng-product-card-link {
  box-sizing: border-box;
  min-width: 0;
}
.ruicheng-product-card-link[data-tab-key].is-tab-anim {
  animation: ruichengTabFadeUp .4s var(--ruicheng-ease-out) both;
}
@keyframes ruichengTabFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ruicheng-product-card {
  background: #fff;
  border-radius: var(--ruicheng-radius);
  overflow: hidden;
  box-shadow: var(--ruicheng-shadow-sm);
  transition: all .4s var(--ruicheng-ease-out);
  border: 1px solid var(--ruicheng-border-light);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}
.ruicheng-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ruicheng-shadow-lg);
  border-color: rgba(11,61,145,0.18);
}
.ruicheng-product-media {
  position: relative;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  background: var(--ruicheng-bg);
}
.ruicheng-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ruicheng-ease-out);
}
.ruicheng-product-card-link:hover .ruicheng-product-media img {
  transform: scale(1.08);
}
.ruicheng-product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background: var(--ruicheng-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--ruicheng-radius-sm);
  z-index: 2;
}
.ruicheng-product-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ruicheng-product-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--ruicheng-text);
  line-height: 1.4;
  transition: color .25s;
}
.ruicheng-product-card-link:hover .ruicheng-product-title {
  color: var(--ruicheng-primary);
}
.ruicheng-product-desc {
  font-size: 14px;
  color: var(--ruicheng-text-sub);
  line-height: 1.7;
  flex: 1;
  min-height: 48px;
}
.ruicheng-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 6px;
}
.ruicheng-product-spec {
  padding: 4px 10px;
  background: var(--ruicheng-bg);
  color: var(--ruicheng-text-sub);
  font-size: 12px;
  border-radius: var(--ruicheng-radius-sm);
}
.ruicheng-product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--ruicheng-border-light);
  margin-top: auto;
}
.ruicheng-product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ruicheng-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s;
}
.ruicheng-product-link::after {
  content: "→";
  transition: transform .25s;
}
.ruicheng-product-card-link:hover .ruicheng-product-link::after {
  transform: translateX(4px);
}
.ruicheng-product-inquiry {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(11, 61, 145, 0.08);
  color: var(--ruicheng-primary);
  border-radius: var(--ruicheng-radius-sm);
  transition: all .25s;
}
.ruicheng-product-inquiry:hover {
  background: var(--ruicheng-primary);
  color: #fff;
}
.ruicheng-product-card-link {
  color: inherit;
  text-decoration: none;
  transition: all .4s var(--ruicheng-ease-out);
}
.ruicheng-product-card-link:hover .ruicheng-product-card {
  transform: translateY(-8px);
  box-shadow: var(--ruicheng-shadow-lg);
  border-color: rgba(11,61,145,0.18);
}

/* ---------- 4. 关于我们 ---------- */
.ruicheng-about {
  padding-top: var(--ruicheng-section-py);
  padding-bottom: var(--ruicheng-section-py);
  background: #fff;
}
.ruicheng-about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ruicheng-about-text .ruicheng-section-head {
  text-align: left;
  margin-bottom: 32px;
}
.ruicheng-about-text .ruicheng-section-title::after {
  margin-left: 0;
}
.ruicheng-about-desc {
  font-size: 16px;
  line-height: 2;
  color: var(--ruicheng-text);
  margin-bottom: 20px;
}
.ruicheng-about-desc:last-of-type {
  margin-bottom: 28px;
  color: var(--ruicheng-text-sub);
}
.ruicheng-about-cert {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.ruicheng-about-cert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--ruicheng-primary);
  font-weight: 500;
}
.ruicheng-about-cert-item i {
  color: var(--ruicheng-accent);
  font-size: 16px;
}
.ruicheng-about-text .ruicheng-btn {
  margin-top: 10px;
}

.ruicheng-about-image {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
}
.ruicheng-about-img-main {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ruicheng-shadow-md);
  position: relative;
  z-index: 2;
}
.ruicheng-about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ruicheng-ease-out);
}
.ruicheng-about-image:hover .ruicheng-about-img-main img { transform: scale(1.05); }

.ruicheng-about-img-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--ruicheng-shadow-md);
  z-index: 3;
}
.ruicheng-about-img-corner img {
  width: 100%; height: 100%; object-fit: cover;
}
.ruicheng-about-decor {
  position: absolute;
  right: 20%;
  top: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--ruicheng-accent);
  border-radius: 16px;
  opacity: .35;
  z-index: 1;
  animation: ruicheng-float 6s ease-in-out infinite;
}
@keyframes ruicheng-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}

/* ---------- 5. 行业方案 ---------- */
.ruicheng-solutions {
  background: var(--ruicheng-bg);
  padding-top: var(--ruicheng-section-py);
  padding-bottom: var(--ruicheng-section-py);
}
.ruicheng-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 22px;
}
.ruicheng-solution-card {
  background: #fff;
  border-radius: var(--ruicheng-radius);
  overflow: hidden;
  box-shadow: var(--ruicheng-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all .35s var(--ruicheng-ease-out);
  border-left: 4px solid transparent;
  position: relative;
}
.ruicheng-solution-card:hover {
  border-left-color: var(--ruicheng-primary);
  box-shadow: var(--ruicheng-shadow-md);
  transform: translateX(4px);
}
.ruicheng-solution-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.ruicheng-solution-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 61, 145, 0.45);
}
.ruicheng-solution-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.ruicheng-solution-card:hover .ruicheng-solution-media img {
  transform: scale(1.08);
}
.ruicheng-solution-icon {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.3);
}
.ruicheng-solution-icon svg { width: 24px; height: 24px; }
.ruicheng-solution-body {
  padding: 24px 26px 26px;
}
.ruicheng-solution-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ruicheng-text);
  margin-bottom: 10px;
  transition: color .25s;
}
.ruicheng-solution-card:hover .ruicheng-solution-title { color: var(--ruicheng-primary); }
.ruicheng-solution-desc {
  font-size: 14px;
  color: var(--ruicheng-text-sub);
  line-height: 1.8;
  margin-bottom: 18px;
}
.ruicheng-solution-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--ruicheng-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s;
}
.ruicheng-solution-more svg { width: 16px; height: 16px; }
.ruicheng-solution-card:hover .ruicheng-solution-more {
  gap: 12px;
  color: var(--ruicheng-primary-dark);
}

/* ---------- 6. 视频展示 ---------- */
.ruicheng-video {
  background: #fff;
  padding-top: var(--ruicheng-section-py);
  padding-bottom: var(--ruicheng-section-py);
}
.ruicheng-video-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: flex-start;
}
.ruicheng-video-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--ruicheng-shadow-md);
}
.ruicheng-video-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ruicheng-ease-out);
}
.ruicheng-video-main:hover img { transform: scale(1.05); }
.ruicheng-video-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 42, 102, 0.33);
}
.ruicheng-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: all .35s var(--ruicheng-ease);
  border: 2px solid rgba(255,255,255,0.4);
  animation: ruicheng-pulse 2s ease-out infinite;
}
.ruicheng-video-play svg { width: 36px; height: 36px; margin-left: 6px; }
.ruicheng-video-main:hover .ruicheng-video-play {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--ruicheng-primary);
  border-color: var(--ruicheng-primary);
}
@keyframes ruicheng-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
  70%  { box-shadow: 0 0 0 28px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.ruicheng-video-meta {
  position: absolute;
  left: 30px;
  bottom: 26px;
  z-index: 3;
  color: #fff;
  max-width: 80%;
}
.ruicheng-video-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ruicheng-accent);
  color: var(--ruicheng-text);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--ruicheng-radius-sm);
  margin-bottom: 10px;
}
.ruicheng-video-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.ruicheng-video-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ruicheng-video-item {
  display: block;
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  box-shadow: var(--ruicheng-shadow-sm);
}
.ruicheng-video-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.ruicheng-video-item:hover img { transform: scale(1.06); }
.ruicheng-video-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 42, 102, 0.47);
}
.ruicheng-video-item-play {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: all .3s;
}
.ruicheng-video-item-play svg { width: 18px; height: 18px; margin-left: 3px; }
.ruicheng-video-item:hover .ruicheng-video-item-play {
  background: var(--ruicheng-primary);
  transform: translateY(-50%) scale(1.1);
}
.ruicheng-video-item-text {
  position: absolute;
  left: 78px;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.ruicheng-video-item-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.ruicheng-video-item-duration {
  font-size: 12px;
  opacity: .85;
}

/* ---------- 7. 新闻中心 ---------- */
.ruicheng-news {
  background: var(--ruicheng-bg);
  padding-top: var(--ruicheng-section-py);
  padding-bottom: var(--ruicheng-section-py);
}
.ruicheng-news-new-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ruicheng-news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--ruicheng-shadow-sm);
  border: 1px solid var(--ruicheng-border-light);
  transition: all .4s var(--ruicheng-ease-out);
}
.ruicheng-news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ruicheng-shadow-lg);
  border-color: rgba(11,61,145,0.18);
}
.ruicheng-news-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.ruicheng-news-card-media {
  position: relative;
  overflow: hidden;
  background: var(--ruicheng-bg);
}
.ruicheng-news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ruicheng-ease-out);
}
.ruicheng-news-card:hover .ruicheng-news-card-media img {
  transform: scale(1.06);
}
.ruicheng-news-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--ruicheng-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--ruicheng-radius-sm);
  z-index: 2;
}
.ruicheng-news-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ruicheng-news-card-date {
  font-size: 12px;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ruicheng-news-card-date i {
  margin-right: 4px;
}
.ruicheng-news-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ruicheng-text);
  line-height: 1.4;
  transition: color .25s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ruicheng-news-card:hover .ruicheng-news-card-title {
  color: var(--ruicheng-primary);
}
.ruicheng-news-card-summary {
  font-size: 14px;
  color: var(--ruicheng-text-sub);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 72px;
}
.ruicheng-news-card-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--ruicheng-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  transition: gap .25s;
}
.ruicheng-news-card:hover .ruicheng-news-card-more {
  gap: 10px;
  color: var(--ruicheng-primary-dark);
}

/* ---------- 8. CTA 询价条 ---------- */
.ruicheng-cta {
  position: relative;
  background: var(--ruicheng-primary);
  padding: 72px 0;
  overflow: hidden;
  color: #fff;
}
.ruicheng-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  
  pointer-events: none;
}
.ruicheng-cta::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.ruicheng-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.ruicheng-cta-text h3 {
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.ruicheng-cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 680px;
}
.ruicheng-cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ruicheng-cta-tel {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ruicheng-cta-tel-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.2);
  color: var(--ruicheng-accent);
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(201, 169, 110, 0.5);
}
.ruicheng-cta-tel-icon svg { width: 24px; height: 24px; }
.ruicheng-cta-tel-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ruicheng-cta-tel-num {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* 脉冲按钮（主 CTA） */
.ruicheng-btn-pulse {
  position: relative;
  background: var(--ruicheng-accent) !important;
  color: var(--ruicheng-text) !important;
  border-color: var(--ruicheng-accent) !important;
  font-weight: 700 !important;
  padding: 16px 36px !important;
  font-size: 16px !important;
  letter-spacing: 1px;
}
.ruicheng-btn-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--ruicheng-radius-sm);
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6);
  animation: ruicheng-cta-pulse 2s ease-out infinite;
}
.ruicheng-btn-pulse:hover {
  background: var(--ruicheng-accent-dark) !important;
  border-color: var(--ruicheng-accent-dark) !important;
  color: #fff !important;
}
@keyframes ruicheng-cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(201, 169, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

/* 视频弹层 */
.ruicheng-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 24, 0.88);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ruicheng-ease);
  padding: 24px;
}
.ruicheng-video-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.ruicheng-video-modal-wrap {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--ruicheng-radius);
  overflow: hidden;
  position: relative;
  transform: scale(0.92);
  transition: transform .35s var(--ruicheng-ease-out);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.ruicheng-video-modal.is-open .ruicheng-video-modal-wrap {
  transform: scale(1);
}
.ruicheng-video-modal-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ruicheng-video-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 40px;
  background: rgba(11, 61, 145, 0.95);
}
.ruicheng-video-modal-placeholder svg {
  width: 72px; height: 72px;
  color: var(--ruicheng-accent);
  margin-bottom: 20px;
  opacity: .8;
}
.ruicheng-video-modal-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all .25s;
  font-size: 20px;
}
.ruicheng-video-modal-close:hover {
  background: #fff;
  color: var(--ruicheng-text);
  transform: rotate(90deg);
}

/* ---------- 9. 响应式断点 ---------- */

/* Laptop：992~1199px */
@media (max-width: 1199px) {
  .ruicheng-products-grid { grid-template-columns: repeat(3, 1fr); }
  .ruicheng-about-wrap     { gap: 48px; }
  .ruicheng-solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .ruicheng-news-new-grid  { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet：768~991px */
@media (max-width: 991px) {
  .ruicheng-banner-slides { height: auto; }
  .ruicheng-stats-wrap    { grid-template-columns: repeat(2, 1fr); padding: 28px 14px; }
  .ruicheng-stat-item:nth-child(2n+1)::before { display: none; }
  .ruicheng-stat-item:nth-child(3)::before { display: none; }
  .ruicheng-stat-item + .ruicheng-stat-item::before { height: 0; }
  .ruicheng-stat-item { padding: 18px 12px; }
  .ruicheng-products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .ruicheng-products-tab-btn { padding: 10px 18px; font-size: 14px; }
  .ruicheng-about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .ruicheng-about-text .ruicheng-section-head { text-align: center; }
  .ruicheng-about-text .ruicheng-section-title::after { margin: 20px auto 0; }
  .ruicheng-about-image { padding-right: 24px; padding-bottom: 24px; max-width: 640px; margin: 0 auto; }
  .ruicheng-solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .ruicheng-video-wrap      { grid-template-columns: 1fr; }
  .ruicheng-video-list      { flex-direction: row; }
  .ruicheng-video-item-text { left: 68px; right: 12px; }
  .ruicheng-news-new-grid   { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .ruicheng-cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}

/* Mobile：< 768px */
@media (max-width: 767px) {
  .ruicheng-banner-slides { min-height: 0; height: auto; }
  .ruicheng-banner-arrow.prev { left: 12px; }
  .ruicheng-banner-arrow.next { right: 12px; }
  .ruicheng-banner-arrow { width: 42px; height: 42px; }
  .ruicheng-banner-tag { letter-spacing: 2px; font-size: 12px; padding: 5px 14px; margin-bottom: 18px; }
  .ruicheng-banner-buttons { gap: 12px; }
  .ruicheng-banner-buttons .ruicheng-btn { padding: 11px 22px; font-size: 14px; }
  .ruicheng-banner-dots { bottom: 20px; gap: 8px; }
  .ruicheng-banner-dot { width: 28px; }

  .ruicheng-stats { margin-top: -36px; }
  .ruicheng-stats-wrap { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 20px 10px; border-radius: 12px; }
  .ruicheng-stat-icon { width: 52px; height: 52px; margin-bottom: 12px; border-radius: 12px; }
  .ruicheng-stat-icon i { font-size: 24px; }
  .ruicheng-stat-unit { font-size: 18px; }
  .ruicheng-stat-label { font-size: 13px; margin-top: 8px; }

  .ruicheng-section-head { margin-bottom: 40px; }
  .ruicheng-products-tab { gap: 8px; margin-bottom: 32px; }
  .ruicheng-products-tab-btn { padding: 9px 14px; font-size: 13px; }
  .ruicheng-products-grid { grid-template-columns: 1fr; gap: 16px; }

  .ruicheng-solutions-grid { grid-template-columns: 1fr; gap: 16px; }

  .ruicheng-video-list { flex-direction: column; gap: 12px; }
  .ruicheng-video-item-text { min-height: auto; }
  .ruicheng-video-play { width: 72px; height: 72px; }
  .ruicheng-video-play i { font-size: 28px; }
  .ruicheng-video-meta { left: 20px; bottom: 20px; right: 20px; max-width: none; }
  .ruicheng-video-title { font-size: 18px; }

  .ruicheng-news-new-grid { grid-template-columns: 1fr; gap: 16px; }
  .ruicheng-news-card-summary { min-height: 0; }

  .ruicheng-cta { padding: 52px 0; }
  .ruicheng-cta-tel-num { font-size: 22px; }
  .ruicheng-cta-tel-icon { width: 46px; height: 46px; }
  .ruicheng-cta-actions { width: 100%; }
  .ruicheng-cta-actions .ruicheng-btn { flex: 1; }

  .ruicheng-about-img-corner { width: 45%; border-width: 6px; }
  .ruicheng-about-decor { width: 90px; height: 90px; }
}
