/* ============ 基础重置 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #333; background: #f5f3ee; line-height: 1.7;
}
img { display: block; width: 100%; }
.container { width: 1200px; max-width: 92%; margin: 0 auto; }

/* ============ 顶部导航 ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20, 18, 24, .92); backdrop-filter: blur(6px);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: #fff; font-size: 22px; font-weight: bold; text-decoration: none; letter-spacing: 1px; }
.logo span { color: #c9a227; }
.logo-icon { color: #c9a227; margin-right: 4px; }
.nav a {
  color: #ddd; text-decoration: none; margin-left: 28px; font-size: 15px;
  padding-bottom: 4px; transition: color .25s; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: #c9a227; transition: width .25s;
}
.nav a:hover { color: #c9a227; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: #c9a227; }

/* ============ 宽屏 Banner ============ */
.banner { position: relative; height: 480px; margin-top: 64px; 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(0,0,0,.15), rgba(0,0,0,.55));
}
.banner-caption { position: relative; text-align: center; color: #fff; padding: 0 20px; }
.banner-caption h1 {
  font-size: 44px; letter-spacing: 4px; margin-bottom: 14px;
  text-shadow: 0 4px 16px rgba(0,0,0,.8);
}
.banner-caption p { font-size: 17px; color: #e8e2d5; letter-spacing: 1px; }
.banner-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-size: 30px; cursor: pointer;
  transition: background .25s; z-index: 5;
}
.banner-btn:hover { background: rgba(201,162,39,.85); }
.banner-btn.prev { left: 24px; }
.banner-btn.next { right: 24px; }
.banner-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.banner-dots i {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4);
  cursor: pointer; transition: all .25s;
}
.banner-dots i.on { background: #c9a227; transform: scale(1.25); }

/* ============ 通用区块 ============ */
.section { padding: 72px 0; }
.section-gray { background: #ece8df; }
.section-dark { background: #141218; color: #e8e2d5; }
.section-title {
  text-align: center; font-size: 32px; letter-spacing: 3px; margin-bottom: 8px; color: #1c1a20;
}
.section-dark .section-title { color: #f0e9d8; }
.section-title span { display: block; font-size: 13px; letter-spacing: 5px; color: #c9a227; font-weight: normal; margin-top: 4px; }
.section-sub { text-align: center; color: #888; margin-bottom: 40px; }

/* ============ 产品展示 ============ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border-radius: 8px; overflow: hidden; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.product-card img { height: 180px; object-fit: cover; transition: transform .4s; }
.product-card:hover img { transform: scale(1.06); }
.product-info { padding: 16px 18px 20px; }
.product-info h3 { font-size: 16px; color: #1c1a20; margin-bottom: 6px; }
.product-info p { font-size: 13px; color: #777; }

/* ============ 公司简介 ============ */
.about-text {
  max-width: 960px; margin: 30px auto 0; text-align: justify;
  text-indent: 2em; font-size: 15.5px; color: #cfc7b4;
}
.about-stats { display: flex; justify-content: center; gap: 70px; margin-top: 46px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { font-size: 40px; color: #c9a227; }
.stat strong span { font-size: 16px; margin-left: 2px; }
.stat p { color: #999; margin-top: 4px; font-size: 14px; }

/* ============ 新闻栏目（每行3条） ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.news-card {
  background: #fff; border-radius: 8px; padding: 24px 24px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border-top: 3px solid #c9a227;
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(0,0,0,.15); }
.news-card h3 { font-size: 17px; color: #1c1a20; margin-bottom: 8px; }
.news-card time { display: block; font-size: 12.5px; color: #c9a227; margin-bottom: 10px; }
.news-card p { font-size: 13.5px; color: #666; text-align: justify; }

/* ============ 联系方式 ============ */
.contact-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.contact-item { text-align: center; padding: 28px 16px; background: #1e1b26; border-radius: 8px; transition: background .3s; }
.contact-item:hover { background: #26222f; }
.contact-icon { font-size: 30px; color: #c9a227; margin-bottom: 12px; }
.contact-item h3 { font-size: 16px; margin-bottom: 8px; color: #f0e9d8; }
.contact-item p { font-size: 13.5px; color: #a89f8c; }

/* ============ 页脚 & 返回顶部 ============ */
.footer { background: #0d0b10; color: #777; text-align: center; padding: 22px 0; font-size: 13px; }
.back-top {
  position: fixed; right: 26px; bottom: 30px; width: 44px; height: 44px;
  border: none; border-radius: 50%; background: #c9a227; color: #141218;
  font-size: 20px; 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: #e0bd3f; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .contact-wrap { grid-template-columns: repeat(2, 1fr); }
  .banner-caption h1 { font-size: 30px; }
  .banner { height: 380px; }
}
@media (max-width: 640px) {
  .nav a { margin-left: 14px; font-size: 13px; }
  .news-grid, .contact-wrap, .product-grid { grid-template-columns: 1fr; }
  .banner { height: 300px; }
  .banner-caption h1 { font-size: 24px; }
  .banner-caption p { font-size: 14px; }
}
