/* 首页专用样式 */


/* Hero */

.home-hero {
    position: relative;
    height: 570px;
    background: url("../assets/home/banner.png") center / cover no-repeat;
}

.home-hero .container {
    padding-left: 70px;
    display: flex;
    /* grid-template-columns: 0.8fr 0.9fr; */
    gap: 290px;
    align-items: center;
    height: 100%;
}

.hero-panel {
    background: rgba(24, 68, 185, 0.5);
    border-radius: 150px 0px 150px 0px;
    /* padding: 44px 42px; */
    height: 100%;
    width: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ecf2ff;
    /* max-width: 600px; */
}

.hero-panel h1 {
    color: #ffffff;
    font-size: 48px;
    line-height: 60px;
    margin-bottom: 40px;
}

.hero-panel h1 span {
    color: #4CC6FE;
}

.hero-panel .hero-desc {
    color: #d8e4ff;
    font-size: 20px;
    margin: 0;
}

.hero-portrait {
    justify-self: center;
    width: 344px;
    margin: 0;
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero .hero-actions {
    margin-top: 70px;
}

.home-hero .btn {
    min-width: 177px;
    padding: 0;
    height: 62px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: normal;
}

.home-page .btn,
.home-page .about-btn,
.home-page .cta-btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-page .btn:hover,
.home-page .about-btn:hover,
.home-page .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(9, 19, 45, 0.28);
}

.btn-home-primary {
    background: linear-gradient( -90deg, #29B668 0%, #82C942 100%);
    color: #fff;
}

.btn-home-primary:hover {
    opacity: 1;
}

.btn-home-secondary {
    width: 268px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff !important;
    color: #fff;
    opacity: 0.8;
}

.btn-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.btn-icon-wechat {
    background-image: url("../assets/home/icon-bj.png");
}

.btn-icon-phone {
    background-image: url("../assets/home/icon_tell.png");
}

.hero-desc {
    margin-top: 18px;
    max-width: 680px;
    font-size: 1.06rem;
    color: #fff;
    opacity: 0.8;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #0d6ea8;
    font-weight: 700;
}

.hero-kpis {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 12px;
}

.hero-kpis>div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    display: grid;
    gap: 2px;
}

.hero-kpis strong {
    font-size: 1.2rem;
}

.hero-kpis span {
    color: var(--muted);
    font-size: 0.88rem;
}


/* Why Section */

.feature-grid,
.services-grid,
.partner-grid {
    margin-top: 28px;
    display: grid;
    gap: 40px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.card,
.service-item,
.quote {
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 16px;
    padding: 22px;
}

.card h3,
.service-item h3 {
    font-size: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 8px;
}

.card p,
.service-item p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 18px;
}

.service-item a {
    color: var(--primary);
    font-weight: 700;
}

.why.section {
    text-align: center;
    background: #F8FAFC;
}

.why .section-lead {
    margin-top: 30px;
}

.why .feature-grid {
    margin-top: 60px;
}

.why .card {
    border-radius: 16px;
    padding: 30px 35px 24px;
    box-shadow: 0 6px 18px rgba(12, 39, 79, 0.08);
}

.feature-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: grid;
    place-items: center;
}

.feature-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-icon-wrap-blue {
    background: #e9f0ff;
}

.feature-icon-wrap-green {
    background: #e9faf2;
}

.feature-icon-wrap-orange {
    background: #fff0e8;
}

.why .card h3 {
    margin: 0 0 20px;
    color: #303030;
}

.why .card p {
    margin: 0;
    color: var(--muted);
}

.feature-tag {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    border-radius: 999px;
    padding: 4px 13px;
}

.feature-tag-blue {
    color: #475CFA;
    background: #F2F4FF;
}

.feature-tag-green {
    color: #2DA86A;
    background: #E9F9F0;
}

.feature-tag-orange {
    color: #FF4C4C;
    background: #FFEFE9;
}


/* Home Services Section */

.services {
    background: var(--bg);
}

.services.section {
    background: #F8FAFC;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.services .container {
    text-align: center;
}

.services .services-grid {
    margin-top: 60px;
    text-align: left;
}

.services-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    border-radius: 12px;
    padding: 32px 30px 30px;
    box-shadow: 0 6px 18px rgba(12, 39, 79, 0.08);
    border: none;
}

.service-title-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.service-title-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 161, 65, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-title-row img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-top: 0;
}

.service-title-row h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: #303030;
}

.service-en-title {
    font-weight: 400;
    margin: 0 !important;
    color: #445369;
    font-size: 14px !important;
}

.services .service-item>p {
    margin: 0 0 20px;
    color: #445369;
    font-size: 17px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
}

.services .service-item>p.service-en-copy {
    font-size: 16px;
    color: #445369;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
}

.services .service-item a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #FF4C4C;
    font-weight: 500;
    font-size: 17px;
}

.services .service-item a img {
    width: 16px;
    height: 16px;
}


/* About Section */

.about.section {
    background: #F8FAFC;
    padding-bottom: 80px;
}

.about-layout {
    margin-top: 60px;
    display: flex;
    /* grid-template-columns: 1.4fr 1fr; */
    gap: 40px;
}

.about-layout article {
    padding: 0;
}

.about h2 {
    color: #192f58;
    text-align: center;
}

.about .section-lead {
    color: #445369;
    text-align: center;
}

.about-mission-card {
    width: 692px;
    box-sizing: border-box;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    padding: 48px 36px 0 !important;
    box-shadow: 0 6px 18px rgba(12, 39, 79, 0.08);
}

.about-card-title {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #FF4C4C;
    font-size: 28px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
}

.about-card-title em {
    font-style: normal;
    font-size: 18px;
    color: #445369;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
}

.about-cn-copy {
    font-size: 17px;
    color: #445369;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
}

.about-title-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #FF4C4C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-title-icon img {
    width: 20px;
    height: 20px;
}

.about-mission-card p,
.about-profile p {
    margin: 0 0 30px;
    line-height: 30px;
    color: #445369;
}

.about-en-copy {
    font-size: 16px;
    color: #445369;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
}

.about-profile {
    padding: 24px 0 !important;
}

.about-profile h3 {
    margin: 0 0 20px;
    color: #1E293B;
    font-size: 28px;
}

.about-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.about-btn {
    min-height: 46px;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 18px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
}

.about-btn img {
    width: 25px;
    height: 18px;
    object-fit: contain;
}

.about-btn-primary {
    background: linear-gradient(-90deg, #29B668 1%, #82C942 100%);
    color: #fff;
}

.about-btn-outline {
    background: #fff;
    border-color: #b6c0cf;
    color: #3f4f67;
}

.about-btn-outline img {
    width: 20px;
    height: 20px;
}


/* Testimonials */

.testimonials {
    background: #FFFFFF;
    padding-bottom: 60px;
}

.testimonials .container {
    overflow: hidden;
}

.testimonials h2 {
    font-size: 32px;
    color: #1A1A1A;
    text-align: center;
}

.testimonials .section-lead {
    color: #445369;
    text-align: center;
    margin-top: 34px;
}

.testimonial-stars {
    margin: 34px 0 0;
    text-align: center;
}

.testimonial-stars img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.testimonial-track {
    margin-top: 60px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 250px;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 24px 52px;
    -webkit-overflow-scrolling: touch;
}

.testimonial-track .quote {
    border: none;
    padding: 0;
    border-radius: 0px;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.testimonial-track .quote:hover {
    transform: scale(1.04);
    z-index: 2;
}

.quote-media {
    height: 340px;
}

.quote-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: zoom-in;
}

.quote-meta {
    padding: 16px;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.15);
}

.quote-meta p {
    color: #445369;
    font-size: 14px;
    margin: 0;
}

.quote-stars {
    display: inline-flex;
    align-items: center;
}

.quote-stars img {
    height: 12px;
    width: auto;
    display: block;
}

[class^="ph-"]::before,
[class*=" ph-"]::before {
    font: normal normal normal 1em / 1 "Noto Sans SC", system-ui, -apple-system, sans-serif;
    color: inherit;
    flex-shrink: 0;
    text-transform: none;
    text-decoration: inherit;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

.testimonial-track::-webkit-scrollbar {
    height: 10px;
    border-radius: 10px;
}

.testimonial-track::-webkit-scrollbar-track {
    background: #F1F1F1;
    border-radius: 10px;
}

.testimonial-track::-webkit-scrollbar-thumb {
    background: rgba(68, 83, 105, 0.3);
    border-radius: 10px;
}

.testimonial-track::-webkit-scrollbar-thumb:hover {
    background: rgba(68, 83, 105, 0.3);
}


/* Partners */

.partner-grid {
    margin-top: 28px;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 18px;
}

.partners.section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #f5f8fd;
    text-align: center;
}

.partners .section-lead {
    font-size: 22px;
    color: #445369;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
}

.partners .partner-grid {
    margin-top: 70px;
    gap: 50px;
}

.partner-item {
    border: 1px solid #e4e9f2;
    border-radius: 10px;
    padding: 10px 18px;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(11, 29, 64, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-item:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 22px rgba(11, 29, 64, 0.15);
}

.partner-item img {
    width: 100%;
    max-width: 150px;
    height: 80px;
    object-fit: contain;
}

.partner-note {
    margin-top: 50px;
    color: #445369;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    width: 300px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
}

.partner-note img {
    width: 18px;
    height: 18px;
}


/* CTA */

.cta {
    background: #143275;
    padding-bottom: 70px;
    color: #fff;
}

.cta-wrap {
    text-align: center;
}

.cta-wrap h2 {
    font-size: 32px;
    color: #fff;
    margin: 0;
}

.cta-wrap>p {
    margin: 24px 0 0;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    opacity: 0.8;
}

.cta-actions {
    margin-top: 55px;
    line-height: 1;
    display: flex;
    justify-content: center;
    gap: 36px;
}

.cta-btn {
    height: 62px;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
    border: 1px solid transparent;
}

.cta-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.cta-btn-primary {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-light {
    color: #fff;
    background: linear-gradient( -90deg, #29B668 0%, #82C942 100%);
}

.cta-contact-grid {
    margin-top: 78px;
    width: min(1100px, 100%);
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.cta-contact-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.14);
    min-height: 170px;
    box-sizing: border-box;
    padding: 28px 0 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
    opacity: 0.9;
}

.cta-contact-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.cta-contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-contact-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #ffffff;
}

.cta-contact-main {
    margin: 0;
    color: #3CD02D;
    font-size: 18px;
}

.cta-contact-sub {
    margin-top: 22px;
    color: #a6b8e6;
    font-size: 0.86rem;
}

.cta-contact-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.34);
}

.cta-contact-card:hover .cta-contact-icon img {
    transform: scale(1.18);
}


/* Home 响应式 */

@media (max-width: 980px) {
    .feature-grid,
    .services-grid,
    .partner-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
    .about-layout {
        flex-direction: column;
        align-items: stretch;
    }
    .home-hero .container {
        padding: 0 16px;
        flex-direction: column;
        gap: 22px;
        align-items: stretch;
        justify-content: center;
    }
    .hero-panel {
        border-radius: 24px;
        padding: 28px 22px;
        width: 100%;
        max-width: 720px;
        height: auto;
        margin: 0 auto;
        text-align: center;
    }
    .hero-portrait {
        width: min(280px, 72%);
        margin: 0 auto;
    }
    .why .card h3 {
        font-size: 1.2rem;
    }
    .service-title-row h3 {
        font-size: 1.05rem;
    }
    .services .service-item>p,
    .service-en-copy {
        font-size: 0.88rem;
        line-height: 1.65;
    }
    .services .services-grid {
        margin-top: 24px;
    }
    .about-profile {
        padding: 0;
    }
    .about-profile h3 {
        font-size: 1.6rem;
    }
    .testimonial-track {
        grid-auto-columns: 230px;
    }
    .quote-media {
        height: 210px;
    }
    .partner-grid {
        gap: 14px;
    }
    .partners .partner-grid {
        margin-top: 36px;
        gap: 22px;
    }
    .partner-note {
        margin-top: 26px;
    }
    .cta-wrap>p {
        font-size: 1.02rem;
    }
    .cta-btn {
        min-height: 50px;
        padding: 0 20px;
        font-size: 0.94rem;
    }
    .cta-contact-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .cta-contact-card {
        min-height: 154px;
    }
    .cta-contact-card h3 {
        font-size: 1.28rem;
    }
}

@media (max-width: 620px) {
    .feature-grid,
    .services-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }
    .home-hero {
        height: auto;
        min-height: 520px;
        padding: 22px 0 28px;
        background-position: center top;
    }
    .home-hero .container {
        padding: 0 16px;
        gap: 18px;
    }
    .hero-panel {
        width: 100%;
        max-width: none;
        border-radius: 22px;
        padding: 22px 16px;
    }
    .hero-panel h1 {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 18px;
    }
    .hero-panel .hero-desc {
        font-size: 0.98rem;
        line-height: 1.6;
    }
    .home-hero .hero-actions {
        margin-top: 22px;
        flex-direction: column;
        align-items: stretch;
    }
    .home-hero .btn {
        width: 100%;
        min-width: 200px;
    }
    .btn-home-secondary {
        width: 100%;
    }
    .why .card {
        padding: 24px 16px 18px;
    }
    .feature-icon-wrap {
        width: 60px;
        height: 60px;
    }
    .service-item {
        padding: 18px 14px 14px;
    }
    .about-mission-card {
        width: 100%;
        flex-shrink: 1;
        padding: 18px 16px !important;
    }
    .about-layout {
        margin-top: 28px;
        gap: 18px;
    }
    .about-card-title {
        font-size: 1.35rem;
    }
    .about-card-title em {
        font-size: 0.86rem;
    }
    .about-profile h3 {
        font-size: 1.35rem;
    }
    .about-btn {
        width: 100%;
    }
    .testimonial-stars img {
        height: 24px;
    }
    .testimonial-track {
        grid-auto-columns: 78vw;
        gap: 10px;
    }
    .quote-media {
        height: 200px;
    }
    .partner-note {
        font-size: 0.78rem;
        padding: 5px 10px;
    }
    .partners .partner-grid {
        margin-top: 26px;
        gap: 14px;
    }
    .partner-item {
        padding: 10px 14px;
    }
    .partner-item img {
        max-width: 140px;
        height: 66px;
    }
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-btn {
        width: 100%;
    }
    .cta-contact-main {
        font-size: 0.95rem;
    }
}