/* 全局重置 浏览器兼容增强 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    background: #ffffff;
    color: #111111;
    font-family: PingFang SC, Microsoft YaHei, Helvetica Neue, Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}
ul {
    list-style: none;
}
a {
    color: #111;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:focus {
    outline: 2px solid #222;
    outline-offset: 2px;
}
img {
    max-width: 100%;
    display: block;
    border: none;
}
button {
    cursor: pointer;
    font-family: inherit;
    background: transparent;
    border: 0;
}
/* 通用容器 */
.container {
    width: 94%;
    max-width: 1240px;
    margin: 0 auto;
}
.bg-gray {
    background: #f8f8f8;
}
/* 导航头部 sticky 吸顶 */
.site-header {
    position: sticky;
    top: 0;
    background: #ffffff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    z-index: 999;
    transition: box-shadow 0.3s ease;
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}
.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img {
    width: 60px;
}
.logo-text h1 {
    font-size: 18px;
    font-weight: 600;
}
.logo-text span {
    font-size: 12px;
    color: #666666;
}
/* PC导航栏 */
.pc-nav ul {
    display: flex;
    gap: 26px;
    align-items: center;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pc-nav .active > a:first-child {
    font-weight: 600;
    border-bottom: 2px solid #111;
}
.more {
    font-size: 12px;
    color: #666666;
    margin-top: 2px;
}
.more:hover {
    color: #000000;
}
/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    width: 32px;
    height: 30px;
    position: relative;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
    margin: 6px 0;
    transition: all 0.3s ease;
}
/* 移动端下拉导航 */
.mobile-nav {
    display: none;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
}
.mobile-nav ul {
    padding: 10px 3%;
}
.mobile-nav li {
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
}
.mobile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Banner横幅 */
.banner {
    width: 100%;
    height: 430px;
    background: url("../img/banner-bg.jpg") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}
.banner-content h2 {
    font-size: 42px;
    margin-bottom: 12px;
}
.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
}
.btn-black {
    display: inline-block;
    padding: 12px 32px;
    background: #111111;
    color: #ffffff;
    border-radius: 2px;
}
.btn-black:hover {
    background: #333333;
}
/* 通用板块样式 */
.section {
    padding: 60px 0;
}
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
}
.section-title h3 {
    font-size: 24px;
    font-weight: 600;
}
.more-link {
    font-size: 14px;
    color: #333333;
}
.more-link:hover {
    text-decoration: underline;
}
/* 两栏布局 */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.text-col p {
    margin-bottom: 16px;
}
/* 证书卡片网格 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.cert-card {
    border: 1px solid #eeeeee;
    padding: 20px;
    transition: 0.3s ease;
    will-change: transform, box-shadow;
}
.cert-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.cert-card img {
    height: 160px;
    object-fit: cover;
    margin-bottom: 14px;
}
.cert-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    text-align: center;
}
.cert-desc {
    text-align: center;
    color: #444444;
}
/* 查询区块 */
.query-box {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid #eeeeee;
}
.query-box p {
    margin-bottom: 24px;
    font-size: 17px;
}
/* 页脚 */
.footer {
    background: #111111;
    color: #ffffff;
    padding: 40px 0;
    margin-top: 40px;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left h4 {
    font-size: 20px;
    margin-bottom: 8px;
}
.footer-left p {
    color: #aaaaaa;
}
.footer-right p {
    color: #aaaaaa;
    font-size: 14px;
}
/* 响应式断点优化 平板992px */
@media (max-width:992px) {
    .cert-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .two-col {
        grid-template-columns: 1fr;
    }
    .banner-content h2 {
        font-size: 34px;
    }
    .section {
        padding: 50px 0;
    }
}
/* 移动端768px适配 */
@media (max-width:768px) {
    .pc-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .banner h2 {
        font-size: 28px;
    }
    .banner {
        height: 300px;
    }
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .footer-wrap {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .section {
        padding: 40px 0;
    }
    .section-title h3 {
        font-size: 20px;
    }
    .btn-black {
        padding: 10px 24px;
    }
}
