/* ============================================================
   适配方案：rem（双端）
     - 浏览器端（PC）：设计稿基准 1920px，根字号 = min(视口,1920)/1920*100
     - H5 端（移动端）：设计稿基准 750px，根字号 = min(视口,750)/750*100
     - 根字号由 js/framework.js 动态计算，此处为回退基准
     - 媒体查询一律使用 px，避免随根字号漂移
   ============================================================ */
html {
    font-size: 100px;
    -webkit-text-size-adjust: 100%;
}

/* 隐藏滚动条（保留滚动能力） */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* ===== 字体注册 ===== */
@font-face {
    font-family: "Alexandria";
    src: url("../assets/font/Alexandria-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Alexandria";
    src: url("../assets/font/Alexandria-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Anton";
    src: url("../assets/font/Anton-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===== 全局默认字体 ===== */
:root {
    --font-base: "Alexandria", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-display: "Anton", "Alexandria", Impact, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-base);
}

/* ============================================================
   第一屏：品牌首屏（1920 x 930）
   ============================================================ */
.first {
    position: relative;
    width: 100%;
    max-width: 19.2rem;
    height: 9.3rem;
    margin: 0 auto;
    overflow: hidden;
}

/* ---------- 背景（入场 ken-burns） ---------- */
.first__bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/first-img1.webp");
    background-size: cover;
    background-position: center;
    animation: first-bg-in 2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes first-bg-in {
    from {
        transform: scale(1.18);
        filter: brightness(1.35) saturate(0.5) blur(0.06rem);
    }

    to {
        transform: scale(1);
        filter: brightness(1) saturate(1) blur(0);
    }
}

/* ---------- 居中内容 ---------- */
.first__inner {
    position: absolute;
    top: 1.96rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.first__logo {
    width: 1.44rem;
    height: 1.44rem;
    object-fit: contain;
    animation: first-logo-in 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}

@keyframes first-logo-in {
    from {
        opacity: 0;
        transform: scale(0.4) rotate(-14deg);
        filter: blur(0.08rem);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

.first__title {
    position: relative;
    margin: 0.33rem 0 0;
    color: #1A1A1A;
    font-family: "Anton", "Alexandria", sans-serif;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    animation: first-title-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

/* 标题入场：自下而上揭示 */
@keyframes first-title-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem);
        clip-path: inset(0 0 100% 0);
    }

    60% {
        opacity: 1;
    }

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

/* 标题高光扫过（入场后一次性，不改变本色） */
.first__title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: transparent;
    background: linear-gradient(110deg,
            transparent 35%,
            rgba(255, 255, 255, 0.95) 50%,
            transparent 65%);
    background-size: 260% 100%;
    background-position: 130% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    animation: first-title-sheen 1.3s ease 1.5s both;
    pointer-events: none;
}

@keyframes first-title-sheen {
    from {
        background-position: 130% 0;
    }

    to {
        background-position: -30% 0;
    }
}

.first__desc {
    margin: 0.3rem 0 0;
    color: #333;
    text-align: center;
    font-family: "Alexandria", sans-serif;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 36px */
    letter-spacing: 0.024rem;
    animation: first-desc-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* 描述入场：字距收拢 + 模糊聚焦 */
@keyframes first-desc-in {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
        letter-spacing: 0.12rem;
        filter: blur(0.04rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.024rem;
        filter: blur(0);
    }
}

/* ---------- 左下角：Scroll to explore ---------- */
.first__scroll {
    position: absolute;
    left: 0.6rem;
    bottom: 0.33rem;
    height: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    animation: first-fade-in 1s ease 1.7s both;
}

@keyframes first-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.first__scroll-tri {
    display: block;
    width: 0.07rem;
    height: 0.08rem;
    flex-shrink: 0;
}

/* 三角向文字方向往复轻推 */
.first__scroll-tri--left {
    animation: first-tri-left 1.6s ease-in-out 2.7s infinite;
}

.first__scroll-tri--right {
    animation: first-tri-right 1.6s ease-in-out 2.7s infinite;
}

@keyframes first-tri-left {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(0.04rem);
    }
}

@keyframes first-tri-right {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-0.04rem);
    }
}

.first__scroll-text {
    color: #FFF;
    text-align: center;
    font-family: "Inter", "Alexandria", sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    letter-spacing: 0.016rem;
}

/* ---------- 正下方白框 ---------- */
.first__bar {
    position: fixed;
    bottom: 0.33rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 6.14rem;
    height: 0.6rem;
    padding: 0 0.12rem 0 0.24rem;
    border-radius: 1rem;
    background: #FFF;
    box-shadow: 0 0.04rem 0.2rem 0 rgba(0, 0, 0, 0.06);
    animation: first-bar-in 1s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both;
}

@keyframes first-bar-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(0.9rem) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.first__bar-text {
    color: #333;
    font-family: "Instrument Sans", "Inter", "Alexandria", sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* ---------- 按钮（悬浮：上浮 + 光泽扫过 + 辉光） ---------- */
.first__btn {
    position: relative;
    display: inline-flex;
    padding: 0.08rem 0.12rem;
    border: none;
    border-radius: 1rem;
    background: linear-gradient(131deg, #0C81FC 14.04%, #032352 84.94%);
    background-size: 160% 100%;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    color: #FFF;
    font-family: "Instrument Sans", "Inter", "Alexandria", sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-position 0.5s ease,
        box-shadow 0.35s ease;
}

/* 高光斜切层（悬浮时从左扫到右） */
.first__btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent,
            rgba(255, 255, 255, 0.55),
            transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.first__btn:hover {
    transform: translateY(-0.03rem) scale(1.06);
    background-position: 100% 0;
    box-shadow: 0 0.08rem 0.24rem rgba(12, 129, 252, 0.45),
        0 0 0.3rem rgba(12, 129, 252, 0.35);
}

.first__btn:hover::before {
    left: 130%;
}

.first__btn:active {
    transform: translateY(-0.01rem) scale(0.98);
}

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

    .first__bg,
    .first__logo,
    .first__title,
    .first__title::after,
    .first__desc,
    .first__scroll,
    .first__scroll-tri--left,
    .first__scroll-tri--right,
    .first__bar,
    .second__title,
    .second__desc p,
    .offer__title,
    .offer__card,
    .offer__dots {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
        clip-path: none;
        filter: none;
    }
}

/* ============================================================
   第二屏：Who We Are（1920 x 831）
   入场动效由 js/index.js 的 IntersectionObserver 添加 .is-in-view 触发
   ============================================================ */
.second {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 19.2rem;
    height: 8.31rem;
    margin: 0 auto;
    padding: 1.82rem 0 0 2.4rem;
    background-image: url("../assets/images/second-img.webp");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* 背景：入场时缓慢回缩（108% -> 100%） */
.second {
    transition: background-size 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: 110% auto;
}

.second.is-in-view {
    background-size: 100% auto;
}

.second__title {
    margin: 0 0 0.32rem;
    color: #333;
    font-family: "Anton", "Alexandria", sans-serif;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 96px */
    opacity: 0;
    transform: translateY(0.4rem);
    clip-path: inset(0 0 100% 0);
    transition: opacity 0.7s ease 0.1s,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
        clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.second.is-in-view .second__title {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 -12% 0);
}

/* 标题揭示完成后的高光扫过 */
.second.is-in-view .second__title {
    animation: second-title-sheen 1.2s ease 1s both;
}

@keyframes second-title-sheen {

    0%,
    100% {
        text-shadow: none;
    }

    50% {
        text-shadow: 0 0 0.24rem rgba(51, 51, 51, 0.18);
    }
}

.second__desc {
    width: 6.49rem;
    color: #666;
    text-wrap-style: pretty;
    font-family: "Alexandria", sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
}

.second__desc p {
    margin: 0;
    opacity: 0;
    transform: translateY(0.3rem);
    filter: blur(0.04rem);
    transition: opacity 0.8s ease,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s ease;
}

.second__desc p+p {
    margin-top: 0.24rem;
}

/* 三段依次错峰入场 */
.second.is-in-view .second__desc p {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.second.is-in-view .second__desc p:nth-child(1) {
    transition-delay: 0.45s;
}

.second.is-in-view .second__desc p:nth-child(2) {
    transition-delay: 0.65s;
}

.second.is-in-view .second__desc p:nth-child(3) {
    transition-delay: 0.85s;
}

/* ---------- H5 适配（750 设计稿基准，高度自适应） ---------- */
html[data-mode="h5"] .second {
    height: auto;
    padding: 0.6rem 0.3rem;
}

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

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

html[data-mode="h5"] .second__desc p + p {
    margin-top: 0.2rem;
}

/* ============================================================
   第三屏：What We Offer（可拖动无限轮播）
   入场动效由 js/index.js 添加 .is-in-view 触发
   ============================================================ */
.offer {
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
    padding: 1rem 0 0.9rem;
    overflow: hidden;
}

.offer__title {
    margin: 0 0 0.72rem;
    color: #333;
    font-family: "Anton", "Alexandria", sans-serif;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 96px */
    text-align: center;
    opacity: 0;
}

.offer.is-in-view .offer__title {
    opacity: 1;
    animation: offer-title-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

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

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

.offer__carousel {
    padding: 0 0.6rem;
}

.offer__track {
    display: flex;
    gap: 0.43rem;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

/* ---------- 卡片 ---------- */
.offer__card {
    position: relative;
    flex-shrink: 0;
    width: 4.9rem;
    height: 5.24rem;
    padding-top: 0.64rem;
    cursor: grab;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.offer__card:active {
    cursor: grabbing;
}

/* 贴地椭圆投影：悬浮抬升时扩散、变淡，模拟真实离地悬浮 */
.offer__card::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -0.14rem;
    height: 0.2rem;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%,
            rgba(23, 44, 66, 0.55) 0%,
            rgba(23, 44, 66, 0) 75%);
    filter: blur(0.05rem);
    opacity: 0.6;
    transform: scaleX(0.86);
    transition: opacity 0.5s ease,
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: -1;
}

.offer__card-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease;
}

/* 悬浮：图片缩放 + 提亮 */
.offer__card:hover .offer__card-bg {
    transform: scale(1.08);
    filter: brightness(1.1) saturate(1.1);
}

/* 悬浮：高光斜切扫过（裁切在图片层内） */
.offer__card-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent);
    transform: skewX(-18deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.offer__card:hover .offer__card-bg::after {
    left: 130%;
}

/* 悬浮：抬升 + 地面投影扩散 */
.offer__card:hover {
    transform: translateY(-0.16rem);
}

.offer__card:hover::before {
    opacity: 0.7;
    /* 向下补偿卡片抬升量，投影钉在地面不动，只向两侧扩散 */
    transform: translateY(0.16rem) scaleX(1.18) scaleY(1.4);
}

.offer__card-text {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 3.7rem;
    color: #FFF;
    text-align: center;
    font-family: "Alexandria", sans-serif;
    font-size: 0.32rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 48px */
}

/* ---------- 卡片入场：横向错峰滑入 ---------- */
.offer__card {
    opacity: 0;
}

.offer.is-in-view .offer__card {
    opacity: 1;
    animation: offer-card-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.offer.is-in-view .offer__card:nth-child(4n + 1) {
    animation-delay: 0.25s;
}

.offer.is-in-view .offer__card:nth-child(4n + 2) {
    animation-delay: 0.37s;
}

.offer.is-in-view .offer__card:nth-child(4n + 3) {
    animation-delay: 0.49s;
}

.offer.is-in-view .offer__card:nth-child(4n) {
    animation-delay: 0.61s;
}

@keyframes offer-card-in {
    from {
        opacity: 0;
        transform: translateX(0.8rem) scale(0.94);
        filter: blur(0.04rem);
    }

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

/* ---------- 控制器 ---------- */
.offer__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    margin-top: 0.75rem;
    opacity: 0;
}

.offer.is-in-view .offer__dots {
    opacity: 1;
    animation: offer-fade-in 0.8s ease 0.9s backwards;
}

@keyframes offer-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.offer__dot {
    position: relative;
    width: 0.3rem;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: #E6E6E6;
    cursor: pointer;
    overflow: hidden;
    transition: width 0.4s ease;
}

.offer__dot.is-active {
    width: 0.6rem;
}

/* 激活条：随轮播时间自动填充 */
.offer__dot-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #1A1A1A;
}

/* ============================================================
   第五屏：产品分类（一级/二级切换 + 产品列表）
   入场动效由 js/index.js 添加 .is-in-view 触发
   ============================================================ */
.fifth {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
    padding: 1rem 2.38rem 0 0;
    z-index: 10;
    position: relative;
}

/* ---------- 左侧面板 ---------- */
.fifth__left {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 8.6rem;
    height: 9.06rem;
    padding: 0.67rem 0.56rem 0 2.4rem;
    background-image: url("../assets/images/fifth-img1.webp");
    background-size: cover;
    background-position: center;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.fifth.is-in-view .fifth__left {
    clip-path: inset(0 0 0 0);
}

/* ---------- 分类标签（一级 / 二级共用） ---------- */
.fifth__tag {
    position: relative;
    display: flex;
    padding: 0.1rem 0.16rem;
    align-items: center;
    color: #333;
    font-family: "Alexandria", sans-serif;
    font-size: 0.18rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 27px */
    text-transform: capitalize;
    background: #FFF;
    border: 1px solid #D8DEE6;
    border-radius: 0.04rem;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease, border-color 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

/* 选中填充层：从左向右扫入（z-index:-1，垫在文字下方） */
.fifth__tag::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(131deg, #9CC6F2 0%, #B9D9F6 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* 自身建立层叠上下文，保证 ::before 垫底且文字可见 */
.fifth__tag {
    z-index: 0;
}

.fifth__tag:hover {
    color: #0C81FC;
    border-color: #0C81FC;
    transform: translateY(-0.03rem);
    box-shadow: 0 0.06rem 0.16rem rgba(12, 129, 252, 0.18);
}

.fifth__tag:hover::before {
    transform: scaleX(1);
    opacity: 0.35;
}

.fifth__tag.is-active {
    color: #FFF;
    border-color: transparent;
}

.fifth__tag.is-active::before {
    transform: scaleX(1);
    opacity: 1;
}

/* ---------- 一级分类 ---------- */
.fifth__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.fifth__cat {
    opacity: 0;
}

.fifth.is-in-view .fifth__cat {
    opacity: 1;
    animation: fifth-tag-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

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

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

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

@keyframes fifth-tag-in {
    from {
        opacity: 0;
        transform: translateY(0.2rem) scale(0.85);
    }

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

/* ---------- 标题 + 二级分类面板 ---------- */
.fifth__panel {
    display: none;
}

.fifth__panel.is-active {
    display: block;
}

.fifth__title {
    margin: 0.48rem 0 0.4rem;
    color: #333;
    font-family: "Anton", "Alexandria", sans-serif;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 96px */
    text-transform: capitalize;
}

.fifth.is-in-view .fifth__panel.is-active .fifth__title {
    animation: fifth-title-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s backwards;
}

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

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

.fifth__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.fifth__tags .fifth__tag {
    opacity: 0;
}

.fifth.is-in-view .fifth__panel.is-active .fifth__tag {
    opacity: 1;
    animation: fifth-tag-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.fifth.is-in-view .fifth__panel.is-active .fifth__tag:nth-child(1) {
    animation-delay: 0.7s;
}

.fifth.is-in-view .fifth__panel.is-active .fifth__tag:nth-child(2) {
    animation-delay: 0.78s;
}

.fifth.is-in-view .fifth__panel.is-active .fifth__tag:nth-child(3) {
    animation-delay: 0.86s;
}

.fifth.is-in-view .fifth__panel.is-active .fifth__tag:nth-child(4) {
    animation-delay: 0.94s;
}

.fifth.is-in-view .fifth__panel.is-active .fifth__tag:nth-child(5) {
    animation-delay: 1.02s;
}

.fifth.is-in-view .fifth__panel.is-active .fifth__tag:nth-child(6) {
    animation-delay: 1.1s;
}

/* ---------- 右侧产品列表 ---------- */
.fifth__right {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 9.06rem;
}

.fifth__viewport {
    box-sizing: border-box;
    height: 100%;
    padding: 0.1rem 0.05rem 0.1rem 0.65rem;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fifth__viewport::-webkit-scrollbar {
    display: none;
}

.fifth__list {
    display: none;
    grid-template-columns: repeat(2, 3.56rem);
    gap: 0.4rem;
    align-content: start;
}

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

.fifth__item {
    margin: 0;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fifth__item:hover {
    transform: translateY(-0.06rem);
}

.fifth__item-imgwrap {
    position: relative;
    width: 3.56rem;
    height: 3.8rem;
    margin-bottom: 0.2rem;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

/* 悬浮：图片缩放 + 提亮 + 高光扫过 */
.fifth__item-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease;
}

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

.fifth__item-imgwrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-18deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.fifth__item:hover .fifth__item-imgwrap::after {
    left: 130%;
}

/* 悬浮：蓝色描边渐显 + 柔和投影 */
.fifth__item:hover .fifth__item-imgwrap {
    box-shadow: 0 0.12rem 0.32rem rgba(31, 63, 94, 0.22),
        0 0 0 0.01rem rgba(12, 129, 252, 0.35) inset;
}

.fifth__item-text {
    color: #333;
    text-align: center;
    font-family: "Alexandria", sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 30px */
    transition: color 0.3s ease;
}

.fifth__item:hover .fifth__item-text {
    color: #0C81FC;
}

/* ---------- 列表切换动效：条目错峰浮入 ---------- */
.fifth__item {
    opacity: 0;
}

.fifth.is-in-view .fifth__list.is-active .fifth__item {
    opacity: 1;
    animation: fifth-item-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

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

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

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

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

@keyframes fifth-item-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem) scale(0.96);
        filter: blur(0.04rem);
    }

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

/* ---------- 自定义滚动条（滚动时显示） ---------- */
.fifth__scrollbar {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    border-radius: 20px;
    background: #F5F5F5;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.fifth__scrollbar.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.fifth__scrollbar-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0.5rem;
    border-radius: 20px;
    background: linear-gradient(131deg, #0C81FC 14.04%, #032352 84.94%);
    cursor: grab;
}

.fifth__scrollbar-thumb:active {
    cursor: grabbing;
}

/* ---------- H5 适配（750 设计稿基准，上下堆叠） ---------- */
html[data-mode="h5"] .fifth {
    flex-direction: column;
    height: auto;
    padding: 0.6rem 0.3rem;
}

html[data-mode="h5"] .fifth__left {
    width: 100%;
    height: auto;
    padding: 0.5rem 0.1rem 0;
}

html[data-mode="h5"] .fifth__title {
    margin: 0.36rem 0 0.32rem;
}

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

/* 列表自然撑开，不再内部滚动 */
html[data-mode="h5"] .fifth__viewport {
    height: auto;
    padding: 0.1rem 0.05rem 0.1rem 0;
}

html[data-mode="h5"] .fifth__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.24rem;
}

html[data-mode="h5"] .fifth__item-imgwrap {
    width: 100%;
    height: 3.6rem;
}

/* ============================================================
   右侧悬浮工具栏
   ============================================================ */
.side-float {
    position: fixed;
    right: 0.24rem;
    bottom: 3.8rem;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
}

.side-float__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.6rem;
    /* 60px */
    height: 0.6rem;
    /* 60px */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
}

.side-float__btn img {
    display: block;
    width: 0.3rem;
    /* 30px */
    height: 0.3rem;
    /* 30px */
    position: relative;
    z-index: 1;
    transition: transform 0.35s ease;
}

/* 悬浮扩散波纹 */
.side-float__btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-float__btn:hover::before {
    opacity: 1;
    animation: side-float-pulse 1.2s ease-out infinite;
}

.side-float__btn--mail {
    background: linear-gradient(131deg, #0C81FC 14.04%, #032352 84.94%);
}

.side-float__btn--mail::before {
    border: 0.02rem solid #0C81FC;
}

.side-float__btn--whatsapp {
    background: #4DC247;
}

.side-float__btn--whatsapp::before {
    border: 0.02rem solid #4DC247;
}

.side-float__btn--top {
    background: #333;
}

.side-float__btn--top::before {
    border: 0.02rem solid #666;
}

.side-float__btn--mail:hover {
    transform: translateY(-0.06rem) scale(1.12);
    box-shadow: 0 0.12rem 0.26rem rgba(12, 129, 252, 0.6);
}

.side-float__btn--whatsapp:hover {
    transform: translateY(-0.06rem) scale(1.12);
    box-shadow: 0 0.12rem 0.26rem rgba(77, 194, 71, 0.6);
}

.side-float__btn--top:hover {
    transform: translateY(-0.06rem) scale(1.12);
    box-shadow: 0 0.12rem 0.26rem rgba(0, 0, 0, 0.5);
}

.side-float__btn:hover img {
    transform: scale(1.15);
}

@keyframes side-float-pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

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

/* ============================================================
   第六屏：入场动效 / 悬浮动效 / H5 适配
   入场由 js/index.js 添加 .is-in-view 触发
   ============================================================ */

/* ---------- 入场：图片墙错峰浮入 ---------- */
.six-imgs>div {
    opacity: 0;
}

.sixth.is-in-view .six-imgs>div {
    opacity: 1;
    animation: sixth-group-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.sixth.is-in-view .six-imgs>div:nth-child(1) {
    animation-delay: 0.1s;
}

.sixth.is-in-view .six-imgs>div:nth-child(2) {
    animation-delay: 0.17s;
}

.sixth.is-in-view .six-imgs>div:nth-child(3) {
    animation-delay: 0.24s;
}

.sixth.is-in-view .six-imgs>div:nth-child(4) {
    animation-delay: 0.31s;
}

.sixth.is-in-view .six-imgs>div:nth-child(5) {
    animation-delay: 0.38s;
}

.sixth.is-in-view .six-imgs>div:nth-child(6) {
    animation-delay: 0.45s;
}

.sixth.is-in-view .six-imgs>div:nth-child(7) {
    animation-delay: 0.52s;
}

.sixth.is-in-view .six-imgs>div:nth-child(8) {
    animation-delay: 0.59s;
}

.sixth.is-in-view .six-imgs>div:nth-child(9) {
    animation-delay: 0.66s;
}

@keyframes sixth-group-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem) scale(0.94) rotate(2deg);
        filter: blur(0.04rem);
    }

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

/* 入场：tag 弹跳 / 标题揭示 / 描述聚焦 / 流程错峰 */
.six-content-tag,
.six-content>h2,
.six-content>p,
.six-content-list>div,
.six-content-list>img {
    opacity: 0;
}

.sixth.is-in-view .six-content-tag {
    opacity: 1;
    animation: sixth-tag-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s backwards;
}

@keyframes sixth-tag-in {
    from {
        opacity: 0;
        transform: translateY(0.2rem) scale(0.6) rotate(-8deg);
    }

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

.sixth.is-in-view .six-content>h2 {
    opacity: 1;
    animation: sixth-title-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.85s backwards;
}

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

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

.sixth.is-in-view .six-content>p {
    opacity: 1;
    animation: sixth-desc-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
}

@keyframes sixth-desc-in {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
        letter-spacing: 0.06rem;
        filter: blur(0.04rem);
    }

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

.sixth.is-in-view .six-content-list>div {
    opacity: 1;
    animation: sixth-step-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.sixth.is-in-view .six-content-list>div:nth-child(1) {
    animation-delay: 1.15s;
}

.sixth.is-in-view .six-content-list>div:nth-child(3) {
    animation-delay: 1.3s;
}

.sixth.is-in-view .six-content-list>div:nth-child(5) {
    animation-delay: 1.45s;
}

.sixth.is-in-view .six-content-list>div:nth-child(7) {
    animation-delay: 1.6s;
}

.sixth.is-in-view .six-content-list>img {
    opacity: 1;
    animation: sixth-arrow-in 0.5s ease backwards;
}

.sixth.is-in-view .six-content-list>img:nth-child(2) {
    animation-delay: 1.75s;
}

.sixth.is-in-view .six-content-list>img:nth-child(4) {
    animation-delay: 1.9s;
}

.sixth.is-in-view .six-content-list>img:nth-child(6) {
    animation-delay: 2.05s;
}

@keyframes sixth-step-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem) scale(0.9);
        filter: blur(0.04rem);
    }

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

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

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

/* ---------- 悬浮：单张图片翻转 360° 后定格为左窄右宽梯形 ---------- */
/* 触发绑在 cell（不参与 3D 变换）上：翻转全程命中区域稳定，
   只翻单张、动画只播一次；无阴影无描边 */
.six-imgs__cell:hover img {
    animation: sixth-img-flip 1.2s both;
    z-index: 3;
}

/* 连续同向翻转：0 → -360°（整圈）→ -390°（≡ -30°，左窄右宽梯形）
   分段缓动：起转加速 → 整圈处平滑减速收进梯形，消除衔接卡顿 */
@keyframes sixth-img-flip {
    0% {
        transform: perspective(9rem) rotateY(0deg) scale(1);
        animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
    }

    62% {
        transform: perspective(9rem) rotateY(-360deg) scale(1.06);
        animation-timing-function: cubic-bezier(0.25, 0, 0.25, 1);
    }

    100% {
        transform: perspective(9rem) rotateY(-390deg) scale(1.06);
    }
}

/* ---------- 悬浮：GLMAX 标签 ---------- */
.six-content-tag {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease, border-color 0.3s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
}

/* 填充层：蓝色渐变从左扫入（垫在文字下） */
.six-content-tag::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(131deg, #0C81FC 14.04%, #032352 84.94%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* 高光斜切扫过 */
.six-content-tag::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    transform: skewX(-18deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.six-content-tag:hover {
    color: #FFF;
    border-color: transparent;
    transform: translateY(-0.04rem) rotate(-2deg) scale(1.08);
    box-shadow: 0 0.1rem 0.24rem rgba(12, 129, 252, 0.4);
}

.six-content-tag:hover::before {
    transform: scaleX(1);
}

.six-content-tag:hover::after {
    left: 130%;
}

/* ---------- 悬浮：流程步骤卡片 ---------- */
.six-content-list>div {
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.45s ease, box-shadow 0.45s ease;
}

/* 底部升起蓝色辉光 */
.six-content-list>div::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg,
            rgba(12, 129, 252, 0) 35%,
            rgba(12, 129, 252, 0.22) 100%);
    opacity: 0;
    transform: translateY(40%);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.six-content-list>div:hover {
    transform: translateY(-0.1rem) scale(1.05);
    background: rgba(12, 129, 252, 0.08);
    box-shadow: 0 0.16rem 0.4rem rgba(31, 63, 94, 0.2);
}

.six-content-list>div:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* 数字变蓝渐变字 */
.six-content-list h2 {
    transition: color 0.3s ease, transform 0.35s ease;
}

.six-content-list>div:hover h2 {
    background: linear-gradient(131deg, #0C81FC 14.04%, #032352 84.94%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transform: translateY(-0.03rem) scale(1.08);
}

.six-content-list>div:hover p {
    color: #333;
}

.six-content-list p {
    transition: color 0.3s ease;
}

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

html[data-mode="h5"] .six-imgs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem;
}

html[data-mode="h5"] .six-imgs>div,
html[data-mode="h5"] .six-imgs>div:nth-child(n) {
    top: 0;
}

html[data-mode="h5"] .six-content {
    position: static;
    margin-top: 0.6rem;
}

html[data-mode="h5"] .six-content>p {
    width: 100%;
}

html[data-mode="h5"] .six-content-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
}

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

    .six-imgs>div,
    .six-content-tag,
    .six-content>h2,
    .six-content>p,
    .six-content-list>div,
    .six-content-list>img {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        filter: none !important;
    }
}

/* ============================================================
   第四屏：Why Choose GLMAX（1920 x 1155）
   入场动效由 js/index.js 添加 .is-in-view 触发
   ============================================================ */
.fourth {
    box-sizing: border-box;
    width: 100%;
    max-width: 19.2rem;
    height: 11.55rem;
    margin: 0 auto;
    padding: 1rem 2.4rem 0;
    background-image: url("../assets/images/fourth-img1.webp");
    background-position: center;
    overflow: hidden;
}

/* 背景：入场时缓慢回缩（108% -> 100%） */
.fourth {
    transition: background-size 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: 108% auto;
}

.fourth.is-in-view {
    background-size: 100% auto;
}

/* ---------- 标题 ---------- */
.fourth__title {
    margin: 0 0 0.72rem;
    color: #333;
    font-family: "Anton", "Alexandria", sans-serif;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 96px */
    text-align: center;
    opacity: 0;
}

.fourth.is-in-view .fourth__title {
    opacity: 1;
    animation: fourth-title-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

/* 标题入场：字距收拢 + 自下而上揭示 */
@keyframes fourth-title-in {
    from {
        opacity: 0;
        transform: translateY(0.4rem);
        letter-spacing: 0.06rem;
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0;
        clip-path: inset(0 0 -12% 0);
    }
}

/* ---------- 卡片网格 ---------- */
.fourth__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

/* ---------- 卡片 ---------- */
.fourth__card {
    box-sizing: border-box;
    position: relative;
    width: 4.6rem;
    height: 3.66rem;
    padding: 0.46rem 0.55rem 0 0.3rem;
    border: 1px solid #D9D9D9;
    border-radius: 0.1rem;
    /* 透明度只作用于背景，不影响内容 */
    background: rgba(255, 255, 255, 0.6);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.5s ease;
}

/* 悬浮：背景变纯白 + 回弹上浮 + 投影 */
.fourth__card:hover {
    transform: translateY(-0.08rem) scale(1.02);
    background: #FFF;
    border-color: #FFF;
    box-shadow: 0 0.16rem 0.4rem rgba(0, 0, 0, 0.12),
        0 0.04rem 0.12rem rgba(0, 0, 0, 0.06);
}

/* 悬浮：高光斜切扫过 */
.fourth__card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);
    transform: skewX(-18deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 2;
}

.fourth__card:hover::after {
    left: 130%;
}

/* ---------- 卡片内元素 ---------- */
.fourth__card-icon {
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    margin-bottom: 0.12rem;
    object-fit: contain;
}

/* 悬浮：图标弹跳摇摆 */
.fourth__card:hover .fourth__card-icon {
    animation: fourth-icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fourth-icon-pop {
    0% {
        transform: scale(1) rotate(0deg);
    }

    40% {
        transform: scale(1.18) rotate(-8deg);
    }

    70% {
        transform: scale(0.95) rotate(4deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.fourth__card-title {
    margin: 0 0 0.12rem;
    color: #333;
    font-family: "Alexandria", sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 30px */
}

.fourth__card-desc {
    margin: 0;
    color: #666;
    font-family: "Alexandria", sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
}

/* 引号：绝对定位右下角 */
.fourth__card-quote {
    position: absolute;
    right: 0.3rem;
    bottom: 0.25rem;
    width: 0.25rem;
    height: 0.2125rem;
    opacity: 0.4;
    transition: opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 悬浮：引号点亮上浮 */
.fourth__card:hover .fourth__card-quote {
    opacity: 1;
    transform: translateY(-0.04rem) scale(1.12);
}

/* ---------- 卡片入场：3D 翻转错峰滑入 ---------- */
.fourth__card {
    opacity: 0;
}

.fourth.is-in-view .fourth__card {
    opacity: 1;
    animation: fourth-card-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

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

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

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

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

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

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

@keyframes fourth-card-in {
    from {
        opacity: 0;
        transform: perspective(10rem) rotateY(-14deg) translateY(0.6rem) scale(0.92);
        filter: blur(0.04rem);
    }

    to {
        opacity: 1;
        transform: perspective(10rem) rotateY(0deg) translateY(0) scale(1);
        filter: blur(0);
    }
}

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

    .fourth,
    .fourth__title,
    .fourth__card,
    .fourth__card::after,
    .fourth__card-icon,
    .fourth__card-quote {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
        clip-path: none;
        filter: none;
    }
}

/* ---------- H5 适配（750 设计稿基准，两列卡片） ---------- */
html[data-mode="h5"] .fourth {
    height: auto;
    padding: 0.6rem 0.3rem;
}

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

html[data-mode="h5"] .fourth__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.24rem;
}

html[data-mode="h5"] .fourth__card {
    width: 100%;
    height: auto;
    padding: 0.36rem 0.3rem 0.56rem 0.24rem;
}

html[data-mode="h5"] .fourth__card-icon {
    width: 0.6rem;
    height: 0.6rem;
    margin-bottom: 0.1rem;
}

/* ============================================================
   Footer 屏（1920 x 482）
   入场动效由 js/index.js 添加 .is-in-view 触发
   ============================================================ */
.footer {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 19.2rem;
    height: 4.82rem;
    margin: 0 auto;
    padding: 0 2.4rem 0 2.13rem;
    background-image: url("../assets/images/footer-img1.webp");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* ---------- 左侧：品牌 ---------- */
.footer__brand {
    flex-shrink: 0;
    padding-top: 0.4rem;
}

.footer__logo {
    display: block;
    width: 2.16rem;
    height: 2.16rem;
    object-fit: contain;
}

.footer__slogan {
    margin: 0;
    color: #FFF;
    font-family: "Alexandria", sans-serif;
    font-size: 0.3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0.36rem;
    text-transform: capitalize;
    position: relative;
    left: 0.27rem;
    top: -0.3rem;
}

/* ---------- 中间：联系方式 ---------- */
.footer__contact {
    list-style: none;
    margin: 0;
    padding: 0.8rem 0 0;
}

.footer__contact-item {
    display: flex;
    align-items: center;
}

.footer__contact-item+.footer__contact-item {
    margin-top: 0.38rem;
}

/* icon 背景：60x60，三色 */
.footer__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 0.6rem;
    height: 0.6rem;
    margin-right: 0.14rem;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease;
}

.footer__contact-icon--email {
    background: linear-gradient(131deg, #0C81FC 14.04%, #032352 84.94%);
}

.footer__contact-icon--tel {
    background: #4DC247;
}

.footer__contact-icon--address {
    background: #333;
}

.footer__contact-icon img {
    display: block;
    width: 0.3rem;
    height: 0.3rem;
    object-fit: contain;
}

/* 悬浮：图标旋转放大 + 辉光 */
.footer__contact-item:hover .footer__contact-icon {
    transform: rotate(-10deg) scale(1.12);
    box-shadow: 0 0 0.24rem rgba(255, 255, 255, 0.35);
}

.footer__contact-text {
    color: #FFF;
    font-family: "Alexandria", sans-serif;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* ---------- 右侧：Get In Touch 表单 ---------- */
.footer__form {
    padding-top: 0.8rem;
}

.footer__form-title {
    margin: 0 0 0.28rem;
    color: #FFF;
    font-family: "Alexandria", sans-serif;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* 表单：纯 table 结构，通过父级定位（元素左右间隔14，上下18） */
.footer form table {
    border-collapse: separate;
    border-spacing: 0.14rem 0.18rem;
    /* 抵消 border-spacing 外圈间距，保证与标题 28px 对齐 */
    margin: -0.18rem -0.14rem 0 -0.14rem;
}

.footer form table td {
    padding: 0;
    /* 项目 body 未设字号，td 会继承根字号（1rem）撑高行盒，必须显式声明 */
    font-size: 0.16rem;
    line-height: normal;
}

/* ---------- CF7 结构适配（保持原有视觉不变） ---------- */

/* 隐藏域容器：去掉 fieldset 默认边框和内边距 */
.footer form fieldset.hidden-fields-container {
    margin: 0;
    padding: 0;
    border: none;
    min-width: 0;
}

/* 屏幕阅读器响应区：视觉隐藏（它是 form 的兄弟节点，位于 form 之前） */
.footer .screen-reader-response {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* td 内 p 段落：清掉默认外边距，避免撑高行盒 */
.footer form table td p {
    margin: 0;
}

/* CF7 提示输出区：默认隐藏，由 CF7 脚本按需显示 */
.footer .wpcf7-response-output {
    display: none;
}

.footer form.is-sent .wpcf7-response-output,
.footer form.is-failed .wpcf7-response-output,
.footer form.is-aborted .wpcf7-response-output,
.footer form.is-spam .wpcf7-response-output {
    display: block;
    margin: 0.14rem 0.14rem 0;
    color: #FFF;
    font-size: 0.14rem;
}

/* 第一行第二行元素：280 x 40 */
.footer form table td input {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    width: 2.8rem;
    height: 0.4rem;
    padding: 0 0.14rem;
    border: none;
    border-radius: 0.06rem;
    background: #F5F5F5;
    color: #333;
    font-family: "Alexandria", sans-serif;
    font-size: 0.14rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    outline: none;
    transition: box-shadow 0.3s ease,
        background-color 0.3s ease;
}

/* 第三行元素：文本域 572 x 106 */
.footer form table td textarea {
    box-sizing: border-box;
    display: block;
    width: 5.72rem;
    height: 1.06rem;
    padding: 0.1rem 0.14rem;
    border: none;
    border-radius: 0.06rem;
    background: #F5F5F5;
    color: #333;
    font-family: "Alexandria", sans-serif;
    font-size: 0.14rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    resize: none;
    outline: none;
    transition: box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.footer form table td input::placeholder,
.footer form table td textarea::placeholder {
    color: #999;
}

/* 聚焦：背景提亮 + 主题辉光 */
.footer form table td input:focus,
.footer form table td textarea:focus {
    background: #FFF;
    box-shadow: 0 0 0 0.02rem rgba(12, 129, 252, 0.55),
        0 0 0.16rem rgba(12, 129, 252, 0.35);
}

/* ---------- 按钮 ---------- */
.footer form table td button {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: auto;
    height: 0.4rem;
    border: none;
    border-radius: 0.06rem;
    color: #FFF;
    text-align: center;
    font-family: "Alexandria", sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    cursor: pointer;
    overflow: hidden;
    vertical-align: middle;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.35s ease,
        background-position 0.5s ease,
        box-shadow 0.35s ease;
}

/* 按钮行：右对齐，Reset 与 Submit 右边距 10 */
.footer form table tr:last-child td {
    text-align: right;
}

.footer form table td button[type="reset"] {
    width: 1.41rem;
    background: #1A1A1A;
    margin-right: 0.1rem;
}

.footer form table td button[type="submit"] {
    width: 1.4rem;
    background: linear-gradient(131deg, #0C81FC 14.04%, #032352 84.94%);
    background-size: 160% 100%;
}

/* 高光斜切层（悬浮时从左扫到右） */
.footer form table td button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent,
            rgba(255, 255, 255, 0.55),
            transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

/* 悬浮：Reset 反色提亮 */
.footer form table td button[type="reset"]:hover {
    transform: translateY(-0.04rem) scale(1.04);
    background: #FFF;
    color: #1A1A1A;
    box-shadow: 0 0.08rem 0.2rem rgba(0, 0, 0, 0.3);
}

/* 悬浮：Submit 渐变位移 + 辉光 */
.footer form table td button[type="submit"]:hover {
    transform: translateY(-0.04rem) scale(1.04);
    background-position: 100% 0;
    box-shadow: 0 0.08rem 0.24rem rgba(12, 129, 252, 0.45),
        0 0 0.3rem rgba(12, 129, 252, 0.35);
}

.footer form table td button:hover::before {
    left: 130%;
}

.footer form table td button:active {
    transform: translateY(-0.01rem) scale(0.98);
}

/* ---------- 入场动效 ---------- */

/* 左侧：品牌整体模糊上浮 */
.footer__brand {
    opacity: 0;
}

.footer.is-in-view .footer__brand {
    opacity: 1;
    animation: footer-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

/* 左侧 logo：弹跳旋转缩放入场 */
.footer.is-in-view .footer__logo {
    animation: footer-logo-in 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

@keyframes footer-logo-in {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-16deg);
        filter: blur(0.08rem);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes footer-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.4rem);
        filter: blur(0.05rem);
    }

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

/* 中间：联系方式自左错峰滑入 */
.footer__contact-item {
    opacity: 0;
}

.footer.is-in-view .footer__contact-item {
    opacity: 1;
    animation: footer-slide-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.footer.is-in-view .footer__contact-item:nth-child(1) {
    animation-delay: 0.35s;
}

.footer.is-in-view .footer__contact-item:nth-child(2) {
    animation-delay: 0.5s;
}

.footer.is-in-view .footer__contact-item:nth-child(3) {
    animation-delay: 0.65s;
}

@keyframes footer-slide-left {
    from {
        opacity: 0;
        transform: translateX(-0.5rem);
        filter: blur(0.04rem);
    }

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

/* 右侧：标题揭示 */
.footer__form-title {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
}

.footer.is-in-view .footer__form-title {
    opacity: 1;
    /* 动画 fill 为 backwards 不保留结束帧，最终 clip-path 需落在级联样式中 */
    clip-path: inset(0 0 -12% 0);
    animation: footer-title-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

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

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

/* 右侧：表单行自右错峰滑入 */
.footer form table tr {
    opacity: 0;
}

.footer.is-in-view form table tr {
    opacity: 1;
    animation: footer-slide-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.footer.is-in-view form table tr:nth-child(1) {
    animation-delay: 0.45s;
}

.footer.is-in-view form table tr:nth-child(2) {
    animation-delay: 0.57s;
}

.footer.is-in-view form table tr:nth-child(3) {
    animation-delay: 0.69s;
}

.footer.is-in-view form table tr:nth-child(4) {
    animation-delay: 0.81s;
}

@keyframes footer-slide-right {
    from {
        opacity: 0;
        transform: translateX(0.5rem);
        filter: blur(0.04rem);
    }

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

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

    .footer__brand,
    .footer__logo,
    .footer__contact-item,
    .footer__form-title,
    .footer form table tr,
    .footer form table td button::before {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
        clip-path: none;
        filter: none;
    }
}

/* ---------- H5 适配（750 设计稿基准，纵向堆叠） ---------- */
html[data-mode="h5"] .footer {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 0.3rem;
}

html[data-mode="h5"] .footer__brand {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

html[data-mode="h5"] .footer__slogan {
    text-align: center;
}

html[data-mode="h5"] .footer__contact {
    padding-top: 0.6rem;
}

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

html[data-mode="h5"] .footer__form {
    width: 100%;
    padding-top: 0.6rem;
}

html[data-mode="h5"] .footer__form-title {
    text-align: center;
    margin-bottom: 0.3rem;
}

/* 表单满宽：宽度补回 border-spacing 左右外圈，保持两侧对齐 */
html[data-mode="h5"] .footer form table {
    width: calc(100% + 0.28rem);
    margin: -0.18rem -0.14rem 0;
}

html[data-mode="h5"] .footer form table td input,
html[data-mode="h5"] .footer form table td textarea {
    width: 100%;
}


.sixth {
    height: 13.84rem;
    padding: 0 0.6rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.six-imgs {
    display: flex;
    gap: 0.11rem;
}

.six-imgs>div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: 0.17rem;
}

.six-imgs>div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: -0.69rem;
}

.six-imgs>div:nth-child(3) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: 0.34rem;
}

.six-imgs>div:nth-child(4) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: -0.54rem;
}

.six-imgs>div:nth-child(5) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: 0.06rem;
}

.six-imgs>div:nth-child(6) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: -0.51rem;
}

.six-imgs>div:nth-child(7) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: 0.37rem;
}

.six-imgs>div:nth-child(8) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: -0.58rem;
}

.six-imgs>div:nth-child(9) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    top: 0.23rem;
}


.six-imgs>div>div {
    width: 1.9rem;
    height: 2.28rem;
    background: linear-gradient(180deg, #FFF 29.61%, #F6F6F6 100%);
}

.six-imgs__cell {
    position: relative;
    display: block;
}

.six-imgs__cell img {
    display: block;
    width: 1.9rem;
    height: 2.28rem;
    border-radius: 0.1rem;
    will-change: transform;
}

.six-content {
    position: absolute;
    top: 6.09rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.six-content-tag {
    width: 1.6rem;
    height: 0.5rem;
    border-radius: 2rem;
    border: 0.01rem solid #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: Alexandria;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    text-transform: capitalize;
    margin-bottom: 0.1rem;
}

.six-content>h2 {
    color: #333;
    font-family: Anton;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 96px */
    text-transform: capitalize;
    margin: 0;
    margin-bottom: 0.14rem;
}

.six-content>p {
    color: #666;
    text-align: center;
    font-family: Alexandria;
    font-size: 0.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 30px */
    margin: 0;
    margin-bottom: 0.6rem;
    width: 9.65rem;
    text-align: center;
}

.six-content-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.six-content-list>div {
    width: 2.46rem;
    height: 4.02rem;
    border-radius: 4rem;
    background: rgba(217, 217, 217, 0.20);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.six-content-list>img {
    width: 0.29rem;
    height: 0.19rem;
}

.six-content-list h2 {
    color: #333;
    text-align: center;
    font-family: Alexandria;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
    margin-bottom: 0.22rem;
}

.six-content-list p {
    color: #666;
    text-align: center;
    font-family: Alexandria;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    margin: 0;
}