/* 单页面样式 - 使用网站全局设计系统 */
/* 全局变量已在 style.css 中定义：
   --color: #FDB812 (主题金色)
   --hovercolor: #151515 (悬停深色)
   --fontcolor: #000000 (字体黑色)
   --introcolor: #555555 (说明灰色)
*/

/* 主容器样式 */
.service {
    padding: 60px 0;
    background: #fff;
}

.l-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
.home-title {
    font-size: var(--fontsize36);
    font-weight: var(--fontbold7);
    color: var(--fontcolor);
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
}

.home-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color);
    margin-top: 15px;
}

.home-des {
    font-size: var(--fontsize18);
    color: var(--introcolor);
    line-height: 1.8;
    margin-bottom: 20px;
}

.home-more {
    display: inline-block;
    padding: 14px 35px;
    background: var(--color);
    color: var(--fontcolor);
    text-decoration: none;
    border-radius: 4px;
    font-weight: var(--fontbold6);
    font-size: var(--fontsize16);
    transition: all 0.3s ease;
    border: 2px solid var(--color);
}

.home-more:hover {
    background: var(--hovercolor);
    color: #fff;
    border-color: var(--hovercolor);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 184, 18, 0.3);
}

/* Services 1 - 图文并排介绍 */
.services1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.services1 .info {
    flex: 1;
    min-width: 300px;
}

.services1 .info .home-title {
    text-align: left;
}

.services1 .info .home-title::after {
    margin-left: 0;
}

.services1 .info p {
    margin-bottom: 1.2em;
    line-height: 1.8;
    color: var(--introcolor);
    font-size: var(--fontsize16);
}

.services1 .img {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.services1 .img img {
    width: 100%;
    height: auto;
    max-height: 580px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.services1 .img:hover img {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(253, 184, 18, 0.2);
}

.services1 .services-phone {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding: 25px;
    background: var(--footercolor);
    border-radius: 4px;
    border-left: 4px solid var(--color);
}

.services1 .services-icon {
    width: 65px;
    height: 65px;
    background: var(--color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fontcolor);
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.services1 .services-phone:hover .services-icon {
    background: var(--hovercolor);
    color: #fff;
}

.services1 .services-icon i {
    font-size: var(--fontsize28);
}

.services1 .services-info .p1 {
    font-size: var(--fontsize14);
    color: var(--introcolor);
    margin-bottom: 5px;
}

.services1 .services-info .p2 {
    font-size: var(--fontsize24);
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
}

/* Services 2 - 数字统计区块 */
.services2 {
    position: relative;
    padding: 60px 0;
    margin: 80px 0;
    z-index: 1;
    color: #FFFFFF;
}

.services2::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--hovercolor);
    z-index: -1;
}

.services2 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    gap: 40px;
    padding: 0;
    margin: 0;
}

.services2 ul li {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    position: relative;
}

.services2 ul li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.services2 ul li:last-child::after {
    display: none;
}

.services2 ul li .num {
    font-size: 52px;
    color: var(--color);
    font-weight: var(--fontbold7);
    margin-bottom: 10px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.services2 ul li .num span {
    display: inline-block;
    animation: countUp 1.5s ease-out;
}

.services2 ul li .text {
    font-size: var(--fontsize18);
    color: rgba(255, 255, 255, 0.95);
    font-weight: var(--fontbold5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services 3 - 服务网格 */
.services3 {
    margin: 80px 0;
    text-align: center;
}

.services3 .home-title {
    text-align: center;
    margin-bottom: 50px;
}

.services3 .home-title::after {
    margin-left: auto;
    margin-right: auto;
}

.services3 ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.services3 ul li {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.services3 ul li:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(253, 184, 18, 0.2);
    border-color: var(--color);
}

.services3 ul li .icon {
    margin-bottom: 20px;
    width: 100%;
}

.services3 ul li i.fa {
    font-size: 42px;
    color: var(--color);
    display: inline-block;
    transition: all 0.3s ease;
}

.services3 ul li:hover i.fa {
    transform: scale(1.15) rotate(5deg);
}

.services3 ul li .p1 {
    font-size: var(--fontsize20);
    color: var(--fontcolor);
    font-weight: var(--fontbold6);
    margin: 15px 0;
}

.services3 ul li .p2 {
    color: var(--introcolor);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: var(--fontsize15);
}

.services3 ul li .more {
    color: var(--color);
    font-weight: var(--fontbold6);
    font-size: var(--fontsize14);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.services3 ul li .more::after {
    content: '\f061';
    font-family: 'FontAwesome';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.services3 ul li .more:hover {
    color: var(--hovercolor);
}

.services3 ul li .more:hover::after {
    margin-left: 12px;
}

/* Services 4 - 促销横幅 */
.services4 {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    margin: 80px 0;
    min-height: 500px;
    text-align: center;
}

.services4 .bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100vw;
    height: 100%;
    background: no-repeat center;
    background-size: cover;
    z-index: -1;
}

.services4 .bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(21, 21, 21, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.services4 .home-title,
.services4 .home-des {
    color: #FFFFFF;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.services4 .home-title {
    font-size: 42px;
    max-width: 850px;
    font-weight: var(--fontbold7);
}

.services4 .home-title::after {
    background: var(--color);
    margin-left: auto;
    margin-right: auto;
}

.services4 .home-des {
    max-width: 650px;
    font-size: var(--fontsize18);
}

.services4 .home-more {
    position: relative;
    z-index: 1;
    background: var(--color);
    color: var(--fontcolor);
    border-color: var(--color);
    font-size: var(--fontsize18);
    padding: 16px 45px;
}

.services4 .home-more:hover {
    background: #fff;
    color: var(--fontcolor);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 184, 18, 0.4);
}

/* Services 5 - 特点列表（左图右文2x2网格布局） */
.services5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin: 80px 0;
}

.services5 .img {
    flex: 1;
    min-width: 300px;
    max-width: 48%;
}

.services5 .img img {
    width: 100%;
    height: auto;
    max-height: 580px;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.services5 .img:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.services5 .info {
    flex: 1;
    min-width: 300px;
}

.services5 .info .home-title {
    text-align: left;
    font-size: var(--fontsize30);
    margin-bottom: 20px;
}

.services5 .info .home-title::after {
    margin-left: 0;
}

.services5 .info > p {
    margin-bottom: 35px;
    line-height: 1.8;
    color: var(--introcolor);
    font-size: var(--fontsize16);
}

.services5 .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.services5 .list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.services5 .list li:hover {
    transform: translateX(5px);
}

.services5 .list li .icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.services5 .list li:hover .icon {
    background: var(--hovercolor);
}

.services5 .list li .icon i {
    font-size: 26px;
    color: #fff;
}

.services5 .list li .text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services5 .list li .text .p1 {
    font-size: var(--fontsize18);
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.services5 .list li .text .p2 {
    color: var(--introcolor);
    font-size: var(--fontsize15);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .services1,
    .services5 {
        gap: 40px;
    }

    .services1 .img,
    .services5 .img {
        max-width: 100%;
    }

    .services3 ul {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .services5 .list {
        gap: 20px 25px;
    }
}

@media screen and (max-width: 768px) {
    .home-title {
        font-size: 26px;
    }

    .home-des {
        font-size: 16px;
    }

    .services1,
    .services5 {
        flex-direction: column;
        margin-bottom: 60px;
        gap: 30px;
    }

    .services1 .img,
    .services5 .img {
        order: -1;
        max-width: 100%;
    }

    .services2 {
        padding: 40px 0;
        margin: 60px 0;
    }

    .services2 ul {
        flex-direction: column;
        gap: 20px;
    }

    .services2 ul li {
        width: 100%;
    }

    .services2 ul li .num {
        font-size: 36px;
    }

    .services3 {
        margin: 60px 0;
    }

    .services3 ul {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services3 ul li {
        padding: 30px 20px;
    }

    .services4 {
        padding: 60px 20px;
        margin: 60px 0;
        min-height: 400px;
    }

    .services4 .home-title {
        font-size: 28px;
    }

    .services5 {
        margin: 60px 0;
    }

    .services5 .info .home-title {
        font-size: 24px;
    }

    .services5 .list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services5 .list li .icon {
        width: 55px;
        height: 55px;
    }

    .services5 .list li .icon i {
        font-size: 24px;
    }

    .services5 .list li .text .p1 {
        min-height: 44px;
    }
}

@media screen and (max-width: 480px) {
    .l-wrap {
        padding: 0 15px;
    }

    .service {
        padding: 40px 0;
    }

    .home-title {
        font-size: 22px;
    }

    .services1 .services-phone {
        flex-direction: column;
        text-align: center;
    }

    .services1 .services-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .services2 ul li .num {
        font-size: 32px;
    }

    .services2 ul li .text {
        font-size: 16px;
    }

    .services4 .home-title {
        font-size: 24px;
    }

    .services4 .home-des {
        font-size: 15px;
    }

    .services5 .info .home-title {
        font-size: 20px;
    }

    .services5 .list li {
        gap: 15px;
    }

    .services5 .list li .icon {
        width: 50px;
        height: 50px;
    }

    .services5 .list li .icon i {
        font-size: 22px;
    }

    .services5 .list li .text .p1 {
        font-size: 16px;
        min-height: 40px;
    }

    .services5 .list li .text .p2 {
        font-size: 14px;
    }
}

/* 清除多余的段落间距 */
article > p:empty {
    display: none;
}