/* 全局重置 & 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

:root {
  /* 配色系统（严格匹配设计稿） */
  --primary-green: #2A8C47; /* 按钮/强调色 */
  --dark-green: #1A5E30; /* 深色背景/文字 */
  --light-green: #F0F8F2; /* 浅绿背景 */
  --gray-100: #F8F8F8; /* 浅灰背景 */
  --gray-200: #E8E8E8; /* 分割线/边框 */
  --gray-800: #333333; /* 主要文字 */
  --gray-900: #1A1A1A; /* 标题文字 */
  --white: #FFFFFF; /* 白色背景 */
  --black: #000000; /* 黑色文字 */

  /* 间距系统 */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;

  /* 字体大小 */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 40px;
  --text-4xl: 48px;
}



a {
    text-decoration: none;
}



body {
  color: var(--gray-800);
  line-height: 1.6;
  font-size: var(--text-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* 按钮样式（严格匹配设计稿绿色按钮） */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-green);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
}

/* 标题样式 */
.section-title {
  font-size: var(--text-2xl);
  color: var(--gray-900);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

/* -------------------------- 头部导航 -------------------------- */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-sm);
}

/* Logo样式 */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text h1 {
  font-size: var(--text-lg);
  color: var(--gray-900);
  text-transform: uppercase;
}

.logo-text p {
  font-size: var(--text-xs);
  color: var(--gray-800);
}







/* 桌面端导航 */
.desktop-nav {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-item a {
  text-decoration: none;
  color: var(--gray-800);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-item.active a {
  color: var(--primary-green);
  font-weight: 700;
}

.nav-item a:hover {
  color: var(--primary-green);
}

.nav-item.quote-btn a {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 2px;
}

.nav-item.quote-btn a:hover {
  background-color: var(--dark-green);
}

/* 移动端导航（默认隐藏） */
.mobile-nav-toggle {
  display: none;
  font-size: var(--text-xl);
  color: var(--gray-900);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: var(--spacing-sm);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.mobile-nav-item a {
  text-decoration: none;
  color: var(--gray-800);
  font-size: var(--text-md);
  padding: var(--spacing-xs) 0;
  display: block;
}

.mobile-nav-item.active a {
  color: var(--primary-green);
  font-weight: 700;
}

.mobile-nav-item.quote-btn a {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 10px;
  text-align: center;
  border-radius: 2px;
}




/* -------------------------- 页脚 -------------------------- */
.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-logo .logo-text h2 {
  font-size: var(--text-lg);
  color: var(--white);
}

.footer-logo .logo-text p {
  color: var(--gray-200);
}

.brand-desc {
  margin: var(--spacing-sm) 0;
  font-size: var(--text-sm);
  color: var(--gray-200);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-links a {
  color: var(--white);
  background-color: var(--primary-green);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: var(--dark-green);
}

.footer-links h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--gray-200);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-green);
}

.footer-contact h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  color: var(--white);
}

.footer-contact ul {
  list-style: none;
  margin-bottom: var(--spacing-sm);
}

.footer-contact li {
  margin-bottom: var(--spacing-xs);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-contact i {
  color: var(--primary-green);
}

.footer-quote-btn {
  display: block;
  width: 100%;
  font-size: var(--text-sm);
}

/* 页脚底部 */
.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--gray-800);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--gray-200);
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-bottom-links a {
  color: var(--gray-200);
  text-decoration: none;
  font-size: var(--text-xs);
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary-green);
}

/* -------------------------- 响应式适配 -------------------------- */
@media (max-width: 992px) {
  .hero-container,
  .manufacturer-container,
  .applications-container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .production-flow {
    gap: var(--spacing-sm);
  }

  .process-step {
    min-width: 80px;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    font-size: var(--text-lg);
  }
}

@media (max-width: 768px) {
  /* 隐藏桌面导航，显示移动端导航 */
  .desktop-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-features {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats {
    justify-content: center;
  }

  .production-flow {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: var(--spacing-xs) 0;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: var(--text-2xl);
  }

  .section-title {
    font-size: var(--text-xl);
  }

  .products-grid,
  .applications-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}














/* =========================
   桌面导航
========================= */

.desktop-nav .nav-list {
    display: flex;
    align-items: center;

    list-style: none;

    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list > li {
    position: relative;
}

.desktop-nav .nav-list > li > a {
    display: block;

    padding: 20px 18px;

    color: #222;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: .3s;
}

.desktop-nav .nav-list > li > a:hover {
    color: #0073aa;
}

/* 当前菜单 */

.desktop-nav .current-menu-item > a,
.desktop-nav .current-menu-parent > a {
    color: #0073aa;
}

/* =========================
   二级下拉菜单
========================= */

.desktop-nav .sub-menu {
    position: absolute;

    top: 100%;
    left: 0;

    min-width: 240px;

    background: #fff;

    list-style: none;

    margin: 0;
    padding: 10px 0;

    box-shadow: 0 10px 30px rgba(0,0,0,.08);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all .3s ease;

    z-index: 999;
}

/* hover显示 */

.desktop-nav .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

/* 二级菜单项 */

.desktop-nav .sub-menu li {
    position: relative;
}

.desktop-nav .sub-menu li a {
    display: block;

    padding: 12px 20px;

    color: #333;
    text-decoration: none;

    font-size: 14px;

    transition: .3s;

    white-space: nowrap;
}

.desktop-nav .sub-menu li a:hover {
    background: #f5f5f5;
    color: #0073aa;
}

/* 下拉箭头 */

.desktop-nav .menu-item-has-children > a::after {
    content: "▾";
    font-size: 12px;
}

/* quote按钮 */

.desktop-nav .quote-btn a,
.desktop-nav .menu-item.quote-btn a {
    background-color: var(--primary-green);
    color: #fff;

    border-radius: 4px;

    padding: 12px 20px;

    margin-left: 15px;
}

.desktop-nav .quote-btn a:hover {
    background: #005177;
    color: #fff;
}

/* =========================
   移动端导航
========================= */

.mobile-nav {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    background: #fff;

    box-shadow: 0 10px 20px rgba(0,0,0,.08);

    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;

    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eee;

    position: relative;
}

.mobile-nav-list li a {
    display: block;

    padding: 15px 20px;

    color: #222;
    text-decoration: none;
}

/* 手机二级菜单 */

.mobile-nav .sub-menu {
    display: none;

    list-style: none;

    padding-left: 15px;

    background: #f9f9f9;
}

.mobile-nav .menu-item-has-children.active > .sub-menu {
    display: block;
}

/* =========================
   汉堡按钮
========================= */

.mobile-nav-toggle {
    display: none;

    cursor: pointer;

    font-size: 24px;
}

/* =========================
   响应式
========================= */

@media (max-width: 991px) {

    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

}




