/* ============================================================
   OEM & ODM 页面
   ============================================================ */
.oem-odm-main {
    background: #fff;
}

/* ---------- 第一屏 banner（1920×600） ---------- */
.first {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    height: 6rem;
    margin: 0 auto;
    /* 第一屏背景图：assets/images/OEMODM/first-img.png */
    background: #000 url("../assets/images/OEMODM/first-img.png") center center / cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.first__content {
    padding: 0 0 0.8rem 3.1rem;
    color: #fff;
}

.first__title {
    font-family: Gabarito;
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.16rem;
}

.first__desc {
    width: 4.7rem;
    font-family: Gabarito;
    font-size: 0.14rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* ---------- 第一屏：滚动入场动画 ---------- */
/* 初始隐藏：仅当页面启用 JS 时生效（html.js），无 JS 时内容直接可见 */
html.js .first__title,
html.js .first__desc {
    opacity: 0;
    transform: translateY(0.3rem);
    will-change: opacity, transform;
}

/* 标题：淡入上浮 */
.first.is-in-view .first__title {
    animation: firstFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 描述：延迟淡入上浮 */
.first.is-in-view .first__desc {
    animation: firstFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

@keyframes firstFadeUp {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 第二屏：OEM & ODM Customization（1920×464） ---------- */
.second {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    height: 4.64rem;
    margin: 0 auto;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.second__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 3.1rem;
}

.second__title {
    color: #333;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.second__subtitle {
    color: #999;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    margin-bottom: 0.66rem;
}

.second__quote {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
    max-width: 9.4rem;
}

.second__quote-mark {
    width: 0.44rem;
    height: 0.44rem;
    flex: 0 0 auto;
    display: block;
    user-select: none;
}

.second__quote-mark--left {
    position: relative;
}

.second__desc {
    color: #666;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    flex: 0 1 auto;
}

/* ---------- 第二屏：滚动入场动效 ---------- */
/* 初始隐藏：仅当页面启用 JS 时生效（html.js），无 JS 时内容直接可见 */
html.js .second__title,
html.js .second__subtitle,
html.js .second__quote {
    opacity: 0;
    transform: translateY(0.3rem);
    will-change: opacity, transform;
}

/* 标题：淡入上浮 */
.second.is-in-view .second__title {
    animation: secondFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 描述1：延迟淡入上浮 */
.second.is-in-view .second__subtitle {
    animation: secondFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

/* 描述2（含两侧引号）：再延迟淡入上浮 */
.second.is-in-view .second__quote {
    animation: secondFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

@keyframes secondFadeUp {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 第三屏：OEM / ODM / Customization Options ---------- */
.third {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3.1rem 1rem;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.third__inner {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.third__top {
    display: flex;
    gap: 0.6rem;
}

.third__card {
    position: relative;
    flex: 0 0 auto;
    border-radius: 0.2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.third__card--oem,
.third__card--odm {
    width: 6.2rem;
    height: 4.3rem;
    padding: 0.28rem 0.56rem 0 0.6rem;
}

.third__card--oem {
    background: transparent;
    border: 0.01rem solid #eee;
}

.third__card--odm {
    position: relative;
    background: transparent;
    border: 0.01rem solid #eee;
}

/* 悬浮背景：用伪元素承载点阵图，通过透明度平滑淡入 */
.third__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/images/OEMODM/third-img1.png') center / cover no-repeat;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
    pointer-events: none;
}

.third__card:hover::before {
    opacity: 1;
}

.third__card:hover {
    border-color: transparent;
}

.third__card>* {
    position: relative;
    z-index: 1;
}

.third__num {
    display: block;
    color: #333;
    font-family: Gabarito;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0.28rem;
}

.third__card-title {
    color: #333;
    font-family: Gabarito;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin: 0 0 0.13rem;
}

.third__card-desc {
    color: #666;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0 0 0.29rem;
}

.third__tags {
    display: flex;
    flex-wrap: wrap;
}

.third__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.16rem 0.12rem 0.22rem;
    margin-bottom: 0.15rem;
    margin-right: 0.25rem;
    border-radius: 0.1rem;
    background: #F5F5F5;
    color: #333;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    cursor: default;
    transition: background 0.25s ease;
}

.third__tag:hover {
    background: #CFE7F1;
}

.third__visual {
    display: flex;
    justify-content: center;
    width: 100%;
}

.third__visual img {
    width: 3.42rem;
    height: 1.92rem;
    display: block;
    object-fit: contain;
}

.third__card--options {
    width: 13rem;
    height: 6.79rem;
    padding: 0.28rem 0.56rem 0 0.6rem;
    background: #fff;
    border: 0.01rem solid #eee;
}

/* 标题(h3)与右侧描述(p)：同一容器内横向排列，上下居中 */
.third__options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.third__options-header .third__card-title {
    margin: 0;
}

.third__options-side {
    flex: 0 0 auto;
    color: #666;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

.third__options-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.77rem;
}

.third__option {
    position: relative;
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    padding: 0 0.2rem;
}

/* item 之间的竖向分割线：紧贴 item 右边界，上下居中 */
.third__option::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 0.01rem;
    height: 0.8rem;
    background: #D9D9D9;
}

.third__option:nth-child(3n)::after {
    display: none;
}

.third__option-icon {
    position: relative;
    width: 0.41rem;
    height: 0.4rem;
    margin-bottom: 0.12rem;
}

.third__option-icon::after {
    content: '';
    position: absolute;
    top: -0.04rem;
    right: -0.04rem;
    width: 0.24rem;
    height: 0.24rem;
    border-radius: 50%;
    background: #EADFCD;
    z-index: -1;
}

.third__option-icon img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.third__option-title {
    color: #333;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin: 0 0 0.1rem;
}

.third__option-desc {
    color: #666;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

/* ---------- 第三屏：滚动入场动效 ---------- */
html.js .third__card--oem,
html.js .third__card--odm,
html.js .third__card--options {
    opacity: 0;
    transform: translateY(0.3rem);
    will-change: opacity, transform;
}

.third.is-in-view .third__card--oem {
    animation: thirdFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.third.is-in-view .third__card--odm {
    animation: thirdFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.third.is-in-view .third__card--options {
    animation: thirdFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

@keyframes thirdFadeUp {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 第四屏：From Requirements to Delivery（1920×822） ---------- */
.fourth {
    position: relative;
    width: 19.2rem;
    max-width: 100%;
    height: 8.22rem;
    margin: 0 auto;
    padding: 1.08rem 3.1rem 0;
    background: #000 url("../assets/images/OEMODM/fourth-img1.png") center center / cover no-repeat;
    box-sizing: border-box;
    overflow: hidden;
}

.fourth__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.fourth__title {
    color: #FFF;
    font-family: Gabarito;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 0.1rem;
}

.fourth__subtitle {
    color: #999;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0 0 0.6rem;
}

.fourth__swiper {
    width: 100%;
    flex: 1 1 auto;
    overflow: hidden;
}

.fourth__swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.fourth__swiper .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
}

.fourth__cards {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.fourth__card {
    position: relative;
    width: 2.85rem;
    height: 3.61rem;
    border-radius: 0.12rem;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 auto;
}

.fourth__card-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fourth__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.fourth__card:hover .fourth__card-media img {
    transform: scale(1.05);
}

.fourth__card-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0.55rem 0.2rem 0.24rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity 0.35s ease;
}

.fourth__card:hover .fourth__card-bottom {
    opacity: 0;
}

.fourth__card-title {
    color: #FFF;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin: 0;
}

.fourth__card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 0.24rem 0.24rem;
    background: #333;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fourth__card:hover .fourth__card-overlay {
    transform: translateY(0);
}

.fourth__card-overlay-title {
    color: #FFF;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin: 0;
}

.fourth__card-line {
    display: block;
    width: 0.42rem;
    height: 0.02rem;
    background: #FFF;
    margin: 0.16rem 0;
}

.fourth__card-overlay-desc {
    color: #F5F5F5;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

/* 轮播分页器（原生生成，无第三方依赖） */
.fourth__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.12rem;
    margin-top: 0.3rem;
}

.fourth__pagination .fourth__dot {
    width: 0.3rem;
    height: 0.04rem;
    border-radius: 0.02rem;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.25s ease;
}

.fourth__pagination .fourth__dot.is-active {
    background: #0091FF;
}

/* ---------- 第四屏：滚动入场动效 ---------- */
html.js .fourth__title,
html.js .fourth__subtitle,
html.js .fourth__swiper {
    opacity: 0;
    transform: translateY(0.3rem);
    will-change: opacity, transform;
}

.fourth.is-in-view .fourth__title {
    animation: fourthFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fourth.is-in-view .fourth__subtitle {
    animation: fourthFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.fourth.is-in-view .fourth__swiper {
    animation: fourthFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

@keyframes fourthFadeUp {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   第五屏：Custom Systems For Professional Applications
   容器 1920 设计稿：width 1920, padding 108/310；
   图文交错项样式参照 become-a-dealer.html 的 .second 屏，
   文字模块加 #F2F7FB 背景色
   ============================================================ */
.fifth {
    position: relative;
    width: 19.2rem;
    /* 1920 */
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 3.1rem;
    /* 108 / 310 / 0 */
    box-sizing: border-box;
    overflow: hidden;
}

.fifth__title {
    color: #333;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.48rem;
    /* 48 */
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 0.1rem;
}

.fifth__subtitle {
    color: #999;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.16rem;
    /* 16 */
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0 0 0.6rem;
    /* 60 */
}

.fifth__list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    /* 项间垂直间距 40 */
}

.fifth__item {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
}

.fifth__item--reverse {
    flex-direction: row-reverse;
}

.fifth__item-img {
    position: relative;
    width: 6.55rem;
    height: 4.43rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.04rem 0 0 0.04rem;
    box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.4s ease;
}

.fifth__item--reverse .fifth__item-img {
    margin-right: 0;
    border-radius: 0 0.04rem 0.04rem 0
}

.fifth__item-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.fifth__item:hover .fifth__item-img {
    box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.14);
}

.fifth__item:hover .fifth__item-img img {
    transform: scale(1.05);
}

/* 文字模块：与图片等高；按需求加 #F2F7FB 背景 */
.fifth__item-text {
    flex: 1;
    height: 4.43rem;
    /* 443，与图片等高 */
    padding: 1.02rem 0.4rem 0;
    /* 102 40 0 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: #F2F7FB;
}

.fifth__item-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.7rem;
    /* 70 */
    height: 0.7rem;
    /* 70 */
    margin-bottom: 0.2rem;
    /* 20 */
    border-radius: 0.1rem;
    /* 10 */
    background: #333;
    color: #fff;
    text-align: center;
    font-family: Gabarito;
    font-size: 0.42rem;
    /* 42 */
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    cursor: default;
    user-select: none;
    transition: background 0.4s ease;
}

.fifth__item:hover .fifth__item-num {
    background: linear-gradient(135deg, #0091FF, #1AC4FF);
}

.fifth__item-title {
    color: #333;
    font-family: Gabarito;
    font-size: 0.32rem;
    /* 32 */
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin: 0 0 0.1rem;
}

.fifth__item-desc {
    color: #999;
    font-family: Gabarito;
    font-size: 0.2rem;
    /* 20 */
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

/* 第五屏：滚动入场动画 */
html.js .fifth .fifth__title,
html.js .fifth .fifth__subtitle,
html.js .fifth .fifth__item {
    opacity: 0;
    transform: translateY(0.3rem);
    will-change: opacity, transform;
}

.fifth.is-in-view .fifth__title {
    animation: fifthFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fifth.is-in-view .fifth__subtitle {
    animation: fifthFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.fifth.is-in-view .fifth__item:nth-child(1) {
    animation-delay: 0.2s;
}

.fifth.is-in-view .fifth__item:nth-child(2) {
    animation-delay: 0.3s;
}

.fifth.is-in-view .fifth__item:nth-child(3) {
    animation-delay: 0.4s;
}

.fifth.is-in-view .fifth__item:nth-child(4) {
    animation-delay: 0.5s;
}

.fifth.is-in-view .fifth__item:nth-child(5) {
    animation-delay: 0.6s;
}

.fifth.is-in-view .fifth__title,
.fifth.is-in-view .fifth__subtitle,
.fifth.is-in-view .fifth__item {
    animation-name: fifthFadeUp;
    animation-duration: 0.7s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
}

@keyframes fifthFadeUp {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   第六屏：Start Your Custom Project 表单
   1920 设计稿：宽 1920, 高 812; padding: 0 310;
   行 1（4 列）313.393×60；行 2/3（各 2 列）642×60；行 4（Content）1300×210；
   样式/校验逻辑参照 become-a-dealer.html 的 .third 屏
   ============================================================ */
.sixth {
    position: relative;
    width: 19.2rem;
    /* 1920 */
    max-width: 100%;
    height: 8.12rem;
    /* 812 */
    margin: 0 auto;
    padding: 0 3.1rem;
    /* 0 310 */
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
    text-align: center;
}

/* ---------- 标题 ---------- */
.sixth__title {
    color: #333;
    text-align: center;
    font-family: Gabarito, sans-serif;
    font-size: 0.48rem;
    /* 48 */
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0.6rem 0 0.1rem;
    /* 顶 60 / 底 10 */
}

/* ---------- 描述 ---------- */
.sixth__subtitle {
    color: #999;
    text-align: center;
    font-family: Gabarito, sans-serif;
    font-size: 0.16rem;
    /* 16 */
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0 auto 0.6rem;
    max-width: 6.4rem;
}

/* ---------- 表单容器 ---------- */
.sixth form {
    width: 13rem;
    /* 1300 */
    margin: 0 auto;
}

.sixth form ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 13rem;
    /* 1300 */
    margin: 0 auto 0.2rem;
    /* 行间距 20 */
    column-gap: 0.15rem;
    /* 列间距 16 */
    row-gap: 0.2rem;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.sixth form ul li {
    height: 0.6rem;
    /* 60 */
}

/* 第一行：4 列，宽 313.393 */
.sixth form ul li:nth-child(1),
.sixth form ul li:nth-child(2),
.sixth form ul li:nth-child(3),
.sixth form ul li:nth-child(4) {
    flex: 0 0 3.134rem;
    width: 3.134rem;
    /* 313.393 */
}

/* 第二/三行：2 列，宽 642 */
.sixth form ul li:nth-child(5),
.sixth form ul li:nth-child(6),
.sixth form ul li:nth-child(7),
.sixth form ul li:nth-child(8) {
    flex: 0 0 6.42rem;
    width: 6.42rem;
    /* 642 */
}

/* 内容文本域整行 */
.sixth form ul li:nth-child(9) {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
}

.sixth form ul li input,
.sixth form ul li textarea {
    width: 100%;
    display: block;
}

.sixth form ul li textarea {
    margin: 0;
}

.sixth form ul li p {
    margin: 0;
}

.sixth form ul li span {
    display: block;
}

/* ---------- 输入框 / 文本域 ---------- */
.sixth form input,
.sixth form textarea {
    height: 0.6rem;
    /* 60 */
    padding: 0 0.2rem;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f2f6fa;
    color: #333;
    font-family: Gabarito, sans-serif;
    font-size: 0.14rem;
    /* 14 */
    font-weight: 400;
    border-radius: 0.02rem;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.sixth form input::placeholder,
.sixth form textarea::placeholder {
    color: #99a3b3;
}

.sixth form input:focus,
.sixth form textarea:focus {
    background: #fff;
    box-shadow: 0 0 0 0.01rem #00B8E2 inset;
}

/* ---------- 内容文本域 ---------- */
.sixth form textarea {
    display: block;
    width: 13rem;
    /* 1300 */
    height: 2.1rem;
    /* 210 */
    margin: 0 auto 0.2rem;
    padding: 0.18rem 0.2rem;
    resize: none;
    line-height: 1.5;
}

/* ---------- 按钮组 ---------- */
.sixth form>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin-top: 0.3rem;
    /* 30 */
}

.sixth form>div p {
    display: flex;
    gap: 0.1rem;
}

.sixth form button {
    cursor: pointer;
    border: none;
    outline: none;
    height: 0.46rem;
    /* 36 */
    padding: 0 0.32rem;
    border-radius: 0.02rem;
    background: #fff;
    color: #333;
    font-family: Gabarito, sans-serif;
    font-size: 0.14rem;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease,
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease;
}

.sixth form button:active {
    transform: scale(0.98);
}

.sixth form button[type="reset"] {
    background: #fff;
    color: #333;
    border: 0.01rem solid #e1e6ee;
}

.sixth form button[type="reset"]:hover {
    background: #f2f6fa;
}

.sixth form button[type="submit"] {
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
    color: #fff;
}

.sixth form button[type="submit"]:hover {
    transform: translateY(-0.02rem);
    box-shadow: 0 0.06rem 0.2rem rgba(0, 102, 195, 0.32);
}

.sixth form button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* ---------- 校验抖动 ---------- */
.sixth form input.is-shake,
.sixth form textarea.is-shake {
    animation: sixth-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes sixth-shake {

    10%,
    90% {
        transform: translateX(-0.02rem);
    }

    20%,
    80% {
        transform: translateX(0.04rem);
    }

    30%,
    50%,
    70% {
        transform: translateX(-0.06rem);
    }

    40%,
    60% {
        transform: translateX(0.06rem);
    }
}

/* ---------- Toast 提示 ---------- */
.sixth-toast {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translate(-50%, 0.4rem);
    z-index: 9999;
    padding: 0.12rem 0.24rem;
    background: rgba(33, 37, 41, 0.92);
    color: #fff;
    border-radius: 0.02rem;
    font-size: 0.14rem;
    font-family: Gabarito, sans-serif;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sixth-toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- 入场动画 ---------- */
.sixth__title,
.sixth__subtitle,
.sixth__form {
    opacity: 0;
    transform: translateY(0.3rem);
    will-change: opacity, transform;
}

.sixth.is-in-view .sixth__title {
    animation: sixthFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sixth.is-in-view .sixth__subtitle {
    animation: sixthFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.sixth.is-in-view .sixth__form {
    animation: sixthFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

@keyframes sixthFadeUp {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   H5 移动端适配（data-mode="h5"，750 设计稿基准）
   与 technology / products / news / cases 等页面同一套适配规范
   ============================================================ */
/* ---------- 汉堡菜单按钮（与其他页面一致） ---------- */
/* 桌面端默认隐藏，仅移动端显示 */
.menu-btn {
    display: none;
}

html[data-mode="h5"] .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.09rem;
    width: 0.44rem;
    height: 0.44rem;
    margin-left: auto;
    padding: 0;
    border: none;
    border-radius: 0.1rem;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

html[data-mode="h5"] .menu-btn span {
    display: block;
    width: 0.22rem;
    height: 0.03rem;
    border-radius: 0.03rem;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

html[data-mode="h5"] .header.is-scrolled .menu-btn {
    background: rgba(51, 51, 51, 0.08);
}

html[data-mode="h5"] .header.is-scrolled .menu-btn span {
    background: #333;
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(1) {
    transform: translateY(0.12rem) rotate(45deg);
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(3) {
    transform: translateY(-0.12rem) rotate(-45deg);
}

/* 移动端：隐藏桌面导航，保留搜索与 Get a Quote 等右侧按钮 */
html[data-mode="h5"] .header__inner-nav {
    display: none;
}

/* 移动端：导航栏紧凑布局（避免右侧按钮换行，菜单按钮靠最右） */
html[data-mode="h5"] .header__inner {
    justify-content: space-between;
}

html[data-mode="h5"] .logo {
    order: 1;
    margin-left: 0;
    flex-shrink: 0;
}

html[data-mode="h5"] .logo img {
    width: 1.1rem;
    height: auto;
}

html[data-mode="h5"] .header__inner-right {
    order: 2;
    margin-right: 0;
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.08rem;
}

html[data-mode="h5"] .menu-btn {
    order: 3;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: 0.08rem;
    margin-right: 0;
    flex-shrink: 0;
}

/* 右侧按钮统一不换行 */
html[data-mode="h5"] .header__inner-right-search,
html[data-mode="h5"] .header__inner-right-language,
html[data-mode="h5"] .header__inner-right-msg,
html[data-mode="h5"] .header__inner-right>a:last-child {
    flex-shrink: 0;
    white-space: nowrap;
}

html[data-mode="h5"] .header__inner-right-search {
    width: 0.36rem;
    height: 0.36rem;
    margin-right: 0;
}

html[data-mode="h5"] .header__inner-right-language {
    width: auto;
    min-width: 0.62rem;
    height: 0.36rem;
    padding: 0 0.08rem;
    margin-right: 0;
    font-size: 0.2rem;
}

html[data-mode="h5"] .header__inner-right-msg {
    height: 0.36rem;
    padding: 0 0.14rem;
    margin-right: 0;
    font-size: 0.2rem;
}

html[data-mode="h5"] .header__inner-right>a:last-child {
    height: 0.36rem;
    padding: 0 0.14rem;
    margin-right: 0;
    font-size: 0.2rem;
}

/* 移动端：展开后的全屏下拉菜单 */
html[data-mode="h5"] .header__inner-nav.is-open {
    position: fixed;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 7.5rem;
    height: calc(100vh - 0.8rem);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.3rem 0.6rem 0.6rem;
    box-sizing: border-box;
    background: #fff;
    overflow-y: auto;
    animation: h5NavFadeIn 0.25s ease both;
}

@keyframes h5NavFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -0.2rem);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item {
    width: 100%;
    padding: 0.22rem 0;
    border-bottom: 0.01rem solid #f0f2f5;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item a {
    color: #333;
    font-size: 0.3rem;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item:active a,
html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item a:active {
    color: #00B8E2;
}

/* 当前页（OEM & ODM）在 H5 菜单中与其他项保持一致，重置渐变文字与下划线 */
html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item.is-active a {
    color: #333;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: initial;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item.is-active::after {
    display: none;
}

/* ---------- 第一屏 banner ---------- */
html[data-mode="h5"] .first {
    width: 100%;
    height: auto;
    /* 全站 H5 首屏统一高度基准（与 oem-odm 页对齐） */
    min-height: 5.85rem;
    padding: 3.4rem 0.4rem 0.6rem;
    align-items: flex-start;
    box-sizing: border-box;
}

html[data-mode="h5"] .first__content {
    padding: 0;
}

html[data-mode="h5"] .first__title {
    font-size: 0.42rem;
    margin-bottom: 0.1rem;
}

html[data-mode="h5"] .first__desc {
    width: 100%;
    max-width: 100%;
    font-size: 0.26rem;
    line-height: 1.6;
}

/* ---------- 第二屏 OEM & ODM Customization ---------- */
html[data-mode="h5"] .second {
    width: 100%;
    height: auto;
    padding: 0.7rem 0.4rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .second__inner {
    padding: 0;
}

html[data-mode="h5"] .second__title {
    font-size: 0.42rem;
}

html[data-mode="h5"] .second__subtitle {
    font-size: 0.24rem;
    margin-bottom: 0.5rem;
}

html[data-mode="h5"] .second__quote {
    max-width: 100%;
    gap: 0.12rem;
}

html[data-mode="h5"] .second__quote-mark {
    width: 0.36rem;
    height: 0.36rem;
}

html[data-mode="h5"] .second__desc {
    font-size: 0.24rem;
    line-height: 1.7;
}

/* ---------- 第三屏 OEM / ODM / Customization Options ---------- */
html[data-mode="h5"] .third {
    width: 100%;
    padding: 0.4rem;
    box-sizing: border-box;
}

/* 两张卡片（OEM / ODM）在 h5 下左右两列并排 */
html[data-mode="h5"] .third__top {
    flex-direction: row;
    gap: 0.3rem;
}

html[data-mode="h5"] .third__card--oem,
html[data-mode="h5"] .third__card--odm {
    width: 50%;
    height: auto;
    min-height: 4.2rem;
    padding: 0.24rem 0.24rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .third__card--oem .third__num,
html[data-mode="h5"] .third__card--odm .third__num {
    font-size: 0.18rem;
    margin-bottom: 0.16rem;
}

html[data-mode="h5"] .third__card--oem .third__card-title,
html[data-mode="h5"] .third__card--odm .third__card-title {
    font-size: 0.24rem;
    margin-bottom: 0.12rem;
}

html[data-mode="h5"] .third__card--oem .third__card-desc,
html[data-mode="h5"] .third__card--odm .third__card-desc {
    font-size: 0.2rem;
    line-height: 1.6;
    margin-bottom: 0.24rem;
}

html[data-mode="h5"] .third__card--options .third__card-title {
    font-size: 0.28rem;
}

html[data-mode="h5"] .third__tag {
    font-size: 0.18rem;
    padding: 0.08rem 0.1rem 0.08rem 0.16rem;
    margin-right: 0.12rem;
}

html[data-mode="h5"] .third__visual img {
    width: 1.8rem;
    height: 1.05rem;
}

html[data-mode="h5"] .third__card--options {
    width: 100%;
    height: auto;
    padding: 0.3rem 0.3rem;
}

html[data-mode="h5"] .third__options-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

html[data-mode="h5"] .third__options-side {
    font-size: 0.22rem;
    line-height: 1.6;
}

html[data-mode="h5"] .third__options-grid {
    row-gap: 0.5rem;
}

html[data-mode="h5"] .third__option {
    flex: 0 0 50%;
    padding: 0 0.14rem;
}

/* 两列布局时去掉纵向分割线 */
html[data-mode="h5"] .third__option::after {
    display: none;
}

html[data-mode="h5"] .third__option-icon {
    width: 0.56rem;
    height: 0.54rem;
    margin-bottom: 0.14rem;
}

html[data-mode="h5"] .third__option-icon::after {
    width: 0.3rem;
    height: 0.3rem;
}

html[data-mode="h5"] .third__option-title {
    font-size: 0.24rem;
    margin-bottom: 0.1rem;
}

html[data-mode="h5"] .third__option-desc {
    font-size: 0.2rem;
    line-height: 1.6;
}

/* ---------- 第四屏 From Requirements to Delivery（swiper） ---------- */
html[data-mode="h5"] .fourth {
    width: 100%;
    height: auto;
    padding: 0.7rem 0.4rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .fourth__inner {
    height: auto;
}

html[data-mode="h5"] .fourth__title {
    font-size: 0.42rem;
}

html[data-mode="h5"] .fourth__subtitle {
    font-size: 0.24rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

html[data-mode="h5"] .fourth__cards {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.2rem;
    height: auto;
}

html[data-mode="h5"] .fourth__card {
    width: 48.5%;
    height: 3.2rem;
}

html[data-mode="h5"] .fourth__card-bottom {
    padding: 0.45rem 0.16rem 0.2rem;
}

html[data-mode="h5"] .fourth__card-title {
    font-size: 0.22rem;
}

html[data-mode="h5"] .fourth__pagination {
    margin-top: 0.3rem;
}

/* ---------- 第五屏 Custom Systems（图文交错） ---------- */
html[data-mode="h5"] .fifth {
    width: 100%;
    padding: 0.7rem 0.4rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .fifth__title {
    font-size: 0.42rem;
    margin-bottom: 0.12rem;
}

html[data-mode="h5"] .fifth__subtitle {
    font-size: 0.24rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

html[data-mode="h5"] .fifth__list {
    gap: 0.5rem;
}

html[data-mode="h5"] .fifth__item,
html[data-mode="h5"] .fifth__item--reverse {
    flex-direction: column;
    align-items: stretch;
}

html[data-mode="h5"] .fifth__item-img,
html[data-mode="h5"] .fifth__item--reverse .fifth__item-img {
    width: 100%;
    height: 3.6rem;
    margin: 0 0 0.3rem;
}

html[data-mode="h5"] .fifth__item-text {
    height: auto;
    padding: 0.4rem 0.3rem;
}

html[data-mode="h5"] .fifth__item-num {
    width: 0.6rem;
    height: 0.6rem;
    font-size: 0.32rem;
    margin-bottom: 0.16rem;
}

html[data-mode="h5"] .fifth__item-title {
    font-size: 0.28rem;
    margin-bottom: 0.1rem;
}

html[data-mode="h5"] .fifth__item-desc {
    font-size: 0.22rem;
    line-height: 1.6;
}

/* ---------- 第六屏 Start Your Custom Project 表单 ---------- */
html[data-mode="h5"] .sixth {
    width: 100%;
    height: auto;
    padding: 0.6rem 0.4rem 0.7rem;
    box-sizing: border-box;
}

html[data-mode="h5"] .sixth__title {
    font-size: 0.42rem;
    margin-top: 0;
    margin-bottom: 0.12rem;
}

html[data-mode="h5"] .sixth__subtitle {
    font-size: 0.24rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

html[data-mode="h5"] .sixth form {
    width: 100%;
}

html[data-mode="h5"] .sixth form ul {
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-bottom: 0.2rem;
}

html[data-mode="h5"] .sixth form ul li {
    height: auto;
}

html[data-mode="h5"] .sixth form input {
    height: 0.8rem;
    padding: 0 0.24rem;
    font-size: 0.22rem;
}

html[data-mode="h5"] .sixth form ul li:nth-child(1),
html[data-mode="h5"] .sixth form ul li:nth-child(2),
html[data-mode="h5"] .sixth form ul li:nth-child(3),
html[data-mode="h5"] .sixth form ul li:nth-child(4) {
    flex: 1 1 48.5%;
    width: 48.5%;
}

html[data-mode="h5"] .sixth form ul li:nth-child(5),
html[data-mode="h5"] .sixth form ul li:nth-child(6),
html[data-mode="h5"] .sixth form ul li:nth-child(7),
html[data-mode="h5"] .sixth form ul li:nth-child(8),
html[data-mode="h5"] .sixth form ul li:nth-child(9) {
    flex: 1 1 100%;
    width: 100%;
}

html[data-mode="h5"] .sixth form textarea {
    width: 100%;
    height: 2.4rem;
    font-size: 0.22rem;
    margin-bottom: 0.2rem;
}

html[data-mode="h5"] .sixth form>div {
    gap: 0.2rem;
    margin-top: 0.3rem;
}

html[data-mode="h5"] .sixth form button {
    height: 0.8rem;
    padding: 0 0.6rem;
    font-size: 0.24rem;
}

/* ---------- 页脚 ---------- */
html[data-mode="h5"] .footer__main {
    padding: 0.6rem 0.4rem 0.5rem;
}

html[data-mode="h5"] .footer__links {
    flex-wrap: wrap;
    gap: 0.3rem 0.2rem;
}

html[data-mode="h5"] .footer__col {
    flex: 1 1 40%;
    min-width: 2.6rem;
}

html[data-mode="h5"] .footer__contact-item {
    font-size: 0.2rem;
}

html[data-mode="h5"] .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-top: 0.4rem;
    padding-top: 0.3rem;
}

html[data-mode="h5"] .footer__logo {
    width: 4rem;
    height: auto;
}

html[data-mode="h5"] .footer__bar {
    flex-direction: column;
    height: auto;
    padding: 0.18rem 0.4rem;
    gap: 0.1rem;
}

/* ---------- 浮动侧边栏 ---------- */
html[data-mode="h5"] .float-bar {
    right: 0.2rem;
    bottom: 1.2rem;
    gap: 0.16rem;
    padding: 0.14rem 0.12rem;
}

html[data-mode="h5"] .float-bar__btn {
    width: 0.8rem;
    height: 0.8rem;
}

html[data-mode="h5"] .float-bar__btn img {
    width: 0.38rem;
    height: 0.38rem;
}