﻿.home-title{ padding: 50px 0 40px 0;}


.home-title h2{ font-size: 2.5rem;}
.home-title h2 em{ width: 100px;height: 2px;background: #E27A1F; position: relative; display: inline-block; margin-left: 5px;}


.home-title a{ display: inline-block; padding: 0 30px; color: #004AC5; font-size: 1rem; height: 55px; line-height: 53px; background: #FFFFFF;border-radius: 10px;border: 1px solid #004AC5;}
.home-title a i{ margin-left: 15px; font-size: 1.2rem;}
.home-title a:hover{ background: #004AC5; color: #FFFFFF;}

.home-title-text{ margin-bottom: 50px; padding-right: 400px; color: #666; font-size: 1rem; line-height: 26px;}


.home-services{ width: 100%; height: auto; padding: 30px 0; background: #f7f8fc;}

.home-services .container{gap: 40px; grid-template-columns: repeat(4, 1fr); /* 3 列 */  display: grid;}
.home-services dl{ width: 100%; display: flex;}
.home-services dl dt{ width: 76px; height: 76px;}
.home-services dl dd{ width: calc(100% - 76px); margin-left: 10px;}
.home-services dl dd b{ display: block; font-size: 1rem; line-height: 26px; margin-bottom: 5px;}
.home-services dl dd p{ line-height: 21px; font-size: 0.8rem; color: #666;}


.home-about{ width: 100%;}
.home-about-left{ width: 50%; background: url(../images/homeabb1.jpg) no-repeat center; background-size:cover;}
.home-about-left-info{ width: 100%; color: #FFFFFF;     margin-left: max(20px, calc((100vw - 1360px) / 2)); padding-right: 60px;}
.home-about-left-info h2{ color: #FFFFFF; font-size: 1.8rem; line-height: 70px;}
.home-about-left-info em{ display: inline-block; background: #FFFFFF; width: 100px; height: 2px;}
.home-about-left-info p{ line-height: 25px; font-size: 0.95rem; padding: 35px 0;}
.home-about-left-info a{ display: inline-block; padding: 0 30px; color: #004AC5; font-size: 1rem; height: 55px; line-height: 53px; background: #FFFFFF;border-radius: 10px;border: 1px solid #004AC5;}
.home-about-left-info a i{ margin-left: 15px; font-size: 1.2rem;}
.home-about-left-info a:hover{ background: #004AC5; color: #FFFFFF;}

.home-about-right{ width: 50%; }
.home-about-right img{ width: 100%; height: auto;}


.home-brand{gap: 20px; grid-template-columns: repeat(6, 1fr); /* 3 列 */  display: grid;}
.home-brand a{ display: block; width: 100%; padding: 15px; border-radius: 10px;border: 1px solid #EDEDED;}
.home-brand a img{ width: 100%; height: auto;}
.home-brand a:hover{transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08);}



.home-solutions{ margin-top: 60px; width: 100%; padding-bottom: 70px; background: url(../images/homesoubg.jpg) no-repeat center; background-size:cover;}

.home-solutions-box{ background: url(../images/homesoubg1.jpg) no-repeat center; background-size:cover; border-radius: 10px; color: #FFFFFF; padding: 40px 30px;}
.home-solutions-box-info{ width: 100%; font-size: 0.95rem; line-height: 25px; padding-bottom: 40px; padding-right:50%;}

.home-solutions-box-list{ width: 100%; gap: 30px; grid-template-columns: repeat(3, 1fr); /* 3 列 */  display: grid;}
.home-solutions-box-item{ display: block; width: 100%; background: rgba(0,0,0,0.5);border-radius: 10px; padding: 40px 30px;}
.home-solutions-box-item h3{ color: #FFFFFF; font-size: 1.1rem; height: 32px; line-height: 32px; overflow: hidden; margin-top: 20px;}
.home-solutions-box-item p{ margin-top: 10px; line-height: 23px; height: 46px; overflow:  hidden; color: #FFFFFF;}
.home-solutions-box-item:hover{transform: translateY(-4px); background: rgba(0,0,0,0.8);}


.home-quality{ padding: 60px 0; width: 100%; height: auto; background: url(../images/homequabg.jpg) no-repeat center; background-size:cover;}
.home-quality-title1{ text-align: center;  padding-bottom: 40px;  font-family: myFirstFont1; font-size: 2rem; line-height: 48px; color: #111;}
.home-quality-left{ width: 570px; height: auto;}
.home-quality-left img{ width: 100%; height: auto;}

.home-quality-right {
    width: calc(100% - 570px);
    padding-left: 90px;
}

.home-quality-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.home-quality-title {
    position: relative;
    padding: 30px 68px 30px 30px;
    cursor: pointer;
    text-align: left;
}

.home-quality-title h3 {
    margin: 0;
    color: #222;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: left;
}

.home-quality-content {
    display: none;
    padding: 0 60px 24px 30px;
    text-align: left;
}

.home-quality-content p {
    margin: 0;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
}

.home-quality-arrow {
    position: absolute;
    right: 32px;
    top: 38px;
    width: 12px;
    height: 12px;
    border-right: 1.5px solid #f27a1a;
    border-bottom: 1.5px solid #f27a1a;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.home-quality-item.active .home-quality-arrow {
    transform: rotate(-135deg);
    top: 44px;
}

.home-quality-item.active {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.03);
}




.home-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.home-blog-item {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 455px;
    color: #222;
    text-decoration: none;
    background: #fff;
    border-radius: 14px;
}

.home-blog-img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 14px;
}

.home-blog-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: all 0.45s ease;
}

.home-blog-info {
    position: relative;
    z-index: 2;
    padding: 18px 0 0;
    transition: all 0.3s ease;
}

.home-blog-date {
    color: #666;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.home-blog-info h3 {
    color: #222;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.home-blog-info p {
    color: #666;
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 渐变遮罩 */
.home-blog-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    background: linear-gradient(180deg, rgba(67,111,167,0) 0%, #004AC5 100%);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* 鼠标经过：图片铺满整个卡片 */
.home-blog-item:hover .home-blog-img {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.home-blog-item:hover .home-blog-img img {
    transform: scale(1.06);
}

.home-blog-item:hover::after {
    opacity: 1;
}

/* 鼠标经过：文字压到底部 */
.home-blog-item:hover .home-blog-info {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 30px;
    padding: 0;
}

.home-blog-item:hover .home-blog-date,
.home-blog-item:hover .home-blog-info h3,
.home-blog-item:hover .home-blog-info p {
    color: #fff;
}