/* 通用样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'SourceHanSansCN-Regular', 'Microsoft YaHei', Arial, sans-serif;
    src: url('../fonts/SourceHanSansCN-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'SourceHanSansCN-Regular', 'Microsoft YaHei', Arial, sans-serif;
    background: #f7f9fb;
    color: #222;
    line-height: 1.6;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 顶部导航 */
.header {
    /* background: #fff; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 10;
    background-image: url(../img/header-bg.png);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    height: 38px;
}

.menu {
    display: flex;
    gap: 36px;
}

.menu a {
    font-size: 1rem;
    color: #222;
    padding: 6px 12px;
    border-radius: 18px;
    transition: background 0.2s, color 0.2s;
}

.menu a.active,
.menu a:hover {
    background: #eaf2ff;
    color: #2176ff;
}

.contact-btn {
    background: #2176ff;
    color: #fff;
    padding: 8px 22px;
    border-radius: 22px;
    font-size: 1rem;
    margin-left: 24px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(33, 118, 255, 0.08);
}

.contact-btn:hover {
    background: #1256c3;
}

/* Banner */

.banner {
    border-top: solid 2px #ffffff;
    width: 100%;
    height: 665px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide .banner-container {
    width: 100%;
    height: 665px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 8px 32px rgba(33, 118, 255, 0.08));
    position: absolute;
}


.swiper-slide .banner-overlay {
    width: 665px;
    height: 300px;
    position: relative;
    z-index: 9999;
    float: left;
    top: 80px;
    left: 140px;
}

/*!* 当屏幕宽度 ≥ 1600px 时生效 *!*/
/*@media (min-width: 600px) {*/
/*    .swiper-slide .banner-overlay {*/
/*        top: 80px;*/
/*        left: 26%;*/
/*    }*/
/*}*/

/* 当屏幕宽度 ≥ 1600px 时生效 */
@media (min-width: 1600px) {
    .swiper-slide .banner-overlay {
        top: 80px;
        left: 26%;
    }
}

@media (min-width: 2000px) {
    .swiper-slide .banner-overlay {
        top: 80px;
        left: 20%;
    }
}

@media (min-width: 2500px) {
    .swiper-slide .banner-overlay {
        top: 80px;
        left: 26%;
    }
}

.banner-text p {
    width: 220px;
    height: 50px;
    font-size: 50px;
    color: #282828;
    line-height: 129px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-left: 33px;
    margin-top: 40px;
}

.banner-text span {
    font-size: 18px;
    color: #5A5A5A;
    font-style: normal;
    text-transform: none;
    float: left;
    margin-top: 10%;
    margin-left: 48px;
}

.banner-btn {
    width: 600px;
    height: 80px;
    margin-top: 131px;
}

.banner-btn a {
    width: 238px;
    height: 61px;
    float: left;
    margin-left: 39px;
}

.banner-btn a span {
    width: 126px;
    height: 30px;
    font-size: 28px;
    color: #FFFFFF;
    line-height: 15px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.banner-btn .primary {

    background: #3674FA;
    border-radius: 10px 10px 10px 10px;
}

.banner-btn .secondary {

    border-radius: 10px 10px 10px 10px;
    border: 2px solid #3674FA;
}


/* 顶部服务标签 */
.service-tags {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.tags-list {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 18px 0;
    flex-wrap: wrap;
}

.tags-list span {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #2176ff;
    font-weight: 500;
    gap: 8px;
}


.tags-list span {
    width: 150px;
    height: 18px;
    font-weight: normal;
    font-size: 19px;
    color: #7B7B7B;
    line-height: 129px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.tags-list img {
    width: 22px;
    height: 22px;
}

/* 合作品牌 */
.brands {
    /*width: 100%;*/
    height: 100px;
    background: #fff;
    padding: 28px 0;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden; /* 隐藏超出容器的内容 */
    white-space: nowrap; /* 防止图片换行 */
}

.brands-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
    flex-wrap: wrap;
    overflow: hidden; /* 隐藏超出容器的内容 */
    white-space: nowrap; /* 防止图片换行 */
}

.brands-list img {
    height: 50px;
    opacity: 0.7;
    filter: grayscale(1);
    transition: opacity 0.2s, filter 0.2s;
    margin-left: 51px;
    display: inline-block; /* 图片水平排列 */
    /*height: 100px; !* 设置图片高度（根据需要调整） *!*/
    width: auto; /* 宽度自适应，保持比例 */
    margin-right: 10px; /* 图片之间的间距（可选） */
}



.brands-list img :hover {
    opacity: 1;
    filter: grayscale(0);
}


.brands-list::-webkit-scrollbar {
    display: none; /* 隐藏滚动条 */
}
/*!* 两端虚化效果 *!*/
.brands-list::before,
.brands-list::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px; /* 虚化区域宽度 */
    z-index: 1;
    pointer-events: none;
}

.brands-list::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-list::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* 如果背景不是白色，调整渐变颜色 */
.brands-list.dark::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.brands-list.dark::after {
    background: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}



/* 专业服务商 */
.services {
    padding: 48px 0 0 0;
}

.section-title {
    text-align: center;
    margin-bottom: 11px;
    letter-spacing: 2px;
    height: 30px;
    font-weight: 400;
    font-size: 30px;
    color: #232323;
    line-height: 30px;
    font-style: normal;
    text-transform: none;
}

.section-desc{
    height: 11px;
    font-weight: 400;
    font-size: 16px;
    color: #909090;
    line-height: 30px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-bottom: 39px;
    width: 230px;
    margin-left: 500px;
}

.section-desc p{
    width: 70px;
    height: 20px;
    font-weight: 400;
    font-size: 16px;
    color: #909090;
    line-height: 30px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    float: left;
}

.service-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    width: 378px;
    height: 172px;
    background: #FFFFFF;
    padding: 15px;
    border-radius: 10px;
}

.service-card:hover {
    box-shadow: 0 8px 32px rgba(33, 118, 255, 0.12);
    transform: translateY(-4px) scale(1.03);
}

.service-card img {
    width: 55px;
    height: 75px;
    display: block;
    float: left;
    margin-top: 25px;
    margin-left: 15px;
}

.service-card-content {
    width: 270px;
    height: 120px;
    float: left;
    margin-left: 5px;
    margin-top: 15px;
}

.service-card-content h3 {
    width: 130px;
    height: 25px;
    font-weight: 400;
    font-size: 26px;
    color: #232323;
    line-height: 25px;
    text-align: left;
    display: block;
    margin-left: 20px;
}

.service-card-content p {
    width: 230px;
    height: 80px;
    font-weight: 400;
    font-size: 14px;
    color: #646464;
    line-height: 20px;
    margin-top: 15px;
    margin-left: 20px;
    text-align: left;
}



/* 经典案例 */
.cases {
    padding: 56px 0 0 0;
}

.case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.case-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(33, 118, 255, 0.06);
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    width: 290px;
    height: 165px;
}

.case-item img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    filter: brightness(0.88);
    transition: filter 0.2s;
}

.case-item span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 118, 255, 0.72);
    color: #fff;
    font-size: 1.08rem;
    padding: 8px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 1px;
}

.case-item:hover img {
    filter: brightness(1);
}

.case-item:hover {
    box-shadow: 0 8px 32px rgba(33, 118, 255, 0.12);
    transform: translateY(-4px) scale(1.03);
}

/* 品牌设计 */
.designs {
    padding: 56px 0 0 0;
}

.design-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.design-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(33, 118, 255, 0.06);
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    width: 285px;
    height: 160px;
}

.design-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    filter: brightness(0.7) grayscale(0.2);
    transition: filter 0.2s;
}

.design-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 34, 34, 0.48);
    color: #fff;
    padding: 16px 12px 10px 16px;
    height: 160px;
}

.design-info h3 {
    height: 30px;
    font-size: 30px;
    color: #FFFFFF;
    line-height: 30px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    font-weight: 300;
    width: 245px;
    margin-top: 20px;
}

.design-info p {
    width: 245px;
    height: 14px;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 25px;
}

.design-item:hover img {
    filter: brightness(1) grayscale(0);
}

.design-item:hover {
    box-shadow: 0 8px 32px rgba(33, 118, 255, 0.12);
    transform: translateY(-4px) scale(1.03);
}

.design-contact-btn {
    display: block;
    margin: 36px auto 0 auto;
    padding: 10px 36px;
    background: #fff;
    color: #2176ff;
    border: 1.5px solid #2176ff;
    border-radius: 24px;
    font-size: 1.08rem;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    width: 200px;
}

.design-contact-btn:hover {
    background: #2176ff;
    color: #fff;
}

/* 页脚 */
.footer {
    background: #2176ff;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 56px;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* 响应式 */
@media (max-width: 900px) {
    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .banner-img {
        justify-content: center;
        width: 100%;
    }

    .banner-img img {
        width: 100%;
    }

    .service-cards {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        height: auto;
        gap: 12px;
        padding: 12px 0;
    }

    .menu {
        gap: 18px;
    }

    .brands-list {
        gap: 18px;
    }

    .tags-list {
        gap: 18px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .footer {
        font-size: 0.95rem;
        padding: 12px 0;
    }
}