
a.a:link {font-size: 15px; color:#666;text-decoration: none;}
a.a:visited {font-size: 15px; color:#666; text-decoration: none;}
a.a:active {font-size: 15px; color:#00662c;text-decoration: none; }
a.a:hover {font-size: 15px;color:#00662c;text-decoration: none;}
      * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Microsoft Yahei", sans-serif;
        }
  ul, li {
            list-style: none;
        }
        a { 
            text-decoration: none;
            transition: all 0.25s ease;
        }
     :root {
            --main-color: #00662c;
            --main-dark: #004d21;
            --main-light: #e6f2ec;
            --main-border: #b3d9c4;
			 --active-dot-color: #ffa800;  /* 新增：定义橙色变量 */
        }
   
        .container {
            max-width: 1650px;
            margin: 0 auto;
            padding: 0 32px;
        }
       /* ----- 导航栏 右边显示电话及图标 ----- */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            transition: all 0.3s ease;
            padding: 12px 0;
            border-bottom: 1px solid var(--main-border);
        }
        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 8px 24px rgba(0, 40, 80, 0.08);
            border-bottom-color: var(--main-border);
        }
        .nav-container { padding:5px 0px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        .logo h1 {
            font-family: "Microsoft YaHei", "微软雅黑", serif;
            font-weight: 600;
            font-size: 28px;
            color: var(--main-color);
            border-right: 2px solid var(--main-border);
            padding-right: 20px;
            margin-right: 10px;
        }
        .logo span {
            font-size: 14px;
            color: var(--main-color);
            opacity: 0.7;
        }
        .nav-menu {
            display: flex;
            gap:52px;
            align-items: center;
            list-style: none;
        }
        .nav-menu a {
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            color: var(--main-color);
            transition: color 0.25s;
        }
        .nav-menu a:hover { color: var(--main-dark); }
        .nav-phone {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--main-light);
            padding: 6px 16px;
            border-radius: 15px;
            color: var(--main-color);
            font-weight: 600;
            font-size: 14px;
            margin-left: 12px;
            transition: 0.2s;
            cursor: default;
        }
        .nav-phone i { font-size: 16px; }
        .nav-phone:hover { background: #d1e8dc; color: var(--main-dark); }
        .dropdown { position: relative; }
        .dropdown-menu {
            position: absolute;
            top: 35px;
            left: -20px;
            background: rgba(255,255,255,0.98);
            backdrop-filter: blur(8px);
            min-width: 210px;
            border-radius: 10px;
            box-shadow: 0 15px 30px rgba(0,20,40,0.1);
            padding: 14px 0;
            opacity: 0;
            visibility: hidden;
            transition: 0.2s;
            list-style: none;
            border: 1px solid var(--main-border);
        }
        .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; top: 42px; }
        .dropdown-menu li {
            padding: 10px 0 10px 28px;
            transition: background 0.2s;
        }
        .dropdown-menu li a {
            font-size: 14px;
            white-space: nowrap;
            display: block;
            line-height: 1.5;
        }
        .dropdown-menu li:hover {
            background: rgba(0, 102, 44, 0.08);
        }
        
        /* 手机端样式优化 */
        .menu-toggle { display: none; font-size: 28px; color: var(--main-color); cursor: pointer; }
        @media (max-width: 768px) {
            .container { padding: 0 20px; }
            .menu-toggle { display: block; }
            .nav-menu {
                position: fixed;
                top:85px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background: #FFFFFF;
                flex-direction: column;
                align-items: flex-start;
                padding: 40px 30px;
                transition: left 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
                z-index: 999;
                gap: 28px;
                overflow-y: auto;
            }
            .nav-menu.active { left: 0; }
            .dropdown { width: 100%; display: block; }
            .dropdown > a { display: flex; justify-content: space-between; width: 100%; pointer-events: auto; }
            .dropdown > a i { transition: transform 0.2s; font-size: 14px; }
            .dropdown.active > a i { transform: rotate(180deg); }
            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                background: var(--main-light);
                padding: 8px 0 8px 20px;
                display: none;
                width: 100%;
                border: none;
                box-shadow: none;
            }
            .dropdown.active .dropdown-menu { margin-top:20px; display: block; }
            .nav-phone { display: none; }
            .dropdown-menu li { padding: 8px 0 8px 20px; }
        }

        /* Hero Swiper 置于导航下方 */
        .hero-swiper { 
            margin-top: 0;
            width: 100%; 
            height: 85vh; 
            min-height: 550px;
            position: relative;
            top: 0;
        }
		/* 新增：Banner 轮播分页圆点距离底部 20px */
.hero-swiper .swiper-pagination {
    bottom: 30px !important;   /* 关键修改：距离底部 20px */}
        .hero-wrapper {
            padding-top: 70px;
            background: #F4F9FE;
        }
        .swiper-slide { position: relative; background-size: cover; background-position: center 30%; display: flex; align-items: center; justify-content: flex-start; }
        .slide-overlay { position: absolute; inset: 0;  }
		.sub{font-family:"Microsoft Yahei", serif; color:#00662c;}
        .hero-content { position: relative; z-index: 2; max-width: 620px; padding: 40px 45px; margin-left:9%; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); border-radius: 15px; color: white; border-left: 4px solid #00662c; }
        .hero-content h2 { font-size: 52px; font-family:"Microsoft Yahei", serif; color:#00662c; font-weight: 600; }
        .hero-content p { font-size: 18px; margin: 20px 0; opacity: 0.95; }
        .btn-primary { background: var(--main-color); padding: 12px 20px; border-radius: 15px; color: white; display: inline-block; text-decoration: none; font-weight: 600; transition: all 0.3s; box-shadow: 0 6px 14px rgba(0,0,0,0.1); }
        .btn-primary:hover { background: var(--main-dark); transform: translateY(-2px); }
        
        /* 全局分页圆点样式放大加宽，活动颜色#ffa800 */
        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            background: white;
            opacity: 0.65;
            transition: all 0.2s ease;
            margin: 0 6px !important;
        }
        .hero-swiper .swiper-pagination-bullet {
            background: #ffffff;
            opacity: 0.7;
        }
        .hero-swiper .swiper-pagination-bullet-active {
            background: var(--active-dot-color);
            width: 24px !important;
            border-radius: 12px;
            opacity: 1;
        }
        /* 产品及新闻模块的分页圆点自定义，变大且激活变色加宽 */
        .product-swiper .swiper-pagination-bullet,
        .news-swiper .swiper-pagination-bullet {
            background: var(--main-border);
            opacity: 0.7;
            width: 10px;
            height: 10px;
        }
        .product-swiper .swiper-pagination-bullet-active,
        .news-swiper .swiper-pagination-bullet-active {
            background: var(--active-dot-color) !important;
            width: 28px !important;
            border-radius: 14px;
            opacity: 1;
        }
        
        /* 通用导航箭头样式 (左右切换箭头) */
        .swiper-button-next, .swiper-button-prev {
            color: white;
            background: rgba(0, 0, 0, 0.35);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            backdrop-filter: blur(6px);
            transition: all 0.25s;
        }
        .swiper-button-next:after, .swiper-button-prev:after {
            font-size: 20px;
            font-weight: bold;
        }
        .swiper-button-next:hover, .swiper-button-prev:hover {
            background: var(--main-color);
            color: white;
            transform: scale(1.05);
        }
        /* 产品&新闻轮播独立箭头，深色风格更明显 */
        .product-swiper .swiper-button-next,
        .product-swiper .swiper-button-prev,
        .news-swiper .swiper-button-next,
        .news-swiper .swiper-button-prev {
            color: var(--main-color);
            background: rgba(255, 255, 255, 0.85);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border: 1px solid var(--main-border);
        }
        .product-swiper .swiper-button-next:hover,
        .product-swiper .swiper-button-prev:hover,
        .news-swiper .swiper-button-next:hover,
        .news-swiper .swiper-button-prev:hover {
            background: var(--main-color);
            color: white;
            border-color: var(--main-color);
        }
        
        /* 通用区域 */
        section { padding: 30px 0; }
        .section-title { text-align: center; margin-bottom: 52px; }
        .section-title h3 { font-size: 40px; font-family:"Microsoft YaHei", "微软雅黑", sans-serif; color: var(--main-color); letter-spacing: -0.5px; font-weight: 600; position: relative; display: inline-block; }
        .section-title h3:after { content: ''; display: block; width: 70px; height: 3px; background: var(--main-color); margin: 12px auto 0; border-radius: 3px; }
        .section-title p { font-size: 16px; color: var(--main-color); opacity: 0.7; margin-top: 16px; letter-spacing: 0.3px; }
        
        /* 三卡片 */
        .cards-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; }
        .card { background: white; border-radius: 15px; padding: 36px 28px; flex: 1; min-width: 260px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03); border: 1px solid var(--main-border); transition: all 0.35s ease; text-align: center; }
        .card:hover { transform: translateY(-8px); box-shadow: 0 25px 40px -12px rgba(0, 102, 44, 0.2); border-color: var(--main-color); }
        .card-icon { font-size: 48px; color: var(--main-color); margin-bottom: 24px; }
        .card h4 { font-size: 24px; font-weight: 600; color: var(--main-color); margin-bottom: 15px; }
        .card p { color: var(--main-color); opacity: 0.7; line-height: 1.5; }

        /* 产品系列轮播 — 上下排列，分页圆点与卡片保持20px间距 */
        .product-slider-section { background: var(--main-light); border-radius: 10px 10px 10px 10px; margin: 20px 0; position: relative; }
        .product-swiper, .news-swiper {
            padding: 20px 40px 48px;  /* 左右预留空间给箭头 */
        }
        .product-swiper .swiper-pagination, .news-swiper .swiper-pagination {
            position: relative;
            bottom: 0;
            margin-top: 28px;
        }
        .product-card {
            background: #FFFFFF;
            border-radius: 15px;
            text-align: center;
            padding: 24px 20px 28px;
            transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            border: 1px solid var(--main-border);
            box-shadow: 0 15px 25px -12px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .product-card:hover { transform: translateY(-6px); box-shadow: 0 25px 35px -12px rgba(0, 102, 44, 0.2); border-color: var(--main-color); }
        .product-img {
            width: 100%;
            height:300px;
            object-fit: cover;
            border-radius: 15px;
            margin-bottom: 22px;
            background: var(--main-light);
            transition: transform 0.4s;
        }
        .product-card:hover .product-img { transform: scale(1.02); }
        .product-card h4 { font-size: 22px; font-weight: 700; color: var(--main-color); margin-bottom: 8px; }
        .product-card p { color: var(--main-color); opacity: 0.7; font-size: 14px; font-weight: 500; letter-spacing: 0.3px; }

        /* 新闻滚动轮播 */
        .news-slider-section { background: #F9FCFE; border-radius: 15px;  position: relative; }
        .news-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid var(--main-border);
            box-shadow: 0 12px 22px rgba(0, 0, 0, 0.04);
            display: flex;
            flex-direction: column;
        }
        .news-card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px -10px rgba(0, 102, 44, 0.15); border-color: var(--main-color); }


.news-img {
   width: 100%;
    aspect-ratio: 16 / 9; /* 或你需要的比例，如 4/3 */
    object-fit: cover;
}
        .news-card:hover .news-img { transform: scale(1.02); }
        .news-text { padding: 24px 22px 28px; background: white; text-align: left; }
        .news-date { font-size: 13px; color: var(--main-color); margin-bottom: 12px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
        .news-card h4 { font-size: 20px; margin-bottom: 12px; font-weight: 700; color: var(--main-color); line-height: 1.3; }
        .news-card p { color: var(--main-color); opacity: 0.7; font-size: 14px; line-height: 1.5; }
        
        /* 品牌工艺背景区 */
        .brand-bg { background: linear-gradient(107deg, rgba(0, 102, 44, 0.85), rgba(0, 77, 33, 0.75)), url('/img/bj1.jpg'); background-size: cover; background-attachment: fixed; border-radius: 15px; margin: 40px 30px; }
        .craft-bg { background: linear-gradient(107deg, rgba(0, 102, 44, 0.85), rgba(0, 77, 33, 0.75)), url('/img/bj2.jpg'); background-size: cover; background-attachment: fixed; border-radius: 15px; margin: 40px 30px; }
        .two-columns { display: flex; gap: 50px; align-items: center; padding: 70px 50px; color: white; }
        .two-columns .col-text h3 { color:#fff; font-size: 42px; font-family: "Microsoft YaHei", "微软雅黑"; font-weight: 600; letter-spacing: -0.3px; }
        .deco-line { width: 80px; height: 3px; background: #FFE2B5; margin: 24px 0 20px 0; border-radius: 3px; }
        .col-text p { font-size: 17px; line-height: 1.6; opacity: 0.92; }
        .col-img img { border-radius: 15px; width: 100%; box-shadow: 0 25px 35px -10px rgba(0,0,0,0.25); transition: transform 0.3s; }
        
        /* 招商联系区 */
        .contact-area { 
            background: #FFFFFF; 
            border-radius: 15px; 
            padding: 20px 20px; 
            margin: 40px 0; 
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); 
            border: 1px solid var(--main-border);
        }
        .contact-flex { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
        .contact-info { flex: 1.2; }
        .contact-info h3 { font-size: 32px; color: var(--main-color); font-family: "Microsoft YaHei", "微软雅黑"; font-weight: 600; margin-bottom: 16px; }
        .contact-detail { margin: 18px 0; display: flex; align-items: center; gap: 12px; color: var(--main-color); font-size: 15px; }
        .contact-form { flex: 1; background: var(--main-light); padding: 24px 28px; border-radius: 15px; border: 1px solid var(--main-border); }
        .contact-form h4 { font-size: 24px; margin-bottom: 24px; color: var(--main-color); font-weight: 600; }
        .input-group { margin-bottom: 20px; }
        .input-group input, .input-group textarea { 
            width: 100%; 
            padding: 14px 18px; 
            border-radius: 15px;
            border: 1px solid var(--main-border); 
            background: white; 
            font-family: 'Inter', sans-serif; 
            transition: 0.2s;
            font-size: 15px;
        }
        .input-group input:focus, .input-group textarea:focus { border-color: var(--main-color); box-shadow: 0 0 0 3px rgba(0, 102, 44, 0.08); outline: none; }
        button[type="submit"] { 
            background: var(--main-color); 
            border: none; 
            padding: 12px 28px; 
            border-radius: 36px; 
            color: white; 
            font-weight: 600; 
            cursor: pointer; 
            transition: 0.2s; 
            font-size: 15px;
            width: 100%;
            letter-spacing: 0.5px;
        }
        button[type="submit"]:hover { background: var(--main-dark); transform: translateY(-2px); }
        .form-note { font-size: 12px; margin-top: 18px; color: var(--main-color); opacity: 0.7; text-align: center; }
        
       footer { background: #2a2a2a; color: #999; text-align: center; padding: 48px 0; border-radius: 15px 15px 0 0; margin-top: 30px; }
        .footer-links a { color:#999; text-decoration: none; margin: 0 18px; font-size: 14px; }
        
        /* 手机底部固定菜单 */
       .mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.05);
    border-top: 1px solid var(--main-border);
    z-index: 1000;
    padding: 10px 24px 14px;
    padding-bottom: max(14px, env(safe-area-inset-bottom, 14px)); /* 关键：动态底部内边距 */
    justify-content: space-around;
    align-items: center;
    will-change: transform; /* 优化性能 */
    transform: translateZ(0); /* 启用GPU加速 */
}


        .bottom-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            text-decoration: none;
            font-size: 12px;
            color: var(--main-color);
            opacity: 0.7;
            transition: 0.2s;
        }
        .bottom-nav-item i { font-size: 22px; }
        .bottom-nav-item span { font-size: 10px; font-weight: 500; }
        .bottom-nav-item.active, .bottom-nav-item:hover { color: var(--main-color); opacity: 1; transform: translateY(-2px); }
        
        /* 响应式优化 */
        @media (max-width: 768px) {
			footer { display:none;}
            .mobile-bottom-nav { display: flex; }
            body { padding-bottom: 74px; }
			 .two-columns { display: flex; flex-wrap: wrap; padding: 40px 24px; gap: 30px;  color: white; }
            .hero-wrapper { padding-top:88px; }
            .hero-content { margin-left:3%; margin-right: 5%; padding: 28px 14px; width: auto; max-width:60%; }
			.hero-content p{font-size:14px; line-height:30px; color:#00662c;}
			
            .hero-content h2 { font-size: 38px; }
            .section-title h3 { font-size: 32px; }
			.hero-content h2 { font-size:28px; font-family:"Microsoft YaHei", "微软雅黑"; color:#00662c; font-weight: 600; }
			.two-columns .col-text h3 { color:#fff; font-size:20px; font-family: "Microsoft YaHei", "微软雅黑"; font-weight: 600; letter-spacing: -0.3px; }
			 .col-text p { font-size: 14px; line-height: 1.6; opacity: 0.92; }
            .contact-area {  margin:0px 20px;  }
            .contact-form { padding: 20px 20px; width:100%; }
            .brand-bg, .craft-bg { background-attachment: scroll; }
            .product-img, .news-img {  width: 100%;
    height: auto;         /* 高度自适应 */
    aspect-ratio: 4 / 3;  /* 可选：固定宽高比，防止布局抖动 */
    transition: 0.4s; }
            .dropdown-menu li { padding: 8px 0 8px 20px; }
            .product-swiper, .news-swiper {
                padding: 20px 12px 48px !important;
            }
            .product-swiper .swiper-button-next,
            .product-swiper .swiper-button-prev,
            .news-swiper .swiper-button-next,
            .news-swiper .swiper-button-prev {
                width: 32px;
                height: 32px;
            }
            .swiper-button-next:after, .swiper-button-prev:after {
                font-size: 16px;
            }
        }