/* ===================================================================
   pages.css — 各页专属（产品/案例/新闻/视频/关于/联系/详情）
   =================================================================== */

/* ---------- 页面头图（内页通用） ---------- */
.page-hero {
  position: relative; padding: 92px 0 64px; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy), var(--navy-3));
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  border-radius: 50%; background: rgba(42,157,143,.18); filter: blur(10px);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cdd9e6; margin-top: 12px; max-width: 640px; }

/* ---------- 产品中心 ---------- */
.product-intro { font-size: 16px; line-height: 1.9; max-width: 820px; margin: 0 auto 8px; text-align: center; }
.moq-note { display: inline-block; margin: 18px auto 0; padding: 10px 22px; border-radius: 999px; background: rgba(42,157,143,.1); color: #1c6e63; font-weight: 700; font-size: 14px; }
.product-grid { margin-top: 8px; }

/* ---------- 产品详情 ---------- */
.detail-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.detail-gallery { border-radius: var(--radius); overflow: hidden; background: var(--steel-light); aspect-ratio: 4/3; }
.detail-info h1 { margin-bottom: 8px; }
.detail-info .lead { font-size: 16px; margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-table th { color: var(--navy); width: 36%; background: var(--bg-soft); font-weight: 600; }
.dfm-box { background: rgba(42,157,143,.08); border-left: 4px solid var(--accent); padding: 18px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 22px 0; }
.dfm-box h4 { color: var(--accent); margin-bottom: 6px; }
.moq-foot { font-size: 13px; color: var(--text-soft); margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }

/* ---------- 案例 ---------- */
.case-grid { margin-top: 8px; }

/* ---------- 新闻资讯 ---------- */
.news-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.news-list { display: grid; gap: 26px; }
.news-list .news-card { flex-direction: row; }
.news-list .news-card__img { width: 280px; flex-shrink: 0; aspect-ratio: auto; }
.news-list .news-card__body { flex: 1; }
.news-detail-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--navy); font-weight: 700; font-size: 14px; }

/* 子栏目 Tab */
.subtabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 36px; }
.subtabs button { padding: 11px 26px; border-radius: 999px; border: 1.5px solid var(--border); font-weight: 700; font-size: 15px; color: var(--text-soft); transition: all .2s; }
.subtabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.subpanel { display: none; }
.subpanel.active { display: block; }

/* ---------- 视频页 ---------- */
.video-grid { margin-top: 8px; }

/* ---------- 关于我们 ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-intro__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--steel-light); }
.culture-grid .card { text-align: center; }
.culture-grid .card__icon { margin: 0 auto 16px; }
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value-list .v { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.value-list .v h4 { color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.value-list .v p { font-size: 13px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-grid--two { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
.cert-grid .cert { text-align: center; }
.cert-grid .cert__img { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; aspect-ratio: 5/7; }
.cert-grid .cert p { font-size: 13px; margin-top: 10px; font-weight: 600; color: var(--navy); }

/* ---------- 联系我们 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info .info-block { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-block:last-child { border-bottom: none; }
.contact-info .info-block .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--steel-light); display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.contact-info .info-block h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info .info-block p { font-size: 14px; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-size: 96px; font-weight: 800; color: var(--steel-light); line-height: 1; }
.notfound h1 { margin: 12px 0 16px; }

@media (max-width: 900px) {
  .detail-layout, .about-intro, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list .news-card { flex-direction: column; }
  .news-list .news-card__img { width: 100%; aspect-ratio: 16/10; }
  .value-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
