/* 六西格玛内页 */

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--gold);
}
.breadcrumb .current {
    color: #fff;
}

/* Banner */
.sx-banner {
    position: relative;
    min-height: clamp(320px, 30vw, 420px);
    display: flex;
    align-items: center;
    background: #0b1f3f url(../images/6xigema/banenr_sixxigema.jpg) center / cover no-repeat;
}
.sx-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 24, 52, 0.88) 0%, rgba(7, 24, 52, 0.55) 55%, rgba(7, 24, 52, 0.25) 100%);
}
.sx-banner-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(48px, 6vw, 90px) var(--gutter);
    width: 100%;
}
.sx-banner-title {
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 14px;
}
.sx-banner-title em {
    font-style: normal;
    color: var(--gold);
}
.sx-banner-sub {
    font-size: clamp(14px, 1.3vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    margin-bottom: clamp(24px, 3vw, 40px);
}
.sx-banner-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sx-btn {
    display: inline-block;
    padding: 9px 26px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}
.sx-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1a1a;
}
.sx-btn-gold {
    background: #ffc602;
    border-color:#ffc602!important;
    color: #000000!important;
    font-weight: 500;
}
.sx-btn-gold:hover {
    filter: brightness(1.08);
    color: #ffffff;
}
.sx-btn-ghost {
    border-color: rgba(255, 255, 255, 0.7);
}

/* 通用小标题 */
.sx-h2 {
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 500;
    color: #000000;
    margin-bottom: 18px;
    font-family: 'SourceHanSansSC Medium', "Microsoft Yahei", sans-serif;
}

/* 什么是精益六西格玛管理 */
.sx-about {
    background: #f6f7f9;
    padding: clamp(40px, 5vw, 70px) 0;
}
.sx-about-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    /* align-items: center; */
    gap: clamp(28px, 4vw, 60px);
}
.sx-about-img {
    flex: 0 0 44%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.sx-about-img img {
    width: 100%;
    height: auto;
    display: block;
}
.sx-about-body {
    flex: 1;
    min-width: 0;
    background-color: #ffffff;
    padding: 45px;
    border-radius: 10rpx;
}
.sx-about-body p {
    font-size: 15px;
    line-height: 2;
    color: #555;
    margin-bottom: 14px;
}
.sx-about-body p:last-child {
    margin-bottom: 0;
}

/* 企业困惑 */
.sx-trouble {
    padding: clamp(40px, 5vw, 70px) 0;
}
.sx-trouble-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.sx-trouble-sub {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
    margin-bottom: clamp(20px, 2.4vw, 28px);
}
.sx-trouble-grid {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 60px);
}
.sx-trouble-main {
    flex: 1;
    min-width: 0;
}
.sx-trouble-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    min-width: 0;
}
.sx-trouble-card {
    background: #f6f7f9;
    border-radius: 10px;
    padding: clamp(18px, 2vw, 28px);
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s, box-shadow 0.3s;
}
.sx-trouble-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1);
}
.sx-trouble-card h3 {
    font-size: clamp(15px, 1.3vw, 22px);
    font-weight: 500;
    color: #0a2158;
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 3px solid var(--main);
    line-height: 1.4;
    font-family: 'SourceHanSansSC Medium', "Microsoft Yahei", sans-serif;
}
.sx-trouble-card p {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
}
.sx-trouble-diagram {
    display: flex;
    width: 46%;
    align-items: center;
    justify-content: center;
}
.sx-trouble-img {
    width: 100%;
    max-width: 660px;
    height: auto;
    display: block;
    border-radius: 12px;
}
.sx-trouble-btns {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    margin-top: clamp(16px, 6vw, 26px);
}
.sx-trouble-btns .sx-btn {
    border-color: #000000;
    color: #000000;
}
.sx-trouble-btns .sx-btn:hover {
    background: var(--main);
    border-color: var(--main)!important;
    color: #fff!important;
    font-weight: normal!important;
}

/* 六西格玛培训/课程 */
.sx-course {
    background: #f4f9fd;
    padding: clamp(40px, 5vw, 70px) 0;
}
.sx-course-sub {
    max-width: 1200px;
    margin: 10px auto clamp(26px, 3vw, 30px);
    padding: 0 var(--gutter);
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: #000000;
}
.sx-course-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sx-course-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.sx-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}
.sx-course-thumb {
    aspect-ratio: 460 / 260;
    overflow: hidden;
    background: #e9eef5;
}
.sx-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.sx-course-card:hover .sx-course-thumb img {
    transform: scale(1.05);
}
.sx-course-body {
    padding: clamp(18px, 1.8vw, 24px);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sx-course-body h3 {
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 500;
    color: #000000;
    margin-bottom: 12px;
    font-family: 'SourceHanSansSC Medium', "Microsoft Yahei", sans-serif;
}
.sx-course-body p {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 18px;
    flex: 1;
}
.sx-course-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--main);
    transition: gap 0.3s;
}
.sx-course-link:hover {
    gap: 10px;
}
.sx-course-cta {
    text-align: center;
    margin-top: clamp(28px, 3vw, 44px);
}
.sx-cta-btn {
    display: inline-block;
    padding: 12px 44px;
    background: #006aed;
    color: #fff;
    border-radius: 30px;
    font-size: clamp(14px, 1.2vw, 16px);
    transition: all 0.3s;
}
.sx-cta-btn:hover {
    background: #1e5a9e;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(43, 108, 176, 0.3);
}

/* 师资团队 */
.sx-faculty {
    background:#1564b9;
    padding: clamp(40px, 5vw, 70px) 0;
}
.sx-faculty-title {
    text-align: center;
    font-size: clamp(26px, 2.2vw, 42px);
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}
.sx-faculty-title em {
    font-style: normal;
    color: var(--gold);
}
.sx-faculty-sub {
    text-align: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: clamp(28px, 3.4vw, 48px);
}
/* 六西格玛带来的价值 */
.sx-value {
    padding: clamp(40px, 5vw, 60px) 0;
}
.sx-value-sub {
    max-width: 1200px;
    margin: 18px auto clamp(26px, 3vw, 30px);
    padding: 0 var(--gutter);
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: #000000;
}
.sx-value-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.sx-value-card {
    background: #f4f9fd;
    border-radius: 10px;
    padding: clamp(20px, 2.2vw, 20px);
    border-top: 3px solid transparent;
    transition: all 0.3s;
}
.sx-value-card:hover {
    border-top-color: #1564b9;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.sx-value-card h3 {
    font-size: clamp(16px, 1.3vw, 22px);
    font-weight: 500;
    color: #000000;
    margin-bottom: 10px;
    font-family: 'SourceHanSansSC Medium', "Microsoft Yahei", sans-serif;
}
.sx-value-card p {
    font-size: 15px;
    line-height: 1.9;
    color: #000000;
}

/* 响应式 */
@media (max-width: 1200px) {
    .sx-value-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .sx-about-inner {
        flex-direction: column;
    }
    .sx-about-img {
        flex: none;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
    .sx-trouble-grid {
        flex-direction: column;
    }
    .sx-trouble-diagram {
        flex: none;
        width: 100%;
        max-width: 480px;
        margin: 30px auto 0;
    }
    .sx-trouble-btns {
        margin-top: clamp(16px, 6vw, 26px);
    }
    .sx-course-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .sx-value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    /* 基础 padding:45px，小屏四边合计吃掉 90px，收到 20px */
    .sx-about-body {
        padding: 20px;
    }
    .sx-trouble-cards {
        grid-template-columns: 1fr;
    }
    .sx-value-grid {
        grid-template-columns: 1fr;
    }
    .sx-banner-btns .sx-btn {
        /* flex:1 会让独占一行的按钮被拉满整行；改为按内容宽度（0 1 auto），
           配合 nowrap 的自动最小尺寸，既不折行也不会被拉长 */
        flex: 0 1 auto;
        text-align: center;
        padding: 9px 10px;
        /* 禁止文字折行：flex 项的自动最小尺寸会据此变成「整行文字宽」，
           宽度不够时整块换行（父级有 flex-wrap:wrap），不会出现文字被截断或重叠 */
        white-space: nowrap;
    }
}
