/* ============ 基础重置（移动优先） ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #333; background: #f7f7f5; line-height: 1.7;
}
img { display: block; width: 100%; }
a { text-decoration: none; }
.container { width: 1200px; max-width: 94%; margin: 0 auto; }

/* ============ 顶部导航 ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(16, 34, 60, .95); backdrop-filter: blur(6px);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.35); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { color: #fff; font-size: 20px; font-weight: bold; letter-spacing: 1px; }
.logo span { color: #d4a952; font-size: 15px; margin-left: 6px; font-weight: normal; }
.menu-btn {
  display: block; background: none; border: none; color: #fff;
  font-size: 26px; cursor: pointer; padding: 4px 8px;
}
.nav {
  display: none; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0;
  background: rgba(16, 34, 60, .98); padding: 8px 0;
}
.nav.open { display: flex; }
.nav a {
  color: #ddd; padding: 12px 24px; font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.06); transition: color .25s, background .25s;
}
.nav a:hover, .nav a.active { color: #d4a952; background: rgba(255,255,255,.05); }

/* ============ 宽屏 Banner ============ */
.banner { position: relative; height: 400px; margin-top: 58px; overflow: hidden; }
.banner-track { display: flex; height: 100%; transition: transform .6s ease; }
.banner-slide {
  flex: 0 0 100%; height: 100%;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.banner-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,47,.25), rgba(10,25,47,.65));
}
.banner-caption { position: relative; text-align: center; color: #fff; padding: 0 18px; width: 100%; }
.banner-caption h1 { font-size: 26px; letter-spacing: 2px; margin-bottom: 10px; text-shadow: 0 4px 14px rgba(0,0,0,.7); }
.banner-caption p { font-size: 14px; color: #e6e2d8; }
.banner-actions { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn {
  display: inline-block; padding: 11px 34px; border-radius: 30px;
  font-size: 15px; letter-spacing: 2px; transition: transform .25s, background .25s;
}
.btn-gold { background: #d4a952; color: #10233c; font-weight: bold; }
.btn-gold:hover { background: #e6bf6d; transform: translateY(-2px); }
.banner-tel { font-size: 15px; color: #ffe9bd; font-weight: bold; letter-spacing: 1px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.banner-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(0,0,0,.4); color: #fff; font-size: 26px; cursor: pointer;
  transition: background .25s; z-index: 5;
}
.banner-btn:hover { background: rgba(212,169,82,.85); }
.banner-btn.prev { left: 12px; }
.banner-btn.next { right: 12px; }
.banner-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.banner-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .25s; }
.banner-dots i.on { background: #d4a952; transform: scale(1.25); }

/* ============ 通用区块 ============ */
.section { padding: 52px 0; }
.section-gray { background: #eeece7; }
.section-dark { background: #10233c; color: #e6e2d8; }
.section-title { text-align: center; font-size: 26px; letter-spacing: 2px; margin-bottom: 6px; color: #14263f; }
.section-dark .section-title { color: #f4efe4; }
.section-title span { display: block; font-size: 12px; letter-spacing: 4px; color: #d4a952; font-weight: normal; margin-top: 3px; }
.section-sub { text-align: center; color: #888; margin-bottom: 30px; font-size: 14px; }

/* ============ 产品展示 ============ */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.product-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07); transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.product-card img { height: 190px; object-fit: cover; transition: transform .4s; }
.product-card:hover img { transform: scale(1.05); }
.product-info { padding: 14px 16px 18px; }
.product-info h3 { font-size: 15.5px; color: #14263f; margin-bottom: 4px; }
.product-info p { font-size: 13px; color: #777; }

/* ============ 公司简介 ============ */
.about-text { margin: 24px auto 0; text-align: justify; text-indent: 2em; font-size: 14.5px; color: #c9c2b2; }
.about-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 50px; margin-top: 36px; }
.stat { text-align: center; min-width: 100px; }
.stat strong { font-size: 30px; color: #d4a952; }
.stat strong span { font-size: 14px; margin-left: 2px; }
.stat p { color: #9aa4b5; margin-top: 2px; font-size: 13px; }

/* ============ 新闻栏目（每行3条） ============ */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
.news-card {
  background: #fff; border-radius: 8px; padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07); border-top: 3px solid #d4a952;
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 24px rgba(0,0,0,.13); }
.news-card h3 { font-size: 16px; color: #14263f; margin-bottom: 6px; }
.news-card time { display: block; font-size: 12.5px; color: #d4a952; margin-bottom: 8px; }
.news-card p { font-size: 13px; color: #666; text-align: justify; }

/* ============ 联系方式 ============ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.contact-item { text-align: center; padding: 22px 12px; background: #16294a; border-radius: 8px; transition: background .3s; }
.contact-item:hover { background: #1c3157; }
.contact-icon { font-size: 26px; color: #d4a952; margin-bottom: 8px; }
.contact-item h3 { font-size: 15px; margin-bottom: 6px; color: #f4efe4; }
.contact-item p { font-size: 12.5px; color: #a9b4c6; }


.contact-wrapp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.contact-itemm { text-align: center; padding: 22px 12px; background: #16294a; border-radius: 8px; transition: background .3s; }
.contact-itemm:hover { background: #1c3157; }
.contact-iconn { font-size: 26px; color: #d4a952; margin-bottom: 8px; }
.contact-itemm h3 { font-size: 15px; margin-bottom: 6px; color: #f4efe4; }
.contact-itemm p { font-size: 12.5px; color: #a9b4c6; }

/* ============ 页脚 & 返回顶部 ============ */
.footer { background: #0a1930; color: #7f8ba0; text-align: center; padding: 18px 0; font-size: 12.5px; }
.back-top {
  position: fixed; right: 18px; bottom: 22px; width: 42px; height: 42px;
  border: none; border-radius: 50%; background: #d4a952; color: #10233c;
  font-size: 18px; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s; z-index: 90; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: #e6bf6d; }

/* ============ 平板（≥768px） ============ */
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .contact-wrap { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .banner { height: 440px; }
  .banner-caption h1 { font-size: 34px; }
  .banner-actions { flex-direction: row; justify-content: center; gap: 22px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 30px; }
}

/* ============ 桌面（≥992px） ============ */
@media (min-width: 992px) {
  .menu-btn { display: none; }
  .nav { display: flex; flex-direction: row; position: static; background: none; padding: 0; }
  .nav a {
    margin-left: 26px; padding: 4px 0; font-size: 15px; border: none; position: relative; background: none !important;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    background: #d4a952; transition: width .25s;
  }
  .nav a:hover::after, .nav a.active::after { width: 100%; }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .banner { height: 480px; }
  .banner-caption h1 { font-size: 40px; }
  .section { padding: 76px 0; }
  .about-text { font-size: 15.5px; max-width: 960px; }
  .stat strong { font-size: 38px; }
}