/* =========================================================
   供应链保理页面
   supply-chain.css
========================================================= */


/* =========================================================
   基础
========================================================= */

.supply-chain-page {
    width: 100%;
    min-width: 1200px;
    background: #ffffff;
    color: #1f1f1f;
}

.sc-container {
    width: 1200px;
    max-width: calc(100% - 80px);
    margin: 0 auto;
}


/* =========================================================
   Banner
========================================================= */

.sc-banner {
    width: 100%;
    overflow: hidden;
    background: #f4f7fb;
}

.sc-banner-image {
    width: 100%;
    line-height: 0;
}

.sc-banner-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 475px;
    object-fit: cover;
}


/* =========================================================
   供应链保理介绍
========================================================= */

.sc-intro {
    width: 100%;
    background: #eef5ff;
    padding: 48px 0;
}

.sc-intro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    min-height: 190px;
}


/* 左侧文字 */

.sc-intro-content {
    flex: 1;
    min-width: 0;
}

.sc-intro-content h1 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    color: #111111;
}

.sc-title-line {
    width: 38px;
    height: 3px;
    margin-bottom: 20px;
    background: #1263c6;
}

.sc-intro-content p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 2;
    color: #555d68;
}

.sc-intro-content p:last-child {
    margin-bottom: 0;
}


/* 右侧图片 */

.sc-intro-image {
    width: 390px;
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid #bdd8f8;
    background: #eef7ff;
    overflow: hidden;
}

.sc-intro-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    padding: 0;
    margin: 0;
}


/* =========================================================
   三大融资区域
========================================================= */

.sc-finance-section {
    width: 100%;
    background: #ffffff;

    padding: 58px 0 68px;
}


/* =========================================================
   三个 Tab
========================================================= */

.sc-tabs {
    width: 660px;
    height: 54px;

    margin: 0 auto 32px;

    display: flex;

    border: 1px solid #2d69b8;
    border-radius: 3px;

    overflow: hidden;
    background: #ffffff;
}


/*
   三个按钮完全等宽
*/

.sc-tab {
    flex: 1;
    width: 33.333333%;

    height: 54px;

    padding: 0;

    border: 0;
    border-right: 1px solid #a9c3e3;

    background: #ffffff;

    color: #20528e;

    font-size: 15px;
    font-weight: 500;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.sc-tab:last-child {
    border-right: 0;
}

.sc-tab:hover {
    background: #edf5ff;
}

.sc-tab.active {
    background: #1758a5;
    color: #ffffff;
}

.sc-tab-icon {
    font-size: 13px;
    line-height: 1;
}


/* =========================================================
   Tab 内容
========================================================= */

.sc-tab-panels {
    width: 100%;
}

.sc-tab-panel {
    display: none;
    width: 100%;
}

.sc-tab-panel.active {
    display: block;
}


/* =========================================================
   融资卡片
========================================================= */

.sc-finance-card {
    width: 100%;
    height: 260px;

    display: flex;

    margin-bottom: 26px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 4px;

    overflow: hidden;

    box-shadow:
        0 3px 12px rgba(25, 78, 130, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.sc-finance-card:last-child {
    margin-bottom: 0;
}

.sc-finance-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(25, 78, 130, 0.12);
}


/* =========================================================
   左右两部分保持 1 : 1
========================================================= */

.sc-card-text {
    width: 50%;
    height: 100%;

    padding: 0 58px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    justify-content: center;

    background: #ffffff;
}

.sc-card-text h2 {
    margin: 0 0 18px;

    font-size: 24px;
    line-height: 1.4;

    font-weight: 700;

    color: #111111;
}

.sc-card-text p {
    margin: 0 0 12px;

    font-size: 14px;
    line-height: 1.9;

    color: #555d68;
}

.sc-card-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   图片区域
========================================================= */

.sc-card-image {
    width: 50%;
    height: 100%;

    flex-shrink: 0;

    overflow: hidden;

    background: #edf4fb;
}

.sc-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.35s ease;
}

.sc-finance-card:hover .sc-card-image img {
    transform: scale(1.02);
}


/* =========================================================
   第二行左右反转
========================================================= */

.sc-finance-card.reverse {
    flex-direction: row;
}


/* =========================================================
   产品优势
========================================================= */

.sc-advantage-section {
    width: 100%;

    padding: 58px 0 66px;

    background: #eef5ff;
}


/* =========================================================
   产品优势标题
========================================================= */

.sc-section-title {
    text-align: center;

    margin-bottom: 36px;
}

.sc-section-title h2 {
    margin: 0;

    font-size: 26px;
    line-height: 1.5;

    font-weight: 500;

    color: #111111;
}

.sc-section-title span {
    display: block;

    width: 36px;
    height: 3px;

    margin: 12px auto 0;

    background: #1263c6;
}


/* =========================================================
   四个优势
========================================================= */

.sc-advantage-list {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.sc-advantage-item {
    position: relative;

    min-height: 145px;

    padding: 24px 22px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e4ebf4;

    border-radius: 5px;

    overflow: hidden;

    box-shadow:
        0 2px 8px rgba(30, 70, 120, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.sc-advantage-item:hover {
    transform: translateY(-3px);

    box-shadow:
        0 7px 18px rgba(30, 70, 120, 0.10);
}

.sc-advantage-item h3 {
    position: relative;

    z-index: 2;

    margin: 0 0 13px;

    font-size: 17px;
    line-height: 1.5;

    font-weight: 500;

    color: #1759a8;
}

.sc-advantage-item p {
    position: relative;

    z-index: 2;

    margin: 0;

    font-size: 12px;
    line-height: 1.8;

    color: #606975;
}

.sc-advantage-bg {
    position: absolute;

    right: 8px;
    bottom: -15px;

    font-size: 85px;

    line-height: 1;

    color: rgba(79, 150, 230, 0.10);

    pointer-events: none;
}


/* =========================================================
   页面整体高度与间距优化
========================================================= */

.sc-finance-section .sc-container {
    position: relative;
}

.sc-finance-section {
    box-sizing: border-box;
}


/* =========================================================
   平板
========================================================= */

@media screen and (max-width: 1400px) {

    .sc-container {
        width: 1120px;
        max-width: calc(100% - 60px);
    }

    .sc-intro-inner {
        gap: 50px;
    }

    .sc-intro-image {
        width: 360px;
        height: 175px;
    }

    .sc-finance-card {
        height: 245px;
    }

    .sc-card-text {
        padding: 0 48px;
    }

}


/* =========================================================
   小屏幕
========================================================= */

@media screen and (max-width: 1100px) {

    .supply-chain-page {
        min-width: 0;
    }

    .sc-container {
        width: 100%;
        max-width: calc(100% - 40px);
    }

    .sc-intro-inner {
        gap: 35px;
    }

    .sc-intro-image {
        width: 330px;
        height: 165px;
    }

    .sc-tabs {
        width: 600px;
    }

    .sc-card-text {
        padding: 0 35px;
    }

    .sc-card-text h2 {
        font-size: 22px;
    }

}


/* =========================================================
   手机端
========================================================= */

@media screen and (max-width: 768px) {

    .sc-container {
        max-width: calc(100% - 30px);
    }


    /* Banner */

    .sc-banner-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }


    /* Intro */

    .sc-intro {
        padding: 35px 0;
    }

    .sc-intro-inner {
        flex-direction: column;

        align-items: stretch;

        gap: 25px;
    }

    .sc-intro-content h1 {
        font-size: 24px;
    }

    .sc-intro-image {
        width: 100%;
        height: auto;

        min-height: 150px;
    }

    .sc-intro-image img {
        width: 100%;
        height: auto;

        object-fit: contain;
    }


    /* Finance */

    .sc-finance-section {
        padding: 40px 0 45px;
    }

    .sc-tabs {
        width: 100%;
        height: 48px;

        margin-bottom: 25px;
    }

    .sc-tab {
        height: 48px;

        font-size: 13px;
    }


    /* Cards */

    .sc-finance-card {
        height: auto;

        min-height: 0;

        flex-direction: column;

        margin-bottom: 20px;
    }

    .sc-finance-card.reverse {
        flex-direction: column;
    }

    .sc-card-text {
        width: 100%;
        min-height: 190px;

        padding: 30px;
    }

    .sc-card-image {
        width: 100%;
        height: auto;

        aspect-ratio: 16 / 9;
    }

    .sc-card-text h2 {
        font-size: 21px;
    }

    .sc-card-text p {
        font-size: 13px;
    }


    /* Advantages */

    .sc-advantage-section {
        padding: 45px 0 50px;
    }

    .sc-section-title {
        margin-bottom: 28px;
    }

    .sc-section-title h2 {
        font-size: 23px;
    }

    .sc-advantage-list {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .sc-advantage-item {
        min-height: 140px;

        padding: 20px 18px;
    }

}


/* =========================================================
   超小屏
========================================================= */

@media screen and (max-width: 480px) {

    .sc-container {
        max-width: calc(100% - 24px);
    }

    .sc-advantage-list {
        grid-template-columns: 1fr;
    }

    .sc-tabs {
        height: 46px;
    }

    .sc-tab {
        height: 46px;

        font-size: 12px;

        gap: 4px;
    }

    .sc-card-text {
        min-height: 180px;

        padding: 25px;
    }

}