/* gzbuyercamp.cn 全站样式
   风格依据：参考站 elitetransnational.com 取证色值（见建站计划 V2.2 第四节）
   主强调色 #b9910b / 辅助 #bf8d45 / 浅灰底 #f5f5f5 / 层级灰 #575757 #737373 */

:root {
  --c-accent: #b9910b;
  --c-accent-2: #bf8d45;
  --c-bg-gray: #f5f5f5;
  --c-text: #575757;
  --c-text-sub: #737373;
  --c-dark: #2b2b2b;
  --c-line: #e1e1e1;
  --font-en: 'Poppins', 'Gudea', sans-serif;
  --font-cn: 'Poppins', 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: var(--font-cn);
  color: var(--c-text);
  line-height: 1.8;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  object-fit: contain;
}
.logo-text { line-height: 1.3; }
.logo-text .en {
  font-family: var(--font-en);
  font-weight: 700; font-size: 18px; letter-spacing: 1px;
  color: var(--c-dark);
  display: block;
}
.logo-text .cn { font-size: 12px; color: var(--c-text-sub); display: block; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 15px; color: var(--c-dark);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 6px; align-items: center;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--c-dark);
}

/* ---------- 首屏轮播（对标参考站 swiper + bannerTxt 结构） ---------- */
.hero { position: relative; overflow: hidden; }
.hero-slides { position: relative; height: 480px; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  text-align: center;
}
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-slide.s1 { background: linear-gradient(rgba(30,24,10,.5), rgba(30,24,10,.5)), url('../assets/hero-1.jpg') center/cover no-repeat; }
.hero-slide.s2 { background: linear-gradient(rgba(30,24,10,.45), rgba(30,24,10,.45)), url('../assets/hero-2.jpg') center/cover no-repeat; }
.hero-slide.s3 { background: linear-gradient(rgba(30,24,10,.45), rgba(30,24,10,.45)), url('../assets/hero-3.jpg') center/cover no-repeat; }
.hero-txt { color: #fff; padding: 0 24px; }
.hero-txt h1 {
  font-size: 42px; font-weight: 700; letter-spacing: 2px;
  margin-bottom: 16px;
}
.hero-txt p { font-size: 17px; opacity: .92; margin-bottom: 28px; }
.hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 2;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-dots button.on { background: #fff; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 34px;
  background: var(--c-accent); color: #fff;
  font-size: 15px; letter-spacing: 1px;
  border: none; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--c-accent-2); }
.btn.ghost {
  background: transparent; border: 1px solid #fff;
}
.btn.ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section.gray { background: var(--c-bg-gray); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .en {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--c-accent);
  display: block; margin-bottom: 8px;
}
.sec-head h2 { font-size: 30px; color: var(--c-dark); font-weight: 700; }
.sec-head .bar {
  width: 48px; height: 3px; background: var(--c-accent);
  margin: 16px auto 0;
}

/* ---------- 产品宫格 ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--c-line);
  transition: box-shadow .25s, transform .25s;
}
.prod-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.prod-thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.prod-thumb.t1 { background-image: url('../assets/cat-1.jpg'); }
.prod-thumb.t2 { background-image: url('../assets/cat-2.jpg'); }
.prod-thumb.t3 { background-image: url('../assets/cat-3.jpg'); }
.prod-thumb.t4 { background-image: url('../assets/cat-4.jpg'); }
.prod-thumb.t5 { background-image: url('../assets/cat-5.jpg'); }
.prod-body { padding: 20px; }
.prod-body h3 { font-size: 17px; color: var(--c-dark); margin-bottom: 8px; }
.prod-body p { font-size: 13.5px; color: var(--c-text-sub); line-height: 1.7; }
.prod-more {
  display: inline-block; margin-top: 12px;
  font-size: 13px; color: var(--c-accent);
}
.prod-more:hover { text-decoration: underline; }

/* ---------- 关于我们摘要（首页） ---------- */
.about-flex { display: flex; gap: 48px; align-items: center; }
.about-img {
  flex: 0 0 44%;
  height: 320px;
  background: url('../assets/about.jpg') center/cover no-repeat;
}
.about-txt h2 { font-size: 26px; color: var(--c-dark); margin-bottom: 18px; }
.about-txt p { margin-bottom: 14px; font-size: 15px; }

/* ---------- 联系条 ---------- */
.contact-strip {
  background: var(--c-dark);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.contact-strip h2 { font-size: 26px; margin-bottom: 10px; }
.contact-strip p { color: #bdbdbd; margin-bottom: 22px; }
.contact-strip .tel {
  font-family: var(--font-en);
  font-size: 34px; font-weight: 700; color: var(--c-accent-2);
  display: block; margin-bottom: 24px; letter-spacing: 1px;
}

/* ---------- 内页页头 ---------- */
.page-banner {
  height: 220px;
  background: linear-gradient(120deg, #3a2f14, var(--c-accent) 130%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center;
}
.page-banner h1 { font-size: 32px; letter-spacing: 2px; }
.page-banner .en {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  opacity: .85; display: block; margin-top: 8px;
}

/* ---------- 内页正文 ---------- */
.page-body { padding: 64px 0; }
.page-body h2 { font-size: 24px; color: var(--c-dark); margin-bottom: 20px; }
.page-body h3 { font-size: 18px; color: var(--c-dark); margin: 28px 0 12px; }
.page-body p { margin-bottom: 14px; font-size: 15px; }
.crumb { font-size: 13px; color: var(--c-text-sub); margin-bottom: 28px; }
.crumb a:hover { color: var(--c-accent); }

/* ---------- 产品详情页 ---------- */
.detail-flex { display: flex; gap: 48px; }
.detail-img {
  flex: 0 0 46%; height: 360px;
  background-size: cover;
  background-position: center;
}
.detail-txt h2 { margin-bottom: 16px; }
.spec-list { margin-top: 20px; border-top: 1px solid var(--c-line); }
.spec-list li {
  display: flex; padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.spec-list li .k { flex: 0 0 120px; color: var(--c-text-sub); }

/* ---------- 联系页 ---------- */
.contact-grid { display: flex; gap: 48px; }
.contact-info { flex: 0 0 40%; }
.contact-info .item { margin-bottom: 26px; }
.contact-info .item .label {
  font-size: 13px; color: var(--c-accent);
  letter-spacing: 2px; margin-bottom: 4px;
  font-family: var(--font-en); text-transform: uppercase;
}
.contact-info .item .val { font-size: 17px; color: var(--c-dark); }
.contact-info .item .val a:hover { color: var(--c-accent); }
.contact-form { flex: 1; }
.contact-form .row { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--c-dark); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--c-line);
  font-size: 14px; font-family: inherit;
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--c-accent);
}
.contact-form textarea { height: 140px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--c-text-sub); margin-top: 10px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--c-dark);
  color: #9a9a9a;
  padding: 48px 0 24px;
  font-size: 13.5px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-grid .col h4 {
  color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 600;
}
.footer-grid .col li { margin-bottom: 8px; }
.footer-grid .col a:hover { color: var(--c-accent-2); }
.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 32px; padding-top: 20px;
  text-align: center; font-size: 12.5px; color: #777;
}

/* ---------- 响应式：平板 ---------- */
@media (max-width: 992px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .about-flex, .detail-flex, .contact-grid { flex-direction: column; }
  .about-img, .detail-img, .contact-info { flex: none; width: 100%; }
  .hero-slides { height: 380px; }
  .hero-txt h1 { font-size: 32px; }
}

/* ---------- 响应式：手机 ---------- */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--c-line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 20px; border-bottom: 1px solid var(--c-bg-gray); }
  .hero-slides { height: 300px; }
  .hero-txt h1 { font-size: 26px; }
  .hero-txt p { font-size: 14.5px; }
  .prod-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .contact-strip .tel { font-size: 26px; }
  .page-body { padding: 44px 0; }
  .detail-img { height: 220px; }
}
