/* =========================================================
   上海赛九电气有限公司 官网前台样式
   设计对齐原版：主色 #004C99 / 强调橙 #FF9500 / 圆角 8px
   ========================================================= */

:root {
  --primary: #004c99;
  --primary-600: #0057ad;
  --primary-700: #003d7a;
  --primary-900: #002a54;
  --accent: #ff9500;
  --accent-600: #e68600;
  --fg: #1f2933;
  --fg-soft: #3d4a57;
  --muted: #f1f5f9;
  --muted-2: #e9eff5;
  --muted-fg: #6b7a87;
  --border: #e2e8ed;
  --white: #ffffff;
  --slate-900: #0f172a;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --container: 1280px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--fg);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.28; letter-spacing: 0.01em; }
p { margin: 0; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-700); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); }
.btn-outline {
  background: #fff;
  color: var(--fg);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: rgba(255, 255, 255, 0.9); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}
.link-more:hover { gap: 10px; }
.link-more span { transition: transform .2s; }

/* ---------- 顶部联系条 ---------- */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
}
.topbar-left { display: flex; align-items: center; gap: 24px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-item svg { width: 16px; height: 16px; opacity: .9; }
.topbar-item:hover { opacity: .85; }
@media (max-width: 767px) {
  .topbar { display: none; }
}

/* ---------- 主导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08); border-color: transparent; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
@media (min-width: 768px) {
  .header-inner { height: 80px; }
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { height: 40px; width: auto; object-fit: contain; }
@media (min-width: 768px) {
  .brand-mark { height: 46px; }
}
.brand-text { display: none; }
@media (min-width: 768px) {
  .brand-text { display: block; }
}
.brand-text strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
}
.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--muted-fg);
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 32px; }
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta-link { display: none; }
@media (min-width: 1024px) {
  .header-cta-link { display: inline-flex; }
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  color: var(--fg);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 8px 20px 20px;
}
.mobile-nav.open { display: block; }
@media (min-width: 1024px) {
  .mobile-nav.open { display: none; }
}
.mobile-nav a {
  display: block;
  padding: 14px 2px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(226, 232, 237, 0.6);
}
.mobile-nav a.active { color: var(--primary); }
.mobile-nav .mobile-cta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
  border-bottom: 0;
  padding: 12px 16px;
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
@media (min-width: 768px) {
  .hero { min-height: 560px; }
}
@media (min-width: 1024px) {
  .hero { min-height: 640px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 76, 153, 0.72);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 76, 153, 0.92) 0%, rgba(0, 76, 153, 0.6) 55%, rgba(0, 76, 153, 0) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 20px;
  width: 100%;
}
@media (min-width: 768px) {
  .hero-inner { padding: 96px 24px; }
}
.hero-copy { max-width: 660px; }
.hero h1 {
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 44px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 54px; }
}
.hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .hero-sub { font-size: 19px; }
}
.hero-actions { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
@media (min-width: 768px) {
  .section { padding: 76px 0; }
}
@media (min-width: 1024px) {
  .section { padding: 96px 0; }
}
.section-alt { background: var(--muted); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}
@media (min-width: 640px) {
  .section-head.row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-center { text-align: center; margin-bottom: 44px; }
.section-center h2 { margin-bottom: 12px; }
.section-kicker {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.section h2 { font-size: 26px; }
@media (min-width: 768px) {
  .section h2 { font-size: 34px; }
}
.section-sub { color: var(--muted-fg); margin-top: 10px; max-width: 640px; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- 首页：企业优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .adv-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
}
.adv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow .3s, transform .3s;
}
.adv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.adv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(0, 76, 153, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.adv-icon svg { width: 28px; height: 28px; }
.adv-card h3 { font-size: 17px; margin-bottom: 8px; }
.adv-card p { font-size: 13.5px; color: var(--muted-fg); line-height: 1.75; }

/* ---------- 首页：产品 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s;
}
.product-card:hover .card-media img { transform: scale(1.05); }
.card-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  color: var(--muted-fg);
  font-weight: 600;
  letter-spacing: .08em;
}
.card-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(0, 76, 153, 0.92);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
}
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-model { font-size: 13px; color: var(--muted-fg); margin-bottom: 8px; }
.card-summary {
  font-size: 13px;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/* ---------- 首页：应用领域 ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .solution-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.solution-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.solution-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(0, 76, 153, 0.3);
}
.solution-card .adv-icon { transition: background .3s, color .3s; }
.solution-card:hover .adv-icon { background: var(--primary); color: #fff; }
.solution-card:hover .adv-icon svg { color: #fff; }
.solution-card h3 { font-size: 17px; margin-bottom: 8px; }
.solution-card p { font-size: 13.5px; color: var(--muted-fg); line-height: 1.75; margin-bottom: 14px; }

/* ---------- 首页：数据带 ---------- */
.stats-band { background: var(--primary); padding: 56px 0; }
@media (min-width: 768px) {
  .stats-band { padding: 72px 0; }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}
.stat { text-align: center; color: #fff; }
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .stat strong { font-size: 44px; }
}
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
@media (min-width: 768px) {
  .stat span { font-size: 15px; }
}

/* ---------- 首页：新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .3s, transform .3s;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-fg);
  margin-bottom: 14px;
}
.news-cat {
  background: var(--muted);
  color: var(--primary);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
}
.news-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover h3 { color: var(--primary); }
.news-card p {
  font-size: 13.5px;
  color: var(--muted-fg);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

/* ---------- CTA 区块 ---------- */
.cta-section { background: var(--muted); padding: 56px 0; }
@media (min-width: 768px) {
  .cta-section { padding: 80px 0; }
}
.cta-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: 26px; margin-bottom: 14px; }
@media (min-width: 768px) {
  .cta-inner h2 { font-size: 34px; }
}
.cta-inner p { color: var(--muted-fg); line-height: 1.85; margin-bottom: 28px; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
@media (min-width: 640px) {
  .cta-actions { flex-direction: row; }
}
.cta-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, rgba(0, 76, 153, 0.8) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-gradient h2 { font-size: 24px; margin-bottom: 10px; }
.cta-gradient p { color: rgba(255, 255, 255, 0.82); margin-bottom: 22px; }
.cta-gradient-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #fff; }

/* ---------- 内页 Banner ---------- */
.page-banner {
  background: var(--primary);
  color: #fff;
  padding: 56px 0;
}
@media (min-width: 768px) {
  .page-banner { padding: 76px 0; }
}
.page-banner h1 { font-size: 28px; margin-bottom: 12px; }
@media (min-width: 768px) {
  .page-banner h1 { font-size: 38px; }
}
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }
.crumbs .crumb-current { color: #fff; }

.page-banner-photo {
  position: relative;
  background: var(--slate-900);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-banner-photo { padding: 100px 0; }
}
.page-banner-photo .banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .3;
}
.page-banner-photo .banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 76, 153, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
}
.page-banner-photo .banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-banner-photo h1 { font-size: 30px; margin-bottom: 12px; }
@media (min-width: 768px) {
  .page-banner-photo h1 { font-size: 48px; }
}
.page-banner-photo .banner-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 18px;
  line-height: 1.8;
}
.page-banner-photo .crumbs { justify-content: center; color: var(--slate-300); }
.page-banner-photo .crumbs .crumb-current { color: #fff; }

/* ---------- 产品中心 ---------- */
.products-section { padding: 44px 0 64px; }
@media (min-width: 768px) {
  .products-section { padding: 56px 0 80px; }
}
.filter-toggle { display: block; margin-bottom: 20px; }
@media (min-width: 1024px) {
  .filter-toggle { display: none; }
}
.filter-toggle button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--fg);
  font-size: 14px;
  cursor: pointer;
}
.products-layout { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1024px) {
  .products-layout { flex-direction: row; gap: 32px; }
}
.side-cats {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
@media (min-width: 1024px) {
  .side-cats {
    width: 256px;
    flex: 0 0 256px;
    position: sticky;
    top: 96px;
    align-self: flex-start;
    border: 0;
    padding: 0;
  }
}
.side-cats h3 {
  font-size: 17px;
  font-weight: 600;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--fg);
  transition: background .2s, color .2s;
}
.cat-list a:hover { background: var(--muted); }
.cat-list a.active { background: var(--primary); color: #fff; font-weight: 500; }
.cat-list a svg { width: 15px; height: 15px; opacity: .6; }
.products-main { flex: 1; min-width: 0; }
.products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.products-head h2 { font-size: 20px; font-weight: 600; }
.products-head .count { font-size: 13.5px; color: var(--muted-fg); }

/* 空状态 */
.empty-box {
  text-align: center;
  padding: 64px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted-fg);
}

/* ---------- 产品详情 ---------- */
.detail-crumb-bar {
  background: var(--muted);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.detail-crumb-bar .crumbs { color: var(--muted-fg); }
.detail-crumb-bar .crumbs a:hover { color: var(--primary); }
.detail-crumb-bar .crumbs .crumb-current { color: var(--fg); }
.detail-crumb-bar .crumbs svg { color: var(--muted-fg); }

.detail-section { padding: 40px 0 56px; }
@media (min-width: 768px) {
  .detail-section { padding: 56px 0 72px; }
}
.detail-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .detail-top { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.detail-media {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.detail-media img { width: 100%; height: 100%; object-fit: contain; }
.detail-info { display: flex; flex-direction: column; }
.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: rgba(0, 76, 153, 0.1);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.detail-info h1 { font-size: 26px; margin-bottom: 12px; }
@media (min-width: 768px) {
  .detail-info h1 { font-size: 34px; }
}
.detail-model {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-fg);
  font-size: 14px;
  margin-bottom: 22px;
}
.detail-model svg { width: 18px; height: 18px; }
.detail-summary {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-bottom: 24px;
}
.detail-summary h3 { font-size: 16px; margin-bottom: 10px; }
.detail-summary p { color: var(--fg-soft); line-height: 1.85; }
.detail-actions { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 640px) {
  .detail-actions { flex-direction: row; }
}

.detail-tabs-section { background: var(--muted); padding: 44px 0 56px; }
.tabs-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tabs-bar { display: flex; overflow-x: auto; border-bottom: 1px solid var(--border); }
.tab-btn {
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-fg);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.tab-btn:hover { color: var(--fg); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tabs-body { padding: 24px; }
@media (min-width: 768px) {
  .tabs-body { padding: 36px 40px; }
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--fg-soft); line-height: 1.95; margin-bottom: 14px; }
.tab-panel p:last-child { margin-bottom: 0; }
.bullet-list { display: flex; flex-direction: column; gap: 12px; }
.bullet-list li { display: flex; gap: 12px; color: var(--fg-soft); line-height: 1.8; }
.bullet-list li i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--primary);
}
.tab-empty { color: var(--muted-fg); }

.related-section { padding: 44px 0 64px; }
.related-section h2 { font-size: 24px; margin-bottom: 26px; }

/* ---------- 新闻列表 ---------- */
.news-page-banner {
  position: relative;
  background: var(--slate-900);
  color: #fff;
  padding: 56px 0;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) {
  .news-page-banner { padding: 76px 0; }
}
.news-page-banner .banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 76, 153, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
}
.news-page-banner .banner-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .5;
}
.news-page-banner .banner-inner { position: relative; z-index: 2; }
.news-page-banner h1 { font-size: 30px; margin-bottom: 12px; }
@media (min-width: 768px) {
  .news-page-banner h1 { font-size: 46px; }
}
.news-page-banner .banner-sub { color: var(--slate-300); margin-bottom: 16px; }
.news-page-banner .crumbs { justify-content: center; color: var(--slate-300); }
.news-page-banner .crumbs .crumb-current { color: #fff; }

.news-section { padding: 40px 0 64px; }
@media (min-width: 768px) {
  .news-section { padding: 56px 0 80px; }
}
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.cat-pills a {
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  color: var(--fg);
  border: 1px solid var(--border);
  transition: all .2s;
}
.cat-pills a:hover { border-color: var(--primary); color: var(--primary); }
.cat-pills a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 76, 153, 0.25);
}

.news-layout { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1024px) {
  .news-layout { flex-direction: row; gap: 32px; }
}
.news-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.news-row {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.news-row:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
@media (min-width: 768px) {
  .news-row { flex-direction: row; }
}
.news-row-media {
  width: 100%;
  height: 180px;
  flex: 0 0 auto;
  background: rgba(0, 76, 153, 0.1);
  overflow: hidden;
}
@media (min-width: 768px) {
  .news-row-media { width: 256px; height: auto; min-height: 168px; }
}
.news-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-row:hover .news-row-media img { transform: scale(1.05); }
.news-row-media .ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 76, 153, 0.4);
}
.news-row-body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-fg);
  margin-bottom: 12px;
}
.news-row-meta .m { display: inline-flex; align-items: center; gap: 4px; }
.news-row-meta svg { width: 14px; height: 14px; }
.news-row h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row:hover h3 { color: var(--primary); }
.news-row p {
  font-size: 13.5px;
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row .read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 500;
}
.news-row .read-more svg { width: 15px; height: 15px; }

.news-side { width: 100%; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) {
  .news-side { width: 320px; flex: 0 0 320px; }
}
.side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.side-card h3 {
  font-size: 17px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-card h3::before {
  content: "";
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--primary);
}
.hot-list { display: flex; flex-direction: column; gap: 14px; }
.hot-list li { display: flex; gap: 10px; align-items: flex-start; }
.hot-rank {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--muted);
  color: var(--muted-fg);
}
.hot-rank.top { background: var(--primary); color: #fff; }
.hot-list a {
  font-size: 13.5px;
  color: var(--fg);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-list a:hover { color: var(--primary); }
.side-contact {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(0, 76, 153, 0.8) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
}
.side-contact svg { width: 36px; height: 36px; margin-bottom: 14px; }
.side-contact h3 { font-size: 17px; margin-bottom: 8px; }
.side-contact strong { display: block; font-size: 22px; margin-bottom: 4px; }
.side-contact p { font-size: 13px; color: rgba(255, 255, 255, 0.82); margin-bottom: 16px; }
.side-contact .btn { width: 100%; }

/* ---------- 新闻详情 ---------- */
.article-crumb-bar {
  background: rgba(241, 245, 249, 0.6);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.article-crumb-bar .crumbs { color: var(--muted-fg); }
.article-crumb-bar .crumbs a:hover { color: var(--primary); }
.article-crumb-bar .crumbs .crumb-current { color: var(--fg); max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-wrap { padding: 36px 0 56px; }
.article-inner { max-width: 860px; margin: 0 auto; }
.article-head { margin-bottom: 28px; }
.article-head h1 { font-size: 25px; line-height: 1.4; margin-bottom: 14px; }
@media (min-width: 768px) {
  .article-head h1 { font-size: 34px; }
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: var(--muted-fg);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.article-body { color: var(--fg-soft); font-size: 15.5px; line-height: 2; }
.article-body p { margin-bottom: 16px; }
.article-body h2 { font-size: 20px; margin: 28px 0 12px; color: var(--fg); }
.article-body h3 { font-size: 17px; margin: 24px 0 10px; color: var(--fg); }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.article-body img { border-radius: var(--radius); margin: 18px 0; }

.article-nav {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 640px) {
  .article-nav { flex-direction: row; }
}
.article-nav .nav-cell { flex: 1; }
.article-nav a, .article-nav .nav-empty {
  display: block;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(241, 245, 249, 0.7);
  transition: background .2s;
}
.article-nav a:hover { background: var(--muted-2); }
.article-nav .nav-empty { background: rgba(241, 245, 249, 0.35); }
.article-nav .nav-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted-fg);
  margin-bottom: 6px;
}
.article-nav .nav-label.right { justify-content: flex-end; }
.article-nav svg { width: 13px; height: 13px; }
.article-nav .nav-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-nav .nav-right { text-align: right; }

.article-related { margin-top: 40px; }
.article-related h2 {
  font-size: 19px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-related h2::before {
  content: "";
  width: 3px;
  height: 20px;
  border-radius: 2px;
  background: var(--primary);
}
.related-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .related-news-grid { grid-template-columns: repeat(3, 1fr); }
}
.related-news {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.related-news:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-news .thumb {
  height: 128px;
  background: rgba(0, 76, 153, 0.1);
  overflow: hidden;
}
.related-news .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-news .thumb .ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(0, 76, 153, 0.4);
}
.related-news .body { padding: 16px; }
.related-news h3 {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-news:hover h3 { color: var(--primary); }
.related-news .date { font-size: 12px; color: var(--muted-fg); }

/* ---------- 关于我们 ---------- */
.about-intro { padding: 56px 0; }
@media (min-width: 768px) {
  .about-intro { padding: 76px 0; }
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.about-copy h2 { font-size: 28px; margin: 6px 0 22px; }
@media (min-width: 768px) {
  .about-copy h2 { font-size: 36px; }
}
.about-copy .kicker { color: var(--primary); font-weight: 600; font-size: 15px; }
.about-text { color: var(--muted-fg); line-height: 1.95; }
.about-text p { margin-bottom: 14px; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about-badge {
  position: absolute;
  left: -24px;
  bottom: -24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: none;
}
@media (min-width: 768px) {
  .about-badge { display: block; }
}
.about-badge strong { display: block; font-size: 28px; line-height: 1.2; }
.about-badge span { font-size: 13px; color: rgba(255, 255, 255, 0.85); }

.timeline-section { background: var(--muted); padding: 56px 0; }
@media (min-width: 768px) {
  .timeline-section { padding: 76px 0; }
}
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
@media (min-width: 768px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
}
.tl-item {
  position: relative;
  padding-left: 46px;
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .tl-item {
    padding-left: 0;
    width: 50%;
    margin-bottom: 40px;
  }
  .tl-item.odd { padding-right: 44px; text-align: right; }
  .tl-item.even { margin-left: 50%; padding-left: 44px; }
}
.tl-dot {
  position: absolute;
  left: 8px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #fff;
  z-index: 2;
}
@media (min-width: 768px) {
  .tl-dot { left: auto; right: -8px; }
  .tl-item.even .tl-dot { left: -8px; right: auto; }
}
.tl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  text-align: left;
  max-width: 100%;
}
.tl-year { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.tl-card h3 { font-size: 16px; margin-bottom: 6px; }
.tl-card p { font-size: 13.5px; color: var(--muted-fg); line-height: 1.75; }

.honors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) {
  .honors-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .honors-grid { grid-template-columns: repeat(6, 1fr); }
}
.honor {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: box-shadow .3s, transform .3s;
}
.honor:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.honor-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 76, 153, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.honor-icon svg { width: 24px; height: 24px; }
.honor span { font-size: 13px; font-weight: 500; }

/* ---------- 联系我们 ---------- */
.contact-cards-section { padding: 0 0 8px; }
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: -64px;
  position: relative;
  z-index: 3;
}
@media (min-width: 768px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); margin-top: -88px; }
}
.contact-card {
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.contact-card.primary { background: var(--primary); color: #fff; }
.contact-card.plain { background: #fff; border: 1px solid var(--border); }
.contact-card .cc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-card.primary .cc-icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.contact-card.plain .cc-icon { background: rgba(0, 76, 153, 0.1); color: var(--primary); }
.contact-card .cc-icon svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card .cc-value { font-size: 20px; font-weight: 700; margin-bottom: 6px; word-break: break-all; }
.contact-card .cc-desc { font-size: 13px; }
.contact-card.primary .cc-desc { color: rgba(255, 255, 255, 0.82); }
.contact-card.plain .cc-desc { color: var(--muted-fg); }

.contact-main { background: var(--muted); padding: 48px 0 64px; }
@media (min-width: 768px) {
  .contact-main { padding: 64px 0 80px; }
}
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 2fr 3fr; gap: 48px; }
}
.contact-intro h2 { font-size: 26px; margin: 6px 0 14px; }
@media (min-width: 768px) {
  .contact-intro h2 { font-size: 32px; }
}
.contact-intro p { color: var(--muted-fg); line-height: 1.9; }
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.contact-info-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info-card h3 svg { width: 20px; height: 20px; color: var(--primary); }
.info-row { display: flex; gap: 12px; margin-bottom: 16px; }
.info-row:last-child { margin-bottom: 0; }
.info-row svg { width: 16px; height: 16px; color: var(--primary); flex: 0 0 auto; margin-top: 3px; }
.info-row strong { display: block; font-size: 14px; font-weight: 500; color: var(--fg); }
.info-row small { font-size: 12px; color: var(--muted-fg); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
@media (min-width: 768px) {
  .form-card { padding: 32px; }
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-label .req { color: #dc2626; }
.field-wrap { position: relative; }
.field-wrap .field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-fg);
}
.field-wrap .field-icon.top { top: 14px; transform: none; }
input.input, textarea.input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--fg);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
input.input.with-icon, textarea.input.with-icon { padding-left: 38px; }
input.input:focus, textarea.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 76, 153, 0.1);
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
@media (min-width: 768px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.radio-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) {
  .radio-row { grid-template-columns: repeat(4, 1fr); }
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
}
.radio-item input { accent-color: var(--primary); width: 16px; height: 16px; }
.form-note {
  font-size: 12.5px;
  color: var(--muted-fg);
  margin-top: 12px;
  line-height: 1.7;
}
.alert {
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-win { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* ---------- 应用领域 ---------- */
.solutions-hero {
  position: relative;
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) {
  .solutions-hero { padding: 110px 0; }
}
.solutions-hero .hero-bg { background-size: cover; background-position: center; }
.solutions-hero .hero-overlay { background: rgba(0, 76, 153, 0.8); }
.solutions-hero .banner-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.solutions-hero h1 { font-size: 30px; margin-bottom: 18px; }
@media (min-width: 768px) {
  .solutions-hero h1 { font-size: 50px; }
}
.solutions-hero p { color: rgba(255, 255, 255, 0.9); font-size: 16px; line-height: 1.85; }

.solutions-list { padding: 56px 0; }
@media (min-width: 768px) {
  .solutions-list { padding: 80px 0; }
}
.solution-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 56px;
}
@media (min-width: 1024px) {
  .solution-row { grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 84px; }
}
.solution-row:last-child { margin-bottom: 0; }
.solution-row .sol-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.solution-row .sol-media img { width: 100%; height: 100%; object-fit: cover; }
.solution-row.reverse .sol-media { order: 1; }
@media (min-width: 1024px) {
  .solution-row.reverse .sol-text { order: 1; }
  .solution-row.reverse .sol-media { order: 2; }
}
.sol-text h2 { font-size: 26px; margin-bottom: 16px; }
@media (min-width: 768px) {
  .sol-text h2 { font-size: 34px; }
}
.sol-text p { color: var(--muted-fg); line-height: 1.95; margin-bottom: 20px; }
.sol-products {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 22px;
}
.sol-products h4 { font-size: 15px; margin-bottom: 12px; }
.sol-products ul { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) {
  .sol-products ul { grid-template-columns: 1fr 1fr; }
}
.sol-products li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg-soft); }
.sol-products li svg { width: 15px; height: 15px; color: var(--primary); flex: 0 0 auto; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--slate-900); color: var(--slate-300); }
.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); padding: 64px 24px; gap: 40px; }
}
@media (min-width: 1024px) {
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .footer-logo img { height: 40px; width: auto; }
.footer-brand .footer-logo strong { color: #fff; font-size: 17px; }
.footer-brand p { font-size: 13.5px; color: var(--slate-400); line-height: 1.85; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-col a { color: var(--slate-300); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; color: #6ea8dc; flex: 0 0 auto; margin-top: 3px; }
.footer-contact span { color: var(--slate-300); word-break: break-all; }
.footer-bottom { border-top: 1px solid #1e293b; }
.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  color: var(--slate-500);
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 24px; }
}
.footer-bottom-inner a { color: var(--slate-500); }
.footer-bottom-inner a:hover { color: var(--slate-300); }

/* ---------- 404 / 错误页 ---------- */
.state-page { padding: 96px 0; text-align: center; }
.state-page h1 { font-size: 30px; margin-bottom: 12px; }
.state-page p { color: var(--muted-fg); margin-bottom: 24px; }

/* ---------- 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 补充：四列优势栅格 ---------- */
.adv-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .adv-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .adv-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ---------- 补充：联系方式链接 ---------- */
.contact-card .cc-value a { color: inherit; text-decoration: none; }
.contact-card .cc-value a:hover { text-decoration: underline; }
/* ---------- 补充：状态页 ---------- */
.state-page .state-code {
  font-size: 44px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}
/* ---------- 修正：图片容器内等比适配（避免百分比高度失效导致裁切） ---------- */
.card-media img,
.detail-media img,
.sol-media img,
.news-row-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-media img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
.detail-media img { inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); }
.sol-media img,
.news-row-media img { object-fit: cover; }

/* ---------- 修正：首页五张优势卡在中等屏按三列排布，避免末行只剩一张 ---------- */
@media (min-width: 640px) and (max-width: 1279px) {
  .adv-grid.five { grid-template-columns: repeat(3, 1fr); }
}
.card-media,
.detail-media,
.sol-media,
.news-row-media { position: relative; }
/* ---------- 修正：占位图标尺寸与新闻无封面时的占位样式 ---------- */
.news-row-media .ph,
.related-news .thumb .ph {
  background: linear-gradient(135deg, rgba(0, 76, 153, 0.92) 0%, rgba(15, 23, 42, 0.82) 100%);
  color: rgba(255, 255, 255, 0.9);
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .12em;
  text-align: center;
  padding: 0 12px;
}
.news-row-media .ph svg,
.related-news .thumb .ph svg { color: rgba(255, 255, 255, 0.85); }
.news-row-media .ph svg { width: 34px; height: 34px; }
.related-news .thumb .ph svg { width: 26px; height: 26px; }
.empty-box svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--muted-fg); }

/* ---------- 修正：小屏产品大图高度上限 ---------- */
@media (max-width: 1023px) {
  .detail-media { aspect-ratio: 4 / 3; max-height: 340px; }
}
/* ---------- 调整：首页主图改用原版车间图，遮罩与原版一致 ---------- */
.hero-overlay { background: rgba(0, 76, 153, 0.72); }
.hero-gradient { background: linear-gradient(90deg, rgba(0, 76, 153, 0.92) 0%, rgba(0, 76, 153, 0.6) 55%, rgba(0, 76, 153, 0) 100%); }
/* ---------- 修正：联系我们页沿用首页 hero 的遮罩浓度，露出车间细节 ---------- */
.page-banner-photo.banner-hero-like .banner-veil {
  background: linear-gradient(90deg, rgba(0, 76, 153, 0.9) 0%, rgba(0, 76, 153, 0.55) 60%, rgba(0, 76, 153, 0.15) 100%);
}
/* ---------- 修正：联系我们页主图取画面中段机柜，避免只露出顶部天花 ---------- */
.page-banner-photo.banner-hero-like .banner-bg { opacity: 1; background-position: center 58%; }
/* ---------- 修正：应用领域配图改为完整显示，不裁切柜体，六张图大小统一 ---------- */
.solution-row .sol-media {
  background: #fff;
  aspect-ratio: 4 / 3;
}
.solution-row .sol-media img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  object-position: center;
}
/* ---------- 联系表单：个人信息告知与同意勾选 ---------- */
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #4a5a6a;
}
.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: #0057b8;
}
.form-consent a { color: #0057b8; text-decoration: underline; }
/* ---------- 首屏主图：窄屏改用 1280 宽版本，减少移动端首屏流量 ---------- */
@media (max-width: 767px) {
  .hero-photo {
    background-image: url('/img/origin-hero-1280.jpg') !important;
  }
}
