/* ===================== 重置与全局样式 ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
    word-break: break-all;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
html {
    lang: "en";
}
ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================== 导航区样式 ===================== */
.nav-container {
    width: 100%;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 3px 20px rgba(0,0,0,0.12);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo img {
    width: 220px;
    height: 85px;
    display: block;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    color: #0066cc;
    display: flex;
    align-items: center;
}

.logo a i {
    font-size: 32px;
    margin-right: 10px;
}

.nav-main {
    display: flex;
}

.nav-item {
    position: relative;
    margin: 0 20px;
}

.nav-item a {
    font-size: 20px;
    padding: 0 0px;
    line-height: 90px;
    display: block;
    font-weight: 700;
    vertical-align: middle;
}

.nav-item a i {
    margin-right: 2px;
}

.nav-item .fa-home:before {
    content: "\f015";
    font-size: 15px;
    margin-right: -3px;
    position: relative;
    left: 2px;
    top: -1.5px;
}

.nav-item .fa-chevron-down:before {
    margin-right: -3px;
    position: relative;
    top: 0;
}

.nav-item.active a {
    color: #222;
    position: relative;
}

.nav-item a:hover {
    color: #0066cc;
}

.sub-arrow {
    font-size: 12px;
    margin-left: 5px;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    position: relative;
    top: -2px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.nav-item.has-sub .nav-sub {
    position: absolute;
    top: 85px;
    left: 0;
    width: 350px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none;
    flex-wrap: wrap;
    padding: 15px;
    z-index: 999;
    border-radius: 8px;
    margin-top: 5px;
}

.nav-item.has-sub:hover .nav-sub {
    display: flex;
}

.nav-sub li {
    width: 100%;
    padding: 8px 0;
}

.nav-sub li a {
    line-height: 1.5;
    padding: 8px 10px;
    font-size: 15px;
    border-radius: 4px;
    font-weight: 500;
}

.nav-sub li a:hover {
    background: #f0f7ff;
    color: #0066cc;
}

.nav-toggle {
    display: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
}

/* ===================== 轮播Banner样式 ===================== */
.banner-container {
    width: 100%;
    height: 720px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
}

.banner-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.banner-prev:hover, .banner-next:hover {
    background: rgba(0, 102, 204, 0.8);
    border-color: #fff;
}

.banner-prev {
    left: 40px;
}

.banner-next {
    right: 40px;
}

.banner-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: #fff;
    border-color: #0066cc;
    transform: scale(1.2);
}

/* ===================== 产品展示区样式 ===================== */
.home_product {
    padding: 100px 0;
    background: #f8f9fa;
}

.home_title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: #222;
}

.home_title i {
    color: #0066cc;
    margin-right: 12px;
}

.home_title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #0066cc, #0088ff);
    margin: 20px auto 0;
    border-radius: 2px;
}

.home_product-categories {
    display: flex;
    gap: 25px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-item {
    padding: 12px 20px;
    border-radius: 50px;
    background: #fff;
    border: 2px solid #eee;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-item.active, .category-item:hover {
    background: linear-gradient(to right, #0066cc, #0088ff);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    transform: translateY(-3px);
}

.home_product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0066cc, #0088ff);
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #0066cc;
}

.product-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #222;
}

.product-item a img {
    flex-shrink: 0;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.product-item a:hover .product-title {
    color: #0066cc;
}

.product-item a:hover img {
    transform: scale(1.05);
}

.product-title {
    font-size: 16px;
    color: #222;
    text-align: center;
    font-weight: 600;
    line-height: 1.4;
    margin-top: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================== 关于我们样式 ===================== */
.home_about {
    padding: 100px 0;
    background: #fff;
}

.home_about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.home_about-img {
    flex: 1;
}

.home_about-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.home_about-content {
    flex: 1;
}

.home_about-content p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
}

.home_btn {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(to right, #0066cc, #0088ff);
    color: #fff;
    border-radius: 50px;
    margin-top: 25px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    border: none;
    cursor: pointer;
}

.home_btn i {
    margin-left: 8px;
}

.home_btn:hover {
    background: linear-gradient(to right, #0052a3, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.3);
}

/* ===================== 企业优势区样式 ===================== */
.home_advantage {
    padding: 100px 0;
    background: #f8f9fa;
}

.home_advantage-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.advantage-item {
    background: #fff;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0066cc, #0088ff);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.advantage-item i {
    font-size: 50px;
    color: #0066cc;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.advantage-item:hover i {
    transform: scale(1.1);
}

.advantage-item h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #222;
    font-weight: 700;
}

.advantage-item p {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

/* ===================== 工厂展示区样式 ===================== */
.home_factory {
    padding: 100px 0;
    background: #fff;
}

.home_factory-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.factory-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    aspect-ratio: 4/3;
}

.factory-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0066cc, #0088ff);
    z-index: 1;
}

.factory-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.factory-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================== 新闻资讯区样式 ===================== */
.home_news {
    padding: 100px 0;
    background: #f8f9fa;
}

.home_news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0066cc, #0088ff);
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-img {
    /* height: 220px; */
    overflow: hidden;
}

.news-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-time {
    font-size: 15px;
    color: #888;
    margin-bottom: 15px;
    display: block;
}

.news-time i {
    color: #0066cc;
    margin-right: 8px;
}

.news-title a {
    font-size: 20px;
    color: #222;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 15px;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.news-title a:hover {
    color: #0066cc;
}

.news-desc {
    font-size: 13px;
    color: #aaa;
    line-height: 1.8;
    margin-top: auto;
    text-indent: 2em;
}

/* ===================== 页脚样式 ===================== */
.footer-container {
    background: #222;
    color: #ddd;
    padding: 80px 0 30px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.footer-col h3 i {
    color: #0088ff;
    margin-right: 10px;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, #0066cc, #0088ff);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
    color: #ccc;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.footer-col ul li a i {
    color: #0088ff;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-col ul li a:hover {
    color: #0088ff;
    padding-left: 5px;
}

.footer-col ul li i {
    color: #0088ff;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 15px;
    color: #aaa;
}

.footer-copyright a {
    color: #aaa;
}

/* ===================== 浮动客服栏样式 ===================== */
.fixed-service {
    position: fixed;
    right: 40px;
    bottom: 60px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, #0066cc, #0088ff);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    border: none;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.phone-number {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #0066cc;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    display: none;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
}

.phone-item:hover .phone-number {
    display: block;
    animation: fadeIn 0.3s ease;
}

.kefu-qrcode {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    display: none;
    animation: fadeIn 0.3s ease;
}

.kefu-qrcode img {
    width: 120px;
    height: 120px;
}

.kefu-item:hover .kefu-qrcode {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-50%) translateX(10px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* ===================== 移动端底部菜单 ===================== */
.mobile-service {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    flex: 1;
}

.mobile-service-item i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #0066cc;
}

/* ===================== 移动端自适应样式 ===================== */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.5;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .home_title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .home_title::after {
        width: 60px;
        height: 3px;
        margin: 10px auto 0;
    }
    
    .home_btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .fixed-service {
        display: none;
    }
    
    .nav-container {
        position: relative;
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-container.fixed {
        position: fixed;
        top: 0;
        width: 100%;
        background: #fff;
        z-index: 1000;
    }
    
    .nav-wrapper {
        height: auto;
        padding: 0 15px;
        flex-wrap: wrap;
    }
    
    .logo {
        width: 70%;
        text-align: left;
        margin-bottom: 0;
    }
    
    .logo img {
        width: 150px;
        height: auto;
        margin: 0;
    }
    
    .nav-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 15px;
        font-size: 24px;
        color: #333;
        z-index: 1001;
        background: none;
        border: none;
    }
    
    .nav-main {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        width: 100%;
    }
    
    .nav-main.show {
        transform: translateX(0);
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
        text-align: left;
        border-bottom: 1px solid #eee;
        padding: 0;
    }
    
    .nav-item a {
        line-height: 50px;
        font-size: 16px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 15px;
        position: relative;
        text-align: left;
        width: 100%;
    }
    
    .nav-item a .fas.fa-home,
    .nav-item a .fas.fa-building,
    .nav-item a .fas.fa-box-open,
    .nav-item a .fas.fa-newspaper,
    .nav-item a .fas.fa-envelope,
    .nav-item a .fas.fa-comment {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }
    
    .sub-arrow {
        position: static;
        margin-left: 8px;
        margin-right: 0;
        font-size: 12px;
        width: 12px;
        height: 12px;
        display: inline-block;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .nav-item.has-sub .nav-sub {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        padding: 0;
        margin-top: 0;
        border-radius: 0;
        flex-wrap: nowrap;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.has-sub.active .nav-sub {
        display: block;
        max-height: 500px;
        padding: 10px 0;
    }
    
    .nav-sub li {
        width: 100%;
        padding: 0;
        border: none;
    }
    
    .nav-sub li a {
        line-height: 40px;
        padding: 0 25px;
        font-size: 14px;
        color: #666;
        display: block;
        width: 100%;
    }
    
    .nav-sub li a:hover {
        background: #f0f7ff;
        color: #0066cc;
    }
    
    .banner-container {
        height: 300px;
        margin-top: 0;
    }
    
    .banner-prev, .banner-next {
        display: none;
    }
    
    .banner-indicators {
        bottom: 15px;
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .home_product {
        padding: 50px 0;
    }
    
    .home_product-categories {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 30px;
        overflow-x: visible;
        padding-bottom: 10px;
        flex-wrap: wrap;
        -webkit-overflow-scrolling: auto;
        justify-content: flex-start;
        height: auto;
    }
    
    .category-item {
        padding: 8px 15px;
        white-space: nowrap;
        text-align: center;
        font-size: 12px;
        flex-shrink: 0;
        margin-bottom: 8px;
    }
    
    .home_product-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        overflow: hidden;
        max-height: 1340px;
    }
    
    .product-item:nth-child(n+9) {
        display: none;
    }
    
    .product-item {
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 0;
        height: 280px;
        display: flex;
        flex-direction: column;
    }
    
    .product-item img {
        height: 140px;
        margin-bottom: 10px;
        object-fit: contain;
        background: #f8f9fa;
        padding: 5px;
    }
    
    .product-title {
        font-size: 14px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: auto;
    }
    
    .home_about {
        padding: 50px 0;
    }
    
    .home_about-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .home_about-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .home_advantage {
        padding: 50px 0;
    }
    
    .home_advantage-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .advantage-item:nth-child(n+5) {
        display: none;
    }
    
    .advantage-item {
        padding: 25px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .advantage-item i {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .advantage-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .advantage-item p {
        font-size: 12px;
        line-height: 1.5;
        text-align: center;
    }
    
    .home_factory {
        padding: 50px 0;
    }
    
    .home_factory-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .factory-item {
        aspect-ratio: 1/1;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .factory-item:nth-child(n+13) {
        display: none;
    }
    
    .home_news {
        padding: 50px 0;
    }
    
    .home_news-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-img {
        height: 180px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title a {
        font-size: 16px;
        line-height: 1.4;
        white-space: normal;
        height: auto;
        overflow: visible;
    }
    
    .news-desc {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .footer-container {
        padding: 40px 0 20px;
    }
    
    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-col h3 {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .footer-col p, 
    .footer-col ul li, 
    .footer-col ul li a {
        font-size: 14px;
    }
    
    .footer-copyright {
        padding-top: 20px;
        font-size: 12px;
    }
    
    .mobile-service {
        display: flex;
    }
    
    .nav-main {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-item.has-sub .nav-sub {
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .product-item,
    .advantage-item,
    .factory-item,
    .news-item {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #0066cc;
        border-radius: 2px;
    }
    
    button, 
    a, 
    .nav-item a, 
    .category-item,
    .home_btn {
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.2);
        tap-highlight-color: rgba(0, 102, 204, 0.2);
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .banner-container {
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .home_title {
        font-size: 22px;
    }
    
    .home_product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-item {
        height: 100%;
    }
    
    .home_advantage-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home_factory-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .factory-item {
        aspect-ratio: 1 / 1;
        border-radius: 8px;
        overflow: hidden;
    }
	
	.factory-item img {
	    width: 100%;
	    height: 100%;
	    object-fit: cover;
	    display: block;
	}

    .banner-container {
        max-height: 150px;
    }
    
    .product-item a {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    
    .sub-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        margin-left: 10px;
        font-size: 12px;
        width: 12px;
        height: 12px;
        transform-origin: center center;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 20px;
    }
    
    .home_product-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .home_advantage-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .home_factory-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .banner-container {
        height: 450px;
    }
}

/* ===================== 留言区块样式 (修正版，全ly_开头) ===================== */
.ly_contact {
    width: 100%;
    padding: 40px 0;
    background: linear-gradient(to right, #0052a3 0%, #0066cc 100%);
    color: #fff;
    margin: 0;
}

.ly_contact-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ly_contact-content {
    flex: 1;
    min-width: 300px;
}

.ly_title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    position: relative;
    padding-bottom: 15px;
}

.ly_title i {
    color: #fff;
    margin-right: 12px;
    font-size: 30px;
}

.ly_desc {
    font-size: 16px;
    line-height: 1.8;
    color: #e6f0ff;
    max-width: 500px;
}

.ly_contact-form-wrap {
    flex: 1.2;
    min-width: 320px;
}

.ly_form {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.ly_form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ly_form-group {
    flex: 1;
    width: 100%;
}

.ly_input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.ly_input::placeholder {
    color: #aaa;
}

.ly_input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.ly_textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.ly_full-width {
    margin-bottom: 25px;
}

.ly_btn {
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(to right, #0066cc, #0088ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.ly_btn:hover {
    background: linear-gradient(to right, #0052a3, #0066cc);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.3);
}

/* ===================== 移动端适配（完全对齐原页面移动端规范） ===================== */
@media (max-width: 768px) {
    .ly_contact {
        padding: 40px 0;
    }

    .ly_contact-container {
        flex-direction: column;
        padding: 0 15px;
        gap: 30px;
    }

    .ly_contact-content {
        min-width: 100%;
        text-align: center;
    }

    .ly_title {
        font-size: 24px;
    }

    .ly_title::after {
        width: 60px;
        margin: 10px auto 0;
    }

    .ly_desc {
        font-size: 14px;
        max-width: 100%;
    }

    .ly_contact-form-wrap {
        min-width: 100%;
    }

    .ly_form {
        padding: 25px 20px;
    }

    .ly_form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .ly_input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .ly_textarea {
        min-height: 100px;
    }

    .ly_btn {
        padding: 12px 0;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .ly_title {
        font-size: 22px;
    }

    .ly_form {
        padding: 20px 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ly_contact-container {
        gap: 30px;
        padding: 0 20px;
    }

    .ly_title {
        font-size: 28px;
    }

    .ly_form {
        padding: 30px 25px;
    }
}

/* ===================== 友情链接区块样式 (link_开头) ===================== */
.link_section {
    background-color: #ffffff;
    padding: 30px 0;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.link_title {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
    padding-left: 8px;
    border-left: 3px solid #0066cc;
    line-height: 1.2;
}

.link_links-wrap {
    line-height: 1.8;
}

.link_links-wrap a {
    color: #666666;
    text-decoration: none;
    margin-right: 18px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link_links-wrap a:hover {
    color: #0066cc;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 1023px) {
    .link_section {
        display: none;
    }
}

.footer-col .footer-icon {
    color: #0066cc;
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 20px;
}














/* ==============================================
   新增：询单弹出层样式
   ============================================== */

/* 询单弹出层容器 */
.inquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 20px;
}

.inquiry-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 弹出层内容 */
.inquiry-modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    transition: transform 0.4s;
    position: relative;
}

.inquiry-modal-overlay.active .inquiry-modal-content {
    transform: translateY(0);
}

/* 关闭按钮 */
.inquiry-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #7f8c8d;
    font-size: 1rem;
    transition: all 0.2s;
    z-index: 1;
}

.inquiry-close-btn:hover {
    background: #eaeaea;
    color: #333;
}

/* 弹出层标题 */
.inquiry-modal-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.inquiry-modal-subtitle {
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 25px;
}

/* 产品信息区域 */
.inquiry-product-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

.inquiry-product-info-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inquiry-product-info-url {
    color: #7f8c8d;
    font-size: 0.9rem;
    word-break: break-all;
    margin-top: 5px;
}

/* 询单表单样式 */
.inquiry-form-group {
    margin-bottom: 20px;
}

.inquiry-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.inquiry-form-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #f8f9fa;
}

.inquiry-form-input:focus {
    outline: none;
    border-color: #3498db;
    background-color: white;
}

.inquiry-form-input.error {
    border-color: #e74c3c;
}

.inquiry-error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

/* 提交按钮 */
.inquiry-submit-btn {
    background: linear-gradient(to right, #0066cc, #0088ff);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.inquiry-submit-btn:hover {
    background: linear-gradient(to right, #0066cc, #0088ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.inquiry-submit-btn:active {
    transform: translateY(0);
}

/* 成功消息 */
.inquiry-success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    display: none;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #28a745;
}

.inquiry-success-message i {
    font-size: 1.3rem;
}

/* 表单页脚 */
.inquiry-form-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .inquiry-modal-content {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .inquiry-modal-content {
        padding: 20px 15px;
    }
    
    .inquiry-modal-title {
        font-size: 1.4rem;
    }
}

/* ==============================================
   新增结束
   ============================================== */