/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFangSC-Regular", sans-serif;
}

html, body {
    color: #333;
    background: #fff;
    font-size: 14px;
}

/* Flex布局通用类 */
.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.justify-between {
    justify-content: space-between;
}
 
.justify-end {
    justify-content: flex-end;
}

/* 页面容器 */
.page {
  /* 核心：设置网页最大宽度为 1920px max-width: 1920px;*/
    
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
}

/* 内容版心（保持 1350px 居中，和之前的标准一致） */
.container {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 15px 15px 0;
  box-sizing: border-box;
}

/* box_1 和 box_2 样式 - 确保占满容器宽度 */
.box_1 {
    width: 100%;
}

.box_2 {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* 图片通用样式 */
img {
    max-width: 100%;
    height: auto;
    border: none;
    vertical-align: middle;
}

/* 顶部导航（仅悬停显示下划线） */
.box_3 {
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    width: 100%;
    max-width: 1350px; /* 限制整体宽度为 1350px */
    margin: 0 auto; /* 居中显示 */
}

.image_1 { /* logo */
    height: 40px;
    margin-right: 30px;
}

/* 导航链接容器样式 - 靠右显示 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px; /* 导航项之间的间距 */
    margin-left: auto; /* 关键：自动右边距，让导航栏靠右 */
}

/* 导航文字核心样式：放大+统一悬停下划线 */
.box_3 span {
    margin: 0 15px;
    font-size: 16px !important; /* 字号放大 */
    color: #333;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}
/* 关键：强制 box_4 宽度和 page 一致，保证灰色线完整 */
.box_4 {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto; /* 居中，和 page 对齐 */
    border-bottom: 1px solid #eee; /* 灰色长线（如果原来没加，就加上） */
    height: 0; /* 仅显示边框，不占额外高度 */
    box-sizing: border-box;
}
/* 所有导航文字的下划线（默认隐藏） */
.box_3 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; /* 默认宽度0，隐藏下划线 */
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease-in-out;
}

/* 所有导航项悬停效果（包括首页） */
.box_3 span:hover {
    color: #0066cc !important; /* 文字变蓝 */
}
.box_3 span:hover::after {
    width: 100%; /* 悬停时下划线展开 */
}

/* 首页专属样式：仅文字变蓝加粗，无默认下划线 */
.text_1 {
    color: #0066cc !important; /* 首页文字固定蓝 */
    font-weight: bold;
}
/* 取消首页默认下划线（关键！） */
.text_1::after {
    width: 0 !important; /* 默认不显示 */
}
/* 首页悬停时才显示下划线 */
.text_1:hover::after {
    width: 100% !important; /* 悬停展开 */
}

/* Banner 区域：组合图片 */
.box_5 {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    margin-bottom: 0px;
}

.banner-combined-img {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    position: relative;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    margin: 0;
    object-fit: contain;
}

/* ========== 通栏背景样式（核心：实现蓝色背景无限延伸） ========== */
.full-bg-blue {
    width: 100vw !important; /* 关键：用视口宽度vw，100vw = 浏览器可视区域宽度 */
    background-color:rgba(9, 123, 255, 0.06) !important;
    margin: 0 calc(-50vw + 50%) !important; /* 核心：负外边距抵消居中容器的限制，左右无限延伸 */
    padding: 0 !important;
    /* 可选：确保元素布局不影响其他元素 */
    box-sizing: border-box !important; /* 防止padding/border撑宽元素 */
    position: relative !important; /* 兼容部分布局场景 */
}
/* ========== 统一所有模块间距（调整后，适配通栏背景） ========== */
/* 热门产品/解决方案/核心优势 模块容器统一间距 */
.box_8, .box_10, .box_11 {
    margin: 0 !important; /* 取消box_8的上下外边距（通栏背景已占满，不用再留margin） */
    padding: 30px 0 !important; /* 上下内边距，让背景完整包裹内容，避免贴边 */
}

/* 模块内容区内边距（仅控制内容与标题的间距，不影响模块间间距） */
.box_8 .list_2,      /* 热门产品列表 */
.box_10,             /* 解决方案内容 */
.box_11 .group_2 {   /* 核心优势列表 */
    padding: 0 0 20px 0 !important; /* 仅保留底部内边距，避免顶部叠加 */
}
/* ========== 标题栏统一样式（仅布局，不控间距） ========== */
.block_1, .box_9, .group_1 {
    display: flex; /* 强制flex布局 */
    align-items: center;
    justify-content: center; /* 标题+装饰线居中 */
    margin: 20px !important; /* 清除标题栏上下间距（由模块容器统一控制） */
    padding: 0 0 20px 0 !important; /* 标题栏与内容的底部间距，统一20px */
}

/* 统一所有标题文字样式 */
.text_7, .text_10, .text_13 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 25px !important; /* 强制生效 */
    line-height: 42px;
    font-weight: bold !important; /* 强制加粗 */
    color: #000;
    margin: 0 20px;
}

/* 标题装饰线：单侧渐变短线 */
.line-left, .line-right {
    height: 2px;
    flex: 0 0 150px; /* 固定短线长度 */
    opacity: 0.4;
}

.line-left {
    background: linear-gradient(to right, transparent, #ccc);
    margin-right: 30px;
    align-self: center;
}

.line-right {
    background: linear-gradient(to right, #ccc, transparent);
    margin-left: 30px;
    align-self: center;
}

/* ========== 热门产品区 ========== */
.box_8 {
    
}

.list_2 { /* 产品列表 */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.list-items_1-0, .list-items_1-1, .list-items_1-2, .list-items_1-3 {
    width: 23%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
}

.image_4-0, .image_5-1, .image_4-2, .image_5-3 { /* 产品图片 */
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.text_8-0, .text_8-1, .text_8-2, .text_8-3 { /* 产品名称 */
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.text_9-0, .text_9-1, .text_9-2, .text_9-3 { /* 产品简介 */
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ========== 解决方案区 ========== */
.box_10 { /* 解决方案内容 */
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.separator { /* 分隔线 */
    width: 2px;
    background: #eee;
}

.block_2, .block_3 { /* 解决方案卡片 */
    width: 48%;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.text_11, .text_12 { /* 方案标题 */
    font-size: 18px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 15px;
}

.paragraph_2, .paragraph_3 { /* 方案简介 */
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.image_8, .image_10 { /* 方案图片 */
    width: 100%;
    height: auto;
}

/* ========== 核心优势区 ========== */
.box_11 {
    
}

.group_2 { /* 优势列表 */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box_12, .box_13, .box_14, .box_15 { /* 优势项 */
    width: 23%;
    padding: 25px;
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-direction: row !important; /* 仅加这行，强制横向排列，其他代码全保留 */
    /* 原有代码（宽度、padding、背景色等）全部保留，不删不改 */

}

.box_12 { background: #0066cc; } /* 专业 */
.box_13 { background: #33cccc; } /* 品质 */
.box_14 { background: #00cc99; } /* 全面 */
.box_15 { background: #6666cc; } /* 及时 */

.image_13, .image_14, .image_15, .image_16 { /* 优势图标 */
    width: 40px;
    height: 40px;
}

.text_14, .text_16, .text_18, .text_20 { /* 优势标题 */
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.text_15, .text_17, .text_19, .text_21 { /* 优势简介 */
    font-size: 14px;
    opacity: 0.9;
    text-align: center;
}

/* ========== 页脚（高度110px） ========== */
.box_16 {
    background: rgba(229, 229, 229, 0.5); /* rgba(红,绿,蓝,不透明度)，0.5=半透明 */
    padding: 15px 0;
    margin-top: 0px !important; /* 与核心优势模块间距统一为30px */
    width: 100%;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 内容垂直居中 */
}

/* 页脚导航居中 */
.text-wrapper_1 {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    max-width: 1350px;
    margin: 0 auto 5px;
    padding: 0 10px;
}

/* 联系方式居中 */
.group_3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 10px;
}

.image-text_2, .image-text_3 { /* 电话/邮箱 */
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 页脚图标 */
.thumbnail_1, .thumbnail_2, .thumbnail_3 {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 3px;
}

/* 页脚文字样式 */
.box_16 span {
    color: #000000 !important;
    font-size: 13px;
}

/* 页脚分隔线 */
.box_17, .box_18 {
    width: 1px;
    height: 14px;
    background: #b4b4b4;
    margin: 0 8px;
}

/* 版权信息居中 */
.text-wrapper_2 {
    display: flex;
    justify-content: center;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 10px;
}

/* 页脚导航文字间距 */
.text_22, .text_23, .text_24, .text_25 {
    margin: 0 10px;
}

/* ========== 移动端响应式适配 ========== */
@media screen and (max-width: 768px) {
    /* 页面容器调整 */
    .page {
        padding: 0;
       width: 100%;
    }
    
    /* 内容版心：手机端取消固定宽度限制 */
    .container {
       max-width: 100%;
        padding: 15px 10px 0;
       width: 100%;
    }
    
    /* 顶部导航适配 */
    .box_3 {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
       width: 100%;
    }
    
    .image_1 {
        height: 30px;
       margin-right: 0;
       margin-bottom: 10px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
       width: 100%;
        justify-content: center;
    }
    
    .box_3 span {
      font-size: 14px !important;
       margin: 0 8px;
    }
    
    /* 灰色分隔线适配 */
    .box_4 {
       width: 100% !important;
       max-width: 100% !important;
    }
    
    /* Banner 区域适配：关键修复 */
    .box_5 {
        height: auto;
        position: relative;
        overflow: hidden;
       width: 100%;
    }
    
    .banner-combined-img {
       width: 100% !important;
        height: auto !important;
        position: relative;
        left: 0;
        transform: none;
        object-fit: contain;
       max-width: 100%;
    }
    
    /* 标题字体缩小 */
    .text_7, .text_10, .text_13 {
      font-size: 20px !important;
        line-height: 32px;
    }
    
    .block_1, .box_9, .group_1 {
        padding: 0 0 15px 0 !important;
       margin: 15px !important;
       width: 100%;
    }
    
    .line-left, .line-right {
        flex: 0 0 80px;
       margin: 0 10px;
    }
    
    /* 产品列表：手机端改为每行 2 个或 1 个 */
    .list_2 {
       width: 100%;
    }
    
    .list-items_1-0, .list-items_1-1, .list-items_1-2, .list-items_1-3 {
       width: 48%;
       margin-bottom: 15px;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .image_4-0, .image_5-1, .image_4-2, .image_5-3 {
        height: 150px;
       margin-bottom: 10px;
    }
    
    .text_8-0, .text_8-1, .text_8-2, .text_8-3 {
      font-size: 14px;
       margin-bottom: 8px;
    }
    
    .text_9-0, .text_9-1, .text_9-2, .text_9-3 {
      font-size: 11px;
    }
    
    /* 解决方案：手机端改为单列 */
    .box_10 {
        flex-direction: column;
        gap: 15px;
       width: 100%;
    }
    
    .block_2, .block_3 {
       width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .separator {
       width: 100%;
        height: 2px;
       margin: 10px 0;
    }
    
    .text_11, .text_12 {
      font-size: 16px;
       margin-bottom: 10px;
    }
    
    /* 核心优势：手机端改为单列 */
    .group_2 {
        flex-direction: column;
       width: 100%;
    }
    
    .box_12, .box_13, .box_14, .box_15 {
       width: 100%;
        padding: 15px;
       margin-bottom: 10px;
        flex-direction: row !important;
        justify-content: flex-start;
        box-sizing: border-box;
    }
    
    .image_13, .image_14, .image_15, .image_16 {
       width: 30px;
        height: 30px;
    }
    
    .text_14, .text_16, .text_18, .text_20 {
      font-size: 16px;
    }
    
    .text_15, .text_17, .text_19, .text_21 {
      font-size: 13px;
        text-align: left;
    }
    
    /* 页脚适配 */
    .box_16 {
        height: auto;
        padding: 20px 10px;
       width: 100%;
    }
    
    .text-wrapper_1 {
        flex-direction: column;
        align-items: center;
        gap: 8px;
       width: 100%;
    }
    
    .group_3 {
        flex-direction: column;
        gap: 8px;
       width: 100%;
    }
    
    .box_17, .box_18 {
        display: none;
    }
    
    .text_22, .text_23, .text_24, .text_25 {
       margin: 5px 0;
    }
    
    /* 通栏背景适配 */
    .full-bg-blue {
       width: 100% !important;
       margin: 0 !important;
    }
    
    /* 右下角联系按钮适配：手机端调整位置和大小 */
    .contact-buttons {
        bottom: 10px !important;
        right: 10px !important;
    }
    
    .contact-button a {
       width: 40px !important;
        height: 40px !important;
      font-size: 18px !important;
    }
    
    .contact-tooltip {
        left: -150px !important;
        min-width: 140px !important;
      font-size: 13px !important;
    }
}

/* 超小屏幕（小于 480px）进一步优化 */
@media screen and (max-width: 480px) {
    .list-items_1-0, .list-items_1-1, .list-items_1-2, .list-items_1-3 {
        width: 100%;
    }
    
    .text_7, .text_10, .text_13 {
        font-size: 18px !important;
        line-height: 28px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .box_3 span {
        font-size: 13px !important;
        margin: 0 5px;
    }
}

/* ========== 公司资质模块样式 ========== */
.certification-section {
    margin-top: 40px;
    padding: 30px 0;
}

.cert-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.cert-header h2 {
    font-size: 24px;
    color: #0066cc;
    font-weight: bold;
    margin: 0 20px;
}

.line-left, .line-right {
    width: 60px;
    height: 2px;
    background: #0066cc;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 列 */
    gap: 20px;
    max-width: 1350px;
    margin: 0 auto;
}

.cert-item {
    width: 100%;
    height: 200px; /* 固定高度，确保图片有足够空间 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cert-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* 完整显示，不裁剪 */
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .cert-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .cert-item {
        height: 150px; /* 移动端固定高度 */
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-header h2 {
        font-size: 20px;
    }
}