/* ==========================================
   通用标题样式
   ========================================== */
.h2tit {
    text-align: center;
    margin-bottom: 30px;
}
.h2tit h2 {
    font-size: 32px;
    color: #2c3e50;
    margin: 0;
}

/* ==========================================
   区块1：产品中心
   ========================================== */
.ipro {
    padding: 50px 0;
}

/* Tab 导航按钮 */
.iproqh .tab-hd ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-wrap: wrap;
}
.iproqh .tab-hd li {
    padding: 10px 24px;
    background: #f0f2f5;
    color: #555;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}
.iproqh .tab-hd li.on,
.iproqh .tab-hd li:hover {
    background: #007cba;
    color: #fff;
}

/* Tab 内容面板 */
.ipro_info {
    display: none;
}

/* 产品卡片网格 */
.ipro_list ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
/* 平板：2 列 */
@media (max-width: 992px) {
    .ipro_list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 手机：1 列 */
@media (max-width: 600px) {
    .ipro_list ul {
        grid-template-columns: 1fr;
    }
}

/* 单个卡片 */
.ipro_list li {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.ipro_list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.ipro_list a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* 卡片图片 */
.ipro_list .picbox {
    height: 180px;
    overflow: hidden;
}
.ipro_list .picbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 卡片信息区 */
.ipro_list .info {
    padding: 15px;
    flex: 1;
}
.ipro_list h3 {
    font-size: 16px;
    margin: 0 0 8px;
    color: #2c3e50;
    line-height: 1.4;
}
.ipro_list hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #eee;
}

/* 卡片参数小标签 */
.ipro_list .params {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #666;
}
.ipro_list .params i {
    font-style: normal;
    background: #f5f7fa;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ==========================================
   区块2：解决方案（保持不变）
   ========================================== */
.isolution {
    padding: 50px 0;
    background: #f9fafc;
}
.isolution_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* 水平居中 */
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.isolution_list li {
    flex: 0 1 280px;          /* 允许收缩，基础宽度 280px */
    max-width: 350px;         /* 限制最大宽度，避免过宽 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.isolution_list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.isolution_list a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.isolution_list .picbox {
    height: 200px;
    overflow: hidden;
}
.isolution_list .picbox img {

    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.isolution_list li:hover .picbox img {
    transform: scale(1.05);
}
.isolution_list .info {
    padding: 20px;
}
.isolution_list h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #2c3e50;
}
.isolution_list p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   区块3：CRO 服务（左1/3 右2/3，强制等高）
   ========================================== */
.icro {
    padding: 50px 0;
}

/* 左右等高布局 */
.icroqh {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* 左侧菜单：占 1/3 宽度 */
.icroqh .tab-hd {
    flex: 0 0 33.33%;
    z-index: 1;
}

/* 右侧图片容器：占 2/3 宽度，高度完全跟随左侧 */
.icroqh .tab-bd {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    min-height: 0;               /* 移除可能的最小高度，让 flex 决定 */
}

/* 每张图片面板（绝对定位，覆盖整个右侧区域） */
.icroimg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 12px;
    overflow: hidden;
}
.icroimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 左侧菜单列表 */
.icroqh .tab-hd ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 菜单项：强制等高的关键设置 */
.icroqh .tab-hd li {
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    background: #f5f7fa;
    min-height: 80px;           /* 统一最小高度，防止文字量不同导致高度参差 */
    display: flex;
    align-items: center;         /* 内容垂直居中，进一步保证等高 */
}
.icroqh .tab-hd li.on,
.icroqh .tab-hd li:hover {
    background: #007cba;
    color: #fff;
}
.icroqh .tab-hd li.on a,
.icroqh .tab-hd li:hover a {
    color: #fff;
}

/* 菜单内的链接，使其填满 li */
.icroqh .tab-hd a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/* 序号样式 */
.icroqh .tab-hd i {
    flex-shrink: 0;
    width: 40px;
    font-size: 28px;
    font-weight: bold;
    font-style: normal;
    line-height: 1.1;
    margin-right: 15px;
    color: inherit;
}

/* 文字区域 */
.icroqh .tab-hd .text-wrap {
    flex: 1;
}
.icroqh .tab-hd h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
}
.icroqh .tab-hd p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

/* 移动端：恢复上下布局，取消强制最小高度 */
@media (max-width: 992px) {
    .icroqh {
        flex-direction: column;
    }
    .icroqh .tab-hd,
    .icroqh .tab-bd {
        flex: auto;
        width: 100%;
    }
    .icroqh .tab-bd {
        min-height: 0;
        position: static;
        box-shadow: none;
        border-radius: 0;
    }
    .icroimg {
        position: static;
        height: auto;
        border-radius: 0;
    }
    .icroimg img {
        height: auto;
        object-fit: contain;
    }
    .icroqh .tab-hd li {
        min-height: 0;           /* 移动端不强制最小高度 */
    }
}