﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei",sans-serif;
}

:root {
    --primary:#1677ff;
    --primary-dark:#0e66dd;
    --light:#e8f3ff;
    --dark:#222;
    --gray:#666;
    --white:#fff;
    --red:#f54336;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}
/*=====导航 悬浮简洁大气=====*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,.95);
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
    z-index: 9999;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo i {
        font-size: 30px;
    }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 42px;
}

    .nav-menu a {
        font-size: 16px;
        font-weight: 500;
        padding: 8px 0;
        position: relative;
        transition: .3s;
        color: var(--dark);
    }

        .nav-menu a:hover, .nav-menu a.active {
            color: var(--primary);
        }

            .nav-menu a.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background: var(--primary);
                border-radius: 3px;
            }

.mobile-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
}
/*=====全屏巨幅Banner【大气核心】=====*/
.banner {
    margin-top: 78px;
    width: 100%;
    height: 660px;
    background: linear-gradient(rgba(12,78,170,0.75),rgba(12,78,170,0.75)),url('/img/bg.jpg');
    background-size: cover;
    background-position: center center;
    color: #fff;
    display: flex;
    align-items: center;
}

.ban-content {
    max-width: 760px;
}

    .ban-content h1 {
        font-size: 52px;
        line-height: 1.3;
        margin-bottom: 22px;
        letter-spacing: 1px;
    }

    .ban-content p {
        font-size: 19px;
        line-height: 1.8;
        opacity: 0.95;
        margin-bottom: 40px;
    }

.ban-btn-group {
    display: flex;
    gap: 24px;
}

.btn-solid {
    padding: 16px 38px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

    .btn-solid:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    }

.btn-empty {
    padding: 16px 38px;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

    .btn-empty:hover {
        background: #fff;
        color: var(--primary);
    }
/*通用区块标题样式*/
.sec-head {
    text-align: center;
    margin-bottom: 70px;
}

    .sec-head h2 {
        font-size: 36px;
        color: var(--dark);
        margin-bottom: 14px;
        position: relative;
        padding-bottom: 16px;
    }

        .sec-head h2::after {
            content: "";
            width: 70px;
            height: 4px;
            background: var(--primary);
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            border-radius: 3px;
        }

    .sec-head p {
        max-width: 680px;
        margin: 0 auto;
        color: var(--gray);
        font-size: 16px;
        line-height: 1.7;
    }
/*=====企业数据统计区块=====*/
.data-box {
    padding: 60px 0;
    background: var(--primary);
    color: #fff;
}

.data-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 30px;
    text-align: center;
}

.data-item h3 {
    font-size: 44px;
    margin-bottom: 10px;
    font-weight: bold;
}

.data-item p {
    font-size: 17px;
    opacity: 0.9;
}
/*=====工厂核心优势区块=====*/
.advantage {
    padding: 90px 0;
    background: #fafbfc;
}

.adv-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(270px,1fr));
    gap: 36px;
}

.adv-card {
    background: #fff;
    padding: 42px 30px;
    border-radius: 14px;
    box-shadow: 0 4px 22px rgba(22,119,255,0.08);
    transition: .3s;
}

    .adv-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 32px rgba(22,119,255,0.13);
    }

    .adv-card i {
        font-size: 48px;
        color: var(--primary);
        margin-bottom: 22px;
    }

    .adv-card h3 {
        font-size: 22px;
        margin-bottom: 14px;
        color: var(--dark);
    }

    .adv-card p {
        color: var(--gray);
        line-height: 1.7;
    }
/*=====热销产品板块=====*/
.home-product {
    padding: 90px 0;
    background: #fff;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
    gap: 34px;
}

.pro-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 24px #edf2fa;
    transition: .3s;
}

    .pro-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 14px 36px #dce6f5;
    }

    .pro-card img {
        width: 100%;
        height: 230px;
        object-fit: cover;
    }

.pro-info {
    padding: 26px;
}

    .pro-info h3 {
        font-size: 19px;
        margin-bottom: 12px;
        color: var(--dark);
    }

    .pro-info p {
        color: var(--gray);
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 14px;
        min-height: 48px;
    }

.tag span {
    font-size: 12px;
    padding: 3px 8px;
    background: var(--light);
    color: var(--primary);
    border-radius: 4px;
    margin-right: 6px;
}

.more-pro {
    text-align: center;
    margin-top: 60px;
}
/*=====工厂简介左右分栏大气区块=====*/
.about-home {
    padding: 90px 0;
    background: var(--light);
}

.about-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 55px;
    align-items: center;
}

.about-img, .about-text {
    flex: 1;
    min-width: 340px;
}

    .about-img img {
        width: 100%;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    }

    .about-text h3 {
        font-size: 32px;
        margin-bottom: 22px;
        color: var(--dark);
        position: relative;
        padding-bottom: 15px;
    }

        .about-text h3::after {
            content: "";
            width: 60px;
            height: 3px;
            background: var(--primary);
            position: absolute;
            left: 0;
            bottom: 0;
        }

    .about-text p {
        margin-bottom: 18px;
        color: var(--gray);
        font-size: 16px;
        line-height: 1.8;
    }
/*=====OEM定制服务通栏=====*/
.oem-area {
    padding: 90px 0;
    background: linear-gradient(120deg,#197fff,#0f6be8);
    color: #fff;
}

.oem-head {
    text-align: center;
    margin-bottom: 60px;
}

    .oem-head h2 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .oem-head p {
        opacity: 0.95;
        font-size: 17px;
        max-width: 700px;
        margin: 0 auto;
    }

.oem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 32px;
}

.oem-item {
    background: rgba(255,255,255,0.12);
    padding: 38px 26px;
    border-radius: 14px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

    .oem-item:hover {
        background: rgba(255,255,255,0.22);
    }

    .oem-item i {
        font-size: 42px;
        margin-bottom: 18px;
    }

    .oem-item h4 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .oem-item p {
        opacity: 0.9;
        font-size: 15px;
        line-height: 1.7;
    }
/*=====新闻资讯=====*/
.news-home {
    padding: 90px 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
    gap: 34px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px #f0f4fa;
}

    .news-card img {
        width: 100%;
        height: 210px;
        object-fit: cover;
    }

.news-text {
    padding: 26px;
    flex: 1;
}

    .news-text h4 {
        font-size: 19px;
        margin-bottom: 12px;
        color: var(--dark);
    }

    .news-text p {
        color: var(--gray);
        font-size: 15px;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
/*===== 全新美化：联系我们 =====*/
.contact-area {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef5ff 100%);
    position: relative;
}

.contact-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.con-left, .con-right {
    flex: 1;
    min-width: 330px;
}

.con-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.con-card {
    background: #fff;
    padding: 28px 30px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(22, 119, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

    .con-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(22, 119, 255, 0.12);
    }

    .con-card .icon {
        width: 56px;
        height: 56px;
        background: var(--light);
        color: var(--primary);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        flex-shrink: 0;
    }

    .con-card .text h4 {
        font-size: 19px;
        color: var(--dark);
        margin-bottom: 6px;
        font-weight: 60px;
    }

    .con-card .text p {
        font-size: 16px;
        color: var(--gray);
        margin: 0;
    }

.con-right {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(22, 119, 255, 0.1);
}

    .con-right h3 {
        font-size: 24px;
        color: var(--dark);
        margin-bottom: 26px;
        padding-bottom: 14px;
        position: relative;
    }

        .con-right h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
        }

    .con-right input,
    .con-right textarea {
        width: 100%;
        padding: 16px 20px;
        margin-bottom: 20px;
        border: 1px solid #e6eaf2;
        border-radius: 12px;
        font-size: 15px;
        background: #fafbfc;
        transition: 0.3s;
    }

        .con-right input:focus,
        .con-right textarea:focus {
            border-color: var(--primary);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.1);
            outline: none;
        }

    .con-right button {
        border: none;
        background: var(--primary);
        color: #fff;
        width: 100%;
        padding: 18px;
        border-radius: 12px;
        font-size: 17px;
        font-weight: 60px;
        cursor: pointer;
        transition: 0.3s;
    }

        .con-right button:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(22, 119, 255, 0.25);
        }
/*页脚统一*/
.footer {
    background: #1a1a1a;
    color: #b8b8b8;
    padding: 65px 0 25px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

    .footer-col h3 {
        color: #fff;
        font-size: 20px;
        margin-bottom: 24px;
        padding-bottom: 12px;
        border-bottom: 1px solid #333;
    }

    .footer-col ul {
        list-style: none;
    }

    .footer-col li {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-col a:hover {
        color: var(--primary);
    }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #333;
}
/*移动端自适应*/
@media(max-width:768px) {
    .nav-menu {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .banner {
        height: 480px;
    }

    .ban-content h1 {
        font-size: 32px;
    }

    .ban-btn-group {
        flex-wrap: wrap;
    }

    .sec-head h2 {
        font-size: 28px;
    }
}
/*页脚全局样式*/
.footer {
    background: #121212;
    color: #c2c2c2;
    padding: 70px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

    .footer-col h3 {
        color: #ffffff;
        font-size: 19px;
        margin-bottom: 26px;
        padding-bottom: 12px;
        position: relative;
    }

        .footer-col h3::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 42px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

    .footer-col ul {
        list-style: none;
    }

    .footer-col li {
        margin-bottom: 14px;
        font-size: 15px;
        transition: all 0.25s;
        color: #aaaaaa;
    }

        .footer-col li a {
            color: #aaa;
        }

        .footer-col li:hover {
            padding-left: 5px;
            color: var(--primary);
        }

        .footer-col li a:hover {
            color: var(--primary);
        }

.footer-bottom {
    text-align: center;
}

    .footer-bottom p {
        font-size: 15px;
        color: #808080;
    }
/*=====新增OEM定制案例区块【匹配截图样式】=====*/
.case-home {
    padding: 90px 0;
    background: #f8fbff;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(310px,1fr));
    gap: 36px;
}

.case-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 26px rgba(22,119,255,0.07);
    transition: 0.3s;
}

    .case-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 38px rgba(22,119,255,0.12);
    }

    .case-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        display: block;
    }

.case-info {
    padding: 30px;
}

    .case-info h3 {
        font-size: 21px;
        color: var(--dark);
        margin-bottom: 16px;
        font-weight: 500;
    }

    .case-info p {
        font-size: 15px;
        color: var(--gray);
        line-height: 1.7;
        margin-bottom: 20px;
    }

.case-tag {
    margin-bottom: 22px;
}

    .case-tag span {
        display: inline-block;
        font-size: 13px;
        padding: 5px 11px;
        background: var(--light);
        color: var(--primary);
        border-radius: 6px;
        margin-right: 7px;
        margin-bottom: 8px;
    }

.case-link {
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
}

    .case-link:hover {
        text-decoration: underline;
    }
 