/* ===================== 全局重置 ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", system-ui, -apple-system, sans-serif;
}
a {
    text-decoration: none;
    color: #333;
    transition: all 0.24s ease;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}
h1,h2,h3,h4,h5,h6,p {
    word-wrap: break-word;
    word-break: break-all;
    font-weight: normal;
}

/* ===================== 导航栏 header ===================== */
.header {
    width: 100%;
    height: 80px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 99;
}
.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    width: 177px;
    height: 68px;
    object-fit: contain;
}
.nav-wrap {
    display: flex;
    align-items: center;
    gap: 46px;
}
.nav-list {
    display: flex;
    gap: 36px;
}
.nav-list a {
    font-size: 16px;
    color: #333;
    position: relative;
    padding: 4px 0;
}
.nav-list a.active,
.nav-list a:hover {
    color: #0058cc;
    font-weight: 500;
}
.nav-list a.active::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #0058cc;
    position: absolute;
    bottom: -6px;
    left: 0;
}
.tel-top {
    background: #0058cc;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 30px;
}
.tel-top:hover {
    background: #0047aa;
}
.menu-btn {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* ===================== 移动端下拉菜单 ===================== */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    z-index: 9999;
}
.mobile-nav.show {
    display: block;
}
.mobile-nav-list {
    width: 90%;
    margin: 0 auto;
    padding: 16px 0;
}
.mobile-nav-list li {
    border-bottom: 1px solid #eee;
}
.mobile-nav-list li:last-child {
    border-bottom: none;
}
.mobile-nav-list li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: #333;
}
.mobile-nav-list li a.active {
    color: #0058cc;
    font-weight: 500;
}
.mobile-nav-list li a:hover {
    color: #0058cc;
}
.mobile-tel a {
    color: #0058cc;
    font-weight: 500;
}

/* ===================== Banner轮播 ===================== */
.banner {
    width: 100%;
    height: 540px;
    position: relative;
    overflow: hidden;
}
.banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}
.banner-slide.active {
    opacity: 1;
    visibility: visible;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-slide::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}
.banner-text-wrap {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
}
.banner-text {
    color: #fff;
}
.banner-text h1 {
    font-size: 46px;
    margin-bottom: 14px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
    line-height: 1.3;
}
.banner-text p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 620px;
    margin-bottom: 28px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    opacity: 0.96;
}
.banner-btn {
    width: 146px;
    height: 44px;
    background: #0058cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.24s ease;
}
.banner-btn:hover {
    background: #0047aa;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 12px rgba(0,88,204,0.3);
}
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}
.dot {
    width: 32px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    cursor: pointer;
}
.dot.active {
    background: #fff;
    width: 42px;
}

/* ===================== 业务板块 service PC端 ===================== */
.service-section {
    padding: 70px 0;
}
.section-title {
    font-size: 42px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: center;
}
.section-sub {
    font-size: 16px;
    color: #888;
    margin-bottom: 48px;
    letter-spacing: 1px;
    text-align: center;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 44px 24px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,88,204,0.06);
    transition: transform 0.24s, box-shadow 0.24s, background 0.24s, color 0.24s;
    color: #222;
    min-height: 260px;
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    transition: transform 0.24s;
}
.service-card h3 {
    font-size: 28px;
    color: inherit;
    margin-bottom: 16px;
}
.service-card p {
    font-size: 15px;
    color: inherit;
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}
.service-card-link {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0058cc;
    padding: 4px 8px;
    border-radius: 20px;
    transition: all 0.24s;
}
.service-card:hover {
    background: #0058cc;
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,88,204,0.15);
}
.service-card:hover .service-card-link {
    color: #fff;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
}
.service-card:hover img {
    filter: brightness(10);
    transform: rotate(1deg);
}
.service-card:active {
    background: #0047aa;
    transform: translateY(-4px) scale(0.98);
}

/* ===================== 优势板块 advantage ===================== */
.advantage-section {
    background: #0077dd;
    padding: 76px 0;
    color: #ffffff;
    text-align: center;
}
.advantage-section .section-title {
    color: #fff;
    font-size: 48px;
    margin-bottom: 60px;
    font-weight: 500;
}
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}
.advantage-item {
    padding: 0 12px;
    text-align: center;
}
.adv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    transition: transform 0.24s ease;
}
.advantage-item:hover .adv-icon {
    transform: translateY(-6px);
}
.advantage-item h3 {
    font-size: 30px;
    margin-bottom: 18px;
    font-weight: 500;
}
.advantage-item p {
    font-size: 16px;
    line-height: 2;
    opacity: 0.96;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================== 新闻板块 news ===================== */
.news-section {
    padding: 65px 0;
}
.news-head {
    text-align: center;
    margin-bottom: 48px;
}
.news-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}
.news-left-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,88,204,0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.24s, box-shadow 0.24s;
}
.news-left-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,88,204,0.1);
}
.news-left-card:active {
    transform: translateY(-3px) scale(0.98);
}
.news-left-card img {
    width: 100%;
}
.news-left-text {
    padding: 22px 24px 24px;
    flex-grow: 1;
}
.news-left-text h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.5;
}
.news-left-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}
.news-right-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-right-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    justify-content: space-between;
}
.news-right-list li {
    border-radius: 8px;
    padding: 20px 20px;
    display: flex;
    gap: 16px;
    background: #f9f9f9;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    transition: background 0.24s ease, transform 0.24s ease;
    position: relative;
    align-items: center;
}
.news-right-list li:hover {
    background: #f0f4f9;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,88,204,0.08);
}
.news-right-list li:hover::before {
    content: "";
    width: 6px;
    height: 100%;
    background: #0058cc;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 2px;
}
.news-right-list li:active {
    transform: translateY(-2px) scale(0.99);
}
.news-date-block {
    min-width: 70px;
    flex-shrink: 0;
    text-align: center;
}
.news-date-day {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}
.news-date-year {
    font-size: 13px;
    color: #888;
}
.news-right-text {
    line-height: 1.9;
    margin-top: 0;
    flex: 1;
}
.news-right-text a {
    font-size: 20px;
    color: #222;
    display: block;
    margin-bottom: 6px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-right-text a:hover {
    color: #0058cc;
}
.news-right-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================== 页脚 footer ===================== */
.footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 46px 0 24px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 60px;
}
.footer-left {
    flex: 1;
    text-align: left;
}
.footer-right {
    flex-shrink: 0;
    text-align: center;
}
.footer-nav {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
}
.footer-nav a {
    color: #f0f0f0;
    font-size: 18px;
}
.footer-nav a:hover {
    color: #0077dd;
}
.copyright {
    font-size: 14px;
    line-height: 2;
    color: #eeeeee;
}
.copyright a {
    color: #dddddd;
}
.copyright a:hover {
    color: #0090ff;
}
.gaba {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}
.qrcode {
    width: 76px;
    height: 76px;
    background: #fff;
    border-radius: 4px;
    margin: 0 auto;
    transition: transform 0.24s ease;
}
.qrcode:hover {
    transform: scale(1.05);
}
.wx-tip {
    color: #f0f0f0;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}
.footer-link {
    padding-top: 30px;
    border-top: 1px solid #2d2d2d;
}
.footer-link-title {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 16px;
}
.footer-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-link-list a {
    color: #dddddd;
    font-size: 14px;
}
.footer-link-list a:hover {
    color: #0077dd;
}

/* ===================== PC右侧悬浮咨询电话 ===================== */
.float-pc-tel {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 98;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-pc-tel a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #0058cc;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
}
.float-pc-tel a:hover {
    background: #0047aa;
}

/* ===================== 移动端底部悬浮栏 ===================== */
.float-tel-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #1a1a1a;
    z-index: 999;
    align-items: center;
    justify-content: space-around;
}
.float-tel-bar a {
    color: #fff;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.float-tel-bar .tel-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #0058cc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
    font-size: 26px;
}

/* ===================== 移动端响应式适配（768px手机） ===================== */
@media screen and (max-width:768px) {
    /* 导航 */
    .header {
        height: 80px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }
    body {
        padding-top: 80px;
    }
    .header-inner {
        padding:14px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .logo img {
        width: 140px;
        height: auto;
    }
    .nav-wrap {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    /* 轮播 */
    .banner {
        height: 360px;
    }
    .banner-text h1 {
        font-size: 28px;
    }
    .banner-text p {
        font-size: 15px;
    }
    .banner-btn {
        width: 120px;
        height: 40px;
    }
    /* 业务板块 */
    .service-section {
        padding: 24px 0;
    }
    .section-title {
        font-size: 30px;
        margin-bottom: 4px;
    }
    .section-sub {
        font-size: 13px;
        margin-bottom: 14px;
    }
    .service-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .service-card {
        padding: 20px 12px;
        min-height: 160px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        color: #222;
    }
    .service-card:hover {
        transform: translateY(-4px);
        background: #fff;
        color: #222;
        box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    }
    .service-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 10px;
        filter: none;
    }
    .service-card h3 {
        font-size: 20px;
        margin: 0;
        font-weight: 500;
    }
    .service-card p,
    .service-card-link {
        display: none;
    }
    /* 优势*/
    .advantage-section {
        padding: 36px 0;
    }
    .advantage-section .section-title {
        font-size: 32px;
        margin-bottom: 26px;
        text-align: center;
    }
    .advantage-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .advantage-item {
        padding: 16px;
        background: rgba(255,255,255,0.08);
        border-radius: 8px;
        text-align: left;
    }
    .item-head {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        justify-content: flex-start;
    }
    .adv-icon {
        width: 58px;
        height: 58px;
        flex-shrink: 0;
        margin: 0;
    }
    .item-head h3 {
        font-size: 20px;
        margin: 0;
        text-align: left;
    }
    .advantage-item p {
        font-size: 14px;
        line-height: 1.65;
        margin: 6px 0 0;
        text-align: left;
    }
    /* 新闻 */
    .news-section {
        padding: 50px 0;
    }
    .news-head {
        text-align: center;
        margin-bottom: 24px;
    }
    .news-head .section-title {
        font-size: 32px;
        margin: 0 0 8px;
    }
    .news-head .section-sub {
        font-size: 16px;
        color: #666;
        margin: 0;
    }
    .news-wrap {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .news-left-card {
        width: 100%;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
    }
    .news-left-card img {
        width: 100%;
        display: block;
    }
    .news-left-text {
        padding: 16px 16px 12px;
    }
    .news-left-text h3 {
        font-size: 20px;
        margin: 0 0 8px;
        color: #000;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .news-left-text p {
        font-size: 14px;
        color: #666;
        margin: 0;
        line-height: 1.6;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .news-right-wrap {
        width: 100%;
    }
    .news-right-list {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .news-right-list li {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
        margin: 0 8px;
        border-bottom: 1px solid #eee;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        gap: 6px;
        width: calc(100% - 16px);
    }
    .news-right-list li:last-child {
        border-bottom: none;
    }
    .news-date-block {
        display: none;
    }
    .news-right-text {
        width: 100%;
    }
    .news-right-text a {
        font-size: 18px;
        color: #000;
        text-decoration: none;
        font-weight: 500;
        display: block;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .news-right-desc {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    /* 页脚移动端专属 */
    .footer .footer-right,
    .footer .footer-link {
        display: none;
    }
    .footer .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }
    .footer .footer-left {
        width: 100%;
        text-align: center;
    }
    .footer .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        margin-bottom: 8px;
    }
    .footer .footer-nav a {
        writing-mode: horizontal-tb;
        font-size: 16px;
        white-space: nowrap;
    }
    .footer .copyright {
        text-align: center;
        line-height: 1.4;
        margin: 0;
    }
    .footer .copyright a {
        display: none;
    }
    .float-pc-tel {
        display: none;
    }
    .float-tel-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(64px + env(safe-area-inset-bottom));
    }
    .footer {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
        padding-top: 30px;
    }
    .float-tel-bar a {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    .float-tel-bar .tel-btn {
        margin-top: -22px;
    }
}

/* ===================== 超小手机 480px ===================== */
@media screen and (max-width:480px) {
    .logo img {
        width: 120px;
    }
    .service-grid {
        gap: 16px;
    }
    .banner-text h1 {
        font-size: 24px;
    }
    .section-title {
        font-size: 28px;
    }
    .banner {
        height: 300px;
    }
    .news-right-list li {
        padding: 16px;
    }
    .service-section, .advantage-section, .news-section {
        padding: 36px 0;
    }
}