/* ==================== 全局重置 ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
    line-height: 1.7;
}

a { text-decoration: none; color: #004098; transition: color 0.2s; }
a:hover { color: #e60012; }
img { max-width: 100%; border: 0; display: block; }
ul, ol { list-style: none; }

.wrap { width: 1200px; margin: 0 auto; }
.clearfix::after { content: ''; display: block; clear: both; }

/* ==================== 顶部条 ==================== */
.top-bar {
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #666;
}
.top-bar .wrap { display: flex; justify-content: space-between; }
.top-bar .hotline { color: #e60012; font-weight: bold; }
.top-bar .hotline span { font-size: 16px; }
.top-bar .links a { margin-left: 15px; color: #666; }

/* ==================== 头部Logo区 ==================== */
.header {
    background: #fff;
    padding: 18px 0;
}
.header .wrap { display: flex; justify-content: space-between; align-items: center; }
.header .logo-area { display: flex; align-items: center; }
.header .logo-text h1 { font-size: 24px; color: #004098; }
.header .logo-text p { font-size: 14px; color: #000; margin-top: 4px; font-weight: 500; }
.header .header-right { display: flex; align-items: baseline; gap: 8px; }
.header .header-right .tel { font-size: 16px; color: #e60012; font-weight: bold; }
.header .header-right .tel-num { font-size: 24px; color: #e60012; font-weight: bold; }

/* ==================== 导航栏 ==================== */
.nav {
    background: #004098;
    height: 42px;
    line-height: 42px;
}
.nav ul { display: flex; }
.nav li { position: relative; }
.nav a {
    display: block;
    color: #fff;
    padding: 0 30px;
    font-size: 15px;
    font-weight: bold;
}
.nav a:hover, .nav a.active {
    background: #003366;
    color: #fff;
}

/* ==================== Banner轮播 ==================== */
.banner {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
}
.banner-slides {
    width: 100%;
    height: 100%;
    position: relative;
}
.banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide .slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.banner-slide .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
}
.banner-slide .slide-content h2 { font-size: 36px; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.banner-slide .slide-content p { font-size: 18px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.banner-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.banner-dots span.active { background: #fff; }
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 60px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}
.banner-arrow:hover { background: rgba(0,0,0,0.5); }
.banner-arrow.prev { left: 0; }
.banner-arrow.next { right: 0; }

/* ==================== 区块标题栏 ==================== */
.section-bar {
    background: #f5f5f5;
    border-bottom: 2px solid #004098;
    height: 36px;
    line-height: 36px;
    margin-bottom: 15px;
}
.section-bar .bar-title {
    display: inline-block;
    background: #004098;
    color: #fff;
    padding: 0 25px;
    font-size: 15px;
    font-weight: bold;
    height: 36px;
}
.section-bar .bar-more {
    float: right;
    font-size: 12px;
    color: #999;
    padding-right: 10px;
}

/* ==================== 品牌Logo网格 ==================== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: #ddd;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}
.brand-item {
    background: #fff;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    transition: box-shadow 0.3s;
    cursor: pointer;
}
.brand-item:hover {
    box-shadow: 0 0 10px rgba(0,64,152,0.3);
    position: relative;
    z-index: 1;
}
.brand-item .brand-logo {
    width: 100%; height: 50px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.brand-item .brand-logo img { max-height: 50px; max-width: 120px; }
.brand-item .brand-logo-placeholder {
    font-size: 18px;
    font-weight: bold;
    color: #004098;
}
.brand-item .brand-name { font-size: 12px; color: #666; margin-top: 5px; }

/* ==================== 左右栏布局 ==================== */
.main-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

/* 左侧栏 */
.sidebar { }
.sidebar-box {
    border: 1px solid #ddd;
    margin-bottom: 15px;
}
.sidebar-title {
    background: #004098;
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
}
.sidebar-list { padding: 5px 0; }
.sidebar-list li {
    border-bottom: 1px dashed #eee;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    color: #555;
    position: relative;
    padding-left: 25px;
}
.sidebar-list a::before {
    content: '►';
    position: absolute;
    left: 12px;
    font-size: 8px;
    color: #004098;
}
.sidebar-list a:hover {
    background: #f5f8fc;
    color: #004098;
}
.sidebar-contact {
    padding: 15px;
    font-size: 13px;
    line-height: 2;
    color: #555;
}
.sidebar-contact .ct-label { color: #999; }
.sidebar-contact .ct-value { color: #e60012; font-weight: bold; }

/* ==================== 产品推介卡片（左图右文） ==================== */
.highlight-list { }
.highlight-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    background: #fff;
    transition: box-shadow 0.3s;
}
.highlight-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.highlight-card .hc-image {
    width: 200px;
    height: 130px;
    flex-shrink: 0;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
}
.highlight-card .hc-image img { width: 100%; height: 100%; object-fit: cover; }
.highlight-card .hc-image .placeholder {
    font-size: 14px;
    color: #aaa;
    text-align: center;
}
.highlight-card .hc-content { flex: 1; }
.highlight-card .hc-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}
.highlight-card .hc-title .hc-brand {
    color: #004098;
    margin-right: 5px;
}
.highlight-card .hc-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.highlight-card .hc-more {
    margin-top: 8px;
    font-size: 12px;
    color: #004098;
}

/* ==================== 客户Logo墙 ==================== */
.customer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: #ddd;
    border: 1px solid #ddd;
}
.customer-item {
    background: #fff;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.customer-item img { max-height: 60px; max-width: 120px; }
.customer-item .placeholder {
    font-size: 14px;
    color: #bbb;
}

/* ==================== 新闻列表 ==================== */
.news-table {
    width: 100%;
    border-collapse: collapse;
}
.news-table tr {
    border-bottom: 1px dashed #ddd;
}
.news-table td {
    padding: 10px 5px;
    font-size: 13px;
}
.news-table .news-title {
    color: #555;
}
.news-table .news-title::before {
    content: '· ';
    color: #004098;
    font-weight: bold;
}
.news-table .news-date {
    color: #999;
    text-align: right;
    width: 100px;
    white-space: nowrap;
}
.news-table tr:hover .news-title { color: #004098; }

/* ==================== 友情链接 ==================== */
.friend-links {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 13px;
    line-height: 2.2;
}
.friend-links a {
    display: inline-block;
    margin-right: 20px;
    color: #666;
}
.friend-links a:hover { color: #004098; }

/* ==================== 页脚 ==================== */
.footer {
    background: #2b2b2b;
    color: #999;
    padding: 30px 0 15px;
    margin-top: 20px;
}
.footer .wrap {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer p { font-size: 12px; line-height: 2; }
.footer ul li { margin-bottom: 5px; }
.footer ul li a { color: #999; font-size: 12px; }
.footer ul li a:hover { color: #fff; }
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 20px;
    padding-top: 15px;
    font-size: 12px;
    color: #666;
}

/* ==================== 内页通用 ==================== */
.page-banner {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #004098, #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.page-banner h2 { font-size: 30px; margin-bottom: 8px; }
.page-banner p { font-size: 14px; opacity: 0.8; }

.breadcrumb {
    padding: 10px 0;
    font-size: 12px;
    color: #999;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #004098; }
.breadcrumb .sep { margin: 0 5px; }

/* ==================== 关于我们 ==================== */
.about-content {
    padding: 20px 0;
}
.about-content p {
    font-size: 14px;
    color: #555;
    line-height: 2.2;
    margin-bottom: 15px;
    text-indent: 2em;
}
.about-content .about-highlight { color: #004098; font-weight: bold; }
.about-box {
    border: 1px solid #ddd;
    padding: 25px;
    margin-bottom: 20px;
    background: #fff;
}
.about-box h3 {
    font-size: 16px;
    color: #004098;
    border-left: 4px solid #004098;
    padding-left: 10px;
    margin-bottom: 15px;
}

/* ==================== 品牌详情/产品列表 ==================== */
.brand-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.brand-detail-card {
    border: 1px solid #ddd;
    padding: 15px;
    display: flex;
    gap: 15px;
    background: #fff;
}
.brand-detail-card .bdc-logo {
    width: 120px; height: 80px;
    flex-shrink: 0;
    background: #f0f4f8;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #eee;
}
.brand-detail-card .bdc-logo img { max-width: 110px; max-height: 70px; }
.brand-detail-card .bdc-logo .placeholder { font-size: 14px; color: #aaa; }
.brand-detail-card .bdc-content { flex: 1; }
.brand-detail-card .bdc-name { font-size: 15px; font-weight: bold; color: #004098; margin-bottom: 5px; }
.brand-detail-card .bdc-desc { font-size: 13px; color: #666; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ==================== 解决方案列表 ==================== */
.solution-list { }
.solution-item {
    border: 1px solid #ddd;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #fff;
    transition: box-shadow 0.3s;
}
.solution-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.solution-item .sol-title { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 5px; }
.solution-item .sol-title::before { content: '◆ '; color: #004098; font-size: 12px; }
.solution-item .sol-summary { font-size: 13px; color: #777; }
.solution-item .sol-date { font-size: 12px; color: #aaa; float: right; }

/* ==================== 联系我们 ==================== */
.contact-block {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    background: #fff;
}
.contact-block .cb-header {
    background: #004098;
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
}
.contact-block .cb-body {
    padding: 15px 20px;
    font-size: 13px;
    line-height: 2;
}
.contact-block .cb-body .cb-row { margin-bottom: 3px; }
.contact-block .cb-body .cb-label { color: #999; display: inline-block; width: 50px; }
.contact-block .cb-body .cb-value { color: #555; }
.contact-block .cb-body .cb-value.bold { font-weight: bold; }
.contact-block .cb-body .cb-value.red { color: #e60012; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ==================== 招聘信息 ==================== */
.job-item {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
}
.job-item .job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.job-item .job-title { font-size: 16px; font-weight: bold; color: #004098; }
.job-item .job-meta { font-size: 13px; color: #999; }
.job-item .job-meta span { margin-left: 15px; }
.job-item .job-req { font-size: 13px; color: #666; line-height: 1.8; white-space: pre-line; }

/* ==================== 分页 ==================== */
.pagination {
    text-align: center;
    padding: 20px 0;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #555;
}
.pagination a:hover { background: #f5f5f5; }
.pagination .current { background: #004098; color: #fff; border-color: #004098; }

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .wrap { width: 100%; padding: 0 15px; }
    .brand-grid { grid-template-columns: repeat(4, 1fr); }
    .customer-grid { grid-template-columns: repeat(4, 1fr); }
    .main-layout { grid-template-columns: 1fr; }
    .brand-list { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav ul { flex-wrap: wrap; }
    .nav a { padding: 0 15px; font-size: 13px; }
    .banner { height: 200px; }
    .banner-slide .slide-content h2 { font-size: 20px; }
    .banner-slide .slide-content p { font-size: 14px; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .customer-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-card { flex-direction: column; }
    .highlight-card .hc-image { width: 100%; height: 160px; }
    .footer .wrap { grid-template-columns: 1fr; }
    .header .wrap { flex-direction: column; gap: 10px; }
}
