/* ============================================================
   艺友官网 · 首页（方案 B 淡蓝科技）区块级排布
   视觉令牌与基础组件全部走 theme-b.css；本文件只写每个区块的
   内部布局、对齐与微调，禁止新增品牌色、字号、按钮或卡片形态。
   ============================================================ */

/* ============================================================
   ⓪ 全页底纹：斜线 + 拉丝 + 点阵（长在页面上的一层底）
   ------------------------------------------------------------
   旧做法把斜线/点阵挂在 .products / .applications / .partners-section
   各自的 ::after 上，每个分区各铺一份，交接处必然错位、看着“断掉”。
   现在整页只有一层底纹，铺满 body 的整页高度，全页同一张连续底。

   · 用 position: absolute 而不是 fixed：
     fixed 是把纹理贴在屏幕上，滚动时内容从它上面划过，看着像一层
     屏幕滤镜；absolute 才是“页面自己的背景”，跟着内容一起滚。
   · 用 background-position 动画而不是 transform：
     底纹层得比 body 大一圈才能在滑动时不露边，而 absolute + 溢出会
     顶出横向滚动条、还会把页面撑高；只动 background-position
     不改变布局盒，零溢出，动的是“背景本身”。
   · 斜线用 820×512 的 SVG 贴片，贴片里就是一条“从角到角”的线：
     矩形平铺的斜线在格子边界必然错开成一段段短线（这就是之前
     看着“断”的原因）；角到角的线段平铺后会自动首尾相接，
     整页就是一张真正连续的 148° 斜线网。

   调参入口：
     --page-dot          点阵深浅      --page-grain   拉丝深浅
     --page-tile-w/h     平铺单元（现 820×512，斜线法向间距 ≈ 434px）
                         改间距就同步改这个单元与上面 SVG 贴片的尺寸
     斜线颜色/粗细在下面 url() 里的 stroke / stroke-width
   ============================================================ */

:root {
    --page-dot: rgba(76, 132, 189, .46);
    --page-grain: rgba(126, 162, 202, .07);

    /* 平铺单元：拉丝（16px 的整数倍）、斜线贴片、点阵（半格）
     * 都以它为准，位移动画每次正好走一格，首尾重合 → 循环无缝。 */
    --page-tile-w: 820px;
    --page-tile-h: 512px;

    /* 分区色罩：半透明，保留白/淡灰/淡蓝的分区节奏，同时透出底纹 */
    --page-tint: rgba(255, 255, 255, .70);
    --page-tint-soft: rgba(240, 245, 251, .78);
    --page-tint-blue: rgba(230, 241, 255, .80);
}

/* body 作为底纹的定位参照，百分比高度才能拿到整页高度 */
body {
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;               /* 正好铺满整页：不溢出、不多出滚动条 */
    z-index: -1;
    pointer-events: none;
    background-color: var(--c-bg);
    background-image:
        /* 拉丝：16px 一组的极细水平明暗纹 */
        repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0) 0 9px,
            var(--page-grain) 9px 10px,
            rgba(255, 255, 255, 0) 10px 16px),
        /* 斜线：820×512 贴片内一条角到角的线（≈148°），平铺后连成直线 */
        url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='820' height='512'%3E%3Cpath d='M0 512L820 0' stroke='%23709DC5' stroke-opacity='.3' stroke-width='2' fill='none'/%3E%3C/svg%3E"),
        /* 点阵 */
        radial-gradient(circle, var(--page-dot) 1px, transparent 1.7px);
    background-size:
        100% 16px,
        var(--page-tile-w) var(--page-tile-h),
        calc(var(--page-tile-w) / 2) calc(var(--page-tile-h) / 2);
    background-repeat: repeat;
    animation: page-texture-drift 80s linear infinite;
}

/* 三层纹理各自平移一格：整格移动，循环首尾画面完全重合 */
@keyframes page-texture-drift {
    from { background-position: 0 0, 0 0, 0 0; }
    to {
        background-position:
            calc(-1 * var(--page-tile-w)) calc(-1 * var(--page-tile-h)),
            calc(-1 * var(--page-tile-w)) calc(-1 * var(--page-tile-h)),
            calc(-1 * var(--page-tile-w)) calc(-1 * var(--page-tile-h));
    }
}

/* 分区只保留半透明色罩，让全页底纹连续透出 */
.section { background: var(--page-tint); }
.section--soft { background: var(--page-tint-soft); }
.section--blue { background: var(--page-tint-blue); }

/* ============================================================
   ① 30 周年 Banner：视频顶部裁去 5%
   ============================================================ */
.hero-banner {
    position: relative;
    isolation: isolate;
    /* 16:9 视频高度的 95%，由下方视频向上溢出裁掉顶部。 */
    min-height: max(360px, 53.4375vw);
    overflow: hidden;
    background: #dcecff;
}

.hero-banner__visual {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #dcecff;
}

.hero-banner__video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity .35s ease;
}

.hero-banner__video {
    z-index: 1;
    top: -5.263158%;
    bottom: auto;
    height: 105.263158%;
    opacity: 0;
    object-fit: contain;
    background: transparent;
}
.hero-banner__video.is-playing { opacity: 1; }

/* 左侧浅色雾化层让深蓝标题保持清晰，右上角光晕托住手写标语，底部曲线呼应设计稿。 */
.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 520' preserveAspectRatio='none'%3E%3Cpath d='M-40 520 C180 440 360 480 650 515 S1180 530 1500 386 L1500 560 L-40 560Z' fill='%23ffffff' fill-opacity='.77'/%3E%3Cpath d='M-40 505 C180 425 360 465 650 500 S1180 515 1500 371' fill='none' stroke='%23d9edff' stroke-width='12' stroke-opacity='.72'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat,
        radial-gradient(ellipse 26% 30% at 90% 12%, rgba(240, 248, 255, .86) 0%, rgba(240, 248, 255, .55) 45%, rgba(240, 248, 255, 0) 100%),
        linear-gradient(90deg, rgba(221, 241, 255, .96) 0%, rgba(235, 247, 255, .88) 27%, rgba(244, 250, 255, .34) 54%, rgba(244, 250, 255, 0) 76%);
}

/* 左上斜向光带和底部细线位于文案下方，不遮挡交互。 */
.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 520' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath d='M-70-70 Q230 210 760 520' stroke-width='18' opacity='.24'/%3E%3Cpath d='M-90-30 Q200 210 710 520' stroke-width='5' opacity='.45'/%3E%3Cpath d='M-90 0 Q190 230 660 520' stroke-width='3' opacity='.45'/%3E%3Cpath d='M-30 382 Q240 459 660 508' stroke-width='3' opacity='.75'/%3E%3Cpath d='M-30 400 Q260 470 690 515' stroke-width='2' opacity='.6'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-banner__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: max(360px, 53.4375vw);
    padding-inline: clamp(24px, 5vw, 76px);
}

@media (min-width: 1360px) {
    .hero-banner,
    .hero-banner__inner {
        height: calc(100svh - var(--public-header-height, 80px));
        min-height: 0;
        max-height: calc(100svh - var(--public-header-height, 80px));
    }

    /* 首屏按「视口高度 − 导航」铺满，笔记本屏（约 2:1）比 16:9 视频更扁：
       用 cover 裁掉上下边而不是 fill 拉伸，否则厂房会被横向拉宽 10%–20%。 */
    .hero-banner__video {
        top: 0;
        height: 100%;
        object-fit: cover;
        object-position: 50% 58%;
    }

    .hero-banner__inner {
        max-width: 1680px;
        padding-inline: clamp(40px, 3vw, 76px);
    }
}

.hero-banner__copy {
    position: relative;
    /* 视频高度约 56.25vw，向上移动其 10%。 */
    top: -5.625vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(66%, 720px);
    padding-block: clamp(36px, 4vw, 56px) clamp(48px, 5vw, 72px);
}

@media (min-width: 1360px) {
    .hero-banner__copy { translate: 0 -12%; }
}

.hero-banner__title {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: clamp(10px, 1.2vw, 18px);
    color: var(--c-brand-deep);
    font-size: clamp(34px, 5.2vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .02em;
    white-space: nowrap;
}

.hero-banner__title .text { white-space: nowrap; }

.hero-banner__title .accent {
    display: inline-flex;
    align-items: baseline;
    gap: .08em;
    color: var(--c-accent);
    font-family: cursive;
    font-size: clamp(56px, 7vw, 102px);
    font-style: italic;
    font-weight: 800;
    line-height: .82;
    letter-spacing: -.06em;
    transform: rotate(-5deg) translateY(.04em);
}

.hero-banner__anniversary {
    width: auto;
    height: clamp(80px, 10vw, 132px);
    max-width: clamp(100px, 12vw, 180px);
}

.hero-banner__anniversary-label {
    font-family: var(--font-sans, sans-serif);
    font-size: .28em;
    font-style: normal;
    letter-spacing: 0;
    transform: rotate(5deg);
}

.hero-banner__sub {
    max-width: 100%;
    margin-top: clamp(18px, 2.2vw, 28px);
    color: var(--c-brand-deep);
    font-size: clamp(16px, 1.55vw, 22px);
    font-weight: 600;
    line-height: 1.45;
    white-space: normal;
}

.hero-banner__en {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: clamp(10px, 1.2vw, 16px);
    color: var(--c-brand);
    font-family: var(--font-en);
    font-size: var(--fs-en);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-banner__en::before {
    content: "";
    width: clamp(36px, 4vw, 58px);
    height: 3px;
    flex: none;
    background: var(--c-accent);
}

.hero-banner__cta { margin-top: clamp(22px, 2.6vw, 34px); }
.hero-banner__cta .btn {
    min-height: 42px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: var(--c-brand-deep);
    box-shadow: 0 8px 18px rgba(11, 48, 102, .2);
    font-size: var(--fs-sm);
}

.hero-banner__slogan {
    position: absolute;
    top: clamp(24px, 4vw, 58px);
    right: clamp(24px, 7vw, 104px);
    z-index: 3;
    color: var(--c-brand-deep);
    font-family: 'KaiTi', 'STKaiti', 'Kaiti SC', serif;
    font-size: clamp(16px, 1.7vw, 26px);
    font-style: italic;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.45;
    text-align: right;
    text-shadow: 0 1px 8px rgba(255, 255, 255, .82);
    transform: rotate(-8deg);
}

.hero-banner__slogan span { display: block; }
.hero-banner__slogan span:last-child::after {
    content: "";
    display: block;
    width: 70%;
    height: 2px;
    margin: 4px 0 0 auto;
    background: var(--c-brand);
    transform: rotate(-4deg);
}

@media (min-width: 1360px) {
    /* 矮屏笔记本（如 1536×864、1920×1080@125%）上字号同时受视口高度约束，
       避免标题和「30」压满首屏；放在基础规则之后才能覆盖。 */
    .hero-banner__title { font-size: clamp(34px, min(5.2vw, 7.4vh), 72px); }
    .hero-banner__title .accent { font-size: clamp(56px, min(7vw, 10.5vh), 102px); }
    .hero-banner__anniversary {
        height: clamp(80px, min(10vw, 13.5vh), 132px);
        max-width: clamp(100px, min(12vw, 16vh), 180px);
    }
    .hero-banner__sub { font-size: clamp(16px, min(1.55vw, 2.4vh), 22px); }
    .hero-banner__slogan { font-size: clamp(16px, min(1.7vw, 2.6vh), 26px); }
}

@media (max-width: 900px) {
    .hero-banner,
    .hero-banner__inner { min-height: max(390px, 53.4375vw); }
    .hero-banner__copy { width: min(88%, 620px); padding-block: 44px 92px; }
    .hero-banner__title { flex-wrap: wrap; white-space: normal; font-size: clamp(30px, 7vw, 48px); }
    .hero-banner__title .text { white-space: normal; }
    .hero-banner__title .accent { font-size: clamp(52px, 12vw, 82px); }
    .hero-banner__sub { white-space: normal; font-size: clamp(15px, 3.2vw, 19px); }
    .hero-banner__slogan { top: 20px; right: 20px; font-size: clamp(14px, 3vw, 20px); }
}

@media (max-width: 640px) {
    .hero-banner__visual {
        background: #dcecff url('/home/hero-roof-final-20261017.webp') 42% center / cover no-repeat;
    }
    .hero-banner__video { display: none; }
    .hero-banner::before {
        background:
            url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 520' preserveAspectRatio='none'%3E%3Cpath d='M-40 520 C180 440 360 480 650 515 S1180 530 1500 386 L1500 560 L-40 560Z' fill='%23ffffff' fill-opacity='.77'/%3E%3Cpath d='M-40 505 C180 425 360 465 650 500 S1180 515 1500 371' fill='none' stroke='%23d9edff' stroke-width='12' stroke-opacity='.72'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat,
            linear-gradient(180deg, rgba(235, 247, 255, .92) 0%, rgba(235, 247, 255, .82) 55%, rgba(235, 247, 255, .18) 82%, transparent 100%);
    }
    .hero-banner__en { max-width: 100%; }
    html[lang="ja"] .hero-banner__sub {
        max-width: 18em;
        line-height: 1.65;
    }
}

@media (max-width: 560px) {
    .hero-banner,
    .hero-banner__inner { min-height: 470px; }
    .hero-banner__copy { width: 100%; padding-block: 86px 120px; }
    .hero-banner__title { gap: 7px; font-size: clamp(28px, 8vw, 38px); }
    .hero-banner__title .accent { font-size: clamp(48px, 16vw, 68px); }
    .hero-banner__slogan { top: 18px; right: 16px; font-size: 14px; }
}

/* ============================================================
   ② 企业核心数据 × 4
   ============================================================ */

/* 设计稿里数据条压在首屏底部的淡蓝带上，不是浮在纯白里 */
.stats {
    padding-block: clamp(20px, 2.4vw, 32px);
    background: linear-gradient(180deg,
        rgba(238, 246, 255, .94) 0%,
        rgba(247, 251, 255, .88) 54%,
        var(--page-tint) 100%);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 22px);
}

.stats__item {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 156px;
    gap: clamp(12px, 1.2vw, 18px);
    padding: 20px clamp(16px, 1.4vw, 20px);
    background: rgba(255, 255, 255, .94);
    border: 1px solid #D5E6FC;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(57, 112, 181, .09);
    transition: transform var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.stats__item:hover {
    transform: translateY(-3px);
    border-color: var(--c-brand-bright);
    box-shadow: var(--shadow-hover);
}

/* 使用参考图中的蓝色图标及圆角底，保持原图块比例 */
.stats__icon {
    flex: none;
    display: block;
    width: clamp(60px, 5vw, 72px);
    height: clamp(60px, 5vw, 72px);
    overflow: hidden;
    color: var(--c-brand);
    background: #EDF5FF;
    border-radius: 20px;
}

.stats__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.stats__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stats__label {
    min-width: 0;
    font-size: var(--fs-sm);
    color: var(--c-text);
    line-height: 1.35;
}

.stats__value {
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--c-brand-deep);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: clamp(30px, 2.5vw, 36px);
    line-height: 1;
}

.stats__value > span:first-child {
    flex: none;
    white-space: nowrap;
}

.stats__value .unit {
    flex: none;
    font-size: clamp(13px, 1.1vw, var(--fs-sm));
    color: var(--c-muted);
    font-weight: 500;
}

@media (min-width: 901px) and (max-width: 1199px),
       (min-width: 481px) and (max-width: 640px) {
    .stats__item {
        min-height: 196px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
    }
}

@media (max-width: 900px) {
    .stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats__item {
        min-height: 148px;
    }

    .stats__value {
        font-size: clamp(30px, 4.5vw, 36px);
    }
}

@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .stats__item {
        min-height: 208px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        border-radius: 18px;
    }

    .stats__icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .stats__value {
        font-size: clamp(26px, 8vw, 32px);
    }
}

/* ============================================================
   ③ 产品与服务  id="products"
   ============================================================ */

.products {
    /* 上留白照旧；下留白收窄，跟下面“产品应用”的上留白配合，
     * 把两区之间的过渡空白从 ~162px 收到 ~90px */
    padding-block: clamp(44px, 4.8vw, 70px) clamp(30px, 3.2vw, 48px);
    background: var(--page-tint-soft);
}

/* “产品应用”只收上留白，与产品区下留白衔接；底部留白保持默认节奏 */
.applications {
    padding-top: clamp(26px, 2.8vw, 42px);
}

/* 分区之间的漂移光晕：保留，用来柔化白/浅灰交界的生硬感。 */
.products,
.applications,
.partners-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* 仅保留分区之间的漂移光晕；斜线与点阵已统一到 body::before 的全页底纹 */
.products::before,
.applications::before,
.partners-section::before {
    content: "";
    position: absolute;
    inset: -6%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 14% 28%, rgba(126, 190, 246, .16), transparent 38%),
        radial-gradient(ellipse at 84% 74%, rgba(248, 216, 139, .11), transparent 34%),
        radial-gradient(ellipse at 58% 8%, rgba(220, 231, 242, .42), transparent 42%);
    animation: home-section-glow-drift 22s ease-in-out infinite alternate;
}

.products::before { animation-delay: -3s; }

.applications::before { animation-delay: -11s; }

.partners-section::before { animation-delay: -19s; }

.products > .container,
.applications > .container,
.partners-section > .container {
    position: relative;
    z-index: 1;
}

@keyframes home-section-glow-drift {
    from { transform: translate3d(-1.2%, .6%, 0) scale(1); }
    to { transform: translate3d(1.2%, -.6%, 0) scale(1.035); }
}

@media (max-width: 640px) {
    .products::before,
    .applications::before,
    .partners-section::before {
        opacity: .72;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* 关掉漂移动效，静态底纹保留 */
    body::before {
        animation: none;
    }

    .products::before,
    .applications::before,
    .partners-section::before {
        animation: none;
    }
}

.products__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(24px, 3vw, 36px);
}

.products__intro {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 820px;
}

.products__intro .sec-head {
    margin-bottom: 0;
}

.products__lead {
    color: var(--c-text);
    font-size: var(--fs-body);
    line-height: 1.75;
    margin: 0;
}

.products__heading-note {
    max-width: 360px;
    margin: 0 0 3px;
    color: var(--c-muted);
    font-size: 14px;
    line-height: 1.8;
    text-align: right;
}

.products__btn {
    margin-top: 6px;
    align-self: flex-start;
}

/* 客户 2026-10-10 确认已不做再卷、冲压，只剩纵剪分条 / 横剪切方 / 手工剪板三道工序，与加工设备页一致。 */
.products__cards--process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    align-items: stretch;
}

.products__process-card { min-width: 0; }

.products__video-wrap {
    margin: 0;
    overflow: hidden;
    position: relative;
    background: #dcebf9;
    border: 1px solid rgba(26, 104, 207, .24);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: default;
    outline: none;
    height: 100%;
}

.products__video-wrap:focus-visible {
    box-shadow: 0 0 0 3px rgba(240, 189, 40, .72), var(--shadow);
}

.products__process-art {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* 分条卡片保留内联 SVG 作为其余卡片的 <use> 源；静态图片覆盖对应卡片的 16:9 画布。 */
.products__process-image {
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: #dcebf9;
}

.products__process-card--slitting .process-coil,
.products__process-card--slitting .process-rollers,
.products__process-card--slitting .process-sheet,
.products__process-card--slitting .process-sheet-glint,
.products__process-card--slitting .process-cutter,
.products__process-card--slitting .process-output,
.products__process-card--slitting .process-status {
    animation: none !important;
}

.process-coil,
.process-rollers,
.process-sheet,
.process-sheet-glint,
.process-cutter,
.process-output,
.process-status {
    transform-box: fill-box;
    transform-origin: center;
}

@media (hover: hover) and (pointer: fine) {
    .products__process-card:not(.products__process-card--slitting) .products__video-wrap:hover {
        cursor: pointer;
    }

    .products__process-card:hover .process-coil,
    .products__process-card:focus-within .process-coil {
        animation: process-coil-turn 2.2s ease-in-out infinite;
    }

    .products__process-card:hover .process-sheet,
    .products__process-card:focus-within .process-sheet {
        animation: process-sheet-feed 2.8s ease-in-out infinite;
    }

    .products__process-card:hover .process-sheet-glint,
    .products__process-card:focus-within .process-sheet-glint {
        animation: process-glint 2.8s linear infinite;
    }

    .products__process-card:hover .process-rollers,
    .products__process-card:focus-within .process-rollers {
        animation: process-roller-pulse 1.4s ease-in-out infinite;
    }

    .products__process-card:hover .process-cutter,
    .products__process-card:focus-within .process-cutter {
        animation: process-cut 2.8s ease-in-out infinite;
    }

    .products__process-card:hover .process-output,
    .products__process-card:focus-within .process-output {
        animation: process-output-feed 2.8s ease-in-out infinite;
    }

    .products__process-card:hover .process-status,
    .products__process-card:focus-within .process-status {
        animation: process-status-pulse 1s ease-in-out infinite;
    }
}

@keyframes process-coil-turn {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(7deg); }
}

@keyframes process-sheet-feed {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(26px); }
}

@keyframes process-glint {
    0% { transform: translateX(-26px); opacity: .2; }
    45%, 70% { opacity: .85; }
    100% { transform: translateX(105px); opacity: .2; }
}

@keyframes process-roller-pulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(.94); }
}

@keyframes process-cut {
    0%, 35% { transform: translateY(0); }
    48%, 58% { transform: translateY(38px); }
    72%, 100% { transform: translateY(0); }
}

@keyframes process-output-feed {
    0%, 24% { transform: translateX(0); opacity: 1; }
    62%, 100% { transform: translateX(25px); opacity: .8; }
}

@keyframes process-status-pulse {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

.products__video-wrap figcaption {
    padding: 10px 14px 12px;
    color: var(--c-brand);
    font-size: 12px;
    letter-spacing: .08em;
    background: rgba(255, 255, 255, .76);
}

@media (prefers-reduced-motion: reduce) {
    .products__video-wrap .process-coil,
    .products__video-wrap .process-rollers,
    .products__video-wrap .process-sheet,
    .products__video-wrap .process-sheet-glint,
    .products__video-wrap .process-cutter,
    .products__video-wrap .process-output,
    .products__video-wrap .process-status {
        animation: none !important;
    }
}

.products__video-wrap figcaption strong {
    display: block;
    margin-bottom: 4px;
    color: var(--c-title);
    font-size: 20px;
    letter-spacing: .02em;
}

.products__video-wrap figcaption span {
    display: block;
    color: var(--c-muted);
    font-size: 13px;
    letter-spacing: .02em;
}

@media (max-width: 900px) {
    .products__heading { align-items: flex-start; flex-direction: column; }
    .products__heading-note { max-width: 520px; text-align: left; }
}

@media (max-width: 760px) {
    .products__cards--process {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ④ 产品应用 × 4  id="applications"
   ============================================================ */

.applications__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 24px);
    align-items: stretch;
}

.app-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: opacity .6s var(--ease),
                transform .6s var(--ease),
                border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.applications__grid .app-card:nth-child(2) {
    transition-delay: .08s;
}

.applications__grid .app-card:nth-child(3) {
    transition-delay: .16s;
}

.applications__grid .app-card:nth-child(4) {
    transition-delay: .24s;
}

.app-card__media {
    position: relative;
    flex: none;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--c-bg-blue);
}

.app-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.app-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: clamp(18px, 1.6vw, 24px);
}

.app-card__title {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--c-title);
}

.app-card__en {
    color: var(--c-brand-bright);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.app-card__text {
    color: var(--c-text);
    font-size: var(--fs-body);
    line-height: 1.85;
}

html[lang="en"] .app-card__en {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .app-card:hover {
        border-color: var(--c-brand-bright);
        box-shadow: var(--shadow-hover);
    }

    .app-card:hover .app-card__media img {
        transform: scale(1.04);
    }
}

@media (max-width: 1080px) {
    .applications__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .applications__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .applications__grid .app-card {
        transition: none;
        transition-delay: 0s;
        transform: none;
    }

    .app-card__media img {
        transition: none;
    }

    .app-card:hover .app-card__media img {
        transform: none;
    }
}

/* ============================================================
   ⑤ 合作伙伴：复用旧版 30s 无缝水平滚动
   ============================================================ */

/* 合作伙伴只有一条 logo 带，不需要正文模块那么高的上下留白 */
.partners-section {
    padding-block: clamp(34px, 3.4vw, 52px);
}

.partners-section .sec-head {
    margin-bottom: clamp(18px, 1.8vw, 26px);
}

.partners-marquee {
    overflow: hidden;
    padding-block: 14px 18px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: partners-marquee-scroll 30s linear infinite;
}

.partners-group {
    display: flex;
    flex: none;
    gap: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 clamp(150px, 14vw, 210px);
    min-height: 64px;
    padding: 0 16px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    color: var(--c-brand-deep);
    font-weight: 600;
    font-size: var(--fs-sm);
    text-align: center;
    white-space: nowrap;
    transition: border-color var(--dur) var(--ease),
                color var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.partner-card:hover,
.partner-card:focus-visible {
    border-color: var(--c-brand-bright);
    color: var(--c-brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.partners-marquee:hover .partners-track,
.partners-marquee:focus-within .partners-track {
    animation-play-state: paused;
}

@keyframes partners-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   ⑥ 企业资质 × 4
   ============================================================ */

/* 四张小卡片的收尾模块，留白介于内容模块和合作伙伴 logo 带之间 */
.certs-section {
    padding-block: clamp(42px, 4.4vw, 66px);
}

.certs-section .sec-head {
    margin-bottom: clamp(22px, 2.2vw, 32px);
}

.certs-grid {
    display: grid;
    /* 列数跟随证书数量（最多 4），避免后台只发布 3 张时空出一格 */
    grid-template-columns: repeat(var(--cert-cols, 4), minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
}

.cert-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: clamp(20px, 2vw, 28px) clamp(16px, 1.8vw, 24px);
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.cert-card:hover,
.cert-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--c-brand-bright);
    box-shadow: var(--shadow-hover);
}

/* 金属高光扫过：呼应板材表面反光，和产品卡的 process-sheet-glint 是同一套语言 */
.cert-card::before {
    content: "";
    position: absolute;
    top: -70%;
    left: -70%;
    width: 42%;
    height: 240%;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(63, 140, 255, 0) 0%,
        rgba(63, 140, 255, .09) 40%,
        rgba(63, 140, 255, .20) 50%,
        rgba(63, 140, 255, .09) 60%,
        rgba(63, 140, 255, 0) 100%);
    /* translateX 写在 rotate 之前，位移才发生在未旋转的坐标系里，
       光带只做水平扫动，不会边走边下沉导致上缘露出切口 */
    transform: translateX(0) rotate(18deg);
    opacity: 0;
    transition: opacity .18s var(--ease);
}

.cert-card:hover::before,
.cert-card:focus-visible::before {
    opacity: 1;
    animation: cert-sheen 1s var(--ease) forwards;
}

@keyframes cert-sheen {
    from { transform: translateX(0) rotate(18deg); }
    to   { transform: translateX(480%) rotate(18deg); }
}

.cert-card__icon,
.cert-card__title,
.cert-card__text {
    position: relative;
    z-index: 1;
}

.cert-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 96px;
    height: 96px;
    margin-bottom: 14px;
    border-radius: 24px;
    background: transparent;
}

.cert-card__icon img {
    width: 150%;
    max-width: none;
    height: auto;
}

/* 无匹配图标的证书（例如旧版标准编号）用中性徽章占位 */
.cert-card__icon--badge {
    color: var(--c-brand-deep);
    opacity: .72;
}

.cert-card__icon--badge svg {
    width: 52px;
    height: 52px;
}

.cert-card__title {
    font-size: clamp(18px, 1.5vw, 20px);
    font-weight: 700;
    color: var(--c-brand-deep);
    line-height: 1.35;
    text-align: center;
}

.cert-card__text {
    margin-top: 6px;
    font-size: var(--fs-sm);
    color: var(--c-text);
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 900px) {
    .certs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* 奇数张时最后一张居中，保持与上方卡片同宽 */
    .certs-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - clamp(16px, 2vw, 28px)) / 2);
    }
}

@media (max-width: 480px) {
    .certs-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        flex-basis: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee {
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .partners-track {
        width: 100%;
        transform: none;
        animation: none;
    }

    .partners-group:first-child {
        flex-wrap: wrap;
        width: 100%;
        padding-right: 0;
    }

    .partners-group[aria-hidden="true"] {
        display: none;
    }

    .partner-card:hover,
    .cert-card:hover,
    .cert-card:focus-visible {
        transform: none;
    }

    .cert-card::before,
    .cert-card:hover::before,
    .cert-card:focus-visible::before {
        display: none;
        animation: none;
    }
}
