/* ==================== 鍏叡鏍峰紡 - 椤堕儴瀵艰埅鍜屽簳閮?==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ====== 椤堕儴瀵艰埅 ====== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: 70px;
}

.header-inner {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 100px;
    gap: 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-logo img{height: 48px;}
.header-logo .txt{font-size: 16px;border-left: 1px solid #eee;padding-left: 15px;}

.sbanner img{width: 100%;}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.main-nav a {
    display: inline-block;
    padding: 10px 18px;
    color: #333;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1890ff;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #1890ff;
    border-radius: 2px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1890ff;
    font-size: 15px;
    font-weight: 600;
    flex-shrink: 0;
}

.header-phone .phone-icon {
    width: 28px;
    height: 28px;
    background: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1890ff;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* ====== 搴曢儴 ====== */
.site-footer {
    background: #0a1a35;
    color: #c5d2e0;
    padding: 60px 0 0;
}

.footer-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 100px;
}

.footer-top {
    display: flex;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-info {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo .logo-name {
    color: #1890ff;
    font-weight: 700;
    font-size: 16px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 20px;
}

.footer-contact div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #c5d2e0;
}

.footer-contact .icon {
    color: #1890ff;
    flex-shrink: 0;
}

.footer-qrcode {
    width: 90px;
    height: 90px;
    background: #fff;
    padding: 4px;
    border-radius: 4px;
}

.footer-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-qrcode-label {
    font-size: 12px;
    color: #8a9bb0;
    text-align: center;
    line-height: 1.4;
}

.footer-qrcode-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-qrcode-group .footer-qrcode { margin: 0; }

.footer-nav {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.footer-nav-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-nav-col ul li {
    margin-bottom: 10px;
}

.footer-nav-col ul li a {
    color: #8a9bb0;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #1890ff;
}

.footer-bottom {
    border-top: 1px solid #1a2a45;
    padding: 20px 0;
    text-align: center;
    color: #8a9bb0;
    font-size: 12px;
}

/* ====== 绉诲姩绔搷搴?====== */
@media (max-width: 1024px) {
    .main-nav a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .header-logo .txt {
        display: none;
    }
    
    .footer-nav {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 60px;
    }
    
    .header-inner {
        padding: 0 16px;
    }
    
    .header-logo .txt {
        display: none;
    }
    
    .header-phone {
        display: none;
    }
    
    .header-logo {
        flex-shrink: 0;
    }
    
    .menu-toggle {
        display: flex;
        margin-left: auto;
        z-index: 1001;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }
    
    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex: none;
        flex-direction: column;
        background: #fff;
        padding: 16px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-200%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        gap: 0;
        z-index: 1002;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 24px;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-nav a.active::after {
        display: none;
    }
    
    .main-nav a.active {
        background: #e6f7ff;
    }
    
    .site-footer {
        padding: 0;
    }
    
    .footer-top {
        display: none;
    }
    
    .footer-bottom {
        padding: 16px 16px;
        text-align: center;
        font-size: 11px;
        line-height: 1.6;
    }
}