/* ===== 子页面通用样式 ===== */

/* 页面头增强 */
.page-header-rich {
  background: var(--gradient-primary);
  padding: 140px 0 72px;
  position: relative;
}
.page-header-rich::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

/* 内容卡片网格 */
.sp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.sp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}
.sp-card:hover { box-shadow: var(--shadow-md); border-color: rgba(30,107,140,0.2); }

.sp-card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 18px;
}
.sp-card-title { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.sp-card-desc { font-size: 0.88rem; color: var(--text-gray); line-height: 1.75; }

/* 产品详情页 */
.prod-detail-hero {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  position: relative;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}
.prod-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.prod-detail-hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.prod-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,24,40,0.85) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 40px;
}
.prod-detail-hero h2 { font-size: 1.75rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.prod-detail-hero p { font-size: 0.95rem; color: rgba(255,255,255,0.7); max-width: 600px; }

.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-list-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.feature-list-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.fli-num {
  font-size: 0.72rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.1em; min-width: 32px; padding-top: 2px;
}
.fli-title { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.fli-desc { font-size: 0.86rem; color: var(--text-gray); line-height: 1.75; }

/* 荣誉资质 */
.honor-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.honor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.honor-year { font-size: 0.72rem; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px; }
.honor-title { font-size: 0.92rem; font-weight: 600; color: var(--text-dark); line-height: 1.5; }

/* 解决方案 */
.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.solution-card:hover { box-shadow: var(--shadow-md); }
.solution-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.solution-card:hover .solution-card-img img { transform: scale(1.03); }
.solution-card-top {
  padding: 32px 28px 24px;
  background: var(--primary);
  color: var(--white);
}
.solution-card-top .sp-card-icon {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--accent-light);
}
.solution-card-body { padding: 24px 28px 28px; flex: 1; }

.sp-wide-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 360px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}
.sp-wide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.solution-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.solution-tags span {
  font-size: 0.68rem; padding: 4px 10px;
  background: var(--bg-section); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-gray);
}

/* 招聘 */
.job-card {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  flex-wrap: wrap;
}
.job-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.job-title { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.job-meta { font-size: 0.82rem; color: var(--text-light); display: flex; gap: 16px; flex-wrap: wrap; }
.job-salary { font-size: 0.95rem; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* 新闻子页 */
.news-sub-list { display: flex; flex-direction: column; gap: 16px; }
.news-sub-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
}
.news-sub-item:hover { box-shadow: var(--shadow-md); border-color: rgba(30,107,140,0.25); }
.nsi-date { text-align: center; border-right: 2px solid var(--accent); padding-right: 20px; }
.nsi-day { font-size: 1.4rem; font-weight: 700; color: var(--primary); font-family: 'Inter'; line-height: 1; }
.nsi-month { font-size: 0.68rem; color: var(--text-light); margin-top: 4px; }
.nsi-cat { font-size: 0.68rem; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.nsi-title { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); line-height: 1.5; }
.nsi-arrow { color: var(--accent); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }

/* CTA 条 */
.sp-cta-bar {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sp-cta-bar h3 { font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.sp-cta-bar p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.sp-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.sp-cta-bar .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.45); }
.sp-cta-bar .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

@media (max-width: 1024px) {
  .sp-grid-3, .sp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .news-sub-item { grid-template-columns: 80px 1fr; }
  .nsi-arrow { display: none; }
}
@media (max-width: 768px) {
  .sp-grid-2, .sp-grid-3, .sp-grid-4 { grid-template-columns: 1fr; }
  .prod-detail-hero { height: 280px; }
  .job-card { flex-direction: column; align-items: flex-start; }
}
