.first {
    position: relative;
    height: 6rem;
    overflow: hidden;
    background: url("../assets/images/service/service.webp") center / cover no-repeat;
}

.first__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    padding: 0 1.6rem 0.87rem;
}

/* ---------- 入场动画 ---------- */
@keyframes first-hero-in {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.first__badge,
.first__title,
.first__desc {
    opacity: 0;
    animation: first-hero-in 0.7s var(--ease-out) forwards;
}

.first__badge {
    animation-delay: 0.1s;
}

.first__title {
    animation-delay: 0.25s;
}

.first__desc {
    animation-delay: 0.4s;
}

/* ---------- 徽标胶囊 ---------- */
.first__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0.81rem;
    height: 0.34rem;
    border: 0.01rem solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    color: #fff;
    font-size: 0.16rem;
    font-weight: 500;
}

/* ---------- 标题 / 描述 ---------- */
.first__title {
    max-width: 10.14rem;
    margin-top: 0.2rem;
    color: #fff;
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1.2;
}

.first__desc {
    max-width: 9.36rem;
    margin-top: 0.23rem;
    color: #fff;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
}

html[data-mode="h5"] .first {
    height: auto;
    min-height: 3.6rem;
}

html[data-mode="h5"] .first__inner {
    max-width: none;
    padding: 1.1rem 0.4rem 0.6rem;
    height: 5rem;
}

html[data-mode="h5"] .first__badge {
    min-width: max-content;
    padding: 0 0.2rem;
    height: 0.48rem;
    font-size: 0.32rem;
}

html[data-mode="h5"] .first__title {
    max-width: 100%;
    margin-top: 0.24rem;
    font-size: 0.44rem;
}

html[data-mode="h5"] .first__desc {
    max-width: 100%;
    margin-top: 0.24rem;
    font-size: 0.32rem;
    display: none;
}

/* ============================================================
   4. 第四屏：Turnkey Steel Building Service（Figma 373_3413：1600 × 443）
   - 内边距 80 / 160；居中标题 32px Montserrat 600 #131841（两行）
   - 2 张卡片（间距 22）：左图 355×285 + 右文块 #F5F5F5 433×285
     标题 20px/600 #333 @(407,84)；描述 16px/500 #666 宽 337 @(407,130)
   - 图片：index/img11.webp、index/img12.webp
   - 入场：data-reveal 标题淡入上浮；两卡分别从左/右滑入错峰
   - 悬浮：上浮辉光 + 顶部蓝条擦入 + 高光扫过 + 图片放大 +
     蓝色渐变遮罩浮现 + 标题变色下划线展开
   ============================================================ */
.fourth {
    padding: 0.8rem 1.6rem;
}

.fourth__title {
    margin: 0;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.32rem;
    font-weight: 600;
    line-height: 1.5;
    color: #131841;
}

.fourth__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.22rem;
    justify-content: center;
    margin: 0.62rem 0 0;
    padding: 0;
    list-style: none;
}

/* ---------- 卡片：图 355×285 + 文块 ---------- */
.fourth-card {
    position: relative;
    display: flex;
    overflow: hidden;
    height: 2.85rem;
    background: #f5f5f5;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}

/* 顶部品牌蓝条：默认收起，悬浮从左擦入 */
.fourth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 0.05rem;
    background: linear-gradient(90deg, #0265b2, #35a3e8);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s var(--ease-out);
}

/* 高光扫过层：悬浮时斜向擦过 */
.fourth-card::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 0;
    z-index: 3;
    width: 30%;
    height: 160%;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-280%) skewX(-18deg);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.7s var(--ease-out), opacity 0.25s ease;
}

/* ---------- 左侧图片 ---------- */
.fourth-card__media {
    position: relative;
    flex-shrink: 0;
    width: 3.55rem;
    overflow: hidden;
}

.fourth-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out), filter 0.6s ease;
}

/* 悬浮时图片上的品牌渐变遮罩 */
.fourth-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(2, 101, 178, 0.38),
            rgba(19, 24, 65, 0.38));
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* ---------- 右侧文块 ---------- */
.fourth-card__body {
    flex: 1;
    min-width: 0;
    padding: 0.84rem 0.45rem 0 0.52rem;
}

.fourth-card__title {
    position: relative;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
    transition: color 0.3s ease;
}

/* 标题下划线：悬浮时从左展开 */
.fourth-card__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 100%;
    height: 0.02rem;
    background: #0265b2;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s var(--ease-out) 0.05s;
}

.fourth-card__desc {
    margin: 0.22rem 0 0;
    max-width: 3.37rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
}

/* ---------- 炫酷悬浮：上浮辉光 + 蓝条 + 高光 + 图片缩放 + 遮罩 + 标题变色 ---------- */
.fourth-card:hover,
.fourth-card:focus-within {
    transform: translateY(-0.08rem);
    box-shadow:
        0 0.16rem 0.44rem rgba(2, 101, 178, 0.22),
        0 0 0 0.01rem rgba(2, 101, 178, 0.35);
}

.fourth-card:hover::before,
.fourth-card:focus-within::before {
    transform: scaleX(1);
}

.fourth-card:hover::after,
.fourth-card:focus-within::after {
    transform: translateX(420%) skewX(-18deg);
    opacity: 1;
}

.fourth-card:hover .fourth-card__media img,
.fourth-card:focus-within .fourth-card__media img {
    transform: scale(1.08);
    filter: saturate(1.1);
}

.fourth-card:hover .fourth-card__media::after,
.fourth-card:focus-within .fourth-card__media::after {
    opacity: 1;
}

.fourth-card:hover .fourth-card__title,
.fourth-card:focus-within .fourth-card__title {
    color: #0265b2;
}

.fourth-card:hover .fourth-card__title::after,
.fourth-card:focus-within .fourth-card__title::after {
    transform: scaleX(1);
}

/* ---------- 入场动画：标题淡入上浮；卡片分别从左/右滑入错峰 ---------- */
@keyframes fourth-title-in {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
        filter: blur(0.05rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fourth-card-in-left {
    from {
        opacity: 0;
        transform: translateX(-0.6rem);
        filter: blur(0.06rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes fourth-card-in-right {
    from {
        opacity: 0;
        transform: translateX(0.6rem);
        filter: blur(0.06rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.fourth__title[data-reveal] {
    opacity: 0;
}

.fourth__title[data-reveal].is-in-view {
    opacity: 1;
    animation: fourth-title-in 0.7s var(--ease-out) backwards;
}

.fourth-card[data-reveal] {
    opacity: 0;
}

.fourth-card[data-reveal].is-in-view {
    opacity: 1;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}

.fourth__grid .fourth-card:nth-child(1).is-in-view {
    animation: fourth-card-in-left 0.7s var(--ease-out) 0.12s backwards;
}

.fourth__grid .fourth-card:nth-child(2).is-in-view {
    animation: fourth-card-in-right 0.7s var(--ease-out) 0.26s backwards;
}

/* 无 JS / 减少动态：直接呈现 */
html:not(.js) .fourth__title[data-reveal],
html:not(.js) .fourth-card[data-reveal] {
    opacity: 1;
}

/* ---------- H5 适配（read.md：主标题 0.44rem，内容不小于 0.32rem） ---------- */
html[data-mode="h5"] .fourth {
    padding: 0.6rem 0.4rem;
}

html[data-mode="h5"] .fourth__title {
    font-size: 0.44rem;
}

html[data-mode="h5"] .fourth__grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

html[data-mode="h5"] .fourth-card {
    flex-direction: column;
    height: auto;
}

html[data-mode="h5"] .fourth-card__media {
    width: 100%;
    height: 3.6rem;
}

html[data-mode="h5"] .fourth-card__body {
    padding: 0.4rem 0.4rem 0.5rem;
}

html[data-mode="h5"] .fourth-card__title {
    font-size: 0.32rem;
}

html[data-mode="h5"] .fourth-card__desc {
    max-width: 100%;
    margin-top: 0.2rem;
    font-size: 0.32rem;
}

/* ============================================================
   6. 第六屏：Our Commitments（Figma 373_3458：1600 × 497）
   - 内边距 100 / 160；居中标题 48px Montserrat 600 #131841
   - 3 张卡片 496×378（间距 56，#F5F5F5 圆角 10）
     图标圆 80×80 @(50,50)；标题 24px/600 #333 @(50,177)；
     描述 16px/500 #666 宽 378 @(50,223)
   - 卡片一：蓝色 #0265B2 圆底 + 白色图标 + 右下品牌水印（4% 透明度）
   - 入场：data-reveal 模糊淡入上浮错峰（标题 → 三卡依次）
   - 悬浮：上浮辉光 + 顶部蓝条擦入 + 高光扫过 + 图标圆旋转变色 +
     水印浮现 + 标题变色
   ============================================================ */
.sixth {
    padding: 1rem 1.6rem;
}

.sixth__title {
    margin: 0;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1.2;
    color: #131841;
}

.sixth__grid {
    display: grid;
    grid-template-columns: repeat(3, 4.96rem);
    gap: 0.56rem;
    justify-content: center;
    margin: 0.6rem 0 0;
    padding: 0;
    list-style: none;
}

/* ---------- 卡片：496×378 ---------- */
.sixth-card {
    position: relative;
    overflow: hidden;
    height: 3.78rem;
    padding: 0.5rem 0.68rem 0 0.5rem;
    background: #f5f5f5;
    border-radius: 0.1rem;
}

/* 顶部品牌蓝条：默认收起，悬浮从左擦入 */
.sixth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 0.05rem;
    background: linear-gradient(90deg, #0265b2, #35a3e8);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s var(--ease-out);
}

/* 高光扫过层：悬浮时斜向擦过 */
.sixth-card::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 0;
    z-index: 2;
    width: 30%;
    height: 160%;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-280%) skewX(-18deg);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.7s var(--ease-out), opacity 0.25s ease;
}

/* ---------- 品牌水印：右下角，4% 透明度 ---------- */
.sixth-card__mark {
    position: absolute;
    right: 0.07rem;
    bottom: 0;
    z-index: 0;
    width: 3.02rem;
    height: 1.76rem;
    opacity: 0.04;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.5s var(--ease-out);
}

.sixth-card__mark img {
    position: absolute;
    display: block;
    height: auto;
}

.sixth-card__mark img:first-child {
    left: 0;
    top: 0;
    width: 1.8rem;
}

.sixth-card__mark img:last-child {
    left: 1.21rem;
    top: 0.01rem;
    width: 1.82rem;
}

/* ---------- 图标圆：80×80 @(50,50)，图标 40×40 居中 ---------- */
.sixth-card__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.8rem;
    height: 0.8rem;
    background: #ffffff;
    border-radius: 50%;
    transition: background-color 0.45s var(--ease-out),
        transform 0.45s var(--ease-out),
        box-shadow 0.45s ease;
}

.sixth-card__icon svg {
    display: block;
    width: 0.4rem;
    height: 0.4rem;
}

.sixth-card__icon svg path {
    fill: #333333;
    transition: fill 0.4s ease;
}

/* 卡片一：蓝色圆底 + 白色图标 */
.sixth-card__icon--blue {
    background: #0265b2;
}

.sixth-card__icon--blue svg path {
    fill: #ffffff;
}

/* ---------- 标题 / 描述 ---------- */
.sixth-card__title {
    position: relative;
    z-index: 1;
    margin: 0.47rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.24rem;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
    transition: color 0.3s ease;
}

.sixth-card__desc {
    position: relative;
    z-index: 1;
    margin: 0.17rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
}

/* [certifications] 链接：#131841 */
.sixth-card__link {
    color: #131841;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sixth-card__link:hover {
    color: #0265b2;
    text-decoration: underline;
}

/* ---------- 炫酷悬浮：上浮辉光 + 图标旋转变色 + 水印浮现 + 标题变色 ---------- */
.sixth-card:hover,
.sixth-card:focus-within {
    transform: translateY(-0.08rem);
    box-shadow:
        0 0.16rem 0.44rem rgba(2, 101, 178, 0.22),
        0 0 0 0.01rem rgba(2, 101, 178, 0.35);
}

.sixth-card:hover::before,
.sixth-card:focus-within::before {
    transform: scaleX(1);
}

.sixth-card:hover::after,
.sixth-card:focus-within::after {
    transform: translateX(420%) skewX(-18deg);
    opacity: 1;
}

/* 图标圆：放大旋转；白圆翻转为品牌蓝、图标翻白 */
.sixth-card:hover .sixth-card__icon,
.sixth-card:focus-within .sixth-card__icon {
    transform: rotate(-8deg) scale(1.1);
    background: #0265b2;
    box-shadow: 0 0.1rem 0.24rem rgba(2, 101, 178, 0.4);
}

.sixth-card:hover .sixth-card__icon svg path,
.sixth-card:focus-within .sixth-card__icon svg path {
    fill: #ffffff;
}

/* 蓝色圆底（卡片一）：图标转深蓝高亮 */
.sixth-card:hover .sixth-card__icon--blue,
.sixth-card:focus-within .sixth-card__icon--blue {
    background: #131841;
}

/* 水印：透明度提升 + 轻微上浮放大 */
.sixth-card:hover .sixth-card__mark,
.sixth-card:focus-within .sixth-card__mark {
    opacity: 0.1;
    transform: translateY(-0.06rem) scale(1.03);
}

.sixth-card:hover .sixth-card__title,
.sixth-card:focus-within .sixth-card__title {
    color: #0265b2;
}

/* ---------- 入场动画：模糊淡入 + 上浮 + 微缩放，错峰 ---------- */
@keyframes sixth-card-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem) scale(0.96);
        filter: blur(0.06rem);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.sixth-card[data-reveal] {
    opacity: 0;
    transform: translateY(0.4rem) scale(0.96);
    filter: blur(0.06rem);
}

.sixth-card[data-reveal].is-in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    animation: sixth-card-in 0.7s var(--ease-out) var(--reveal-delay, 0s) backwards;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}

/* 错峰：标题 → 三卡依次 */
.sixth__grid .sixth-card:nth-child(1) {
    --reveal-delay: 0.12s;
}

.sixth__grid .sixth-card:nth-child(2) {
    --reveal-delay: 0.24s;
}

.sixth__grid .sixth-card:nth-child(3) {
    --reveal-delay: 0.36s;
}

/* 无 JS / 减少动态：直接呈现 */
html:not(.js) .sixth-card[data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ---------- H5 适配（read.md：主标题 0.44rem，内容不小于 0.32rem） ---------- */
html[data-mode="h5"] .sixth {
    padding: 0.6rem 0.4rem;
}

html[data-mode="h5"] .sixth__title {
    font-size: 0.44rem;
}

html[data-mode="h5"] .sixth__grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

html[data-mode="h5"] .sixth-card {
    height: auto;
    padding: 0.4rem 0.4rem 0.5rem;
}

html[data-mode="h5"] .sixth-card__icon {
    width: 0.88rem;
    height: 0.88rem;
}

html[data-mode="h5"] .sixth-card__icon svg {
    width: 0.44rem;
    height: 0.44rem;
}

html[data-mode="h5"] .sixth-card__title {
    margin-top: 0.36rem;
    font-size: 0.32rem;
}

html[data-mode="h5"] .sixth-card__desc {
    margin-top: 0.2rem;
    font-size: 0.32rem;
    line-height: 1.5;
}

html[data-mode="h5"] .sixth-card__mark {
    width: 2.2rem;
    height: 1.28rem;
    right: 0.1rem;
}

html[data-mode="h5"] .sixth-card__mark img:first-child {
    width: 1.32rem;
}

html[data-mode="h5"] .sixth-card__mark img:last-child {
    left: 0.88rem;
    width: 1.33rem;
}

/* ============================================================
   2. 第二屏：Our Six-Step Process（Figma 373_3342：1600 × 748）
   - 内边距 80 / 160；头部：标题 48px/600 #131841，
     描述 16px/500 #666（标题下方 82）
   - 6 步横向轮播：卡 348 + 间距 50 = 步距 398；卡高 478
     步骤圆标 60×60（当前步高亮蓝）+ 虚线连接线（338×8，居中于圆）
     编号/标题 24px Poppins 600 #333（标题偏移 45）；
     描述 16px/500 #666（标题下方 46）；图 348×240 圆角 10 置底
   - 交互：点右侧 ≫ 按钮逐个展示下一步；整体可拖动切换
   - 入场：data-reveal 模糊淡入上浮错峰（头部 → 六卡依次）
   - 悬浮：卡片上浮辉光 + 图片缩放 + 编号变色位移 + 圆标旋转
   ============================================================ */
.second {
    padding: 0.8rem 1.6rem;
}

/* ---------- 模块头部 ---------- */
.second__title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1.2;
    color: #131841;
}

.second__desc {
    max-width: 8.93rem;
    margin: 0.24rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
}

/* ---------- 轮播区 ---------- */
.second__slider {
    position: relative;
    margin-top: 0.5rem;
}

/* 右侧 ≫ 前进按钮（设计稿 x1550，右对齐，行内 top15） */
.second__next {
    position: absolute;
    top: 0.3rem;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.5rem;
    height: 0.3rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.second__next img {
    display: block;
    width: 0.5rem;
    height: 0.3rem;
}

.second__next:hover {
    transform: translateX(0.06rem);
}

.second__next.is-end {
    opacity: 0.3;
    cursor: default;
}

.second__next.is-end:hover {
    transform: none;
}

/* 视口：隐藏横向溢出；宽度扣除一个步距间距，确保每屏恰好完整展示 4 张卡；
   上下负边距抵消内边距，保证悬浮位移/阴影不被裁切 */
.second__viewport {
    overflow: hidden;
    width: calc(100% - 0.5rem);
    padding: 0.16rem 0 0.32rem;
    margin: -0.16rem 0 -0.32rem;
    cursor: grab;
    touch-action: pan-y;
}

.second__viewport.is-dragging {
    cursor: grabbing;
}

.second__track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.5s var(--ease-out);
    will-change: transform;
}

.second__track.is-dragging {
    transition: none;
    user-select: none;
}

/* ---------- 步骤卡：348 + 50 = 步距 398 ---------- */
.second-slide {
    flex-shrink: 0;
    width: 3.48rem;
    margin-right: 0.5rem;
}

/* 步骤圆标 60×60 + 虚线连接线（延伸至下一圆标起点 398） */
.second-slide__head {
    position: relative;
    width: 0.6rem;
    height: 0.6rem;
}

.second-slide__step {
    position: relative;
    z-index: 1;
    display: block;
    width: 0.6rem;
    height: 0.6rem;
    transition: transform 0.4s var(--ease-out);
}

.second-slide__step img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

/* 灰色为默认，蓝色高亮仅在当前步显示 */
.second-slide__step img:last-child {
    opacity: 0;
}

.second-slide.is-active .second-slide__step img:last-child {
    opacity: 1;
}

.second-slide__line {
    position: absolute;
    top: 50%;
    left: 0.6rem;
    width: 3.38rem;
    height: 0.08rem;
    transform: translateY(-50%);
    background: url("../assets/images/service/process-line.svg") left center / auto 0.08rem no-repeat;
    pointer-events: none;
}

.second-slide:last-child .second-slide__line {
    display: none;
}

/* ---------- 卡片：高 478，图 240 置底 ---------- */
.second-slide__card {
    display: flex;
    flex-direction: column;
    height: 4.78rem;
    margin-top: 0.54rem;
    border-radius: 0.1rem;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}

.second-slide__row {
    display: flex;
    align-items: baseline;
}

.second-slide__num {
    flex-shrink: 0;
    width: 0.45rem;
    font-family: "Poppins", sans-serif;
    font-size: 0.24rem;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
    transition: color 0.3s ease, transform 0.3s var(--ease-out);
}

.second-slide__name {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 0.24rem;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
    transition: color 0.3s ease;
}

.second-slide__desc {
    margin: 0.17rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
}

.second-slide__media {
    margin: auto 0 0;
    height: 2.4rem;
    overflow: hidden;
    border: 0.01rem solid #d9d9d9;
    border-radius: 0.1rem;
}

.second-slide__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

/* ---------- 个性化悬浮：上浮 + 图片缩放 + 编号变色位移 + 圆标旋转 ---------- */
.second-slide:hover .second-slide__card {
    transform: translateY(-0.08rem);
}

.second-slide:hover .second-slide__media img {
    transform: scale(1.06);
}

.second-slide:hover .second-slide__num {
    color: #0265b2;
    transform: translateX(0.05rem);
}

.second-slide:hover .second-slide__name {
    color: #0265b2;
}

.second-slide:hover .second-slide__step {
    transform: rotate(-10deg) scale(1.12);
}

/* ---------- 入场动画：模糊淡入 + 上浮，头部与六卡错峰 ---------- */
@keyframes second-block-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem);
        filter: blur(0.06rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.second [data-reveal] {
    opacity: 0;
    transform: translateY(0.4rem);
    filter: blur(0.06rem);
}

.second [data-reveal].is-in-view {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    animation: second-block-in 0.7s var(--ease-out) var(--reveal-delay, 0s) backwards;
}

.second__head {
    --reveal-delay: 0.1s;
}

.second .second-slide:nth-child(1) {
    --reveal-delay: 0.22s;
}

.second .second-slide:nth-child(2) {
    --reveal-delay: 0.32s;
}

.second .second-slide:nth-child(3) {
    --reveal-delay: 0.42s;
}

.second .second-slide:nth-child(4) {
    --reveal-delay: 0.52s;
}

.second .second-slide:nth-child(5) {
    --reveal-delay: 0.62s;
}

.second .second-slide:nth-child(6) {
    --reveal-delay: 0.72s;
}

/* 无 JS / 减少动态：直接呈现 */
html:not(.js) .second [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
}


/* ---------- H5 适配（read.md：主标题 0.44rem，内容不小于 0.32rem） ---------- */
html[data-mode="h5"] .second {
    padding: 0.6rem 0.4rem;
}

html[data-mode="h5"] .second__title {
    font-size: 0.44rem;
}

html[data-mode="h5"] .second__desc {
    max-width: 100%;
    margin-top: 0.2rem;
    font-size: 0.32rem;
}

html[data-mode="h5"] .second__slider {
    margin-top: 0.4rem;
}

/* H5：竖向排列，禁用横向轮播 */
html[data-mode="h5"] .second__next {
    display: none;
}

html[data-mode="h5"] .second__viewport {
    overflow: visible;
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: default;
}

html[data-mode="h5"] .second__track {
    display: block;
    transform: none !important;
}

html[data-mode="h5"] .second-slide {
    width: 100%;
    margin: 0 0 0.5rem;
}

html[data-mode="h5"] .second-slide__head {
    display: none;
}

html[data-mode="h5"] .second-slide:last-child {
    margin-bottom: 0;
}

html[data-mode="h5"] .second-slide__line {
    display: none;
}

html[data-mode="h5"] .second-slide__card {
    height: auto;
    margin-top: 0.4rem;
}

html[data-mode="h5"] .second-slide__num {
    width: 0.56rem;
    font-size: 0.36rem;
}

html[data-mode="h5"] .second-slide__name {
    font-size: 0.36rem;
}

html[data-mode="h5"] .second-slide__desc {
    margin-top: 0.2rem;
    font-size: 0.32rem;
}

html[data-mode="h5"] .second-slide__media {
    height: auto;
    aspect-ratio: 348 / 240;
    margin-top: 0.3rem;
}

/* ============================================================
   3. 第三屏：Custom Engineering Capabilities（Figma 373_3396：1920 × 1803）
   - 背景：#F2FAFD → #FFF → #F2FAFD 纵向渐变
   - 内边距 91 / 160 / 94；头部：标题 48px/600 #131841，
     描述 16px/500 #666 宽 771（[Solution page] 高亮 #131841）
   - 三行 436 高（行距 60）：图 771×436 + 间距 122 + 文本列 607
     行标题 36px/600 #131841（顶部偏移 128）；
     描述 16px/500 #666 宽 607（标题下方 84）
   - 入场：data-reveal 模糊淡入上浮错峰（头部 → 三行依次）
   ============================================================ */
.third {
    padding: 0.91rem 1.6rem 0.94rem;
    background: linear-gradient(180deg, #F2FAFD 0%, #ffffff 30%, #ffffff 50%, #ffffff 70%, #F2FAFD 100%);
}

.third__inner {
    max-width: 15rem;
    margin: 0 auto;
}

/* ---------- 模块头部 ---------- */
.third__title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1.2;
    color: #131841;
}

.third__desc {
    max-width: 7.71rem;
    margin: 0.24rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
}

.third__link {
    color: #131841;
    text-decoration: none;
    transition: color 0.3s ease;
}

.third__link:hover {
    color: #0265b2;
    text-decoration: underline;
}

/* ---------- 能力行：图 771×436 + 间距 122 + 文本列 607 = 1500 ---------- */
.third__row {
    display: flex;
    align-items: flex-start;
    gap: 1.22rem;
    margin-top: 0.6rem;
}

.third__head + .third__row {
    margin-top: 0.6rem;
}

.third__row--flip {
    padding-left: 1rem;
}

.third__media {
    flex-shrink: 0;
    width: 7.71rem;
    height: 4.36rem;
    margin: 0;
    overflow: hidden;
}

.third__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.third__row:hover .third__media img {
    transform: scale(1.04);
}

/* 文本列：行标题顶部偏移 128（设计稿 y=128 / y=212） */
.third__text {
    max-width: 6.07rem;
    min-width: 6.07rem;
    padding-top: 1.28rem;
}

.third__row-title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.36rem;
    font-weight: 600;
    line-height: 1.2;
    color: #131841;
}

.third__row-desc {
    margin: 0.41rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
}

/* ---------- 入场动画：模糊淡入 + 上浮，头部与三行错峰 ---------- */
@keyframes third-block-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem);
        filter: blur(0.06rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.third [data-reveal] {
    opacity: 0;
    transform: translateY(0.4rem);
    filter: blur(0.06rem);
}

.third [data-reveal].is-in-view {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    animation: third-block-in 0.7s var(--ease-out) var(--reveal-delay, 0s) backwards;
}

.third__head {
    --reveal-delay: 0.1s;
}

.third .third__row:nth-of-type(1) {
    --reveal-delay: 0.22s;
}

.third .third__row:nth-of-type(2) {
    --reveal-delay: 0.34s;
}

.third .third__row:nth-of-type(3) {
    --reveal-delay: 0.46s;
}

/* 无 JS / 减少动态：直接呈现 */
html:not(.js) .third [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ---------- H5 适配（read.md：主标题 0.44rem，内容不小于 0.32rem） ---------- */
html[data-mode="h5"] .third {
    padding: 0.6rem 0.4rem 0.7rem;
}

html[data-mode="h5"] .third__title {
    font-size: 0.44rem;
}

html[data-mode="h5"] .third__desc {
    max-width: 100%;
    margin-top: 0.2rem;
    font-size: 0.32rem;
}

html[data-mode="h5"] .third__row,
html[data-mode="h5"] .third__row--flip {
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
    padding: 0;
}

html[data-mode="h5"] .third__media {
    width: 100%;
    height: auto;
    aspect-ratio: 771 / 436;
}

html[data-mode="h5"] .third__text {
    max-width: 100%;
    padding-top: 0.3rem;
}

html[data-mode="h5"] .third__row-title {
    font-size: 0.36rem;
}

html[data-mode="h5"] .third__row-desc {
    margin-top: 0.2rem;
    font-size: 0.32rem;
    line-height: 1.5;
}

/* ============================================================
   5. 第五屏：Installation and After-Sales Support（Figma 373_3427：1920 × 720）
   - 背景图 img1.webp 全幅 + 50% 黑色遮罩
   - 标题 48px 白 @(160,131)；描述 16px #D9D9D9 宽 880 @(160,213)
   - 3 张卡片 500×220 @y378（间距 50）：白底圆角 10 + 左侧 10px 品牌蓝条；
     图标 40×40 @(420,36)；标题 20px/600 @(41,41)；描述 16px 宽 378 @(41,87)
   - 悬浮态 = 设计稿卡片一：蓝底 #0265B2、白字、图标翻白、蓝条隐去
   - 入场：data-reveal 模糊淡入上浮错峰（标题 → 描述 → 三卡依次）
   ============================================================ */
.fifth {
    position: relative;
    height: 7.2rem;
    overflow: hidden;
    background: url("../assets/images/service/img1.webp") center / cover no-repeat;
}

/* 50% 黑色遮罩 */
.fifth::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.fifth__title,
.fifth__desc,
.fifth__grid {
    position: relative;
    z-index: 1;
}

.fifth__title {
    margin: 0;
    padding: 1.31rem 1.6rem 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

.fifth__desc {
    max-width: 8.8rem;
    margin: 0.24rem 1.6rem 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
    color: #d9d9d9;
}

/* ---------- 卡片：3 × 500×220，间距 50 ---------- */
.fifth__grid {
    display: grid;
    grid-template-columns: repeat(3, 5rem);
    gap: 0.5rem;
    justify-content: flex-start;
    margin: 0.93rem 0 0;
    padding: 0 1.6rem;
    list-style: none;
}

.fifth-card {
    position: relative;
    overflow: hidden;
    height: 2.2rem;
    padding: 0.41rem 0.81rem 0 0.41rem;
    background: #ffffff;
    border-radius: 0.1rem;
    transition: background-color 0.45s var(--ease-out),
        transform 0.45s var(--ease-out),
        box-shadow 0.45s ease;
}

/* 左侧品牌蓝条：悬浮态隐去（设计稿蓝卡片无蓝条） */
.fifth-card__bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 0.1rem;
    height: 100%;
    background: #0265b2;
    border-radius: 0.1rem 0 0 0.1rem;
    transition: opacity 0.4s ease;
}

/* ---------- 图标：40×40 @(420,36)，悬浮翻白 ---------- */
.fifth-card__icon {
    position: absolute;
    right: 0.4rem;
    top: 0.36rem;
    width: 0.4rem;
    height: 0.4rem;
    transition: transform 0.45s var(--ease-out);
}

.fifth-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fifth-card__icon svg path {
    fill: #333333;
    transition: fill 0.4s ease;
}

/* ---------- 标题 / 描述 ---------- */
.fifth-card__title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
    transition: color 0.4s ease;
}

.fifth-card__desc {
    margin: 0.22rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
    transition: color 0.4s ease;
}

/* ---------- 炫酷悬浮（= 设计稿卡片一悬浮态）：蓝底白字 + 上浮辉光 + 图标旋转 ---------- */
.fifth-card:hover,
.fifth-card:focus-within {
    background: #0265b2;
    transform: translateY(-0.06rem);
    box-shadow:
        0 0.16rem 0.44rem rgba(2, 101, 178, 0.45),
        0 0 0 0.01rem rgba(255, 255, 255, 0.35);
}

.fifth-card:hover .fifth-card__bar,
.fifth-card:focus-within .fifth-card__bar {
    opacity: 0;
}

.fifth-card:hover .fifth-card__icon,
.fifth-card:focus-within .fifth-card__icon {
    transform: rotate(-8deg) scale(1.12);
}

.fifth-card:hover .fifth-card__icon svg path,
.fifth-card:focus-within .fifth-card__icon svg path {
    fill: #ffffff;
}

.fifth-card:hover .fifth-card__title,
.fifth-card:focus-within .fifth-card__title {
    color: #ffffff;
}

.fifth-card:hover .fifth-card__desc,
.fifth-card:focus-within .fifth-card__desc {
    color: #ffffff;
}

/* ---------- 入场动画：模糊淡入 + 上浮 + 微缩放，错峰 ---------- */
@keyframes fifth-card-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem) scale(0.96);
        filter: blur(0.06rem);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.fifth-card[data-reveal] {
    opacity: 0;
    transform: translateY(0.4rem) scale(0.96);
    filter: blur(0.06rem);
}

.fifth-card[data-reveal].is-in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    animation: fifth-card-in 0.7s var(--ease-out) var(--reveal-delay, 0s) backwards;
    transition: background-color 0.45s var(--ease-out),
        transform 0.45s var(--ease-out),
        box-shadow 0.45s ease;
}

/* 错峰：三卡依次 */
.fifth__grid .fifth-card:nth-child(1) {
    --reveal-delay: 0.15s;
}

.fifth__grid .fifth-card:nth-child(2) {
    --reveal-delay: 0.27s;
}

.fifth__grid .fifth-card:nth-child(3) {
    --reveal-delay: 0.39s;
}

/* 无 JS / 减少动态：直接呈现 */
html:not(.js) .fifth-card[data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
}


/* ---------- H5 适配（read.md：主标题 0.44rem，内容不小于 0.32rem） ---------- */
html[data-mode="h5"] .fifth {
    height: auto;
}

html[data-mode="h5"] .fifth__title {
    padding: 0.6rem 0.4rem 0;
    font-size: 0.44rem;
}

html[data-mode="h5"] .fifth__desc {
    max-width: none;
    margin: 0.24rem 0.4rem 0;
    font-size: 0.32rem;
}

html[data-mode="h5"] .fifth__grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0 0.4rem 0.6rem;
}

html[data-mode="h5"] .fifth-card {
    height: auto;
    min-height: 2.6rem;
    padding: 0.4rem 0.4rem 0.4rem 0.48rem;
}

html[data-mode="h5"] .fifth-card__bar {
    width: 0.08rem;
}

html[data-mode="h5"] .fifth-card__icon {
    right: 0.3rem;
    top: 0.3rem;
    width: 0.44rem;
    height: 0.44rem;
}

html[data-mode="h5"] .fifth-card__title {
    font-size: 0.32rem;
}

html[data-mode="h5"] .fifth-card__desc {
    margin-top: 0.2rem;
    font-size: 0.32rem;
}