/* ============================================================
   about.css —— 仅 about.html 使用（页面级样式）
   ============================================================ */
/* ---------- 入场动效（首屏加载即播放） ----------
   背景 Ken Burns 缓推 → 遮罩左扫淡入 → 标题蒙版揭示+模糊上浮 → 描述左滑淡入 */

/* ============================================================
   第1屏：About Hero（1920 x 500，1rem = 100px）
   背景图 + 左侧黑色渐变遮罩；标题 left 260 / top 137 / 宽 729
   描述 left 260 / top 304 / 宽 520；顶部预留导航栏 80
   ============================================================ */
.first {
    position: relative;
    width: 100%;
    max-width: 19.2rem;
    height: 5rem;
    /* 500px */
    margin: 0.8rem auto 0;
    /* 顶部空出导航栏 80px */
    box-sizing: border-box;
    overflow: hidden;
    padding: 1.37rem 0 0 2.6rem;
}

/* 背景图层独立成层，便于 Ken Burns 缓推入场 */
.first::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../assets/images/customization/first-img.webp") no-repeat center / cover;
}


.first__inner {
    position: relative;
    z-index: 2;
    height: 100%;
}

/* 标题：40px / 600 / #FFF，left 260 / top 137 / 宽 729 */
.first__title {
    width: 7.29rem;
    margin: 0;
    overflow: hidden;
    padding-bottom: 0.05rem;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    z-index: 10;
    position: relative;
    margin-bottom: 0.1rem;
}

.first__title span {
    display: inline-block;
}

/* 描述：16px / 400 / #FFF，left 260 / top 304 / 宽 520 */
.first__desc {
    width: 5.2rem;
    margin: 0;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    text-transform: capitalize;
    z-index: 10;
    position: relative;
}

.first::before {
    transform: scale(1.15);
    animation: first-bg-in 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.first__title {
    opacity: 0;
    animation: first-title-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.first__desc {
    opacity: 0;
    animation: first-desc-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards;
}

@keyframes first-bg-in {
    from {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
    }
}

/* 遮罩：从左向右展开淡入 */
@keyframes first-shade-in {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

/* 标题：模糊上浮揭示 */
@keyframes first-title-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem);
        filter: blur(0.06rem);
    }

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

/* 描述：轻微左滑淡入 */
@keyframes first-desc-in {
    from {
        opacity: 0;
        transform: translateX(-0.3rem);
    }

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

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .first {
    height: auto;
    margin-top: 0.8rem;
    /* H5 重新定义内边距，覆盖 PC 的 1.37rem / 2.6rem，避免标题溢出 */
    padding: 0.7rem 0.3rem 0.5rem;
}

html[data-mode="h5"] .first__title {
    left: auto;
    top: auto;
    width: 100%;
    font-size: 0.36rem;
}

html[data-mode="h5"] .first__desc {
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
}

/* 系统开启"减少动态效果"时：直接显示，不做隐藏与动画 */
@media (prefers-reduced-motion: reduce) {
    .first::before {
        animation: none;
        transform: none;
    }

    .first__title,
    .first__desc {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
        clip-path: none;
    }
}

/* ============================================================
   面包屑导航（1920 设计稿，1920x60，bg #F5F5F5，padding-left 160）
   滚动时吸附在固定导航栏（0.8rem）下方
   入场动效由 about.js 的 IntersectionObserver 添加 .is-in-view 触发
   ============================================================ */
.breadcrumb {
    position: sticky;
    top: 0.8rem;
    /* 吸附于 80px 高的导航栏下方 */
    z-index: 90;
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    height: 0.6rem;
    /* 60px */
    margin: 0 auto;
    padding-left: 2.6rem;
    /* 160px */
    background: #F2F3ED;
    display: flex;
    align-items: center;
}

.breadcrumb__inner {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    /* 12px */
}

/* 面包屑项：14px / 400 / 行高 24px */
.breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    color: #333;
    font-family: "Montserrat", sans-serif;
    /* Gabarito */
    font-size: 0.14rem;
    /* 14px */
    font-style: normal;
    font-weight: 400;
    line-height: 0.24rem;
    /* 24px */
    text-decoration: none;
    cursor: pointer;
}

a.breadcrumb__item {
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a.breadcrumb__item:hover {
    color: #1078D8;
    transform: translateX(0.03rem);
}

/* 当前页：不可点击，弱化为 #999 */
.breadcrumb__item.is-current {
    color: #999;
    cursor: default;
}

/* 分隔符 */
.breadcrumb__sep {
    color: #999;
    font-size: 0.14rem;
    line-height: 0.24rem;
    user-select: none;
}

/* Home 图标：24px，悬浮轻旋 */
.breadcrumb__icon {
    display: block;
    width: 0.24rem;
    /* 24px */
    height: 0.24rem;
    /* 24px */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.breadcrumb__item--home:hover .breadcrumb__icon {
    transform: rotate(-14deg) scale(1.12);
}

/* ---------- 入场动效：整条自导航栏下方滑落展开，内容错峰淡入 ----------
   隐藏初始态统一限定在 html.js 下：JS 失效（含缓存空脚本）时内容直接显示 */

html.js .breadcrumb.is-in-view {
    clip-path: inset(0 0 -20% 0);
    transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

/* 内容项：错峰自左滑入 */
html.js .breadcrumb__item,
html.js .breadcrumb__sep {
    opacity: 0;
    transform: translateX(-0.2rem);
}

.breadcrumb.is-in-view .breadcrumb__item,
.breadcrumb.is-in-view .breadcrumb__sep {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.breadcrumb.is-in-view .breadcrumb__item--home {
    transition-delay: 0.25s;
}

.breadcrumb.is-in-view .breadcrumb__sep:nth-of-type(1) {
    transition-delay: 0.32s;
}

.breadcrumb.is-in-view .breadcrumb__item:nth-of-type(2) {
    transition-delay: 0.38s;
}

.breadcrumb.is-in-view .breadcrumb__sep:nth-of-type(2) {
    transition-delay: 0.44s;
}

.breadcrumb.is-in-view .breadcrumb__item.is-current {
    transition-delay: 0.5s;
}

/* Home 图标：弹性缩放弹入 */
html.js .breadcrumb__icon {
    opacity: 0;
    scale: 0.3;
}

.breadcrumb.is-in-view .breadcrumb__icon {
    opacity: 1;
    scale: 1;
    transition: opacity 0.4s ease 0.25s,
        scale 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.breadcrumb.is-in-view .breadcrumb__item--home:hover .breadcrumb__icon {
    transform: rotate(-14deg) scale(1.12);
}

/* ---------- H5 适配（750 设计稿基准） ---------- */
html[data-mode="h5"] .breadcrumb {
    padding-left: 0.3rem;
}

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

/* ---------- 动效减弱（无障碍） ---------- */
@media (prefers-reduced-motion: reduce) {

    .breadcrumb,
    .breadcrumb__item,
    .breadcrumb__sep,
    .breadcrumb__icon {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        scale: none !important;
    }
}

/* ============================================================
   第8屏：Ready to Start Your Project? CTA 横幅（复制 index 第九屏）
   ============================================================ */
.eighth {
    position: relative;
    height: 5.2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景：入场时 Ken Burns 缩放回正 */
.eighth__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.eighth.is-in-view .eighth__bg {
    transform: scale(1);
}

/* 压暗遮罩，保证文字可读性 */
.eighth__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(2, 18, 38, 0.55) 0%,
            rgba(2, 18, 38, 0.15) 45%,
            rgba(2, 18, 38, 0.5) 100%);
}

.eighth__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.eighth__desc {
    color: #E6E6E6;
    font-family: Montserrat;
    font-size: 0.16rem;
    font-weight: 400;
    line-height: 1.5;
}

/* 标题：overflow 裁切 + 上移入场的蒙版揭示效果 */
.eighth__title {
    margin-top: 0.14rem;
    overflow: hidden;
    padding-bottom: 0.06rem;
    color: #FFF;
    font-family: Montserrat;
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1.2;
}

.eighth__title span {
    display: inline-block;
}

/* ---------- CTA 圆形按钮 ---------- */
.eighth__cta {
    position: relative;
    display: block;
    width: 1.97rem;
    height: 1.97rem;
    margin: 0.22rem auto 0;
}

.eighth__cta-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.46rem;
    height: 1.46rem;
    margin: -0.73rem 0 0 -0.73rem;
    background: #EA5404;
    border-radius: 50%;
    transition: transform 0.35s ease;
}

/* ---------- 环形文字：沿圆内侧排布（设计稿 "Share Your Ideas ..."） ---------- */
.eighth__cta-ring-text {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.46rem;
    height: 1.46rem;
    margin: -0.73rem 0 0 -0.73rem;
    transform: rotate(-45deg);
    /* 起点转到左下（约 7 点半方向），文字顺时针向上绕排 */
    transition: transform 6s linear;
    pointer-events: none;
}

.eighth__cta-ring-text-inner {
    fill: rgba(255, 255, 255, 0.55);
    font-family: Montserrat, sans-serif;
    font-size: 9px;
    font-weight: 500;
}

.eighth__cta:hover .eighth__cta-ring-text {
    transform: rotate(-405deg);
}

.eighth__cta-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1.46rem;
    color: #FFF;
    font-family: Montserrat;
    font-size: 0.16rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01rem;
    text-transform: uppercase;
    text-align: center;
}

/* 圆内右下方的白色小圆点（设计稿 6px、60% 白点，约 4 点半方向） */
.eighth__cta-dot {
    position: absolute;
    top: 70.6%;
    left: 73.6%;
    width: 0.06rem;
    height: 0.06rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: transform 0.35s ease;
}

/* 呼吸扩散光环（仅在入场后循环播放） */
.eighth__cta-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.46rem;
    height: 1.46rem;
    margin: -0.73rem 0 0 -0.73rem;
    border: 1px solid rgba(234, 84, 4, 0.85);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.eighth.is-in-view .eighth__cta-ring {
    animation: eighth-ring 2.4s ease-out 1.4s infinite;
}

@keyframes eighth-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

/* hover：圆放大、小圆点右移 */
.eighth__cta:hover .eighth__cta-circle {
    transform: scale(1.08);
}

.eighth__cta:hover .eighth__cta-dot {
    transform: translateX(0.08rem);
}

/* ---------- 入场动效（common.js 滚动加 .is-in-view 触发） ---------- */
html.js .eighth__desc {
    opacity: 0;
    transform: translateY(0.3rem);
    transition: opacity 0.8s ease 0.15s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

html.js .eighth__title span {
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

html.js .eighth__cta {
    transform: scale(0) rotate(-45deg);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s;
}

html.js .eighth__cta-dot {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.4s ease 0.95s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.95s;
}

html.js .eighth__cta-ring-text {
    opacity: 0;
    transition: opacity 0.7s ease 1.1s, transform 6s linear;
}

.eighth.is-in-view .eighth__cta-ring-text {
    opacity: 1;
}

.eighth.is-in-view .eighth__desc {
    opacity: 1;
    transform: none;
}

.eighth.is-in-view .eighth__title span {
    transform: none;
}

.eighth.is-in-view .eighth__cta {
    transform: none;
}

.eighth.is-in-view .eighth__cta-dot {
    opacity: 1;
    transform: none;
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .eighth {
    height: auto;
    padding: 0.6rem 0.3rem;
}

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

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

html[data-mode="h5"] .eighth__cta {
    width: 1.7rem;
    height: 1.7rem;
}

html[data-mode="h5"] .eighth__cta-circle {
    width: 1.26rem;
    height: 1.26rem;
    margin: -0.63rem 0 0 -0.63rem;
}

html[data-mode="h5"] .eighth__cta-text {
    width: 1.26rem;
    font-size: 0.18rem;
    letter-spacing: 0;
}

html[data-mode="h5"] .eighth__cta-ring-text {
    width: 1.26rem;
    height: 1.26rem;
    margin: -0.63rem 0 0 -0.63rem;
}

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    .eighth__bg,
    .eighth.is-in-view .eighth__bg {
        transform: none;
        transition: none;
    }

    html.js .eighth__desc,
    html.js .eighth__title span,
    html.js .eighth__cta,
    html.js .eighth__cta-dot,
    html.js .eighth__cta-ring-text {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .eighth.is-in-view .eighth__cta-ring {
        animation: none;
    }
}

/* ============================================================
   第7屏：Frequently Asked Questions（Figma 227_443：1920 x 766）
   bg #F9FAF4；居中标题 40px + 副标 16px
   5 条 FAQ 手风琴（1270 宽居中，Q/A 徽章 30，间隔 56）
   展开：分隔线从左扫入 + 答案淡入上移；收起：箭头右转
   ============================================================ */
.seventh {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
    padding: 0.84rem 0;
    background: #F9FAF4;
    overflow: hidden;
}

/* ---------- 标题：40px / 600 / #333 居中 + 副标 16px / #666 ---------- */
.seventh__title {
    margin: 0;
    overflow: hidden;
    padding-bottom: 0.06rem;
    text-align: center;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
}

.seventh__title span {
    display: inline-block;
}

.seventh__sub {
    margin: 0.1rem 0 0;
    text-align: center;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* ---------- 手风琴列表：1270 宽居中，条目间隔 56 ---------- */
.seventh__list {
    width: 12.7rem;
    margin: 0.6rem auto 0;
    padding: 0;
    list-style: none;
}

.seventh__item+.seventh__item {
    margin-top: 0.56rem;
}

/* ---------- 问题行：Q 徽章 + 问题 + 箭头 ---------- */
.seventh__question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

/* Q 徽章：30 方块（问题 #333 / 答案 #EA5404），白字 20px Gabarito */
.seventh__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 0.3rem;
    height: 0.3rem;
    background: #333;
    color: #FFF;
    font-family: Gabarito, sans-serif;
    font-size: 0.2rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.3s ease;
}

.seventh__badge--a {
    background: #EA5404;
}

/* 问题文字：收起 400 / 展开 600，悬浮与展开变橙 */
.seventh__question-text {
    margin-left: 0.35rem;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.3s ease, font-weight 0.2s ease;
}

/* 箭头：收起右转 90°（指右），展开回正并变橙 */
.seventh__toggle {
    flex-shrink: 0;
    width: 0.24rem;
    height: 0.24rem;
    margin-left: auto;
    color: #333;
    transform: rotate(-90deg);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        color 0.3s ease;
}

.seventh__item.is-open .seventh__toggle {
    color: #EA5404;
    transform: rotate(0deg);
}

.seventh__item.is-open .seventh__question-text {
    font-weight: 600;
}

/* ---------- 悬浮：文字变橙 + 徽章回旋放大 + 箭头下探 ---------- */
.seventh__question:hover .seventh__question-text {
    color: #EA5404;
}

.seventh__question:hover .seventh__badge {
    transform: scale(1.12) rotate(-8deg);
}

.seventh__question:hover .seventh__toggle {
    transform: rotate(-90deg) translateX(0.04rem);
}

.seventh__item.is-open .seventh__question:hover .seventh__toggle {
    transform: rotate(0deg) translateY(0.04rem);
}

/* ---------- 答案：grid 0fr→1fr 展开动画 ---------- */
.seventh__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.seventh__item.is-open .seventh__answer {
    grid-template-rows: 1fr;
}

.seventh__answer-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* 分隔线：展开时从左向右扫入（1130 宽，左右缩进与文字对齐） */
.seventh__divider {
    flex-shrink: 0;
    height: 1px;
    margin: 0.13rem 0.75rem 0 0.65rem;
    background: #D9D9D9;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.seventh__item.is-open .seventh__divider {
    transform: scaleX(1);
}

/* 答案行：A 徽章与 Q 徽章同列（x=0），答案文字与问题文字对齐（x=65） */
.seventh__answer-row {
    display: flex;
    align-items: flex-start;
    padding: 0.17rem 0 0;
    opacity: 0;
    transform: translateY(-0.1rem);
    transition: opacity 0.45s ease 0.15s,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.seventh__item.is-open .seventh__answer-row {
    opacity: 1;
    transform: none;
}

.seventh__answer-text {
    margin: 0.05rem 0 0;
    width: 10.44rem;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    margin-left: 0.35rem;
}

/* ============================================================
   入场动效（common.js 滚动加 .is-in-view 触发）
   标题蒙版揭示 + 副标上浮 + 条目错峰滑入 + 徽章弹跳入场
   ============================================================ */
html.js .seventh__title span {
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

html.js .seventh__sub,
html.js .seventh__item {
    opacity: 0;
}

.seventh.is-in-view .seventh__title span {
    transform: none;
}

.seventh.is-in-view .seventh__sub {
    opacity: 1;
    animation: seventh-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s backwards;
}

/* 条目：自左错峰滑入 */
.seventh.is-in-view .seventh__item {
    opacity: 1;
    animation: seventh-item-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.seventh.is-in-view .seventh__item:nth-child(1) {
    animation-delay: 0.45s;
}

.seventh.is-in-view .seventh__item:nth-child(2) {
    animation-delay: 0.6s;
}

.seventh.is-in-view .seventh__item:nth-child(3) {
    animation-delay: 0.75s;
}

.seventh.is-in-view .seventh__item:nth-child(4) {
    animation-delay: 0.9s;
}

.seventh.is-in-view .seventh__item:nth-child(5) {
    animation-delay: 1.05s;
}

/* Q 徽章：错峰弹性弹入（用 animation，不污染悬浮 transition） */
html.js .seventh__badge {
    opacity: 0;
}

.seventh.is-in-view .seventh__badge {
    opacity: 1;
    animation: seventh-badge-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.seventh.is-in-view .seventh__item:nth-child(1) .seventh__badge {
    animation-delay: 0.65s;
}

.seventh.is-in-view .seventh__item:nth-child(2) .seventh__badge {
    animation-delay: 0.8s;
}

.seventh.is-in-view .seventh__item:nth-child(3) .seventh__badge {
    animation-delay: 0.95s;
}

.seventh.is-in-view .seventh__item:nth-child(4) .seventh__badge {
    animation-delay: 1.1s;
}

.seventh.is-in-view .seventh__item:nth-child(5) .seventh__badge {
    animation-delay: 1.25s;
}

@keyframes seventh-badge-pop {
    from {
        opacity: 0;
        transform: scale(0) rotate(-90deg);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes seventh-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes seventh-item-in {
    from {
        opacity: 0;
        transform: translateX(-0.5rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .seventh {
    height: auto;
    padding: 0.6rem 0.3rem 0.7rem;
}

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

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

html[data-mode="h5"] .seventh__list {
    width: 100%;
    margin-top: 0.5rem;
}

html[data-mode="h5"] .seventh__item+.seventh__item {
    margin-top: 0.5rem;
}

html[data-mode="h5"] .seventh__question-text {
    font-size: 0.26rem;
}

html[data-mode="h5"] .seventh__answer-text {
    width: 100%;
    font-size: 0.22rem;
}

html[data-mode="h5"] .seventh__answer-row {
    padding-top: 0.17rem;
}

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    html.js .seventh__title span,
    html.js .seventh__sub,
    html.js .seventh__item,
    html.js .seventh__badge,
    .seventh.is-in-view .seventh__title span,
    .seventh.is-in-view .seventh__badge {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .seventh__answer,
    .seventh__divider,
    .seventh__answer-row {
        transition: none;
    }
}

/* ============================================================
   第4屏：Capabilities（复制 factory.html 第七屏：Figma 289_295）
   padding 100/260；标题 40px/600/#333 居中 + 副标题 16px/#666（宽 915）
   3列 x 2行卡片 442x447（列距 37 / 行距 44）：底 #F5F5F5 圆角 20
   图 442x250 + 标题 20px/600/#333（图下 30）+ 描述 16px/#666（宽 403）
   第6格 CTA：标题 36px/600/#333（宽 300）+ 橙色实心按钮 201x48
   + 描边按钮 227x50（1px #666），均为 ↗ 箭头
   ============================================================ */
.fourth {
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
    padding: 1rem 2.6rem;
    /* 100px 260px */
}

/* 头部：标题居中 + 副标题居中（宽 915） */
.fourth__head {
    text-align: center;
}

.fourth__title {
    margin: 0;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.fourth__title span {
    display: inline-block;
}

.fourth__sub {
    width: 9.15rem;
    margin: 0.1rem auto 0;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* 网格：3 列，行距 44 / 列距 37，top 144 */
.fourth__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.44rem 0.37rem;
    margin-top: 0.37rem;
    perspective: 12rem;
}

/* 卡片：442 x 447，#F5F5F5，圆角 20 */
.fourth__card {
    position: relative;
    height: 4.47rem;
    background: #F5F5F5;
    border-radius: 0.2rem;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s ease;
    will-change: transform;
}

/* 卡片图片：442 x 250 */
.fourth__card-media {
    height: 2.5rem;
    overflow: hidden;
}

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

/* 卡片文字：标题图下 30，描述再隔 15 */
.fourth__card-body {
    padding: 0.3rem 0.2rem 0;
}

.fourth__card-name {
    margin: 0;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: color 0.35s ease;
}

.fourth__card-desc {
    margin: 0.15rem 0 0;
    width: 4.03rem;
    max-width: 100%;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* ---------- 卡片悬浮动效（独立于按钮）----------
   3D 微倾上浮 + 橙色流光描边 + 底部光晕 + 图片缩放 + 高光扫过 + 标题变橙 */
.fourth__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 0.2rem;
    padding: 0.02rem;
    background: linear-gradient(135deg,
            rgba(234, 84, 4, 0.9),
            rgba(234, 84, 4, 0.15) 45%,
            rgba(255, 255, 255, 0.4) 60%,
            rgba(234, 84, 4, 0.8));
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.fourth__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(115deg,
            transparent 32%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 68%);
    transform: translateX(-120%);
    pointer-events: none;
}

.fourth__card:hover {
    transform: translateY(-0.12rem) rotateX(3deg);
    box-shadow: 0 0.24rem 0.48rem rgba(234, 84, 4, 0.18),
        0 0.06rem 0.12rem rgba(0, 0, 0, 0.06);
}

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

.fourth__card:hover::after {
    transform: translateX(120%);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.fourth__card:hover .fourth__card-name {
    color: #EA5404;
}

/* ---------- CTA 格：标题 + 双按钮 ---------- */
.fourth__cta {
    padding: 0.67rem 0.68rem 0;
    border-radius: 20px;
    background: #F5F5F5;
}

.fourth__cta-title {
    margin: 0;
    width: 3rem;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.36rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
}

.fourth__cta-title span {
    display: inline-block;
}

.fourth__cta-btns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
    margin-top: 0.46rem;
}

/* 按钮：实心 201x48 / 描边 227x50，圆角 100 */
.fourth__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border-radius: 1rem;
    overflow: hidden;
    white-space: nowrap;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.35s ease,
        border-color 0.35s ease;
}

.fourth__btn-label {
    position: relative;
    z-index: 1;
}

.fourth__btn-arrow {
    position: relative;
    z-index: 1;
    width: 0.2rem;
    height: 0.2rem;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 高光扫过层 */
.fourth__btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
            transparent 30%,
            rgba(255, 255, 255, 0.45) 50%,
            transparent 70%);
    transform: translateX(-130%);
    pointer-events: none;
}

.fourth__btn--solid {
    height: 0.48rem;
    padding: 0 0.24rem;
    background: #EA5404;
    color: #FFF;
}

.fourth__btn--ghost {
    height: 0.5rem;
    padding: 0 0.25rem;
    border: 1px solid #666;
    color: #666;
}

/* ---------- 按钮悬浮动效（独立于卡片）---------- */

/* 实心按钮：回弹上浮 + 橙色光晕 + 高光扫过 + 箭头斜向飞出 */
.fourth__btn--solid:hover {
    transform: translateY(-0.04rem);
    background: #D64A00;
}

.fourth__btn--solid:hover::after {
    transform: translateX(130%);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fourth__btn--solid:hover .fourth__btn-arrow {
    transform: translate(0.03rem, -0.03rem);
}

.fourth__btn--solid:active {
    transform: translateY(0) scale(0.97);
}

/* 描边按钮：深色底从左填满 + 文字箭头变白 + 箭头斜向飞出 */
.fourth__btn--ghost::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #333;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fourth__btn--ghost:hover {
    border-color: #333;
    color: #FFF;
    transform: translateY(-0.04rem);
}

.fourth__btn--ghost:hover::before {
    transform: scaleX(1);
}

.fourth__btn--ghost:hover .fourth__btn-arrow path {
    stroke: #FFF;
}

.fourth__btn--ghost:hover .fourth__btn-arrow {
    transform: translate(0.03rem, -0.03rem);
}

.fourth__btn--ghost:active {
    transform: translateY(0) scale(0.97);
}

/* ============================================================
   入场动效（common.js 滚动加 .is-in-view 触发）
   标题蒙版揭示 → 副标题上浮 → 五卡 3D 翻转错峰入场
   → 卡内标题/描述错峰上浮 → CTA 弹入 + 双按钮回弹弹出
   ============================================================ */
html.js .fourth__title,
html.js .fourth__sub,
html.js .fourth__card,
html.js .fourth__card-name,
html.js .fourth__card-desc,
html.js .fourth__cta-title,
html.js .fourth__cta-btns {
    opacity: 0;
}

/* 标题：蒙版揭示 */
.fourth.is-in-view .fourth__title {
    opacity: 1;
    animation: fourth-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

@keyframes fourth-title-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        transform: none;
        clip-path: inset(-10% 0 0 0);
    }
}

/* 副标题：上浮 */
.fourth.is-in-view .fourth__sub {
    opacity: 1;
    animation: fourth-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

@keyframes fourth-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.35rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 五卡：3D 翻转错峰入场 */
.fourth.is-in-view .fourth__card {
    opacity: 1;
    animation: fourth-card-in 1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.fourth.is-in-view .fourth__card:nth-child(1) {
    animation-delay: 0.45s;
}

.fourth.is-in-view .fourth__card:nth-child(2) {
    animation-delay: 0.57s;
}

.fourth.is-in-view .fourth__card:nth-child(3) {
    animation-delay: 0.69s;
}

.fourth.is-in-view .fourth__card:nth-child(4) {
    animation-delay: 0.81s;
}

.fourth.is-in-view .fourth__card:nth-child(5) {
    animation-delay: 0.93s;
}

@keyframes fourth-card-in {
    from {
        opacity: 0;
        transform: rotateY(16deg) translateY(0.6rem) scale(0.92);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 卡内文字：错峰上浮 */
.fourth.is-in-view .fourth__card-name,
.fourth.is-in-view .fourth__card-desc {
    opacity: 1;
    animation: fourth-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.fourth.is-in-view .fourth__card:nth-child(1) .fourth__card-name {
    animation-delay: 0.75s;
}

.fourth.is-in-view .fourth__card:nth-child(1) .fourth__card-desc {
    animation-delay: 0.85s;
}

.fourth.is-in-view .fourth__card:nth-child(2) .fourth__card-name {
    animation-delay: 0.87s;
}

.fourth.is-in-view .fourth__card:nth-child(2) .fourth__card-desc {
    animation-delay: 0.97s;
}

.fourth.is-in-view .fourth__card:nth-child(3) .fourth__card-name {
    animation-delay: 0.99s;
}

.fourth.is-in-view .fourth__card:nth-child(3) .fourth__card-desc {
    animation-delay: 1.09s;
}

.fourth.is-in-view .fourth__card:nth-child(4) .fourth__card-name {
    animation-delay: 1.11s;
}

.fourth.is-in-view .fourth__card:nth-child(4) .fourth__card-desc {
    animation-delay: 1.21s;
}

.fourth.is-in-view .fourth__card:nth-child(5) .fourth__card-name {
    animation-delay: 1.23s;
}

.fourth.is-in-view .fourth__card:nth-child(5) .fourth__card-desc {
    animation-delay: 1.33s;
}

/* CTA：标题揭示 + 按钮组回弹弹出 */
.fourth.is-in-view .fourth__cta-title {
    opacity: 1;
    animation: fourth-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1s backwards;
}

.fourth.is-in-view .fourth__cta-btns {
    opacity: 1;
    animation: fourth-btns-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s backwards;
}

@keyframes fourth-btns-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem) scale(0.9);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .fourth {
    padding: 0.6rem 0.3rem 0.7rem;
}

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

html[data-mode="h5"] .fourth__sub {
    width: 100%;
    font-size: 0.22rem;
}

html[data-mode="h5"] .fourth__grid {
    grid-template-columns: 1fr;
    gap: 0.3rem;
}

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

html[data-mode="h5"] .fourth__card-media {
    height: auto;
    aspect-ratio: 442 / 250;
}

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

html[data-mode="h5"] .fourth__card-desc {
    width: 100%;
    font-size: 0.22rem;
}

html[data-mode="h5"] .fourth__cta {
    padding: 0.4rem 0.1rem 0.2rem;
}

html[data-mode="h5"] .fourth__cta-title {
    width: 100%;
    font-size: 0.4rem;
}

html[data-mode="h5"] .fourth__cta-btns {
    margin-top: 0.4rem;
}

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    html.js .fourth__title,
    html.js .fourth__sub,
    html.js .fourth__card,
    html.js .fourth__card-name,
    html.js .fourth__card-desc,
    html.js .fourth__cta-title,
    html.js .fourth__cta-btns,
    .fourth.is-in-view .fourth__title,
    .fourth.is-in-view .fourth__sub,
    .fourth.is-in-view .fourth__card,
    .fourth.is-in-view .fourth__card-name,
    .fourth.is-in-view .fourth__card-desc,
    .fourth.is-in-view .fourth__cta-title,
    .fourth.is-in-view .fourth__cta-btns {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
        animation: none;
    }

    .fourth__card:hover {
        transform: none;
    }

    .fourth__btn:hover {
        transform: none;
    }
}

/* ============================================================
   第6屏：Why Choose Us for Bulk & Wholesale Foam
   （Figma 299_1208：1354 x 685，1rem = 100px）
   padding 100/260，内容块 1354 居中；头部居中（标题 40px/600/#333
   + 副标题 16px/#999 宽 680）；左图 571x522（圆角 20，top 163）
   + 右列表 730（间距 53，首卡较图下移 11）：3 张 730x150 白卡
   （圆角 10，1px #D9D9D9，卡距 30/31）：数字圆 80（#333→悬浮 #EA5404）
   + 标题 20px/600/#333 + 描述 16px/#666（宽 559）
   ============================================================ */
.sixth {
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
    padding: 1rem 2.6rem;
    /* 100px 260px */
    position: relative;
}

.sixth>img {
    width: 4.93rem;
    height: 3.36rem;
    position: absolute;
    top: 5.34rem;
    right: -2.33rem;
}

/* 头部：居中（画布中 x 248、宽 902） */
.sixth__head {
    width: 9.02rem;
    margin: 0 auto;
    text-align: center;
}

.sixth__title {
    margin: 0;
    overflow: hidden;
    padding-bottom: 0.05rem;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.sixth__title span {
    display: inline-block;
}

.sixth__sub {
    margin: 0.1rem auto 0;
    width: 6.8rem;
    color: #999;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* 主体：左图 + 右列表 */
.sixth__body {
    display: flex;
    align-items: flex-start;
    margin-top: 0.56rem;
}

.sixth__img {
    flex: 0 0 5.71rem;
    display: block;
    width: 5.71rem;
    height: 5.22rem;
    border-radius: 0.2rem;
    object-fit: cover;
}

.sixth__list {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0.11rem 0 0 0.53rem;
    padding: 0;
    list-style: none;
}

/* 卡片：730 x 150，白底，圆角 10，1px #D9D9D9 */
.sixth__item {
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    height: 1.5rem;
    padding: 0.35rem;
    background: #FFF;
    border: 1px solid #D9D9D9;
    border-radius: 0.1rem;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.5s ease;
    will-change: transform;
}

/* 数字圆：80 x 80，未悬浮 #333，悬浮 #EA5404 */
.sixth__num {
    flex: 0 0 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #333;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    transition: background-color 0.4s ease,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease;
}

.sixth__item-body {
    flex: 1;
    min-width: 0;
    margin-left: 0.38rem;
}

.sixth__name {
    margin: 0;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: color 0.35s ease;
}

.sixth__desc {
    margin: 0.1rem 0 0;
    width: 5.59rem;
    max-width: 100%;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* ---------- 卡片悬浮动效 ----------
   上浮 + 边框变橙 + 柔和投影 + 数字圆 #333 → #EA5404 回弹 + 标题变橙 */
.sixth__item:hover {
    transform: translateY(-0.06rem);
    border-color: #EA5404;
    box-shadow: 0 0.16rem 0.36rem rgba(234, 84, 4, 0.14);
}

.sixth__item:hover .sixth__num {
    background: #EA5404;
    transform: scale(1.08);
    box-shadow: 0 0.08rem 0.2rem rgba(234, 84, 4, 0.35);
}

.sixth__item:hover .sixth__name {
    color: #EA5404;
}

/* ============================================================
   入场动效（common.js 滚动加 .is-in-view 触发）
   标题蒙版揭示 → 副标题上浮 → 图片左→右擦除揭示 + 缩放聚焦
   → 三卡右滑错峰 → 数字圆回弹弹出 → 卡内文字错峰上浮
   ============================================================ */
html.js .sixth__title,
html.js .sixth__sub,
html.js .sixth__img,
html.js .sixth__item,
html.js .sixth__num,
html.js .sixth__name,
html.js .sixth__desc {
    opacity: 0;
}

.sixth.is-in-view .sixth__title {
    opacity: 1;
    animation: sixth-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

@keyframes sixth-title-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        transform: none;
        clip-path: inset(-10% 0 0 0);
    }
}

.sixth.is-in-view .sixth__sub {
    opacity: 1;
    animation: sixth-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

@keyframes sixth-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.35rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 图片：clip 擦除 + 模糊缩放聚焦 */
.sixth.is-in-view .sixth__img {
    opacity: 1;
    animation: sixth-img-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
}

@keyframes sixth-img-in {
    from {
        opacity: 0;
        filter: blur(0.12rem) brightness(1.25);
        transform: scale(1.12);
        clip-path: inset(0 100% 0 0 round 0.2rem);
    }

    60% {
        opacity: 1;
        filter: blur(0);
    }

    to {
        opacity: 1;
        filter: none;
        transform: none;
        clip-path: inset(0 0 0 0 round 0.2rem);
    }
}

/* 三卡：右滑错峰 */
.sixth.is-in-view .sixth__item {
    opacity: 1;
    animation: sixth-item-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.sixth.is-in-view .sixth__item:nth-child(1) {
    animation-delay: 0.45s;
}

.sixth.is-in-view .sixth__item:nth-child(2) {
    animation-delay: 0.6s;
}

.sixth.is-in-view .sixth__item:nth-child(3) {
    animation-delay: 0.75s;
}

@keyframes sixth-item-in {
    from {
        opacity: 0;
        transform: translateX(0.7rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 数字圆：回弹弹出 */
.sixth.is-in-view .sixth__num {
    opacity: 1;
    animation: sixth-num-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.sixth.is-in-view .sixth__item:nth-child(1) .sixth__num {
    animation-delay: 0.7s;
}

.sixth.is-in-view .sixth__item:nth-child(2) .sixth__num {
    animation-delay: 0.85s;
}

.sixth.is-in-view .sixth__item:nth-child(3) .sixth__num {
    animation-delay: 1s;
}

@keyframes sixth-num-in {
    from {
        opacity: 0;
        transform: scale(0.3);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 卡内文字：错峰上浮 */
.sixth.is-in-view .sixth__name,
.sixth.is-in-view .sixth__desc {
    opacity: 1;
    animation: sixth-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.sixth.is-in-view .sixth__item:nth-child(1) .sixth__name {
    animation-delay: 0.75s;
}

.sixth.is-in-view .sixth__item:nth-child(1) .sixth__desc {
    animation-delay: 0.85s;
}

.sixth.is-in-view .sixth__item:nth-child(2) .sixth__name {
    animation-delay: 0.9s;
}

.sixth.is-in-view .sixth__item:nth-child(2) .sixth__desc {
    animation-delay: 1s;
}

.sixth.is-in-view .sixth__item:nth-child(3) .sixth__name {
    animation-delay: 1.05s;
}

.sixth.is-in-view .sixth__item:nth-child(3) .sixth__desc {
    animation-delay: 1.15s;
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .sixth {
    padding: 0.6rem 0.3rem 0.7rem;
}

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

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

html[data-mode="h5"] .sixth__sub {
    width: 100%;
    font-size: 0.22rem;
}

html[data-mode="h5"] .sixth__body {
    flex-direction: column;
}

html[data-mode="h5"] .sixth__img {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 571 / 522;
}

html[data-mode="h5"] .sixth__list {
    width: 100%;
    margin: 0.3rem 0 0;
    gap: 0.3rem;
}

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

html[data-mode="h5"] .sixth__num {
    flex: 0 0 0.9rem;
    width: 0.9rem;
    height: 0.9rem;
    font-size: 0.28rem;
}

html[data-mode="h5"] .sixth__item-body {
    margin-left: 0.3rem;
}

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

html[data-mode="h5"] .sixth__desc {
    width: 100%;
    font-size: 0.22rem;
}

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    html.js .sixth__title,
    html.js .sixth__sub,
    html.js .sixth__img,
    html.js .sixth__item,
    html.js .sixth__num,
    html.js .sixth__name,
    html.js .sixth__desc,
    .sixth.is-in-view .sixth__title,
    .sixth.is-in-view .sixth__sub,
    .sixth.is-in-view .sixth__img,
    .sixth.is-in-view .sixth__item,
    .sixth.is-in-view .sixth__num,
    .sixth.is-in-view .sixth__name,
    .sixth.is-in-view .sixth__desc {
        opacity: 1;
        transform: none;
        clip-path: none;
        filter: none;
        transition: none;
        animation: none;
    }

    .sixth__item:hover {
        transform: none;
    }
}

/* ============================================================
   第6屏：Real Projects（Figma 294_748：1400 x 761，1rem = 100px）
   padding 100/260；头部居中（标题 40px/600/#333 + 副标题 16px/#999 宽 680）
   三卡 430x541（间距 55，top 132）：图 430x284（圆角 20）+ 间隔 15
   + 白色面板 430x242（圆角 20，1px #D9D9D9）：标题 20px/600（top 28）
   + 分隔线 390x1（top 78）+ 两组"标签 16px/600/#333 + 值 16px/#666"
   悬浮态（设计稿卡1）：标题/分隔线 #EA5404 + 右下 40 圆形橙色箭头按钮
   底部按钮 193x48（#EA5404 圆角 100，top 713）"View More Cases" + ↗
   ============================================================ */
.sixth {
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
    padding: 1rem 2.6rem;
    /* 100px 260px */
}

/* 头部：居中 */
.sixth__head {
    text-align: center;
}

.sixth__title {
    margin: 0;
    overflow: hidden;
    padding-bottom: 0.05rem;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.sixth__title span {
    display: inline-block;
}

.sixth__sub {
    margin: 0.1rem auto 0;
    width: 6.8rem;
    color: #999;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* 三卡：430 宽，间距 55 */
.sixth__grid {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.25rem;
    perspective: 12rem;
}

.sixth__card {
    position: relative;
    display: block;
    width: 4.3rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* 图片：430 x 284，圆角 20 */
.sixth__card-media {
    height: 2.84rem;
    border-radius: 0.2rem;
    overflow: hidden;
}

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

/* 白色面板：430 x 242，圆角 20，1px #D9D9D9，与图间隔 15 */
.sixth__card-body {
    position: relative;
    box-sizing: border-box;
    height: 2.42rem;
    margin-top: 0.15rem;
    padding: 0.28rem 0.2rem 0;
    background: #FFF;
    border: 1px solid #D9D9D9;
    border-radius: 0.2rem;
    transition: border-color 0.35s ease,
        box-shadow 0.5s ease;
}

.sixth__card-name {
    margin: 0;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: color 0.35s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 分隔线：390 x 1，默认 #D9D9D9，悬浮 #EA5404 */
.sixth__card-line {
    display: block;
    width: 3.9rem;
    height: 1px;
    margin-top: 0.25rem;
    background: #D9D9D9;
    transform-origin: left center;
    transition: background-color 0.35s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 信息行：标签 16px/600/#333 + 值 16px/#666 */
.sixth__row {
    margin-top: 0.2rem;
}

.sixth__row--second {
    margin-top: 0.21rem;
}

.sixth__row-label {
    display: block;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.sixth__row-value {
    display: block;
    margin-top: 0.09rem;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* 圆形箭头按钮：40 x 40（设计稿卡1悬浮态），默认隐藏 */
.sixth__card-go {
    position: absolute;
    right: 0.2rem;
    bottom: 0.23rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.4rem;
    height: 0.4rem;
    background: #EA5404;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
    transition: opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease;
    pointer-events: none;
}

.sixth__card-go svg {
    width: 0.24rem;
    height: 0.24rem;
}

/* ---------- 卡片悬浮动效（还原设计稿卡1的悬浮态）----------
   上浮 + 图片放大 + 面板描边变橙 + 标题/分隔线变橙 + 分隔线延展
   + 圆形箭头按钮回弹旋入 + 橙色光晕 */
.sixth__card:hover {
    transform: translateY(-0.08rem);
}

.sixth__card:hover .sixth__card-img {
    transform: scale(1.06);
}

.sixth__card:hover .sixth__card-body {
    border-color: #EA5404;
    box-shadow: 0 0.16rem 0.36rem rgba(234, 84, 4, 0.14);
}

.sixth__card:hover .sixth__card-name {
    color: #EA5404;
}

.sixth__card:hover .sixth__card-line {
    background: #EA5404;
    transform: scaleX(1.03);
}

.sixth__card:hover .sixth__card-go {
    opacity: 1;
    transform: none;
    box-shadow: 0 0.06rem 0.16rem rgba(234, 84, 4, 0.4);
}

/* 底部按钮：193 x 48，#EA5404，圆角 100 */
.sixth__more {
    margin-top: 0.4rem;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.sixth__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    height: 0.48rem;
    padding: 0 0.24rem;
    background: #EA5404;
    border-radius: 1rem;
    overflow: hidden;
    white-space: nowrap;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.35s ease;
}

.sixth__btn-label {
    position: relative;
    z-index: 1;
}

.sixth__btn-arrow {
    position: relative;
    z-index: 1;
    width: 0.2rem;
    height: 0.2rem;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 高光扫过层 */
.sixth__btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
            transparent 30%,
            rgba(255, 255, 255, 0.45) 50%,
            transparent 70%);
    transform: translateX(-130%);
    pointer-events: none;
}

/* 按钮悬浮（无阴影）：回弹上浮 + 加深橙 + 高光扫过 + 箭头斜向飞出 */
.sixth__btn:hover {
    transform: translateY(-0.04rem);
    background: #D64A00;
}

.sixth__btn:hover::after {
    transform: translateX(130%);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sixth__btn:hover .sixth__btn-arrow {
    transform: translate(0.03rem, -0.03rem);
}

.sixth__btn:active {
    transform: translateY(0) scale(0.97);
}

/* ============================================================
   入场动效（common.js 滚动加 .is-in-view 触发）
   标题蒙版揭示 → 副标题上浮 → 三卡 3D 上浮翻转错峰 → 按钮回弹弹出
   ============================================================ */
html.js .sixth__title,
html.js .sixth__sub,
html.js .sixth__card,
html.js .sixth__btn {
    opacity: 0;
}

.sixth.is-in-view .sixth__title {
    opacity: 1;
    animation: sixth-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

@keyframes sixth-title-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        transform: none;
        clip-path: inset(-10% 0 0 0);
    }
}

.sixth.is-in-view .sixth__sub {
    opacity: 1;
    animation: sixth-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

@keyframes sixth-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.35rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 三卡：3D 上浮翻转错峰 */
.sixth.is-in-view .sixth__card {
    opacity: 1;
    animation: sixth-card-in 1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.sixth.is-in-view .sixth__card:nth-child(1) {
    animation-delay: 0.45s;
}

.sixth.is-in-view .sixth__card:nth-child(2) {
    animation-delay: 0.6s;
}

.sixth.is-in-view .sixth__card:nth-child(3) {
    animation-delay: 0.75s;
}

@keyframes sixth-card-in {
    from {
        opacity: 0;
        transform: rotateX(10deg) translateY(0.6rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 按钮：回弹弹出 */
.sixth.is-in-view .sixth__btn {
    opacity: 1;
    animation: sixth-btn-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.95s backwards;
}

@keyframes sixth-btn-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem) scale(0.6);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .sixth {
    padding: 0.6rem 0.3rem 0.7rem;
}

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

html[data-mode="h5"] .sixth__sub {
    width: 100%;
    font-size: 0.22rem;
}

html[data-mode="h5"] .sixth__grid {
    flex-direction: column;
    gap: 0.3rem;
}

html[data-mode="h5"] .sixth__card-media {
    height: auto;
    aspect-ratio: 430 / 284;
}

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

html[data-mode="h5"] .sixth__card-name {
    font-size: 0.3rem;
}

html[data-mode="h5"] .sixth__row-label,
html[data-mode="h5"] .sixth__row-value {
    font-size: 0.24rem;
}

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    html.js .sixth__title,
    html.js .sixth__sub,
    html.js .sixth__card,
    html.js .sixth__btn,
    .sixth.is-in-view .sixth__title,
    .sixth.is-in-view .sixth__sub,
    .sixth.is-in-view .sixth__card,
    .sixth.is-in-view .sixth__btn {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
        animation: none;
    }

    .sixth__card:hover {
        transform: none;
    }

    .sixth__btn:hover {
        transform: none;
    }
}

/* ============================================================
   第3屏：Customization Options（Figma 277_1463：1920 x 868）
   全宽渐变背景（#F9FAF4 → #FFF → #F9FAF4）；头部居中（宽 621，top 69）
   左图 390x563（圆角 20，left 260 / top 208）+ 右侧 2x2 选项块
   459x220（列距 28 / 行距 33，较图下移 63）：数字圆 60（#EA5404）
   + 标题 24px/600/#333（left 74）+ 面板 459x130（#F4F8FA，1px #E6E6E6）
   内为白色标签芯片或规格文字
   注：设计稿 Density 块编号误标为 03（与 Firmness 重复），按顺序改为 02
   ============================================================ */
.third {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    min-height: 8.68rem;
    margin: 0 auto;
    padding: 0.69rem 2.6rem 0.9rem;
    background: linear-gradient(0deg, #F9FAF4 0%, #FFF 50%, #F9FAF4 100%);
    overflow: hidden;
}

/* 头部：居中（宽 621） */
.third__head {
    width: 6.21rem;
    margin: 0 auto;
    text-align: center;
}

.third__title {
    margin: 0;
    overflow: hidden;
    padding-bottom: 0.05rem;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.third__title span {
    display: inline-block;
}

.third__sub {
    margin: 0.1rem 0 0;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* 主体：左图 + 右 2x2 选项块 */
.third__body {
    display: flex;
    align-items: flex-start;
    margin-top: 0.32rem;
}

.third__img {
    flex: 0 0 3.9rem;
    display: block;
    width: 3.9rem;
    height: 5.63rem;
    border-radius: 0.2rem;
    object-fit: cover;
}

.third__blocks {
    display: grid;
    grid-template-columns: repeat(2, 4.59rem);
    gap: 0.33rem 0.28rem;
    margin: 0.63rem 0 0 0.64rem;
}

/* 选项块：459 x 220 */
.third__block {
    position: relative;
    width: 4.59rem;
    height: 2.2rem;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* 块头：数字圆 60 + 标题 24px/600（left 74 / top 12） */
.third__block-head {
    position: relative;
    height: 0.6rem;
}

.third__block-num {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.6rem;
    height: 0.6rem;
    background: #EA5404;
    border-radius: 50%;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    transition: box-shadow 0.4s ease;
}

.third__block-name {
    position: absolute;
    left: 0.74rem;
    top: 0.12rem;
    margin: 0;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* 面板：459 x 130，#F4F8FA，1px #E6E6E6，圆角 10 */
.third__block-panel {
    box-sizing: border-box;
    height: 1.3rem;
    margin-top: 0.3rem;
    background: #F4F8FA;
    border: 1px solid #E6E6E6;
    border-radius: 0.1rem;
    overflow: hidden;
    transition: border-color 0.35s ease;
}

/* 芯片面板：白色标签 36 高，行距 16 */
.third__block-panel--chips {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.16rem;
    padding: 0.21rem 0.2rem 0 0.23rem;
}

.third__chip {
    display: inline-flex;
    align-items: center;
    height: 0.36rem;
    padding: 0 0.16rem;
    background: #FFF;
    border-radius: 0.1rem;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

/* 文字面板：内容 left 39 / top 27 */
.third__block-panel--text {
    padding: 0.27rem 0.3rem 0 0.39rem;
}

.third__text-strong {
    display: block;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.third__text-light {
    display: block;
    margin-top: 0.15rem;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* ---------- 悬浮微交互 ---------- */
.third__block:hover {
    transform: translateY(-0.06rem);
}

.third__block:hover .third__block-num {
    box-shadow: 0 0.08rem 0.2rem rgba(234, 84, 4, 0.4);
}

.third__block:hover .third__block-panel {
    border-color: #EA5404;
}

/* ============================================================
   入场动效（common.js 滚动加 .is-in-view 触发）
   标题蒙版揭示 → 副标题上浮 → 图片左→右擦除揭示 + 缩放聚焦
   → 四块四角交错滑入 → 数字圆回弹弹出 → 芯片逐个弹出 / 文字错峰上浮
   ============================================================ */
html.js .third__title,
html.js .third__sub,
html.js .third__img,
html.js .third__block,
html.js .third__block-num,
html.js .third__chip,
html.js .third__text-strong,
html.js .third__text-light {
    opacity: 0;
}

.third.is-in-view .third__title {
    opacity: 1;
    animation: third-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

@keyframes third-title-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        transform: none;
        clip-path: inset(-10% 0 0 0);
    }
}

.third.is-in-view .third__sub {
    opacity: 1;
    animation: third-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

@keyframes third-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.35rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 图片：clip 擦除 + 模糊缩放聚焦 */
.third.is-in-view .third__img {
    opacity: 1;
    animation: third-img-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
}

@keyframes third-img-in {
    from {
        opacity: 0;
        filter: blur(0.12rem) brightness(1.25);
        transform: scale(1.12);
        clip-path: inset(0 100% 0 0 round 0.2rem);
    }

    60% {
        opacity: 1;
        filter: blur(0);
    }

    to {
        opacity: 1;
        filter: none;
        transform: none;
        clip-path: inset(0 0 0 0 round 0.2rem);
    }
}

/* 四块：左上/右上/左下/右下交错滑入 + 微旋转 */
.third.is-in-view .third__block {
    opacity: 1;
    animation: third-block-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.third.is-in-view .third__block:nth-child(1) {
    animation-name: third-block-in-tl;
    animation-delay: 0.45s;
}

.third.is-in-view .third__block:nth-child(2) {
    animation-name: third-block-in-tr;
    animation-delay: 0.58s;
}

.third.is-in-view .third__block:nth-child(3) {
    animation-name: third-block-in-bl;
    animation-delay: 0.71s;
}

.third.is-in-view .third__block:nth-child(4) {
    animation-name: third-block-in-br;
    animation-delay: 0.84s;
}

@keyframes third-block-in-tl {
    from {
        opacity: 0;
        transform: translate(-0.5rem, -0.4rem) rotate(-2deg);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes third-block-in-tr {
    from {
        opacity: 0;
        transform: translate(0.5rem, -0.4rem) rotate(2deg);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes third-block-in-bl {
    from {
        opacity: 0;
        transform: translate(-0.5rem, 0.4rem) rotate(2deg);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes third-block-in-br {
    from {
        opacity: 0;
        transform: translate(0.5rem, 0.4rem) rotate(-2deg);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 数字圆：回弹弹出 */
.third.is-in-view .third__block-num {
    opacity: 1;
    animation: third-num-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.third.is-in-view .third__block:nth-child(1) .third__block-num {
    animation-delay: 0.65s;
}

.third.is-in-view .third__block:nth-child(2) .third__block-num {
    animation-delay: 0.78s;
}

.third.is-in-view .third__block:nth-child(3) .third__block-num {
    animation-delay: 0.91s;
}

.third.is-in-view .third__block:nth-child(4) .third__block-num {
    animation-delay: 1.04s;
}

@keyframes third-num-in {
    from {
        opacity: 0;
        transform: scale(0.3);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 芯片：逐个回弹弹出 */
.third.is-in-view .third__chip {
    opacity: 1;
    animation: third-chip-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.third.is-in-view .third__chip:nth-child(1) {
    animation-delay: 0.85s;
}

.third.is-in-view .third__chip:nth-child(2) {
    animation-delay: 0.92s;
}

.third.is-in-view .third__chip:nth-child(3) {
    animation-delay: 0.99s;
}

.third.is-in-view .third__chip:nth-child(4) {
    animation-delay: 1.06s;
}

.third.is-in-view .third__chip:nth-child(5) {
    animation-delay: 1.13s;
}

@keyframes third-chip-in {
    from {
        opacity: 0;
        transform: scale(0.4) translateY(0.15rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 文字：错峰上浮 */
.third.is-in-view .third__text-strong,
.third.is-in-view .third__text-light {
    opacity: 1;
    animation: third-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.third.is-in-view .third__block:nth-child(2) .third__text-strong {
    animation-delay: 0.9s;
}

.third.is-in-view .third__block:nth-child(2) .third__text-light {
    animation-delay: 1s;
}

.third.is-in-view .third__block:nth-child(4) .third__text-light {
    animation-delay: 1.1s;
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .third {
    padding: 0.6rem 0.3rem 0.7rem;
    min-height: 0;
}

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

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

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

html[data-mode="h5"] .third__body {
    flex-direction: column;
}

html[data-mode="h5"] .third__img {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 390 / 563;
}

html[data-mode="h5"] .third__blocks {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    margin: 0.3rem 0 0;
}

html[data-mode="h5"] .third__block {
    width: 100%;
    height: auto;
}

html[data-mode="h5"] .third__block-panel {
    height: auto;
    min-height: 1.3rem;
    padding-bottom: 0.3rem;
}

html[data-mode="h5"] .third__block-panel--text {
    padding-bottom: 0.3rem;
}

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    html.js .third__title,
    html.js .third__sub,
    html.js .third__img,
    html.js .third__block,
    html.js .third__block-num,
    html.js .third__chip,
    html.js .third__text-strong,
    html.js .third__text-light,
    .third.is-in-view .third__title,
    .third.is-in-view .third__sub,
    .third.is-in-view .third__img,
    .third.is-in-view .third__block,
    .third.is-in-view .third__block-num,
    .third.is-in-view .third__chip,
    .third.is-in-view .third__text-strong,
    .third.is-in-view .third__text-light {
        opacity: 1;
        transform: none;
        clip-path: none;
        filter: none;
        transition: none;
        animation: none;
    }

    .third__block:hover {
        transform: none;
    }
}

/* ============================================================
   第5屏：From Raw Material to Delivery（Figma 289_339：1920 x 451）
   背景图；标题/副标居中；5 个步骤圆形图标（选中 #EA5404 / 未选 #333）
   项间虚线箭头连接；左右控制器切换选中（默认无背景，悬浮 #EA5404）
   ============================================================ */
.fifth {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    height: 4.51rem;
    /* 451px */
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* 背景图：入场 Ken Burns 缩放回正 */
.fifth__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.fifth.is-in-view .fifth__bg {
    transform: scale(1);
}

.fifth__inner {
    z-index: 1;
}

/* 标题：40px / 600 / #333 居中，top 65 */
.fifth__title {
    margin: 0.65rem 0 0;
    overflow: hidden;
    padding-bottom: 0.05rem;
    text-align: center;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.fifth__title span {
    display: inline-block;
}

/* 副标：16px / 400 / #999 居中 */
.fifth__sub {
    margin: 0.1rem 0 0;
    text-align: center;
    color: #999;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* ---------- 步骤项：5 个圆形图标 + 标签 ---------- */
/* 视口：隐藏溢出；内边距是呼吸区，防止悬停放大/辉光/入场动画被裁剪
   左右 0.6rem：容纳 nowrap 长标签（如 Profiled Components）与辉光水平模糊
   border-box：内容区仍为 11.35rem（5 张卡的窗口） */
.fifth__steps {
    overflow: hidden;
    width: 12.55rem;
    margin: 0.3rem auto 0;
    padding: 0.3rem 0.6rem 0.4rem;
    box-sizing: border-box;
}

/* 轮播轨道：卡片横向排列，整体平移 */
.fifth__track {
    display: flex;
    align-items: flex-start;
    gap: 1.5875rem; /* (11.35 - 5*1) / 4，保持原视觉间距 */
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.fifth__item {
    position: relative;
    flex: 0 0 auto;
    min-width: 0; /* 锁定 1rem 几何宽度：nowrap 长标签不撑宽卡片（标签本身允许溢出显示） */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1rem;
}

/* 圆形图标：100 x 100，选中 #EA5404 / 未选 #333 */
.fifth__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border-radius: 0.5rem;
    background: #333;
    transition: background-color 0.4s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.45s ease;
}

.fifth__item.is-active .fifth__circle {
    background: #EA5404;
}

.fifth__icon {
    width: 0.4rem;
    height: 0.4rem;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 标签：20px / 400 / #333，圆下 18 */
.fifth__label {
    margin-top: 0.18rem;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* ---------- 项间连接符：双箭头图标，水平对齐圆心、居中于间隙 ---------- */
.fifth__item::after {
    content: "";
    position: absolute;
    top: 0.39rem;
    /* 圆心 0.5 - 图标半高 0.11 */
    left: calc(100% + 0.62rem);
    width: 0.34rem;
    height: 0.22rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 22' fill='none'%3E%3Cpath d='M2 2l9 9-9 9M16 2l9 9-9 9' stroke='%23CCCCCC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    pointer-events: none;
}

/* 最后一个项不画箭头 */
.fifth__item:last-child::after {
    display: none;
}

/* ---------- 步骤悬浮：与 is-active 一致（圆变橙放大辉光 + 标签变橙） ---------- */
.fifth__item:hover .fifth__circle {
    background: #EA5404;
    transform: scale(1.1);
    box-shadow: 0 0.12rem 0.3rem rgba(234, 84, 4, 0.45);
}

.fifth__item:hover .fifth__icon {
    transform: scale(1.12) rotate(-8deg);
}

.fifth__item:hover .fifth__label {
    color: #EA5404;
}

/* ---------- 左右控制器：默认无背景，悬浮 #EA5404 ---------- */
.fifth__nav {
    position: absolute;
    top: 2.38rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: #999999;
    cursor: pointer;
    transition: background-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fifth__nav svg {
    display: block;
    width: 0.32rem;
    height: 0.32rem;
}

.fifth__nav--prev {
    left: 2.61rem;
}

.fifth__nav--next {
    right: 2.6rem;
}

.fifth__nav:hover {
    background: #EA5404;
    color: #FFF;
    transform: scale(1.1);
}

.fifth__nav:active {
    transform: scale(0.94);
}

/* ============================================================
   入场动效（common.js 滚动加 .is-in-view 触发）
   背景 Ken Burns → 标题/副标揭示 → 圆形图标逐个弹出
   → 虚线箭头逐个展开 → 标签错峰上浮 → 控制器回弹
   ============================================================ */
html.js .fifth__title,
html.js .fifth__circle,
html.js .fifth__label,
html.js .fifth__nav {
    opacity: 0;
}

.fifth.is-in-view .fifth__title {
    opacity: 1;
    animation: fifth-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

.fifth.is-in-view .fifth__sub {
    animation: fifth-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

/* 圆形图标：逐个回弹弹出 */
.fifth.is-in-view .fifth__circle {
    opacity: 1;
    animation: fifth-circle-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

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

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

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

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

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

@keyframes fifth-circle-in {
    from {
        opacity: 0;
        transform: scale(0) rotate(-90deg);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 虚线箭头：跟随前一个圆弹出后展开 */
.fifth__item::after {
    opacity: 0;
}

.fifth.is-in-view .fifth__item::after {
    opacity: 1;
    animation: fifth-line-in 0.5s ease backwards;
}

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

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

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

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

@keyframes fifth-line-in {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

/* 标签：错峰上浮 */
.fifth.is-in-view .fifth__label {
    opacity: 1;
    animation: fifth-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

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

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

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

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

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

/* 控制器：最后回弹弹出 */
.fifth.is-in-view .fifth__nav {
    opacity: 1;
    animation: fifth-nav-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s backwards;
}

@keyframes fifth-title-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        transform: none;
        clip-path: inset(-10% 0 0 0);
    }
}

@keyframes fifth-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fifth-nav-in {
    from {
        opacity: 0;
        transform: scale(0.4);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .fifth {
    height: auto;
    padding: 0.6rem 0.3rem 0.7rem;
}

html[data-mode="h5"] .fifth__title {
    margin-top: 0;
    font-size: 0.4rem;
}

/* H5 步骤改两行换行排布 */
/* H5：轮播视口收窄，轨道间距减小，逐张滚动（左右呼吸区容纳长标签） */
html[data-mode="h5"] .fifth__steps {
    width: calc(100% - 0.6rem);
    margin: 0.2rem auto 0.7rem;
    padding: 0.2rem 0.7rem 0.3rem;
}

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

/* H5 隐藏项间箭头 */
html[data-mode="h5"] .fifth__item::after {
    display: none;
}

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

html[data-mode="h5"] .fifth__nav {
    top: auto;
    bottom: 0.2rem;
}

html[data-mode="h5"] .fifth__nav--prev {
    left: 0.3rem;
}

html[data-mode="h5"] .fifth__nav--next {
    right: 0.3rem;
}

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    .fifth__bg,
    .fifth.is-in-view .fifth__bg {
        transform: none;
        transition: none;
    }

    .fifth__track {
        transition: none;
    }

    html.js .fifth__title,
    html.js .fifth__circle,
    html.js .fifth__label,
    html.js .fifth__nav,
    .fifth.is-in-view .fifth__title,
    .fifth.is-in-view .fifth__circle,
    .fifth.is-in-view .fifth__label,
    .fifth.is-in-view .fifth__nav {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
        animation: none;
    }

    .fifth__item::after,
    .fifth.is-in-view .fifth__item::after {
        opacity: 1;
        clip-path: none;
        animation: none;
    }
}

/* ============================================================
   第2屏：What We Can Supply（Figma 309_1455：1402 x 1283）
   padding 100 260；标题/副标居中；3 个分类 tab（选中橙 / 未选 #F5F5F5）
   6 张卡片 428x502（3 列间距 58、两行间距 50）
   卡片：图 428x360 上圆角 20 + 文本区 428x142 #333（悬浮 #EA5404）
   标题 20px/600 白 + 2 个胶囊 tag（14px 描边 #999，悬浮白）
   ============================================================ */
.second {
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
    padding: 1rem 2.6rem;
    overflow: hidden;
    position: relative;
}

.second >img{
    width: 4.93rem;
    height: 3.36rem;
    position: absolute;
    bottom: 1.58rem;
    right: -2rem;
}

/* 标题：40px / 600 / #333 居中 + 副标 16px / #666 */
.second__title {
    margin: 0;
    overflow: hidden;
    padding-bottom: 0.05rem;
    text-align: center;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.second__title span {
    display: inline-block;
}

.second__sub {
    margin: 0.1rem 0 0;
    text-align: center;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* ---------- 分类 tab：选中橙底白字 / 未选 #F5F5F5 黑字 ---------- */
.second__tabs {
    display: flex;
    justify-content: center;
    gap: 0.24rem;
    margin-top: 0.32rem;
}

.second__tab {
    height: 0.54rem;
    padding: 0 0.24rem;
    border: none;
    border-radius: 0.1rem;
    background: #F5F5F5;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.second__tab:hover {
    transform: translateY(-0.03rem);
}

.second__tab.is-active {
    background: #EA5404;
    color: #FFF;
}

/* ---------- 卡片网格：3 列，列距 58 / 行距 50；三组列表由 HTML 承载，切换显隐 ---------- */
.second__grid {
    margin-top: 0.6rem;
}

.second__group {
    display: none;
    grid-template-columns: repeat(3, 4.28rem);
    gap: 0.5rem 0.58rem;
    justify-content: center;
}

.second__group.is-active {
    display: grid;
}

.second__card {
    display: block;
    text-decoration: none;
    width: 4.28rem;
    border-radius: 0.2rem;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

/* 图：428 x 360，上圆角 20 */
.second__card-media {
    width: 4.28rem;
    height: 3.6rem;
    border-radius: 0.2rem 0.2rem 0 0;
    overflow: hidden;
}

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

/* 文本区：428 x 142，#333，下圆角 20，padding 30 30 0 */
.second__card-body {
    box-sizing: border-box;
    width: 4.28rem;
    height: 1.42rem;
    border-radius: 0 0 0.2rem 0.2rem;
    background: #333;
    padding: 0.3rem 0.3rem 0;
    text-align: left;
    transition: background-color 0.45s ease;
}

/* 标题：20px / 600 / #FFF */
.second__card-title {
    margin: 0 0 0.15rem;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

/* tag 容器：间隔 11 */
.second__card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.11rem;
}

/* tag：胶囊描边，14px / #999 */
.second__tag {
    display: inline-flex;
    align-items: center;
    height: 0.35rem;
    padding: 0 0.17rem;
    border: 1px solid #999;
    border-radius: 100px;
    color: #999;
    font-family: Montserrat, sans-serif;
    font-size: 0.14rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 卡片悬浮：上浮投影 + 文本区变橙 + 图放大 + tag 变白 ---------- */
.second__card:hover {
    transform: translateY(-0.12rem);
    box-shadow: 0 0.2rem 0.44rem rgba(234, 84, 4, 0.3);
}

.second__card:hover .second__card-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.second__card:hover .second__card-body {
    background: #EA5404;
}

.second__card:hover .second__tag {
    color: #FFF;
    border-color: #FFF;
    transform: translateY(-0.03rem);
}

/* ============================================================
   入场动效（common.js 滚动加 .is-in-view 触发）
   标题/副标揭示 → tab 逐个弹出 → 卡片 3D 翻入错峰（tab 切换时重放）
   ============================================================ */
html.js .second__title,
html.js .second__tab,
html.js .second__card {
    opacity: 0;
}

.second.is-in-view .second__title {
    opacity: 1;
    animation: second-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

.second.is-in-view .second__sub {
    animation: second-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

/* tab：逐个弹出 */
.second.is-in-view .second__tab {
    opacity: 1;
    animation: second-tab-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.second.is-in-view .second__tab:nth-child(1) {
    animation-delay: 0.4s;
}

.second.is-in-view .second__tab:nth-child(2) {
    animation-delay: 0.5s;
}

.second.is-in-view .second__tab:nth-child(3) {
    animation-delay: 0.6s;
}

/* 卡片：3D 翻入错峰（--d 由 CSS 按列位置给出，tab 切换时 JS 重放） */
.second.is-in-view .second__card {
    opacity: 1;
    animation: second-card-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: var(--d, 0.7s);
}

.second.is-in-view .second__card:nth-child(3n+1) {
    --d: 0.7s;
}

.second.is-in-view .second__card:nth-child(3n+2) {
    --d: 0.85s;
}

.second.is-in-view .second__card:nth-child(3n) {
    --d: 1s;
}

@keyframes second-title-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        transform: none;
        clip-path: inset(-10% 0 0 0);
    }
}

@keyframes second-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes second-tab-in {
    from {
        opacity: 0;
        transform: scale(0.4) translateY(0.2rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes second-card-in {
    from {
        opacity: 0;
        transform: perspective(12rem) rotateY(14deg) translateY(0.5rem) scale(0.92);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .second {
    padding: 0.6rem 0.3rem;
}

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

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

html[data-mode="h5"] .second__tabs {
    flex-wrap: wrap;
}

html[data-mode="h5"] .second__tab {
    height: 0.64rem;
    font-size: 0.24rem;
}

html[data-mode="h5"] .second__group {
    grid-template-columns: 100%;
    gap: 0.4rem;
}

html[data-mode="h5"] .second__card,
html[data-mode="h5"] .second__card-media,
html[data-mode="h5"] .second__card-body {
    width: 100%;
}

html[data-mode="h5"] .second__card-media {
    height: 5.04rem;
}

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

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

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    html.js .second__title,
    html.js .second__tab,
    html.js .second__card,
    .second.is-in-view .second__title,
    .second.is-in-view .second__tab,
    .second.is-in-view .second__card {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
        animation: none;
    }
}

/* ============================================================
   第2屏附加：How to Order（Figma 277_1307：1400 x 419）
   标题/副标居中；4 张卡片 326x300 圆角 20（间距 32）
   常态：浅色图 + #333 文字；悬浮：整卡 #EA5404 + 白字（图隐去）
   编号 40px/600 top 74；标题 20px/600 宽 279 top 164
   ============================================================ */
.second__order {
    width: 14rem;
    margin: 0.65rem auto 0;
}

/* 标题：40px / 600 / #333 居中 + 副标 16px / #666 */
.second__order-title {
    margin: 0;
    overflow: hidden;
    padding-bottom: 0.05rem;
    text-align: center;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.second__order-title span {
    display: inline-block;
}

.second__order-sub {
    margin: 0.1rem 0 0;
    text-align: center;
    color: #666;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

/* 四卡：326 x 300，间距 32 */
.second__order-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 0.36rem;
}

.second__order-card {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 3.26rem;
    height: 3rem;
    padding: 0.74rem 0.24rem 0;
    border-radius: 0.2rem;
    background: #F5F5F5;
    overflow: hidden;
    text-decoration: none;
    transition: background-color 0.45s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

/* 背景照片：铺满，悬浮时淡出让位橙色 */
.second__order-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.45s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 编号：40px / 600 / #333，top 74 */
.second__order-num {
    position: relative;
    z-index: 1;
    display: block;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    transition: color 0.4s ease;
}

/* 标题：20px / 600 / #333，宽 279，top 164 */
.second__order-name {
    position: relative;
    z-index: 1;
    margin: 0.42rem 0 0;
    width: 2.79rem;
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.4s ease;
}

/* ---------- 卡片悬浮：整卡变橙 + 照片淡出 + 文字变白 ---------- */
.second__order-card:hover {
    background: #EA5404;
    transform: translateY(-0.1rem);
    box-shadow: 0 0.18rem 0.4rem rgba(234, 84, 4, 0.35);
}

.second__order-card:hover .second__order-photo {
    opacity: 0;
}

.second__order-card:hover .second__order-num,
.second__order-card:hover .second__order-name {
    color: #FFF;
}

/* ============================================================
   入场动效（common.js 滚动加 .is-in-view 触发）
   标题/副标揭示 → 四卡 3D 翻入错峰
   ============================================================ */
html.js .second__order-title,
html.js .second__order-card {
    opacity: 0;
}

.second.is-in-view .second__order-title {
    opacity: 1;
    animation: second-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

.second.is-in-view .second__order-sub {
    animation: second-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

.second.is-in-view .second__order-card {
    opacity: 1;
    animation: second-card-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.second.is-in-view .second__order-card:nth-child(1) { animation-delay: 0.45s; }
.second.is-in-view .second__order-card:nth-child(2) { animation-delay: 0.6s; }
.second.is-in-view .second__order-card:nth-child(3) { animation-delay: 0.75s; }
.second.is-in-view .second__order-card:nth-child(4) { animation-delay: 0.9s; }

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .second__order {
    width: 100%;
    margin-top: 0.6rem;
}

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

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

html[data-mode="h5"] .second__order-grid {
    flex-direction: column;
    gap: 0.3rem;
}

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

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

/* 系统开启"减少动态效果"时：直接显示，不做动画 */
@media (prefers-reduced-motion: reduce) {

    html.js .second__order-title,
    html.js .second__order-card,
    .second.is-in-view .second__order-title,
    .second.is-in-view .second__order-card {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
        animation: none;
    }
}