/* ==========================================================================
   首页（修改版）
   ========================================================================== */

/* ---------------- Banner 轮播 ---------------- */
.banner {
    width: 100%;
    height: clamp(320px, 38vw, 700px);
    position: relative;
    background: var(--c-primary);
}

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

.banner .swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    overflow: hidden;
}

.banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 图片上的暗色渐变，保证文字可读 */
.banner .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 47, .25) 0%, rgba(10, 25, 47, .45) 100%);
    pointer-events: none;
}

.banner .swiper-slide .bannerh1,
.banner .swiper-slide .bannerh2,
.banner .swiper-slide .bannerh3 {
    position: absolute;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.banner .swiper-slide .bannerh1 h1,
.banner .swiper-slide .bannerh2 h1,
.banner .swiper-slide .bannerh3 h1 {
    font-family: "biaoti", 'Montserrat', sans-serif;
    font-size: clamp(26px, 4.2vw, 54px);
    letter-spacing: 1px;
    line-height: 1.2;
}

.banner .swiper-slide .bannerh1 h2,
.banner .swiper-slide .bannerh2 h2,
.banner .swiper-slide .bannerh3 h2 {
    font-size: clamp(15px, 2vw, 28px);
    font-weight: 500;
    margin-top: 14px;
}

/* 分页圆点 */
.banner .swiper-pagination-bullet {
    opacity: .6;
}

.banner .swiper-pagination-bullet-active {
    background: #fff !important;
    opacity: 1;
    border-radius: 5px;
    width: 28px;
}

/* ---------------- ABOUT 区块 ---------------- */
.ABOUT {
    background: var(--c-bg);
    padding: 100px 0;
}

.ABOUT .ABOUT_w h3 {
    font-family: "biaoti", 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.2vw, 38px);
    color: var(--c-primary);
    text-align: center;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 18px;
}

.ABOUT .ABOUT_w h3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--c-accent);
}

.ABOUT .ABOUT_w > p {
    color: var(--c-text-2);
    text-align: center;
    margin-top: 20px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.ABOUT .ABOUT_w .module {
    margin-top: 56px;
    display: flex;
    align-items: stretch;
    background: #ffffff86;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.ABOUT .ABOUT_w .module .module_left {
    flex: 1 1 50%;
    padding: 46px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgb(194, 224, 255);
}

.ABOUT .ABOUT_w .module .module_left h4 {
    font-size: 20px;
    color: var(--c-primary);
    letter-spacing: .5px;
}

.ABOUT .ABOUT_w .module .module_left h4 + h4 {
    margin-top: 6px;
    font-size: 16px;
    color: var(--c-accent);
    font-weight: 600;
}

.ABOUT .ABOUT_w .module .module_left p {
    margin-top: 18px;
    line-height: 1.9;
    color: var(--c-text-2);
}

.ABOUT .ABOUT_w .module .module_left a {
    align-self: flex-start;
    margin-top: 28px;
    padding: 13px 46px;
    border-radius: 0;
    background: var(--c-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background .3s ease, box-shadow .3s ease;
}

.ABOUT .ABOUT_w .module .module_right {
    flex: 1 1 50%;
    min-height: 400px;
    overflow: hidden;
}

.ABOUT .ABOUT_w .module .module_right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.ABOUT .ABOUT_w .module:hover .module_right img {
    transform: scale(1.05);
}

/* ---------------- SERVICE 区块（带背景图，参考线上一致） ---------------- */
.SERVICE {
    padding: 100px 0;
    background: url(../img/bj1.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

/* 深色遮罩，保证文字可读 */
.SERVICE::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 30, 54, .55);
}

.SERVICE .SERVICE_ITEMS {
    position: relative;
    z-index: 1;
}

.SERVICE .SERVICE_ITEMS h4 {
    font-family: "biaoti", 'Montserrat', sans-serif;
    text-align: center;
    color: #fff;
    font-size: clamp(26px, 3.2vw, 38px);
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 18px;
}

.SERVICE .SERVICE_ITEMS h4::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--c-accent);
}

.SERVICE .SERVICE_ITEMS > p {
    text-align: center;
    color: rgba(255, 255, 255, .85);
    margin-top: 20px;
}

.SERVICE .SERVICE_ITEMS .SERVICE_text ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.SERVICE .SERVICE_ITEMS .SERVICE_text ul li {
    background: rgba(255, 255, 255, .96);
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-align: center;
    padding: 30px 16px 26px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.SERVICE .SERVICE_ITEMS .SERVICE_text ul li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.SERVICE .SERVICE_ITEMS .SERVICE_text ul li img {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    object-fit: contain;
}

.SERVICE .SERVICE_ITEMS .SERVICE_text ul li h5 {
    color: var(--c-primary);
    font-size: 17px;
    margin-top: 16px;
}

.SERVICE .SERVICE_ITEMS .SERVICE_text ul li p {
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 10px;
    white-space: pre-line;
}

/* ---------------- WHY CHOOSE GL 区块 ---------------- */
.WHYCHOOSEGL {
    background: var(--c-bg);
    padding: 90px 0;
    overflow: hidden;
}

.WHYCHOOSEGL .WHYCHOOSEGL_w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_left {
    flex: 0 0 36%;
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_left h4 {
    font-family: "biaoti", 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.2vw, 38px);
    color: var(--c-primary);
    padding-bottom: 40px;
    position: relative;
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_left h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--c-accent);
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_left h5 {
   font-size: 20px;
    color: var(--c-text);
    padding: 23px 0;
    position: relative;
    /* border-bottom: 1px solid var(--c-line); */
    transition: color .25s ease, padding-left .25s ease;
}

/* .WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_left h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: inset 0 0 0 4px var(--c-bg), inset 0 0 0 9px var(--c-accent);
} */
.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_left h5::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 56px;
    height: 2px;
    border-radius: 2px;
    background-color: #103051;
}
.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_left h5:hover {
    color: var(--c-primary-light);
    /* padding-left: 40px; */
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right {
    position: relative;
    flex: 1;
    max-width: 780px;
    aspect-ratio: 729 / 553;
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right img {
    position: absolute;
    transition: transform .4s ease;
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right .img31 { top: 2%;  right: 28%; width: 33%; }
.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right .img32 { right: 46%; bottom: 27%; width: 33%; }
.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right .img33 { right: 28%; bottom: 0;  width: 33%; }

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right img:hover {
    transform: scale(1.08);
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right .imgwenben {
    position: absolute;
    top: 21%;
    right: 0;
    width: 44%;
    aspect-ratio: 1 / 1;
    background-image: url(../img/34.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right .imgwenben span {
    color: #fff;
    font-weight: 700;
    font-size: clamp(13px, 1.6vw, 19px);
    line-height: 1.5;
}

/* ==========================================================================
   响应式
   ========================================================================== */

/* 平板 */
@media (max-width: 992px) {
    .ABOUT,
    .SERVICE,
    .WHYCHOOSEGL {
        padding: 64px 0;
    }

    .SERVICE .SERVICE_ITEMS .SERVICE_text ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .WHYCHOOSEGL .WHYCHOOSEGL_w {
        flex-direction: column;
        align-items: stretch;
    }

    .WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_left {
        flex: none;
    }

    .WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .ABOUT .ABOUT_w .module {
        flex-direction: column;
    }

    .ABOUT .ABOUT_w .module .module_left {
        padding: 32px 28px;
    }

    .ABOUT .ABOUT_w .module .module_right {
        min-height: 240px;
        width: 100%;
    }
}

/* 手机横屏 / 小平板 */
@media (max-width: 640px) {
    .banner {
        height: clamp(260px, 52vw, 420px);
    }

    .SERVICE .SERVICE_ITEMS .SERVICE_text ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* 手机竖屏 */
@media (max-width: 480px) {
    .ABOUT,
    .SERVICE,
    .WHYCHOOSEGL {
        padding: 48px 0;
    }

    .ABOUT .ABOUT_w .module .module_left {
        padding: 26px 20px;
    }

    .SERVICE .SERVICE_ITEMS .SERVICE_text ul {
        grid-template-columns: 1fr 1fr;
    }

    .SERVICE .SERVICE_ITEMS .SERVICE_text ul li {
        padding: 22px 10px 18px;
    }

    .SERVICE .SERVICE_ITEMS .SERVICE_text ul li:nth-last-child(1):nth-child(odd) {
        grid-column: 1 / -1;
    }

    /* WHY 区块右侧改为静态堆叠，避免绝对定位在小屏溢出 */
    .WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right {
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right img {
        position: static;
        width: 100%;
    }

    .WHYCHOOSEGL .WHYCHOOSEGL_w .WHYCHOOSEGL_right .imgwenben {
        position: static;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: var(--radius);
    }
}
