/* 基础重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #333333;
  background: #ffffff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

:root {
  --primary: #C8A45C;
  --primary-dark: #A68A3E;
  --text: #333333;
  --text-light: #666666;
  --bg: #f8f8f8;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }

/* 头部 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 10px 0;
  transition: background 0.3s ease;
}
.logo img { height: 40px; }

.mav-col { flex: 1; }
.mainav ul {
  display: flex;
  gap: 30px;
  justify-content: center;
}
.mainav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}
.mainav a.active,
.mainav a:hover {
  color: var(--primary);
}
.mainav a.active::after,
.mainav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.mobilemenu { display: none; }
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: var(--text);
  transition: 0.3s ease;
}

/* Banner */
.s1 {
  position: relative;
  overflow: hidden;
}
.swiper-slide {
  height: 550px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-slide .txt {
  text-align: center;
  color: #fff;
  padding: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  max-width: 600px;
}
.swiper-slide h1, .swiper-slide h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.swiper-pagination-bullet-active { background: var(--primary); }

.btn-contact-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}
.more {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.more:hover { background: var(--primary-dark); }

/* 联系方式弹出层 */
.contact-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 2000;
  padding: 30px;
}
.contact-popup .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  line-height: 1;
}
.contact-popup .info-item {
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
}
.contact-popup .info-item span:first-child { font-weight: 600; margin-right: 10px; }
.contact-popup .copy-btn {
  margin-left: 10px;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}
.contact-popup .copy-btn:hover { background: var(--primary-dark); }

/* 关于我们 */
.s2 { padding: 60px 0; text-align: center; }
.title { margin-bottom: 40px; }
.text36 { font-size: 36px; color: var(--text); margin-bottom: 10px; }
.company-data { margin-top: 30px; }
.data-item { padding: 20px 10px; }
.data-item strong {
  font-size: 32px;
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
}
.data-item span { color: var(--text-light); }

/* 业务领域 */
.s3 { padding: 60px 0; background: var(--bg); }
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.business-item { text-align: center; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.3s ease; }
.business-item:hover { transform: translateY(-5px); }
.business-item img { width: 100%; height: 200px; object-fit: cover; }
.business-item h3 { margin: 15px 0 5px; font-size: 20px; color: var(--text); }
.business-item p { color: var(--text-light); margin-bottom: 15px; }

/* 新闻 */
.s4 { padding: 60px 0; }
.news-list { margin-top: 30px; }
.news-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-item time { color: var(--text-light); font-size: 14px; }
.news-item h3 { margin: 8px 0; font-size: 18px; }
.news-item .more { display: inline-block; margin-top: 8px; color: var(--primary); font-weight: 500; }

/* 联系我们 */
.s5 { padding: 60px 0; background: var(--bg); }
.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.contact-detail p { margin-bottom: 10px; font-size: 16px; }
.contact-qr { text-align: center; }
.contact-qr img { width: 150px; height: 150px; margin: 0 auto 10px; }
.contact-qr p { color: var(--text-light); }

/* Footer */
#pageFooter {
  background: #222;
  color: #ccc;
  padding: 40px 0;
  text-align: center;
}
.footer-nav { margin-bottom: 20px; }
.footer-nav a {
  color: #ccc;
  margin: 0 15px;
  font-size: 15px;
}
.footer-nav a:hover { color: var(--primary); }
.copyright { font-size: 14px; }
.copyright a { color: var(--primary-light, #C8A45C); }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
  transition: background 0.3s ease;
  z-index: 500;
}
.to-top:hover { background: var(--primary-dark); }

/* 响应式 */
@media (max-width: 992px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mav-col { display: none; }
  .mainav.open { display: block; }
  .mainav ul {
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    text-align: center;
  }
  .mobilemenu { display: block; }
  .swiper-slide { height: 400px; }
  .business-grid { grid-template-columns: 1fr; }
  .contact-content { flex-direction: column; align-items: flex-start; }
  .contact-popup { width: 95%; padding: 20px; }
}