@charset "utf-8";

 :root {
            --primary-color: #228346;
            --secondary-color: #32373c;
            --text-color: #333;
            --white: #ffffff;
            --gray: #abb8c3;
            --gap: 24px;
            --content-width: 1300px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            color: var(--text-color);
             
			font-size: 16px; 
    line-height: 1.5;
    margin-bottom: 16px;
        }
        
        .container {
            max-width: var(--content-width);
            margin: 0 auto;
            padding: 0 5px 0px 5px;
        }
/* 固定像素 */
p {
      display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

/* 响应式rem（推荐） */
p {
    font-size: 0.875rem; /* 14px */
}
 	 
 h3 {
                font-size: 20px;
     
    font-weight: 600;
    margin-bottom: 4px;
        }
.text {
    font-size: 16px;
    
    line-height: 1.5;
    margin-bottom: 16px;
}

 /* 导航栏基础 */
.navbar {
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    /* 去掉多余均分逻辑，让Logo自适应宽度，导航只占自身需要的宽度 */
}

/* Logo容器不要占多余空间，自适应图片宽度 */
.navbar .logo {
    flex-shrink: 0; /* 禁止Logo被压缩，固定自身宽度不缩小 */
}
.navbar .logo img {
    height: 45px; /* 手机端再缩小一点Logo高度，进一步瘦身 */
    width: auto;
    display: block;
}

/* 导航列表取消 flex:1，不再强行占满剩余宽度 */
.navbar ul.right-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px; /* 横向间距缩小，省空间 */
    flex: unset; /* 关键：取消1等分，导航宽度由自身文字决定 */
    flex-shrink: 1; /* 空间不够时导航可以轻微压缩间距，Logo不动 */
    max-width: 75%; /* 限制导航最大占页面75%，避免完全挤没Logo */
}

.navbar a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 400;
    transition: color 0.3s;
    white-space: nowrap; /* 单个文字不换行 */
}

.navbar a:hover {
    color: var(--primary-color);
}

/* 手机端微调（768px以下） */
@media (max-width: 768px) {
    .navbar .logo img {
        height: 60px; /* 移动端Logo再收窄高度，整体宽度更小 */
        padding:10px 0;
	 }
    /* 导航横向间距再缩小，节约横向空间 */
    .navbar ul.right-nav {
        gap: 8px 6px;
    }
    /* 导航单项文字字号缩小一点，更省宽度 */
    .navbar ul.right-nav a {
        font-size: 14px;
    }
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.navbar a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 400;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--primary-color);
}
        
        /* 英雄区 */
.hero {
  position: relative;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  min-height: 600px; /* 保证高度 */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 视频背景 */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 铺满不变形 */
  z-index: -2;
}

/* 黑色半透明遮罩（让文字更清晰） */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* 原有内容样式保留 */
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: left;
}

.hero li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.hero li::before {
  content: '>>';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}
        
        /* 按钮样式 */
        .btn-banner {
            display: inline-block;
            background: var(--primary-color);
            color: var(--white);
            padding: 12px 24px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 300;
            transition: background 0.3s;
            border: none;
            cursor: pointer;
        }
        
        .btn-banner:hover {
            background: #000;
        }
		
		 
		.btn {
			display: inline-block;
			/* 默认无填充背景，透明底色 */
			background: transparent;
			/* 文字颜色 = 主色调（和边框一致） */
			color: var(--primary-color);
			padding: 8px 16px;
               border-radius: 8px;
			text-decoration: none;
			font-size: 14px;
    font-weight: 700;
    line-height: 24px;
			/* 多属性过渡：背景、文字色、边框 */
			transition: all 0.3s ease;
			/* 边框：粗细2px，颜色和文字一致 */
			border: 1px solid var(--primary-color);
			cursor: pointer;
		}

/* 鼠标悬浮效果 */
.btn:hover {
    /* 填充主色背景 */
    background: var(--primary-color);
    /* 文字变白 */
    color: var(--white);
}
        
        /* 优势区块 */
        .features {
            padding: 80px 0;
        }
        
        .features h2 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2rem;
        }
        
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: var(--gap);
        }
        
        .feature-card {
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .feature-card h3 {
            font-size: 20px;
  
    font-weight: 600;
    margin-bottom: 4px;
            color: var(--secondary-color);
        }
        
        /* 产品区 */
        .products {
            padding: 80px 0;
           background: linear-gradient(to bottom,
  color-mix(in srgb, var(--primary-color) 3%, transparent) 40%,
  #ffffff
);
   
        }
        
        .products h2 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2rem;
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: var(--gap);
        }
        
        .product-card {
            background: var(--white);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .product-card img {
            max-width: 100%;
            height: auto;
            margin-bottom: 15px;
            border-radius: 4px;
        }
        
        .product-card ul {
            list-style: none;
            text-align: left;
            margin: 15px 0;
        }
        
        .product-card li {
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
        }
        
        .product-card li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #4CAF50;
        }
        
        /* 质量承诺 */
        .quality {
            padding: 80px 0 80px 0;
            text-align: center;
        }
        
        .quality h2 {
            margin-bottom: 20px;
            font-size: 2rem;
        }
        
        .quality-images {
            display: flex;
            flex-wrap: wrap;
            gap: var(--gap);
            justify-content: center;
            margin: 30px 0;
        }
        
        .quality-images img {
            max-width: 30%;
            height: auto;
            border-radius: 8px;
        }
        
        /* 供应商风险 */
        .risks {
            padding: 80px 0;
            background: color-mix(in srgb, var(--primary-color) 5%, transparent);  
        }
         .risk-card-image img {
    width: 100%;
    height: auto; /* 自动高度，图片不会变形 */
    display: block;
	margin-bottom: 40px;
}
        .risks h2 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2rem;
        }
        
        .risk-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: var(--gap);
        }
        
        .risk-card {
            padding: 30px;
            background: var(--white);
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .risk-card h3 {
                font-size: 20px;
     
    font-weight: 600;
    margin-bottom: 4px;
            color: var(--primary-color);
        }
        
        /* COA报告 */
        .coa {
            padding: 80px 0;
        }
        
        .coa h2 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2rem;
        }
        
        .coa-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: var(--gap);
        }
        
        .coa-item {
            text-align: center;
        }
        
        .coa-item img {
            max-width: 100%;
            height: auto;
            border-radius: 4px;
            margin-bottom: 10px;
        }
        
        /* 工厂展示 */
        .factory {
            padding: 80px 0;
            background: color-mix(in srgb, var(--primary-color) 3%, transparent);  
        }
        
        .factory h2 {
            text-align: center;
            margin-bottom: 3px;
            font-size: 2rem;
        }
        
        .factory-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: var(--gap);
            align-items: center;
        }
        
        .factory-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }
        
        /* 服务团队 */
        .team {
            padding: 80px 0;
            text-align: center;
			background: linear-gradient(to bottom,
  color-mix(in srgb, var(--primary-color) 3%, transparent) 40%,
  #ffffff
);
        }
        
        .team h2 {
            margin-bottom: 40px;
            font-size: 2rem;
        }
        
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: var(--gap);
        }
        
        .team-member {
            text-align: center;
        }
        
        .team-member img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin-bottom: 10px;
        }
        
        /* 客户评价 */
        .testimonials {
            padding: 80px 0;
            background: color-mix(in srgb, var(--primary-color) 5%, transparent);  
        }
        
        .testimonials h2 {
            text-align: center;
            margin-bottom: 3px;
            font-size: 2rem;
        }
        
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: var(--gap);
        }
        
        .testimonial-item img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }
        
      /* FAQ 全新样式 双栏响应式 */
.faq {
    padding: 80px 0;
    background: #ffffff;  
}
.faq-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
/* 左侧图文 */
.faq-left .faq-subtitle {
    display: block;
    font-size: 14px;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.faq-left h2 {
    text-align: left;
    margin-bottom: 16px;
    font-size: 2rem;
    
}
.faq-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 480px;
}
.faq-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 30px;
}
.faq-img-box {
    overflow: hidden;
    border-radius: 16px;
}
.faq-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右侧问答模块 */
.faq-right {
    padding-top: 10px;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    overflow: hidden;
}
/* 第一条默认打开，加号变减号 */
.faq-item.active .faq-icon {
    content: "-";
}
.faq-question {
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
    font-size: 17px;
}
.faq-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 18px;
    color: #333;
}
.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555;
    line-height: 1.7;
}
.faq-answer.active {
    padding: 0 0 20px 0;
    max-height: 600px;
}

/* 移动端响应式：小于992px切换上下单列 */
@media screen and (max-width: 992px) {
    .faq-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-left h2 {
        font-size: 2rem;
    }
    .faq {
        padding: 50px 0;
    }
}
        
        /* 联系区 */
        .contact {
            padding: 80px 0;
            background: var(--secondary-color);
            color: var(--white);
            text-align: center;
        }
        
        .contact h2 {
            margin-bottom: 20px;
            font-size: 2rem;
        }
        
        .contact-info {
            margin-bottom: 30px;
        }
        
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 4px;
            font-family: inherit;
        }
        
        /* 悬浮联系栏 */
        .floating-bar {
            position: fixed;
            bottom: 0;
            
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 15px;
            background: transparent;
            z-index: 9999;
			 /* 新增：宽度自适应内容，居中 */
    left: 50%;
    transform: translateX(-50%);
        }
        
      .floating-btn {
    /* 动态渐变背景 */
    background: linear-gradient(135deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    background-size: 400% 400%;
    animation: rainbowBg 12s linear infinite;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    /* 鼠标悬浮变成小手 */
    cursor: pointer;
    /* 可选：禁止按钮选中文字 */
    user-select: none;
}

@keyframes rainbowBg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
        
        /* 弹窗 */
       /* 弹窗 */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative; /* X 以此为定位基准 */
    pointer-events: auto;
}

/* 叉号放在弹窗盒子右上角，稍微向外突出一点，手机永远可见 */
.popup-content::after {
    content: "×";
    position: absolute;
    top: -16px;
    right: -16px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 24px;
    color: #222;
    cursor: pointer;
    border-radius: 50%;
    background: #fff;
    transition: 0.2s ease;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.popup-content::after:hover {
    color: #f33;
}
        /* 响应式 */
		@media (max-width: 768px) {
    .floating-bar {
        justify-content: space-between; /* 关键：左右分开 */
        padding-left: 10px;
        padding-right: 10px;
    }
    .floating-btn {
        flex: 1; /* 平分宽度 */
        max-width: 48%; /* 防止太宽 */
        justify-content: center;
    }
}

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .quality-images img {
                max-width: 100%;
            }
            
            .risk-grid,
            .factory-content {
                grid-template-columns: 1fr;
            }
            
        }
        
        /* 懒加载 */
        img.lazy {
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        img.lazy.loaded {
            opacity: 1;
        }
		
	.image-anime{
	position: relative;
	overflow: hidden;
}

.image-anime:after{
	content: "";
	position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255,255,255,.3);
    transform: translate(-50%,-50%) rotate(-45deg);
    z-index: 1;
}

.image-anime:hover:after{
    height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}
/* 工厂介绍 第一块 下边5项*/
 
.yingjun-feature-wrap {
  background-color:#fff;
  padding: 20px 20px; /* 原来40px改小，上下距离紧凑 */
  border-radius:10px;
  min-height: auto;
  /* 防止高度塌陷强制渲染背景 */
  overflow: visible;
  /* 提升权重，避免被其他样式覆盖 */
  position: relative;
  z-index: 1;
}
.yingjun-feature-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 30px; /* 你现在垂直间距6px，已经很小 */
}
.yingjun-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* 最后一项横跨两列，消除空白 */
.yingjun-feature-item-full {
  grid-column: 1 / -1;
}
.yingjun-feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--primary-color);
}
.yingjun-feature-text {
  color: #666;
  font-size: 0.875rem;
  font-weight: 500;
}
/* 移动端一行一个 */
@media (max-width: 640px) {
  .yingjun-feature-grid {
    grid-template-columns: 1fr;
  }
  .yingjun-feature-wrap {
    padding: 24px 16px;
  }
  .yingjun-feature-icon {
    width: 24px;
    height: 24px;
  }
}
.yingjun-payment-desc {
  color:#666;
  max-width:1200px;
  margin:20px auto 0;
  font-size:0.875rem;
}
    
  
  /*优势4块右侧图标*/
  .youshi-youce {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    row-gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #E3E3E8
}
 /*优势4块右侧图标*/
 
 .icon {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  /* 半透明，0~1数值，0完全透明，1不透明 */
  opacity: 0.5;
  border-radius: 20%; /* 圆形圆角 */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 内部图标强制白色 */
.icon img {
  width: 20px; /* 图标缩小一点，避免贴边 */
  height: auto;
  filter: brightness(0) invert(1); /* 图片转为纯白色 */
  opacity: 1; /* 图标不跟着容器半透明 */
}