/* 服务页面样式 */

main {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding-top: 0;
    padding-bottom: 5vh;
    padding-left: 3.5vw;
    padding-right: 4.2vw !important;/*logo 2.7*/
    margin-top: 120px;
    box-sizing: border-box;

}


/* 英雄区域样式 */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height:30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* 英雄区图片样式 */
.hero-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* 服务内容区域 - 在main内100%显示 */
.service-content {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* 服务图片容器 */
.service-image-container {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* 服务图片样式 */
.service-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-width: 100%;
}

/* 响应式显示控制 */
/* 默认显示电脑端内容 */
.desktop-service {
    display: block;
}

.mobile-service {
    display: none;
}

/* 在768px以下显示手机端内容，隐藏电脑端内容 */
@media (max-width: 768px) {
    .desktop-service {
        display: none;
    }

    .mobile-service {
        display: block;
    }
}
