/* ============================================
   谋成地坪 - CSS补丁（修复老CSS问题）
   加载在 style.css 之后，覆盖老CSS的坏样式
   ============================================ */

/* ===== 修复1：隐藏丑陋的客服浮动框 ===== */
.float-right-box,
.float-left-box,
.float_kefu,
.floatKF,
[class*="float_kf"],
[class*="float-kf"],
[id*="float"],
div[onclick*="Message"] {
    display: none !important;
}

/* ===== 修复2：导航栏所有菜单项都可见（不只在hover时显示） ===== */
#nav ul li .subnav {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background: #f8f8f8 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    border-radius: 4px !important;
    padding: 4px 0 !important;
}

/* 主导航li - 让所有项都横排显示 */
.navlist li {
    display: inline-block !important;
    list-style: none !important;
}

.navlist li a {
    color: #fff !important;
    display: inline-block !important;
    padding: 0 18px !important;
    line-height: 50px !important;
    text-decoration: none !important;
}

.navlist li.hover a,
.navlist li:hover a {
    color: #066c37 !important;
}

.navlist li.hover,
.navlist li:hover {
    background: #fadd15 !important;
}

/* ===== 修复3：丑的绿色电话+咨询按钮条 ===== */
.xunpan {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a8e 100%) !important;
    height: 90px !important;
    border-radius: 8px !important;
    margin: 20px auto !important;
    max-width: 1200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 40px !important;
    color: #fff !important;
}

.xunpan img { display: none !important; }

.xunpan .zixun {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.xunpan .zixun a {
    background: #ff6b35 !important;
    color: #fff !important;
    padding: 12px 32px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    line-height: 1 !important;
    height: auto !important;
    width: auto !important;
    display: inline-block !important;
}

.xunpan .zixun a:hover {
    background: #e55525 !important;
}

.xunpan .tel {
    color: #fff !important;
    font-size: 32px !important;
    font-weight: bold !important;
    position: static !important;
    line-height: 1 !important;
}

.xunpan strong {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

/* ===== 修复4：隐藏404的背景图（防止显示破图） ===== */
.floor_1_main,
.floor_4_main,
.floor_5_main,
.iabout,
.xunpan,
body,
.banner,
.index,
[class*="floor_"],
[class*="iabout"] {
    background-image: none !important;
}

/* ===== 修复5：关于页等子页面的nybanner 替换 ===== */
.nybanner {
    height: 200px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #1a365d !important;
}

/* ===== 修复6：侧边浮动留言框隐藏 ===== */
.leftkf,
.sidekf,
.kefu,
[class*="kefu"],
[class*="kfbox"],
.fixed-box,
#sideNav,
.widget-kefu {
    display: none !important;
}

/* ===== 修复7：浮动咨询弹窗、留言框隐藏 ===== */
.consult,
.consultation,
.consultBox,
.livechat,
.message-popup {
    display: none !important;
}

/* ===== 修复8：logo区域背景色 ===== */
.top_main {
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
}

.header_main {
    background: #f5f5f5 !important;
}

/* ===== 修复9：内页布局正常 ===== */
.sub_left {
    width: 200px !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    padding: 20px !important;
    border-radius: 4px !important;
}

.sub_right {
    background: #fff !important;
    padding: 30px !important;
    border: 1px solid #eee !important;
    border-radius: 4px !important;
}

/* ===== 修复10：导航二级菜单显示在第一级下面 ===== */
.nav_main {
    background: #1a365d !important;
    height: 50px !important;
    line-height: 50px !important;
}

#nav {
    text-align: center !important;
}

/* ===== 修复11：客服文字色 ===== */
.tel, .tel-no {
    color: #127a44 !important;
    font-weight: bold !important;
}

/* ===== 修复12：占位图片显示（防止破图标） ===== */
img[src*="icon.png"],
img[src*="navbg.jpg"],
img[src*="nav_line.png"],
img[src*="jtou.png"],
img[src*="sou.png"] {
    visibility: hidden !important;
}

/* ===== 修复13：所有宽屏布局适配 ===== */
.w1200 {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ===== 修复14（2026-08-07 GEO 整改）：区块标题 h3->h2 语义化，复用视觉 ===== */
.section-title h2 {
    font-size: 32px;
    color: #1a365d;
    margin-bottom: 12px;
    font-weight: bold;
}
.section-title h2 b { color: #e74c3c; }
.section.gray .section-title h2 { color: #fff; }
.section.gray .section-title h2 b { color: #ffd54f; }
.section-title h2 + p {
    font-size: 15px;
    color: #888;
    max-width: 700px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .section-title h2 { font-size: 20px; }
    .section-title h2 b { font-size: 22px; }
}
