/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #07c160;
  --green-dark: #06ad56;
  --green-light: #e8f8f0;
  --green-lighter: #f0fbf5;
  --orange: #ff9f43;
  --orange-light: #fff3e0;
  --yellow: #feca57;
  --yellow-light: #fff9e6;
  --dark: #2d3436;
  --gray: #636e72;
  --light-gray: #dfe6e9;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border: #e8e8e8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

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

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

/* ===== 顶部消息播报跑马灯 ===== */
.marquee-bar {
  background: linear-gradient(90deg, #06ad56 0%, #07c160 50%, #06ad56 100%);
  color: var(--white);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
}

.marquee-bar.hidden { display: none; }

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
  padding-left: 100%;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== 头部导航 ===== */
.header {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
}

.company-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  letter-spacing: 1.5px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  padding: 10px 14px;
  font-size: 15px;
  color: var(--dark);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
  white-space: nowrap;
  font-weight: 500;
}

.nav a:hover {
  color: var(--green);
}

.nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 700;
}

/* 导航右侧悬浮按钮 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.nav-btn-phone {
  background: var(--green);
  color: var(--white);
}

.nav-btn-phone:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-btn-wechat {
  background: var(--green-light);
  color: var(--green);
  border: 1.5px solid var(--green);
}

.nav-btn-wechat:hover {
  background: var(--green);
  color: var(--white);
}

.nav-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 汉堡菜单按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== 轮播Banner ===== */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--green-light);
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide.bg-1 {
  background: linear-gradient(135deg, #07c160 0%, #2ecc71 50%, #27ae60 100%);
}

.banner-slide.bg-2 {
  background: linear-gradient(135deg, #ff9f43 0%, #feca57 50%, #ff9f43 100%);
}

.banner-slide.bg-3 {
  background: linear-gradient(135deg, #06ad56 0%, #07c160 50%, #00b894 100%);
}

.banner-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-text {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 14px 34px;
  border-radius: 12px;
}
.banner-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
  z-index: -1;
  backdrop-filter: blur(2px);
}

.banner-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease;
}

.banner-text p {
  font-size: 18px;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.banner-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.banner-dots .dot.active {
  background: var(--white);
  width: 30px;
  border-radius: 6px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  z-index: 3;
  transition: var(--transition);
  border: none;
}

.banner-arrow:hover {
  background: rgba(255,255,255,0.6);
}

.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 20px; }

/* ===== 内容区通用 ===== */
.content { padding: 40px 0; }

.section {
  margin-bottom: 50px;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h1,
.section-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h1::after,
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.section-header p {
  font-size: 14px;
  color: var(--gray);
  margin-top: 8px;
}

.section-more {
  text-align: right;
  margin-bottom: 16px;
}

.section-more a {
  font-size: 14px;
  color: var(--green);
  transition: var(--transition);
}

.section-more a:hover {
  color: var(--green-dark);
}

/* ===== 首页：企业简介 ===== */
.home-about {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-about p {
  font-size: 16px;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 20px;
}

.home-about .btn-link {
  display: inline-block;
  padding: 10px 30px;
  background: var(--green);
  color: var(--white);
  border-radius: 25px;
  font-size: 14px;
  transition: var(--transition);
}

.home-about .btn-link:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== 首页：产品分类入口 ===== */
.category-entry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card.bg-green {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-lighter) 100%);
  border: 1px solid var(--green);
}

.category-card.bg-orange {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--yellow-light) 100%);
  border: 1px solid var(--orange);
}

.category-card .cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.category-card.bg-green .cat-icon {
  background: var(--green);
  color: var(--white);
}

.category-card.bg-orange .cat-icon {
  background: var(--orange);
  color: var(--white);
}

.category-card .cat-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-card .cat-info p {
  font-size: 14px;
  color: var(--gray);
}

/* ===== 产品卡片网格 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.product-card .product-img {
  width: 100%;
  height: 180px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-card .product-img .placeholder {
  font-size: 40px;
  color: var(--green);
  opacity: 0.3;
}

.product-card .product-info {
  padding: 14px 16px;
}

.product-card .product-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card .product-info p {
  font-size: 13px;
  color: var(--gray);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card .product-cat-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 8px;
}

.product-card .product-cat-tag.cat-luo {
  background: var(--green-light);
  color: var(--green);
}

.product-card .product-cat-tag.cat-soy {
  background: var(--orange-light);
  color: var(--orange);
}

/* ===== 产品独立详情页 ===== */
.product-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
}

.pd-main {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.pd-img {
  flex: 0 0 320px;
  max-width: 100%;
  height: 320px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-placeholder {
  font-size: 80px;
  opacity: 0.3;
}

.pd-info {
  flex: 1;
  min-width: 260px;
}

.pd-cat-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  background: var(--green-light);
  color: var(--green);
  margin-bottom: 10px;
}

.pd-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.pd-specs {
  display: inline-block;
  background: var(--bg-light);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--orange);
  margin-bottom: 16px;
}

.pd-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--dark);
  margin-bottom: 20px;
}

.pd-contact {
  border-top: 1px dashed var(--border);
  padding-top: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--gray);
}

.pd-tel {
  display: inline-block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

@media (max-width: 768px) {
  .pd-img {
    flex: 0 0 100%;
    height: 240px;
  }
}

/* ===== 产品详情弹窗 ===== */
.product-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-modal-overlay.active {
  display: flex;
}

.product-modal {
  background: var(--white);
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.product-modal .modal-close:hover {
  background: var(--green);
  color: var(--white);
}

.product-modal .modal-img {
  width: 100%;
  height: 300px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.product-modal .modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal .modal-img .placeholder {
  font-size: 60px;
  color: var(--green);
  opacity: 0.3;
}

.product-modal .modal-body {
  padding: 24px;
}

.product-modal .modal-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.product-modal .modal-specs {
  display: inline-block;
  padding: 4px 14px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 16px;
}

.product-modal .modal-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--gray);
}

/* ===== 产品Tab筛选 ===== */
.product-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--dark);
}

.product-tab:hover {
  border-color: var(--green);
  color: var(--green);
}

.product-tab.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ===== 新闻列表 ===== */
.news-list {
  background: var(--white);
}

.news-item {
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.news-item:hover {
  padding-left: 8px;
}

.news-item .num {
  background: var(--green);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
}

.news-item.pinned .num {
  background: var(--orange);
}

.news-item .pin-badge {
  display: inline-block;
  padding: 1px 8px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 3px;
  font-size: 12px;
  margin-right: 6px;
}

.news-item .news-link {
  flex: 1;
  color: var(--dark);
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: var(--transition);
}

.news-item .news-link:hover {
  color: var(--green);
}

.news-item .news-date {
  font-size: 13px;
  color: var(--gray);
  flex-shrink: 0;
}

.news-item .news-author {
  font-size: 13px;
  color: var(--green);
  flex-shrink: 0;
  margin-right: 12px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.pagination a, .pagination span {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--dark);
  transition: var(--transition);
}

.pagination a:hover {
  border-color: var(--green);
  color: var(--green);
}

.pagination .current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ===== 新闻详情 ===== */
.news-detail {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.news-detail h1 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 16px;
  color: var(--dark);
}

.news-detail .meta-info {
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.news-detail .news-body {
  font-size: 16px;
  line-height: 2;
  color: var(--dark);
  white-space: pre-wrap;
}

.news-detail .news-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
}

.news-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 20px;
}

.news-nav a {
  font-size: 14px;
  color: var(--gray);
  transition: var(--transition);
}

.news-nav a:hover {
  color: var(--green);
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--green);
  font-size: 14px;
}

/* ===== 客户案例 ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.case-card .case-img {
  width: 100%;
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-card .case-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.case-card:hover .case-img img {
  transform: scale(1.05);
}

.case-card .case-img .placeholder {
  font-size: 40px;
  color: var(--green);
  opacity: 0.3;
}

.case-card .case-info {
  padding: 20px;
}

.case-card .case-info h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.case-card .case-info p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 公司简介 ===== */
.about-section {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 30px;
}

.about-section h1,
.about-section h2 {
  font-size: 24px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.about-section h1::after,
.about-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.about-section .about-intro {
  font-size: 16px;
  line-height: 2.2;
  color: var(--dark);
  margin-bottom: 30px;
  white-space: pre-wrap;
}

.about-section .about-culture {
  background: var(--green-light);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--green);
}

.about-section .about-culture h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--green);
}

.about-section .about-culture p {
  font-size: 15px;
  line-height: 2;
  color: var(--dark);
  white-space: pre-wrap;
}

/* ===== 联系我们 ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info {
  background: var(--white);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.contact-info h2 {
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
  color: var(--dark);
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--green-lighter);
  border-radius: 8px;
  transition: var(--transition);
}

.contact-item:hover {
  background: var(--green-light);
}

.contact-item .contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item .contact-detail .label {
  font-size: 13px;
  color: var(--gray);
}

.contact-item .contact-detail .value {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.contact-item .contact-detail a {
  color: var(--dark);
}

.contact-item .contact-detail a:hover {
  color: var(--green);
}

/* 微信二维码区 */
.wechat-qr-section {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background: var(--green-lighter);
  border-radius: 8px;
}

.wechat-qr-section h3 {
  font-size: 16px;
  color: var(--green);
  margin-bottom: 12px;
}

.wechat-qr-img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.wechat-qr-img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.wechat-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wechat-qr-img .placeholder {
  font-size: 14px;
  color: var(--gray);
  text-align: center;
  padding: 10px;
}

/* 留言表单 */
.contact-form {
  background: var(--white);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.contact-form h2 {
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
  color: var(--dark);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--dark);
}

.form-group label .required {
  color: var(--green);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  font-size: 14px;
  font-family: inherit;
  border-radius: 8px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(7,193,96,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 地图 */
.map-section {
  margin-top: 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.map-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 50% 45%, rgba(139, 111, 71, 0.06) 0%, transparent 60%),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    var(--bg-light);
  background-size: 100% 100%, 40px 40px, 40px 40px, 100% 100%;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(7, 193, 96, 0.06) 0%, transparent 55%);
}

.map-pin {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(139, 111, 71, 0.1);
  color: #8B6F47;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: pinPulse 2s infinite;
}

@keyframes pinPulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 111, 71, 0.25); }
  70% { box-shadow: 0 0 0 18px rgba(139, 111, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 111, 71, 0); }
}

.map-company {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.map-address {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

.map-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--green);
  color: var(--white);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.map-btn::before {
  content: "📍";
}

.map-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .map-card {
    min-height: 300px;
    padding: 32px 16px;
  }
  .map-company { font-size: 18px; }
  .map-address { font-size: 14px; }
}

/* ===== 底部悬浮客服栏 ===== */
.float-service {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 2px solid var(--green);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 12px 0;
  display: none;
}

.float-service-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

.float-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}

.float-service-item:hover {
  color: var(--green);
}

.float-service-item svg {
  width: 24px;
  height: 24px;
}

.float-service-item .phone-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

/* ===== 微信二维码弹窗 ===== */
.wechat-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wechat-modal.active {
  display: flex;
}

.wechat-modal-content {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

.wechat-modal-content .modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.wechat-modal-content .modal-close:hover {
  background: var(--green);
  color: var(--white);
}

.wechat-modal-content h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 16px;
}

.wechat-modal-content .qr-display {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  background: var(--green-light);
  border: 2px solid var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wechat-modal-content .qr-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wechat-modal-content .qr-display .placeholder {
  font-size: 14px;
  color: var(--gray);
  padding: 20px;
}

.wechat-modal-content p {
  font-size: 14px;
  color: var(--gray);
}

/* ===== 拨号弹窗 ===== */
.phone-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.phone-modal.active {
  display: flex;
}

.phone-modal-content {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

.phone-modal-content .modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.phone-modal-content .modal-close:hover {
  background: var(--green);
  color: var(--white);
}

.phone-modal-content h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 20px;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}

.phone-list a:hover {
  background: var(--green);
  color: var(--white);
}

.phone-list a .phone-name {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
}

/* ===== 页脚 ===== */
.footer {
  background: #1a1a2e;
  color: #b2b2b2;
  padding: 30px 0 80px;
  margin-top: 50px;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: 14px;
  margin: 4px 0;
  line-height: 1.8;
}

.footer-content .footer-company {
  font-size: 16px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-content a {
  color: var(--green);
  margin: 0 4px;
}

/* ===== 404 ===== */
.error-page {
  text-align: center;
  padding: 100px 20px;
}

.error-page h1 {
  font-size: 80px;
  color: var(--green);
}

.error-page p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 24px;
}

/* ===== 图片渐显加载 ===== */
.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fade-in.loaded {
  opacity: 1;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--green);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .logo-img {
    width: 56px;
    height: 56px;
  }

  .company-name {
    font-size: 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-wrap {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-wrap.open {
    max-height: 500px;
    padding-top: 10px;
  }

  .nav {
    flex-direction: column;
    gap: 0;
  }

  .nav a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .nav a.active {
    background: var(--green-light);
  }

  .nav-actions {
    padding: 12px 0;
    justify-content: center;
  }

  .banner-carousel {
    height: 280px;
  }

  .banner-text h2 {
    font-size: 22px;
  }

  .banner-text p {
    font-size: 14px;
  }

  .banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .category-entry {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card .product-img {
    height: 130px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 20px;
  }

  .section-header h1,
  .section-header h2 {
    font-size: 20px;
  }

  .float-service {
    display: block;
  }

  .footer {
    padding-bottom: 80px;
  }

  .product-tabs {
    justify-content: center;
  }

  .product-tab {
    padding: 8px 18px;
    font-size: 14px;
  }

  .news-item .news-link {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .banner-text h2 {
    font-size: 18px;
  }

  .company-name {
    font-size: 17px;
  }
}

/* ===== 背景音乐播放器 ===== */
.music-player {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 9999;
}
.music-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #07c160, #05a54f);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(7, 193, 96, .45);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.music-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(7,193,96,.55); }
.music-toggle:focus { outline: 3px solid rgba(7,193,96,.35); outline-offset: 2px; }
.music-icon { width: 26px; height: 26px; display: block; }
.music-toggle.playing .music-icon { display: none; }
.music-eq { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.music-eq i {
  width: 4px;
  background: #fff;
  border-radius: 2px;
  animation: eq .9s ease-in-out infinite;
  transform-origin: bottom;
}
.music-eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.music-eq i:nth-child(2) { height: 85%; animation-delay: .2s; }
.music-eq i:nth-child(3) { height: 55%; animation-delay: .45s; }
.music-eq i:nth-child(4) { height: 70%; animation-delay: .12s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.music-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(7,193,96,.5);
  background: #fff;
  color: #07c160;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  margin: -26px 0 0 -6px;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.music-close:hover { background: #07c160; color: #fff; }
.music-tip {
  display: none;
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  white-space: nowrap;
  border: 1px solid rgba(7,193,96,.25);
  animation: tipPulse 1.6s ease-in-out infinite;
  z-index: 10000;
}
@keyframes tipPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (max-width: 768px) {
  .music-player { right: 14px; bottom: 86px; }
  .music-toggle { width: 46px; height: 46px; }
  .music-icon { width: 22px; height: 22px; }
  .music-tip { right: 54px; font-size: 12px; padding: 6px 12px; }
}
