@charset "utf-8";
*{margin:0;padding:0;box-sizing:border-box;font-family:"Microsoft Yahei",sans-serif;}
ul,li{list-style:none;}
a{text-decoration:none;color:#333;}
.container{width:1600px;margin:0 auto;max-width:100%;padding:0 15px;}

/* 电脑端头部，完全保持原样 */
.header-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 0;
}
.header-left{
    display:flex;
    align-items:center;
    gap:30px;  /* LOGO 和标语间距30px */
    flex-shrink:0;
}
.logo img{
    height:70px;
}
.header-center{
    flex-shrink:0;
}
.header-center .title-blue{
    font-size:22px;
    color:#1aa0e6;
}
.header-center .desc-gray{
    font-size:16px;
    color:#888;
}
.header-hotline {
    display: flex;
    align-items: center;
    gap:10px;
    flex-shrink:0;
}
.hotline-icon img {
    width:32px;
    height:32px;
    display:block;
}
.hotline-text .hotline-txt{
    font-size:18px;
    color:#666;
}
.hotline-text .hotline-num{
    font-size:18px;
    font-weight:bold;
    color:#ff6600;
}


/* 导航栏（电脑端）【增加吸顶】 */
.nav{
    background:#222;
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-wrap{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
}
.nav-menu{
    display:flex;
    align-items:center;
}
.nav a{
    display:block;
    color:#fff;
    padding:15px 35px;
    font-size:16px;
    text-decoration: none;
    transition: background 0.25s ease;
}
.nav a.active{
    background:#0088ee;
}
.nav a:hover{
    background:#0088ee;
}

.nav .en-name {
    margin-left: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}
.nav .en-yihai {
    color: #1aa0e6;
}
.nav .en-ballscrews {
    background: linear-gradient(to bottom, #c8d6e4 0%, #7f94ab 45%, #364a5f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* ========== 手机端头部：白色背景，左LOGO，右汉堡 ========== */
.mobile-header{
    display:none;
    background:#fff;
    padding:12px 15px;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:999;
    transition: box-shadow 0.3s ease;
}
.mobile-header.scrolled{
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}


.mobile-header .logo img{
    height:54px;
}
.mobile-header .hamburger{
    width:44px;
    height:44px;
    background:none;
    border:none;
    color:#222;
    font-size:26px;
    cursor:pointer;
}

/* 手机全屏悬浮菜单遮罩 */
.mobile-menu-mask{
    display:none;
    position:fixed;
    inset:0;
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,0.5);
    z-index:9999;
}
.mobile-menu-mask.open{
    display:block;
}

/* 菜单内容 */
.mobile-menu-box{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    background:#222;
    padding:14px 15px;
}

/* 菜单顶部：左侧留白，右侧关闭按钮 */
.mobile-menu-top{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding-bottom:12px;
    border-bottom:1px solid #333;
}
.mobile-close{
    width:40px;
    height:40px;
    background:none;
    border:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
    line-height:1;
}

/* 菜单列表 */
.mobile-menu-list{
    padding-top:10px;
}
.mobile-menu-list a{
    display:block;
    color:#fff;
    padding:14px 0;
    font-size:16px;
    border-bottom:1px solid #333;
}
.mobile-menu-list a.active{
    color:#1aa0e6;
}

/* 轮播 */
.banner{position:relative;width:100%;overflow:hidden;}
.banner-track{display:flex;transition:transform 0.6s ease;}
.banner-slide{flex:0 0 100%;position:relative;}
.banner-slide img{width:100%;display:block;}
.banner-text{position:absolute;top:20%;left:0;width:100%;text-align:center;color:#fff;}
.banner-text h1{font-size:28px;color:#ffb822;margin-bottom:20px;letter-spacing:2px;}
.banner-feature{display:flex;justify-content:center;gap:20px;margin-top:30px;flex-wrap:wrap;}
.feature-item{width:160px;text-align:center;color:#fff;}
.feature-item img{width:140px;border:2px solid #fff;padding:4px;background:#fff;}
.feature-item p{margin-top:8px;font-size:15px;}
.banner-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;background:rgba(0,0,0,0.4);color:#fff;text-align:center;line-height:40px;font-size:16px;cursor:pointer;z-index:2;}
.arrow-left{left:10px;}
.arrow-right{right:10px;}
.banner-dots{position:absolute;bottom:15px;width:100%;display:flex;justify-content:center;gap:8px;z-index:2;}
.dot{width:12px;height:12px;border-radius:50%;background:#fff5;cursor:pointer;}
.dot.active{background:#ff6600;}

/* 三栏内容区 */
.box-row {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
	margin: 30px 0;
    flex-wrap: wrap;
}
.col-item {
    flex: 1;
    min-width: 280px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    overflow: hidden;
}
.col-top-bar {
    height: 3px;
    background-color: #1aa0e6;
}
.col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #fff;
}
.col-title {
    font-size: 18px;
    color: #1aa0e6;
    font-weight: bold;
}
.more-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}
.more-link:hover {
    color: #0088ee;
}

.col-content {
    padding: 15px;
}
.col-img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    display: block;
}
.col-text {
    font-size: 16px;
    line-height: 2.1;
    color: #333;
	text-indent:2em;
}
.prod-buttons {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.prod-btn {
    display: inline-block;
    padding: 8px 16px 8px 40px;
    background: #f1f1f1;
    border: 1px #CCCCCC solid;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    background-image: url("../images/cpjs_d2.png");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 25px;
}
.prod-btn:hover {
    background-color: #e8e8e8;
    color: #000;
}
.qa-item {
    margin-bottom: 14px;
    padding-left: 30px;
    position: relative;
    background: none;
    background-repeat: no-repeat;
    background-position: 0 center;
    background-size: 22px 22px;
}
.qa-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.qa-q::before {
    background-image: url("../images/qa_1.png");
}
.qa-a::before {
    background-image: url("../images/qa_2.png");
}
.qa-link {
    font-size: 16px;
    color: #1aa0e6;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.25s ease;
}
.qa-link:hover {
    color: #0088ee;
}
.qa-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



/* 蓝色标语块 */
.slogan-block{ background:url(../images/bg22.jpg) no-repeat center; background-color:#0099dd;color:#fff;padding:50px 0;text-align:center;}
.slogan-block h3{font-size:30px;margin-bottom:22px; font-weight:normal;}
.slogan-block p{font-size:16px;line-height:1.7;}

/*联系区域灰色背景 */
.contact-bg {
    background: #f1f1f1; /* 浅灰，想要更浅换成 #f5f5f5 */
    width: 100%;
    padding: 40px 0;
}
/* 内部版心居中，保持你原来的宽度 */
.contact-wrap {
    width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

/* 底部联系区域 */
.contact-wrap{
    padding:60px 0;
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}
.contact-left{
    flex:1;
    min-width:280px;
}
.contact-left h3{font-size:24px; color:#333333; margin-bottom:15px; font-weight:normal;}
.contact-left h4{font-size:14px; color:#666666;margin-bottom:15px; font-weight:normal;}
.contact-left p{font-size:14px;line-height:2.1;color:#444;}
.contact-left .hotline{color:#f60;font-size:20px;font-weight:bold;margin:10px 0;}
.form-box{
    flex:1;
    min-width:280px;
}
.form-box h3{font-size:24px; color:#333333; margin-bottom:15px; font-weight:normal;}
.form-box h4{font-size:14px; color:#666666;margin-bottom:15px; font-weight:normal;}
.form-item{margin-bottom:8px;}
.form-item input{width:100%;box-sizing:border-box;padding:6px;border:1px solid #ccc;font-size:13px;}
.form-item textarea{width:100%;box-sizing:border-box;height:80px;padding:6px;border:1px solid #ccc;font-size:13px;resize:none;}
.submit-btn{width:100%;background:#0088ee;color:#fff;border:none;padding:8px 0;cursor:pointer;}
.qr-box{
    flex:1;
    min-width:280px;
    display:flex;
    gap:30px;
    align-items:flex-start;
    justify-content:center;
}
.qr-item{
    text-align:center;
}
.qr-item > img{
    width:158px;
    height:158px;
    display:block;
	border:10px #FFFFFF solid;
}
.qr-label{
    position:relative;
    width:158px;
    line-height:35px;
    color:#fff;
    font-size:14px;
    text-align:center;
    border-radius:0 0 8px 8px;
    margin-top:14px;
}
.qr-label.blue{
    background:#0088ee;
}
.qr-label.green{
    background:#28a745;
}
.qr-label::before{
    content:"";
    position:absolute;
    left:50%;
    top:-10px;
    transform:translateX(-50%);
    width:0;
    height:0;
    border-left:12px solid transparent;
    border-right:12px solid transparent;
}
.qr-label.blue::before{
    border-bottom:10px solid #0088ee;
}
.qr-label.green::before{
    border-bottom:10px solid #28a745;
}

/* 顶部通栏banner */
.about-banner{
    width:100%;
    height:240px;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;
}
.about-banner .wrap{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;    /* 上下居中 */
    align-items:flex-start;    /* 水平靠左 */
    padding-left:20px;
}
.about-banner h1{
    font-size:42px;
    color:#ff6600;
    font-weight:bold;
    margin-bottom:8px;
}
.about-banner p{
    font-size:24px;
    color:#333;
    letter-spacing:2px;
}



/* 公司简介 */
.about-container{
    padding:60px 0;
    display:flex;
    gap:40px;
    align-items:flex-start;
}
.about-text{
    flex:1;
    color:#555;
    font-size:16px;
    line-height:1.8;
}
.about-text p{
    margin-bottom:16px;
    text-indent:2em;
}
.about-img-box{
    width:480px;
}
.about-img-box img{
    width:100%;
    height:auto;
    object-fit:cover;
}

/* 产品介绍 */
.pro-top{
    padding:40px 0;
    display:flex;
    gap:30px;
}
.pro-top-left{
    width:425px;
}
.pro-top-left img{
	border:1px #CCCCCC solid;
}
.pro-top-right{
    flex:1;
}
.pro-top-right p{
    font-size:16px;
    line-height:1.8;
    color:#555;
    margin-bottom:16px;
}
.pro-model-list{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:12px;
}
.pro-model-list span{
    display:block;
    padding:10px 8px;
    background:#f0f4f8;
    text-align:center;
    font-size:14px;
    color:#333;
    border-radius:2px;
}

/* 模块标题 蓝色标签，和你网站样式统一 */
.section-bar{
    width:100%;
    display:flex;
    align-items:center;
    background:#f0f0f0;  /* 右侧空白区域灰色 */
    margin-bottom:20px;
}
.section-title{
    font-size:20px;
    color:#fff;
    background:#0078d7;
    display:inline-block;
    padding:6px 16px;
}
.feat-box{
    padding-bottom:40px;
}
.feat-item{
    margin-bottom:14px;
}
.feat-item h3{
    font-size:18px;
    color:#333;
    margin-bottom:6px;
}
.feat-item p{
    font-size:14px;
    line-height:1.7;
    color:#555;
}

/* 图纸区域 */
.drawing-box{
    padding-bottom:40px;
}
.drawing-row{
    display:flex;
    gap:5px;
    align-items:center;
}
.drawing-item{
    flex:1;
    text-align:left;
}

/* 参数表格区域 */
.table-box{
    padding-bottom:60px;
    overflow-x:auto;
}
.param-table{
    width:100%;
    border-collapse:collapse;
    min-width:900px;
}
.param-table th,
.param-table td{
    border:1px solid #ddd;
    padding:7px 4px;
    font-size:12px;
    text-align:center;
    color:#444;
}
.param-table th{
    background:#f2f6fa;
    font-weight:bold;
}

/* 常见问题 */
.question-container {
    padding:40px 20px;
}
.question-wrap {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px dashed #cccccc;
}
/* 左侧蓝色编号块 */
.num-box {
    width: 80px;
    flex-shrink: 0;
}
.num-top {
    background: #0090e8;
    color: #fff;
    font-size: 30px;
    text-align: center;
    line-height: 1.2;
    padding: 6px 0;
}
.num-bottom {
    background: #0090e8;
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 3px 0;
    border-top: 1px solid #ffffff;
}
/* 右侧文字区域 */
.text-area {
    flex: 1;
}
.text-area h3 a {
    font-size: 18px;
    color: #222222;
    margin: 0 0 10px 0;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.text-area h3 a:hover {
    color: #1aa0e6;
}
.text-area p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章详情 */
.article-wrap {
    background: #ffffff;
    padding:60px 20px;
}
.article-title {
    text-align: center;
    font-size: 26px;
    color: #222;
    margin-bottom: 12px;
    font-weight: bold;
}
.article-time {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}
.article-content p {
    font-size: 15px;
    color: #333;
    line-height: 1.75;
    margin-bottom: 14px;
    text-indent: 2em;
}
.article-content p.no-indent {
    text-indent: 0;
}


/* 联系我们 */
        .contact-box {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            padding: 80px 16px;
            flex-wrap: wrap;
        }
        /* 左侧图片 */
        .contact-img {
            max-width: 380px;
            width: 100%;
        }
        .contact-img img {
            width: 100%;
            height: auto;
            display: block;
        }
        /* 中间文字信息 */
        .contact-info {
            flex: 1;
            min-width: 260px;
        }
        .contact-info h2 {
            font-size: 24px;
            color: #222;
            margin-bottom: 10px;
            font-weight: bold;
        }
        .contact-info p {
            font-size: 14px;
            color: #444;
            line-height: 2.0;
        }
        /* 右侧二维码 */
        .contact-qrcode {
            text-align: center;
        }
        .contact-qrcode img {
            width: 200px;
            height: auto;
            display: block;
            margin: 0 auto 12px;
        }
        .contact-qrcode span {
            font-size: 14px;
            color: #444;
        }


/* 版权 */
.footer-copyright {
    background:#222;
    color:#aaa;
    text-align:center;
    padding:32px 15px 32px 15px;
    padding-right: 70px; /* 给右侧腾出空间，避开返回顶部按钮 */
    font-size:14px;
    line-height:1.8;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:4px;
	word-break: keep-all;
}
.footer-copyright a {
    color:#aaa;
}
.footer-copyright a:hover {
    color:#0088ee;
}


@media (max-width:992px) {
    .contact-box {
        gap: 24px;
    }
    .contact-info h2 {
        font-size: 28px;
    }
    .contact-info p {
        font-size: 17px;
    }
    .contact-qrcode img {
        width: 180px;
    }
}


/* ========== 平板适配 769px ~ 1024px ========== */
@media (max-width:1024px){
    .header-center .title-blue{font-size:26px;}
    .header-center .desc-gray{font-size:18px;}
    .company-text h2{font-size:28px;}
    .hotline-number{font-size:22px;}
    .nav a{padding:14px 22px;font-size:15px;}
    .prod-buttons{grid-template-columns:1fr 1fr;}
    .slogan-block h3{font-size:24px;}
	
    .about-banner .wrap{
        width:92%;
    }
	
	.pro-top{
        flex-direction:column;
    }
    .pro-top-left{
        width:100%;
    }
    .drawing-row{
        flex-wrap:wrap;
    }
    .drawing-item{
        width:48%;
        flex:none;
    }
}

/* ========== 手机端适配 <768px ========== */
@media (max-width:768px){
    /* 隐藏电脑端头部 */
    .header-top{display:none !important;}

    /* 显示手机端白色头部 */
    .mobile-header{display:flex;}

    /* 电脑端黑色导航隐藏 */
    .nav{display:none !important;}

    /* 手机端：关于我们板块隐藏图片 */
    .about-col .col-img{
        display: none;
    }

    /* 联系板块：左右留白，隐藏二维码 */
    .contact-wrap{
        padding:30px 15px;
    }
    .qr-box{
        display:none !important;
    }
    .contact-left,.form-box{
        flex:0 0 100%;
    }
	
	.about-banner{
        height:160px;
    }
    .about-banner .wrap{
        width:92%;
    }
    .about-banner h1{
        font-size:28px;
    }
    .about-banner p{
        font-size:16px;
    }
    .about-container{
        width:92%;
        padding:30px 0;
        flex-direction:column;
    }
    .about-img-box{
        width:100%;
        margin-top:20px;
    }
    .about-text{
        font-size:15px;
    }
	
	.pro-top{
        flex-direction:column;
        padding:25px 0;
    }
    .pro-top-left{
        width:100%;
    }
    .pro-top-left img{
        width:100%;
		border:0;
    }
    .pro-model-list{
        grid-template-columns:repeat(2,1fr);
    }
    .drawing-row{
        flex-direction:column;
    }
    .drawing-item{
        width:100%;
    }
    .section-title{
        font-size:17px;
        padding:5px 12px;
    }
    .question-wrap {
        gap:12px;
        padding:20px 0;
    }
    .num-box {
        width:70px;
    }
    .num-top {
        font-size:24px;
    }
    .num-bottom {
        font-size:12px;
    }
    .text-area h3 {
        font-size:18px;
    }
    .text-area p {
        font-size:12px;
    }

    .article-wrap {
        padding: 20px;
    }
    .article-title {
        font-size: 22px;
    }
    .article-content p {
        font-size: 14px;
        line-height: 1.7;
    }
	
    .contact-box {
        flex-direction: column;
        gap: 20px;
        padding: 20px 16px;
    }
    .contact-img {
        max-width: 360px;
    }
    .contact-info {
        text-align: center;
    }
    .contact-info h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    .contact-info p {
        font-size: 16px;
        line-height: 2;
    }
    .contact-qrcode img {
        width: 160px;
    }
    .contact-qrcode span {
        font-size: 16px;
    }		
	
    .banner-text h1{font-size:20px;}
    .feature-item{width:120px;}
    .banner-arrow{width:32px;height:32px;line-height:32px;font-size:14px;}

    .box-row{margin:20px 0;}
    .col-item{flex:0 0 100%;}
    .prod-buttons{grid-template-columns:1fr;}

    .slogan-block{padding:30px 0;}
    .slogan-block h3{font-size:20px;margin-bottom:12px;}
    .slogan-block p{font-size:14px;}
	
	.footer-copyright{
        padding:20px 15px 20px 15px;
        padding-right:75px; /* 手机端右侧留白更大一点 */
        font-size:13px;
        line-height:1.7;
    }
	
	.contact-bg {
        padding: 40px 0;
    }
    .contact-wrap {
        width: 100%;
        padding: 0 15px;
        flex-direction: column;
    }
}
/* ========== 手机适配 480px以下 ========== */
@media (max-width:480px) {
    .question-wrap {
        gap:10px;
        padding:16px 0;
    }
    .num-box {
        width:60px;
    }
    .num-top {
        font-size:28px;
    }
    .num-bottom {
        font-size:13px;
    }
    .text-area h3 {
        font-size:18px;
    }
    .text-area p {
        font-size:14px;
    }
	
    .article-wrap {
        padding: 16px;
    }
    .article-title {
        font-size: 19px;
    }
    .article-content p {
        font-size: 13px;
    }
}


/* 返回顶部 */
.back-top{
    position:fixed;
    right:20px;
    bottom:20px;
    width:44px;
    height:44px;
    background:#0088ee;
    color:#fff;
    text-align:center;
    line-height:44px;
    border-radius:50%;
    font-size:12px;
    cursor:pointer;
    z-index:998;
    opacity:0;
    visibility:hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.back-top.show{
    opacity:1;
    visibility:visible;
}
.back-top:hover{
    background:#0077dd;
}