﻿
.home-title{ width: 100%; text-align: center; padding: 70px 0 50px 0;}
.home-title h2{ line-height: 30px; font-size: 2rem;}
.home-title h2:before{ display: inline-block; margin-right: 50px; content: ""; width: 173px; height: 30px; background: url(../images/home-title-left.png) no-repeat;}
.home-title h2::after{ display: inline-block; margin-left: 50px; content: ""; width: 173px; height: 30px; background: url(../images/home-title-right.png) no-repeat;}
.home-title p{ font-size: 1.1rem; color: #666; line-height: 36px; margin-top: 20px;}
.home-title h1{ line-height: 30px; font-size: 2rem;}
.home-title h1:before{ display: inline-block; margin-right: 50px; content: ""; width: 173px; height: 30px; background: url(../images/home-title-left.png) no-repeat;}
.home-title h1::after{ display: inline-block; margin-left: 50px; content: ""; width: 173px; height: 30px; background: url(../images/home-title-right.png) no-repeat;}


.home-services{ width: 100%; background: #f8f8fc; padding-bottom: 70px;}

.home-services-box{}

.home-services-left{ width: 449px; height: auto; gap: 30px; grid-template-columns: repeat(1, 1fr); /* 3 列 */  display: grid;}
.home-services-left dl{ width: 100%; background: #fff; border-radius: 10px; padding: 20px; cursor: pointer;  transition: all ease .3s;}
.home-services-left dl dt{ width: 124px; height: 124px;}
.home-services-left dl dd{ width: calc(100% - 124px); padding-left: 20px;}
.home-services-left dl dd b{ display: block; font-size: 1.2rem; line-height: 30px; margin-bottom: 10px;}
.home-services-left dl dd p{ font-size: 0.95rem; line-height: 22px;}
.home-services-left dl:hover{background:#0000fe; transform: translateY(-5px); color: #fff;}
.home-services-left dl:hover b{color: #fff;}
.home-services-left dl:nth-child(2){ margin-left: 55px;}

.home-services-mid{ width: 271px;}
.home-services-mid img{ width: 100%; height: auto;}

.home-services-right{ width: 449px; height: auto; gap: 30px; grid-template-columns: repeat(1, 1fr); /* 3 列 */  display: grid;}
.home-services-right dl{ width: 100%; background: #fff; border-radius: 10px; padding: 20px; cursor: pointer;  transition: all ease .3s;}
.home-services-right dl dt{ width: 124px; height: 124px;}
.home-services-right dl dd{ width: calc(100% - 124px); padding-left: 20px;}
.home-services-right dl dd b{ display: block; font-size: 1.2rem; line-height: 30px; margin-bottom: 10px;}
.home-services-right dl dd p{ font-size: 0.95rem; line-height: 22px;}
.home-services-right dl:hover{background:#0000fe; transform: translateY(-5px); color: #fff;}
.home-services-right dl:hover b{color: #fff;}
.home-services-right dl:nth-child(2){ margin-left: -55px;}


.home-solution {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.home-solution-stage {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

/* 每一项默认隐藏 */
.home-solution-slide {
    position: absolute;
    top: 30px;
    height: 360px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.45s ease;
    z-index: 1;
}

.home-solution-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 中间主图：比两边更高 */
.home-solution-slide.is-active {
    top: 0;
    left: 50%;
    width: 47%;
    height: 420px;
    transform: translateX(-50%);
    opacity: 1;
    visibility: visible;
    border-radius: 10px;
    z-index: 3;
}

/* 左侧图片：左边不要圆角 */
.home-solution-slide.is-prev {
    left: 0;
    width: 24%;
    height: 360px;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    border-radius: 0 10px 10px 0;
    z-index: 2;
}

/* 右侧图片：右边不要圆角 */
.home-solution-slide.is-next {
    right: 0;
    width: 24%;
    height: 360px;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    border-radius: 10px 0 0 10px;
    z-index: 2;
}

/* 只有中间当前项显示文字 */
.home-solution-slide .home-solution-info {
    display: none;
}

.home-solution-slide.is-active .home-solution-info {
    display: block;
}

/* 白色文字卡片 */
.home-solution-info {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    min-height: 170px;
    background: #fff;
    border-radius:0 10px 10px 0;
    padding: 34px 34px 28px;
    box-sizing: border-box;
    z-index: 5;
}

.home-solution-info h3 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 32px;
    color: #222;
    font-weight: bold;
}

.home-solution-info p {
    margin: 0;
    font-size: 15px;
    line-height: 23px;
    color: #666;
}

.home-solution-info a {
    display: inline-block;
    margin-top: 28px;
    font-size: 15px;
    color: #0000fe;
    text-decoration: none;
}

.home-solution-info a:hover {
    color: #0033cc;
}

/* 左右箭头 */
.home-solution-arrow {
    position: absolute;
    top: 50%;
    width: 54px;
    height: 54px;
    margin-top: -27px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 50%;
    z-index: 20;
    transition: all 0.25s ease;
}

.home-solution-arrow:hover {
    background: rgba(0, 0, 0, 0.38);
}

/* 箭头位置 */
.home-solution-prev {
    left: 9%;
}

.home-solution-next {
    right: 9%;
}

.home-solution-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.home-solution-prev::before {
    left: 22px;
    transform: translateY(-50%) rotate(-45deg);
}

.home-solution-next::before {
    right: 22px;
    transform: translateY(-50%) rotate(135deg);
}

/* 左右两侧图片可点击 */
.home-solution-slide.is-prev,
.home-solution-slide.is-next {
    cursor: pointer;
}


.home-about{ }
.home-about-left{ width: 560px; height: auto;}
.home-about-left img{ width: 100%; height: auto;}


.home-about-right{ width: calc(100% - 560px); height: auto; padding-left: 85px;}
.home-about-right-info{ width: 100%;}
.home-about-right-info p{ font-size: 1rem; line-height: 24px; margin-bottom: 25px;}
.home-about-right-info a{ display: inline-block; padding: 0 45px; margin-top: 10px; background: #0000fe; color: #fff; border-radius: 6px; font-size: 1rem; height: 46px; line-height: 46px;}
.home-about-right-info a:hover{background:#b8b8fd; transform: translateY(-5px); }



/* 数字区域整体 */
.home-number {
    padding: 50px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* 默认每一项 */
.home-number-item {
    position: relative;
    padding: 0 70px;
    box-sizing: border-box;
    text-align: left;
}

/* 分割线 */
.home-number-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    width: 1px;
    height: 78px;
    background: #e8e8e8;
}

.home-number-item:last-child::after {
    display: none;
}

/* 第一个左对齐，不要左边距 */
.home-number-item:first-child {
    padding-left: 0;
    text-align: left;
}

.home-number-item:first-child .home-number-top {
    justify-content: flex-start;
}

/* 中间两个可以保持自然居中一点 */
.home-number-item:nth-child(2),
.home-number-item:nth-child(3) {
    text-align: center;
}

.home-number-item:nth-child(2) .home-number-top,
.home-number-item:nth-child(3) .home-number-top {
    justify-content: center;
}

/* 最后一个右对齐，不要右边距 */
.home-number-item:last-child {
    padding-right: 0;
    text-align: right;
}

.home-number-item:last-child .home-number-top {
    justify-content: flex-end;
}

/* 数字和单位 */
.home-number-top {
    display: flex;
    align-items: flex-end;
    color: #32a6f8;
    line-height: 1;
}

.home-number-top .num {
    display: inline-block;
    font-size: 64px;
    line-height: 64px;
    font-weight: bold;
    color: #32a6f8;
    font-family: Arial, Helvetica, sans-serif;
}

.home-number-top em {
    display: inline-block;
    margin-left: 8px;
    padding-bottom: 8px;
    font-size: 20px;
    line-height: 24px;
    color: #32a6f8;
    font-style: normal;
    font-weight: normal;
}

.home-number-item p {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 24px;
    color: #333;
}


.home-case {
    width: 100%;
    background: #f8f8fc;
    padding-bottom: 70px;
}

.home-case-warp {
    width: 100%;
    overflow: hidden;
}

.home-case-box {
    position: relative;
}

/* 分类 Tab */
.home-case-tabs {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.home-case-tab {
    display: inline-block;
    min-width: 116px;
    height: 44px;
    padding: 0 26px;
    box-sizing: border-box;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e5e5f5;
    font-size: 16px;
    line-height: 42px;
    color: #333;
    text-align: center;
    transition: all 0.25s ease;
}

.home-case-tab:hover,
.home-case-tab.active {
    background: #0000fe;
    border-color: #0000fe;
    color: #fff;
}

/* 内容区域 */
.home-case-content {
    width: 100%;
}

.home-case-panel {
    display: none;
    width: 100%;
}

.home-case-panel.active {
    display: block;
}

/* 案例列表 */
.home-case-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 24px;
}



.home-case-item {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.home-case-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #f5f5f5;
}

.home-case-img img {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.45s ease;
}

.home-case-info {
    width: 100%;
    padding: 18px 15px 20px;
    box-sizing: border-box;
}

    .home-case-info h3 {
        margin: 0;
        font-size: 18px;
        line-height: 28px;
        color: #222;
        text-align: center;
        font-weight: bold;
        transition: all 0.25s ease;
    }

.home-case-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.home-case-item:hover .home-case-img img {
    transform: scale(1.06);
}

.home-case-item:hover .home-case-info h3 {
    color: #0000fe;
}