.factory-page {
    background: #fff;
    color: #1a1a1a;
}

.factory-wrap {
    width: 1200px;
    margin: 0 auto;
}

.factory-banner {
    height: 400px;
    background: url("../img/solution-banner/factory.webp") no-repeat center center;
    background-size: cover;
}

.factory-banner__inner {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.factory-banner__title {
    margin: 0;
    color: #fff;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.4;
}

.factory-banner__desc {
    width: 760px;
    max-width: calc(100% - 48px);
    margin: 24px 0 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.9;
    text-align: center;
}

.factory-section {
    padding: 72px 0;
}

.factory-section--highlight {
    background: #f7f7f7;
}

.factory-section--cases {
    background: #f5f7fa;
}

.factory-section__head {
    text-align: center;
}

.factory-section__title {
    margin: 0;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4;
}

.factory-section__sub {
    margin: 16px 0 0;
    color: #999;
    font-size: 16px;
    line-height: 1.75;
}

.advantage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 64px;
}

.advantage-card {
    width: 288px;
    height: 172px;
    background: #fff;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.advantage-card__icon {
    width: 40px;
    height: 40px;
}

.advantage-card__icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.advantage-card__title {
    margin-top: 14px;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.advantage-card__desc {
    width: 230px;
    margin-top: 10px;
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.highlight-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 64px;
}

.highlight-card {
    position: relative;
    width: 588px;
    min-height: 264px;
    background: url("../img/factory/high-light/bg.png") no-repeat center center;
    background-size: cover;
}

.highlight-card__image {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 125px;
    height: 125px;
    border-radius: 16px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.highlight-card__image--1 {
    background-image: url("../img/factory/high-light/bg/1.png");
}

.highlight-card__image--2 {
    background-image: url("../img/factory/high-light/bg/2.png");
}

.highlight-card__image--3 {
    background-image: url("../img/factory/high-light/bg/3.png");
}

.highlight-card__image--4 {
    background-image: url("../img/factory/high-light/bg/4.png");
}

.highlight-card__title {
    margin: 42px 0 0 36px;
    color: #000;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

.highlight-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 16px 0 0 36px;
}

.highlight-card__tag {
    width: 222px;
    height: 45px;
    border: 1px solid #fff;
    border-radius: 23px;
    box-shadow: inset 0 0 9px 1px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.highlight-card__tag span {
    width: 12px;
    height: 12px;
    margin-left: 16px;
    margin-right: 10px;
    border: 2px solid #ce7602;
    border-radius: 50%;
    flex-shrink: 0;
}

.supervisor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 64px;
}

.supervisor-card {
    width: 288px;
    height: 381px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 38px 1px rgba(0, 0, 0, 0.1);
}

.supervisor-card__image {
    width: 256px;
    height: 299px;
    border-radius: 12px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.supervisor-card__image--1 {
    background-image: url("../img/factory/online-supervisor/1.webp");
}

.supervisor-card__image--2 {
    background-image: url("../img/factory/online-supervisor/2.webp");
}

.supervisor-card__image--3 {
    background-image: url("../img/factory/online-supervisor/3.webp");
}

.supervisor-card__image--4 {
    background-image: url("../img/factory/online-supervisor/4.webp");
}

.supervisor-card__title {
    margin-top: 20px;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.factory-case-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 64px;
}

.factory-case-card {
    position: relative;
    width: 384px;
    height: 230px;
    overflow: hidden;
    border-radius: 16px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    box-shadow: 0 3px 6px 1px rgba(0, 0, 0, 0.07);
}

.factory-case-card--1 {
    background-image: url("../img/factory/brilliant-case/1.webp");
}

.factory-case-card--2 {
    background-image: url("../img/factory/brilliant-case/2.webp");
}

.factory-case-card--3 {
    background-image: url("../img/factory/brilliant-case/3.webp");
}

.factory-case-card--4 {
    background-image: url("../img/factory/brilliant-case/4.webp");
}

.factory-case-card--5 {
    background-image: url("../img/factory/brilliant-case/5.webp");
}

.factory-case-card--6 {
    background-image: url("../img/factory/brilliant-case/6.webp");
}

.factory-case-card__icon {
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.factory-case-card__icon img {
    width: 20px;
    height: 20px;
}

.factory-case-card__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.58) 100%);
}

.factory-case-card__title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.factory-cta {
    width: 100%;
    padding: 48px 20px 0;
    background: #fff;
}

.factory-cta__inner {
    width: 100%;
    max-width: 1880px;
    margin: 0 auto;
}

.factory-pingtai {
    min-height: 295px;
    padding: 0 24px;
    background: url("/static/newindex/img/pingtaibg.png") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 36px 36px 0 0;
}

.factory-pingtai h2 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.factory-pingtai__phonebox {
    margin-top: 30px;
    display: flex;
    align-items: center;
    width: 510px;
    max-width: 100%;
    border-radius: 999px;
    overflow: hidden;
}

.factory-pingtai__inputbox {
    flex: 1;
    height: 58px;
    background: #fff;
}

.factory-pingtai__inputbox input {
    width: 100%;
    height: 58px;
    border: 0;
    outline: none;
    padding: 0 18px;
    color: #1a1a1a;
    font-size: 18px;
    line-height: 58px;
    background: #fff;
}

.factory-pingtai__inputbox input::placeholder {
    color: #b4bac5;
}

.factory-pingtai__shenqing {
    flex: 0 0 110px;
    width: 110px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    background: #2b7cff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.factory-pingtai__shenqing:hover {
    background: #0066ff;
}

@media screen and (max-width: 768px) {
    .factory-wrap,
    .factory-banner__inner {
        width: calc(100% - 24px);
    }

    .factory-banner {
        height: 40vw;
        min-height: 220px;
    }

    .factory-banner__title {
        font-size: 22px;
    }

    .factory-banner__desc {
        width: 100%;
        margin-top: 16px;
        font-size: 12px;
        line-height: 1.8;
    }

    .factory-section {
        padding: 24px 0;
    }

    .factory-section__title {
        font-size: 26px;
    }

    .factory-section__sub {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.7;
    }

    .advantage-grid,
    .highlight-grid,
    .supervisor-grid,
    .factory-case-grid {
        gap: 12px;
        margin-top: 24px;
    }

    .advantage-card {
        width: calc((100% - 12px) / 2);
        height: 150px;
    }

    .advantage-card__title {
        width: 100%;
        padding: 0 4px;
        font-size: 14px;
    }

    .advantage-card__desc {
        width: 100%;
        padding: 0 8px;
        font-size: 12px;
    }

    .highlight-card {
        width: 100%;
        min-height: auto;
        padding-bottom: 20px;
        background-image: none;
        background-color: #fff;
    }

    .highlight-card__image {
        position: static;
        width: calc(100% - 24px);
        height: 180px;
        margin: 0 auto;
        display: block;
    }

    .highlight-card__title {
        margin: 18px 0 0 12px;
        font-size: 18px;
    }

    .highlight-card__tags {
        gap: 12px;
        margin: 16px 12px 0;
    }

    .highlight-card__tag {
        width: 100%;
        font-size: 14px;
    }

    .supervisor-card {
        width: 100%;
    }

    .supervisor-card__image {
        width: 100%;
    }

    .factory-case-card {
        width: 100%;
        height: 180px;
    }

    .factory-case-card__icon {
        right: 16px;
        top: 16px;
        width: 32px;
        height: 32px;
    }

    .factory-case-card__title {
        left: 16px;
        right: 16px;
        bottom: 16px;
        font-size: 15px;
        line-height: 1.6;
    }

    .factory-cta {
        padding: 36px 12px 0;
    }

    .factory-pingtai {
        min-height: 220px;
        padding: 0 16px;
        border-radius: 24px 24px 0 0;
    }

    .factory-pingtai h2 {
        font-size: 24px;
    }

    .factory-pingtai__phonebox {
        margin-top: 24px;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        border-radius: 0;
        overflow: visible;
    }

    .factory-pingtai__inputbox {
        width: 100%;
    }

    .factory-pingtai__inputbox input {
        height: 50px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 50px;
    }

    .factory-pingtai__shenqing {
        width: 100%;
        flex: none;
        height: 50px;
        border-radius: 12px;
    }
}
