:root {
  --primary: #0a5a8c;
  --primary-dark: #07456b;
  --primary-light: #e8f1f8;
  --accent: #f7b500;
  --accent-dark: #c99200;
  --text: #333;
  --text-light: #666;
  --border: #e5e5e5;
  --white: #fff;
  --shadow: 0 2px 12px rgba(10, 90, 140, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ================= 顶部导航 ================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
}

/* 桌面端：邮箱/电话与导航强制同行（平行不换行） */
@media (min-width: 1025px) {
  .header-inner { flex-wrap: nowrap; }
  .main-nav { flex-wrap: nowrap; }
}

/* 中等屏幕紧凑模式，确保同行放得下 */
@media (min-width: 1025px) and (max-width: 1360px) {
  .header-inner { gap: 14px; }
  .logo { font-size: 18px; }
  .logo img { width: 42px; height: 42px; }
  .main-nav a { padding: 8px 11px; font-size: 15px; }
  .lang-toggle { min-width: 42px; padding: 7px 10px; }
  .header-email { padding: 9px 13px; font-size: 13.5px; }
  .header-phone { padding: 9px 13px; font-size: 15px; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  white-space: nowrap;
}
.logo:hover { color: var(--primary-dark); }
.logo img { width: 48px; height: 48px; flex: none; border-radius: 6px; object-fit: contain; }
.logo .logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 1px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 16px;
  color: var(--text);
  font-size: 16px;
  border-radius: 4px;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-light); }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* 右上角黄色电话 */
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #3d2b00;
  font-weight: 700;
  font-size: 17px;
  padding: 10px 18px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(247, 181, 0, .35);
  transition: background .2s, transform .2s;
}
.header-phone:hover { background: #ffcb2e; color: #3d2b00; }
.header-phone svg { width: 20px; height: 20px; }

/* 语言切换按钮 */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 8px 12px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.lang-toggle:hover { background: var(--primary); color: #fff; }

/* 英文版右上角邮箱按钮 */
.header-email {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #3d2b00;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(247, 181, 0, .35);
  transition: background .2s;
  margin-left: auto;
}
.header-email:hover { background: #ffcb2e; color: #3d2b00; }
.header-email svg { width: 20px; height: 20px; flex: none; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle svg { width: 26px; height: 26px; display: block; }

/* ================= 首页轮播 ================= */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f2f8fc 0%, #e3eff7 100%);
}
.slides {
  display: flex;
  transition: transform .6s ease;
  height: clamp(340px, 46vw, 540px);
}
.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  min-width: 0;
}
.slide-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.slide-img { flex: 0 0 42%; min-width: 0; }
.slide-img img { width: 100%; height: auto; max-height: clamp(240px, 34vw, 420px); object-fit: contain; }
.slide-txt { flex: 1; min-width: 0; }
.slide-txt .slide-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.slide-txt h2 {
  font-size: clamp(24px, 3vw, 40px);
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 14px;
}
.slide-txt p {
  color: var(--text-light);
  font-size: clamp(14px, 1.4vw, 17px);
  margin-bottom: 24px;
  max-width: 560px;
}
.slide-txt .btn {
  display: inline-block;
  background: var(--accent);
  color: #3d2b00;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 15px;
  transition: background .2s;
}
.slide-txt .btn:hover { background: #ffcb2e; color: #3d2b00; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background .2s;
  z-index: 5;
}
.slider-arrow:hover { background: #fff; }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 90, 140, .25);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dots button.on { background: var(--accent); transform: scale(1.25); }

/* ================= 通用区块 ================= */
.section { padding: 60px 0; }
.section-alt { background: #f7fafc; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.section-head p { color: var(--text-light); margin-top: 10px; }

/* 产品卡片 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(10, 90, 140, .13);
  transform: translateY(-4px);
}
.product-card .pc-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f2f8fc, #e3eff7);
  overflow: hidden;
}
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .pc-img img { transform: scale(1.04); }
.product-card .pc-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 8px; }
.product-card p { color: var(--text-light); font-size: 14px; flex: 1; margin-bottom: 14px; }
.product-card .pc-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-card .pc-more:hover { color: var(--primary-dark); }

/* 首页亮点 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  text-align: center;
  padding: 30px 16px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
}
.feature-item .fi-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
}
.feature-item .fi-num span { font-size: 20px; color: var(--accent-dark); }
.feature-item p { color: var(--text-light); margin-top: 6px; font-size: 15px; }

/* 公司简介带 */
.about-strip {
  display: flex;
  gap: 40px;
  align-items: center;
}
.about-strip .as-img { flex: 0 0 45%; border-radius: 10px; overflow: hidden; }
.about-strip .as-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-strip .as-txt h2 { font-size: 28px; color: var(--primary-dark); margin-bottom: 16px; }
.about-strip .as-txt p { color: var(--text-light); margin-bottom: 12px; }
.about-strip .as-txt .btn-line {
  display: inline-block;
  margin-top: 8px;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 9px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: all .2s;
}
.about-strip .as-txt .btn-line:hover { background: var(--primary); color: #fff; }

/* ================= 页面横幅 ================= */
.page-banner {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.page-banner h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.page-banner .crumbs { font-size: 14px; opacity: .85; }
.page-banner .crumbs a { color: #ffd982; }

/* ================= 新闻列表 ================= */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
  display: flex;
  gap: 22px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: box-shadow .25s;
}
.news-item:hover { box-shadow: var(--shadow); }
.news-date {
  flex: none;
  width: 84px;
  text-align: center;
  background: var(--primary-light);
  border-radius: 8px;
  padding: 12px 8px;
  align-self: flex-start;
}
.news-date .nd-d { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.news-date .nd-m { font-size: 13px; color: var(--text-light); }
.news-item h3 { font-size: 19px; margin-bottom: 8px; color: var(--primary-dark); }
.news-item p { color: var(--text-light); font-size: 14.5px; }

/* ================= 联系我们 ================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}
.contact-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: box-shadow .25s, transform .25s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card .cc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .cc-icon svg { width: 30px; height: 30px; }
.contact-card h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 10px; }
.contact-card p { color: var(--text); font-size: 16px; word-break: break-all; }
.contact-card a { color: var(--text); font-weight: 600; }
.contact-card a:hover { color: var(--primary); }

/* ================= 详情页 ================= */
.detail-hero {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 50px 0;
  background: linear-gradient(135deg, #f2f8fc, #e3eff7);
}
.detail-hero .dh-img { flex: 0 0 44%; }
.detail-hero .dh-img img { border-radius: 10px; max-height: 460px; object-fit: contain; margin: 0 auto; }
.detail-hero h1 { font-size: clamp(24px, 2.8vw, 34px); color: var(--primary-dark); margin-bottom: 12px; }
.detail-hero .dh-sub { color: var(--primary); font-size: 17px; margin-bottom: 14px; font-weight: 600; }
.detail-hero .dh-desc { color: var(--text-light); margin-bottom: 20px; }
.detail-hero .dh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.detail-hero .dh-tags span {
  background: var(--white);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 13px;
  padding: 3px 12px;
  border-radius: 20px;
}
.detail-hero .btn {
  display: inline-block;
  background: var(--accent);
  color: #3d2b00;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 6px;
  transition: background .2s;
}
.detail-hero .btn:hover { background: #ffcb2e; }

.detail-body { padding: 50px 0 60px; }
.detail-block { margin-bottom: 40px; }
.detail-block > h2 {
  font-size: 24px;
  color: var(--primary-dark);
  padding-left: 14px;
  border-left: 5px solid var(--accent);
  margin-bottom: 20px;
}
.detail-block > p { color: var(--text); margin-bottom: 12px; }
.detail-block ul { margin: 10px 0; }
.detail-block ul li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: var(--text);
}
.detail-block ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.adv-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 20px 24px;
}
.adv-item h3 { color: var(--primary-dark); font-size: 17px; margin-bottom: 8px; }
.adv-item p { color: var(--text-light); font-size: 14.5px; }

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scene-item {
  background: var(--primary-light);
  border-radius: 8px;
  padding: 18px 20px;
  text-align: center;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 15px;
}

.quote-box {
  background: var(--primary-light);
  border-radius: 10px;
  padding: 26px 30px;
  text-align: center;
  color: var(--primary-dark);
  font-size: 17px;
}
.quote-box footer { font-size: 14px; color: var(--text-light); margin-top: 8px; }

/* ================= 页脚 ================= */
.site-footer { background: var(--primary-dark); color: #cfe3f0; padding: 50px 0 0; margin-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-grid h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer-grid p { font-size: 14.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-grid p svg { width: 16px; height: 16px; flex: none; }
.footer-grid a { color: #cfe3f0; }
.footer-grid a:hover { color: #ffd982; }
.footer-links li { padding: 4px 0; }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding: 18px 0;
  text-align: center;
  font-size: 13.5px;
  color: #9dbfda;
}

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { min-height: 60px; padding: 10px 20px; }
  .logo { font-size: 17px; }
  .logo img { width: 38px; height: 38px; }

  .menu-toggle { display: block; order: 3; }

  .main-nav {
    display: none;
    order: 5;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 10px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; border-bottom: 1px solid var(--primary-light); border-radius: 0; }
  .main-nav a.active::after { display: none; }

  .header-phone {
    order: 2;
    padding: 7px 12px;
    font-size: 15px;
    margin-left: 0;
    margin-right: 10px;
  }

  .lang-toggle {
    order: 2;
    margin-left: auto;
    margin-right: 10px;
    padding: 6px 10px;
    min-width: 42px;
    font-size: 13px;
  }

  .header-email {
    order: 2;
    padding: 7px 12px;
    font-size: 13px;
    margin-left: 0;
    margin-right: 10px;
  }

  .slide-inner { flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px; }
  .slide-img { flex: none; width: min(300px, 80%); margin: 0 auto; }
  .slide-txt p { margin-left: auto; margin-right: auto; }
  .slides { height: auto; }
  .slide { padding-bottom: 40px; }
  .slider-arrow { display: none; }

  .section { padding: 44px 0; }

  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-item .fi-num { font-size: 28px; }

  .about-strip { flex-direction: column; }
  .about-strip .as-img { flex: none; width: 100%; }

  .contact-grid { grid-template-columns: 1fr; }

  .detail-hero { flex-direction: column; text-align: center; }
  .detail-hero .dh-img { flex: none; width: min(360px, 100%); margin: 0 auto; }
  .detail-hero .dh-tags { justify-content: center; }
  .adv-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }

  .news-item { flex-direction: column; gap: 12px; }
  .news-date { width: 100%; display: flex; align-items: baseline; gap: 8px; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 400px) {
  .header-phone span { display: none; }
  .header-phone { padding: 8px; }
  .header-phone svg { width: 22px; height: 22px; }
  .header-email span { display: none; }
  .header-email { padding: 8px; }
  .header-email svg { width: 22px; height: 22px; }
}
/* ================= 百度分享 ================= */
.share-section {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: #f7fafc;
}
.share-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.share-title {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 600;
}
.bdsharebuttonbox {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 768px) {
  .share-box { gap: 10px; }
}

/* ================= 文章详情 ================= */
.news-item h3 a { color: inherit; }
.news-item h3 a:hover { color: var(--primary); }
.news-empty { text-align: center; color: var(--text-light); padding: 40px 0; }

.article-wrap { max-width: 860px; }
.article-meta {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.article-summary {
  font-size: 17px;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 26px;
  line-height: 1.8;
}
.article-content h2 {
  font-size: 22px;
  color: var(--primary-dark);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}
.article-content p { margin-bottom: 14px; }
.article-content ul { margin: 10px 0 16px; }
.article-content ul li { padding: 5px 0 5px 22px; position: relative; }
.article-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-nav a {
  max-width: 48%;
  color: var(--text);
  background: #f7fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 60px;
  justify-content: center;
}
.article-nav a span { color: var(--text-light); font-size: 12px; }
.article-nav a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
@media (max-width: 768px) {
  .article-nav a { max-width: 100%; }
}