* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    color: #333;
    line-height: 1.5;
}

/* 顶部深蓝条 */
.top-bar {
    background: #1a3e6f;
    color: white;
    padding: 8px 5%;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.top-phone {
    letter-spacing: 1px;
}
.top-phone span {
    font-size: 16px;
    font-weight: bold;
    margin-left: 5px;
}

/* 头部主区域 */
/* 头部主区域 */
.header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 18px 5%;
    background: #f0f5fb;
    flex-wrap: wrap;
    border-bottom: 1px solid #d9e3ef;
}

/* logo整体：左图右文，横向居中对齐 */
.header .logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px;
}

/* logo图片：固定尺寸，强制生效 */
.header .logo .logo-img {
    height: 66px !important;
    width: auto !important;
    max-width: 95px !important;
    display: block !important;
    object-fit: contain;
}

/* logo文字区 */
.logo-text h1 {
    color: #1a3e6f;
    font-size: 22px;
    margin: 0 0 4px 0 !important;
    line-height: 1.2;
}
.logo-text p {
    color: #e67e22;
    font-size: 14px;
    font-weight: bold;
    margin: 0 !important;
}

/* 右侧热线 */
.hotline {
    text-align: right;
}
.hotline .phone-big {
    font-size: 28px;
    color: #e67e22;
    font-weight: bold;
    letter-spacing: 1px;
}
.hotline .small {
    font-size: 14px;
    color: #666;
}

/* 导航菜单 */
.nav {
    background: #1a3e6f;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}
.nav ul li a {
    display: block;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    cursor: pointer;
}
.nav ul li a:hover {
    background: #e67e22;
}

/* Banner 区域 */
.banner {
    width: 100%;
    background: #e9ecef;
    text-align: center;
}
.banner img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    max-height: 450px;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.section-title {
    text-align: center;
    font-size: 32px;
    color: #1a3e6f;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.section-title:after {
    content: '';
    width: 60px;
    height: 3px;
    background: #e67e22;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 关于我们 */
.about-text {
    font-size: 16px;
    line-height: 1.8;
    text-indent: 2em;
    margin-bottom: 20px;
    color: #444;
}
.more-btn {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 10px;
    cursor: pointer;
}

/* 左侧菜单右侧图片布局 - Grid 方案 */
.tab-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 20px;
    align-items: start;
}
.tab-menu {
    border-right: 2px solid #f0f0f0;
    padding-right: 30px;
}
.tab-menu ul {
    list-style: none;
}
.tab-menu li {
    padding: 12px 15px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #1a3e6f;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 6px;
}
.tab-menu li:hover {
    background-color: #f0f5fb;
    color: #e67e22;
}
.tab-menu li.active {
    background-color: #1a3e6f;
    color: white;
}
.tab-content {
    text-align: center;
}
.tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    display: block;
    margin: 0 auto;
}
.tab-desc {
    margin-top: 20px;
    font-size: 16px;
    color: #555;
}

/* 服务项目 - 图片网格布局（每行3张） */
.service-gallery {
    width: 100%;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.gallery-item {
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f8f9fa;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.gallery-caption {
    padding: 10px;
    font-size: 14px;
    color: #1a3e6f;
    background: white;
    border-top: 1px solid #eee;
}
.gallery-info {
    margin-top: 15px;
    padding: 10px;
    background: #f0f5fb;
    border-radius: 8px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* 关于我们 - 查看更多展开内容样式 */
.more-content {
    display: none;
    margin-top: 30px;
    padding: 25px;
    background: #f8fafd;
    border-radius: 12px;
    border-left: 4px solid #e67e22;
    text-align: left;
    line-height: 1.7;
    color: #2c3e4f;
}
.more-content p {
    margin-bottom: 15px;
}
.more-content .subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #1a3e6f;
    margin: 20px 0 10px;
    padding-left: 12px;
    border-left: 3px solid #e67e22;
}
.more-content .service-list-small {
    padding-left: 25px;
    margin: 10px 0;
}
.more-content .service-list-small li {
    margin: 8px 0;
}
.more-btn.btn-active {
    background-color: #c55a0e;
}

/* 荣誉资质 - 居中网格样式 */
/* 荣誉资质 - 居中网格样式（无滚动） */
.honor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
.honor-item {
    text-align: center;
    width: 140px;
}
.honor-item img {
    width: 120px;
    height: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.honor-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.honor-item p {
    margin-top: 10px;
    font-size: 14px;
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    font-weight: 500;
    color: #1a3e6f;
}

/* 工程案例 - 左侧菜单右侧描述样式 */
.case-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}
.case-menu {
    flex: 1;
    min-width: 200px;
    border-right: 2px solid #f0f0f0;
    padding-right: 30px;
}
.case-menu ul {
    list-style: none;
}
.case-menu li {
    padding: 12px 15px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #1a3e6f;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 6px;
}
.case-menu li:hover {
    background-color: #f0f5fb;
    color: #e67e22;
}
.case-menu li.active {
    background-color: #1a3e6f;
    color: white;
}
.case-content {
    flex: 3;
    min-width: 260px;
    padding: 20px;
    background: #f8fafd;
    border-radius: 12px;
    line-height: 1.8;
}
.case-content h3 {
    color: #1a3e6f;
    font-size: 24px;
    margin-bottom: 15px;
}
.case-content p {
    color: #444;
    font-size: 16px;
}
/* 工程案例 - 查看更多按钮样式（右下角，纯文字） */
.case-more-btn {
    display: block;
    background: none;
    border: none;
    color: #e67e22;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    text-align: right;
    padding: 5px 0;
    transition: color 0.3s;
}
/* 工程案例 - 查看更多按钮（右下角纯文字，无框） */
.case-content .case-more-btn {
    display: block;
    background: none !important;
    border: none !important;
    color: #e67e22 !important;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    text-align: right;
    padding: 0;
    width: 100%;
    font-weight: normal;
}
.case-desc {
    line-height: 1.8;
    color: #444;
}
/* 新闻列表 */
.news-list {
    list-style: none;
}
.news-list li {
    border-bottom: 1px dashed #ddd;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.news-list li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}
.news-list li a:hover {
    color: #e67e22;
    text-decoration: underline;
}
.news-date {
    color: #999;
    font-size: 14px;
}

/* 联系我们 */
.contact {
    background: #1a3e6f;
    color: white;
    text-align: center;
    padding: 40px 20px;
}
.contact h3 {
    font-size: 28px;
    margin-bottom: 20px;
}
.contact p {
    font-size: 18px;
    margin: 10px 0;
}
.contact .phone {
    font-size: 32px;
    font-weight: bold;
    color: #e67e22;
    margin: 15px 0;
}

/* 页脚 */
footer {
    background: #0f2c4f;
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .hotline {
        margin-top: 10px;
        text-align: center;
    }
    .nav ul {
        justify-content: center;
    }
    .nav ul li a {
        padding: 10px 12px;
        font-size: 14px;
    }
    .section-title {
        font-size: 26px;
    }
    .tab-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tab-menu {
        border-right: none;
        border-bottom: 2px solid #f0f0f0;
        padding-right: 0;
        padding-bottom: 20px;
    }
    .tab-menu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .tab-menu li {
        margin-bottom: 0;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .gallery-item img {
        height: 160px;
    }
    .case-layout {
        flex-direction: column;
    }
    .case-menu {
        border-right: none;
        border-bottom: 2px solid #f0f0f0;
        padding-right: 0;
        padding-bottom: 20px;
    }
    .case-menu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .case-menu li {
        margin-bottom: 0;
    }
   .header .logo {
    flex-direction: row !important;
    justify-content: center;
    gap: 10px;
	}
	.header .logo .logo-img {
		height: 55px !important;
		max-width: 80px !important;
	}
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}