@charset "UTF-8";

/* ============================================================================
   Mingxin New Materials — 官网首页样式
   ----------------------------------------------------------------------------
   目录
   01. 本地字体（Barlow）
   02. 设计变量（颜色 / 字号 / 间距 / 圆角 / 动效）
   03. 基础重置与排版
   04. 通用模块（容器 / 板块 / 标题 / 按钮 / 提示条）
   05. 顶部导航区
   06. 首屏 Banner 轮播
   07. About Us
   08. Service 走马灯
   09. Products 选项卡
   10. Global 全球布局
   11. Revolution 特色卡
   12. Cases 案例画廊
   13. Testimonial 客户评价
   14. Contact 联系卡
   15. Footer
   16. 动画（首屏入场 / 滚动视差 / 走马灯）
   17. 响应式（768 / 1024 / 1440 / 1748）
   ----------------------------------------------------------------------------
   说明：全部样式基于移动端（375px）优先，再按断点向上扩展
   ========================================================================== */


/* ==========================================================================
   01. 本地字体
   ========================================================================== */

@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   02. 设计变量
   ========================================================================== */

:root {
    /* --- 颜色 --- */
    --color-primary: #e01b22;
    /* 品牌主红 */
    --color-primary-dark: #b60f16;
    /* 主红加深（hover / 渐变暗部） */
    --color-primary-light: #f5353c;
    /* 主红提亮（渐变亮部） */
    --color-ink: #111214;
    /* 标题深黑 */
    --color-text: #333438;
    /* 正文 */
    --color-text-muted: #6f7176;
    /* 次要文字 */
    --color-white: #ffffff;
    --color-dark: #131316;
    /* 深色板块底 */
    --color-dark-soft: #1c1c1f;
    /* Footer 底 */
    --color-surface: #f7f7f8;
    /* 浅灰板块底 */
    --color-line: rgba(0, 0, 0, 0.1);
    --color-line-light: rgba(255, 255, 255, 0.14);
    /* --- 字体 --- */
    --font-base: "Barlow", "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    --fs-base: 16px;
    --fs-sm: 14px;
    --fs-label: 15px;
    /* 详情段落字号：手机 15 / 平板与笔记本 16 / 1920 级大屏 20 */
    --fs-desc: 15px;
    --fs-h1: clamp(1.95rem, 8.4vw, 3.5rem);
    --fs-h2: clamp(1.55rem, 6.6vw, 3.1rem);
    --fs-h3: clamp(1.25rem, 4vw, 1.9rem);
    --lh-tight: 1.15;
    --lh-base: 1.75;
    /* --- 间距 --- */
    --space-2xs: 6px;
    --space-xs: 10px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 36px;
    --space-xl: 56px;
    --space-2xl: 80px;
    --section-py: clamp(52px, 10vw, 104px);
    --container-max: 1700px;
    --container-pad: 22px;
    --header-h: 64px;
    /* --- 圆角 --- */
    --radius-xs: 2px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    /* --- 动效 --- */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dur-fast: 0.35s;
    --dur: 0.6s;
    --dur-slow: 0.85s;
    /* --- 其它 --- */
    --marquee-gap: clamp(14px, 2.2vw, 40px);
    --swiper-theme-color: #e01b22;
}


/* ==========================================================================
   03. 基础重置与排版
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font-base);
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


/* 打开移动端菜单时锁定滚动 */

body.is-locked {
    overflow: hidden;
}

img {
    max-width: 100%;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
    margin: 0;
}


/* [hidden] 兜底：组件自带 display 时会覆盖浏览器默认隐藏，这里统一收回 */

.mobile-menu[hidden],
.mobile-menu__mask[hidden],
.search-panel[hidden],
.search-panel__suggest[hidden],
.lang-menu[hidden] {
    display: none;
}


/* 统一键盘焦点样式 */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}


/* ==========================================================================
   04. 通用模块
   ========================================================================== */


/* --- 容器：最大 1700px 居中，超出部分左右留白 --- */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}


/* --- 板块基础 --- */

.section {
    position: relative;
    padding-block: var(--section-py);
}


/* --- 小标签（红色大写） --- */

.section-label {
    display: inline-block;
    margin-bottom: var(--space-xs);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-primary);
}


/* --- 板块主标题 --- */

.section-title {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: var(--lh-tight);
    letter-spacing: -0.01em;
    color: var(--color-ink);
    text-wrap: balance;
}

.section-title--light {
    color: var(--color-white);
}


/* --- 标题内的强调红 --- */

.text-red {
    color: var(--color-primary);
}


/* --- 板块副标题 --- */

.section-sub {
    margin-top: var(--space-sm);
    max-width: 720px;
    font-size: var(--fs-desc);
    color: var(--color-text-muted);
}


/* --- 居中标题组 --- */

.section-head {
    max-width: 1120px;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--center .section-sub {
    margin-inline: auto;
}


/* --- 按钮 --- */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}


/* 药丸按钮 */

.btn--pill {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: var(--radius-pill);
}


/* 主按钮：品牌红 */

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(224, 27, 34, 0.26);
}


/* 次按钮：白底红字（首屏 Get Quote） */

.btn--ghost {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn--ghost:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(224, 27, 34, 0.22);
}


/* 方形按钮（About 区块 LEARN MORE，带箭头位移） */

.btn--square {
    gap: 26px;
    padding: 18px 26px;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-xs);
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--square:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 12px 24px rgba(224, 27, 34, 0.22);
}

.btn__arrow {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    transition: transform var(--dur-fast) var(--ease);
}

.btn--square:hover .btn__arrow {
    transform: translateX(6px);
}


/* 描边按钮（Products 面板顶部小按钮） */

.btn--outline {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-white);
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-pill);
}

.btn--outline:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.14);
    border-color: var(--color-white);
}


/* --- 轻提示条 --- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    z-index: 90;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-white);
    background-color: rgba(17, 17, 20, 0.92);
    border-radius: var(--radius-pill);
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

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


/* --- 验证码弹窗（表单必填校验通过后弹出，验证通过才正式提交） --- */

.captcha-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 元素带 hidden 属性时必须盖过上面的 flex */
.captcha-modal[hidden] {
    display: none;
}

.captcha-modal__mask {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 17, 20, 0.62);
}

.captcha-modal__panel {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 34px 32px 30px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
    animation: captcha-pop var(--dur-fast) var(--ease) both;
}

@keyframes captcha-pop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }

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

.captcha-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 24px;
    line-height: 1;
    color: var(--color-text-muted);
    background-color: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.captcha-modal__close:hover {
    color: var(--color-white);
    background-color: var(--color-primary);
}

.captcha-modal__eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.captcha-modal__title {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.captcha-modal__desc {
    margin: 10px 0 0;
    font-size: var(--fs-sm);
    line-height: 1.7;
    color: var(--color-text-muted);
}

.captcha-modal__field {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-top: 22px;
}

.captcha-modal__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 18px;
    font-family: inherit;
    font-size: 16px;
    color: var(--color-ink);
    background-color: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    outline: none;
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.captcha-modal__input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(224, 27, 34, 0.14);
}

.captcha-modal__image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
}

.captcha-modal__image img {
    display: block;
    cursor: pointer;
}

.captcha-modal__error {
    min-height: 20px;
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--color-primary);
}

.captcha-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.captcha-modal__cancel,
.captcha-modal__confirm {
    height: 44px;
    padding: 0 30px;
    font-family: inherit;
    font-size: var(--fs-label);
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.captcha-modal__cancel {
    color: var(--color-text);
    background-color: transparent;
    border: 1px solid var(--color-line);
}

.captcha-modal__cancel:hover {
    color: var(--color-ink);
    border-color: var(--color-ink);
}

.captcha-modal__confirm {
    color: var(--color-white);
    background-image: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    border: 1px solid transparent;
}

.captcha-modal__confirm:disabled {
    opacity: 0.72;
    cursor: default;
}

@media (max-width: 640px) {

    .captcha-modal__panel {
        padding: 30px 20px 24px;
    }

    .captcha-modal__field {
        flex-direction: column;
    }

    .captcha-modal__actions {
        flex-direction: column-reverse;
    }

    .captcha-modal__cancel,
    .captcha-modal__confirm {
        width: 100%;
    }
    .header__logo{
        width: 60%;
    }
    
}


/* ==========================================================================
   05. 顶部导航区
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 85;
    /* 首屏透明，导航压在 Banner 图上；滚动超过 40px 后由 JS 加 .is-scrolled 变黑 */
    /*background-color: transparent;*/
    background-color: #e01b22;
    border-bottom: 1px solid transparent;
    transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}


/* 滚动后的导航形态：更实的底 + 投影 */

.header.is-scrolled {
    background-color: rgb(224, 27, 34);
    border-bottom-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 34px rgba(207, 21, 21, 0.34);
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    height: var(--header-h);
}


/* --- Logo --- */

.header__logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: var(--color-white);
    transition: opacity var(--dur-fast) var(--ease);
}

.header__logo:hover {
    opacity: 0.78;
}


/* --- 主导航（移动端隐藏） --- */

.nav {
    display: none;
}

.nav__list {
    display: flex;
    align-items: center;
}

.nav__link {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    transition: color var(--dur-fast) var(--ease);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--dur) var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--color-white);
}

.nav__link.is-active {
    font-weight: bold;
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
}


/* --- 右侧工具区 --- */

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    margin-left: auto;
}

.header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.header__icon:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.header__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
}

/* 语言切换：文字按钮（替代原地球图标） */

.header__lang-btn {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    border: 0;
    border-radius: var(--radius-pill);
     
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

 


/* --- 语言下拉 --- */

.header__lang {
    position: relative;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 5;
    display: grid;                              /* 单列改双列 */
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    width: 264px;                               /* 替代原 min-width: 132px */
    max-height: min(60vh, 420px);               /* 兜底：再长也不超屏 */
    overflow-y: auto;
    padding: 8px;
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    animation: dropIn var(--dur-fast) var(--ease) both;
    scrollbar-width: thin;                      /* Firefox 细滚动条 */
}

/* Webkit 细滚动条，只在触发滚动时出现 */
.lang-menu::-webkit-scrollbar {
    width: 6px;
}
.lang-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 3px;
}
.lang-menu__link {
    display: block;
    padding: 9px 12px;
    font-size: 14px;
    color: var(--color-text);
    border-radius: var(--radius-xs);
    transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.lang-menu__link:hover,
.lang-menu__link.is-active {
    color: var(--color-white);
    background-color: var(--color-primary);
}


/* --- 搜索面板 --- */

.search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 4;
    background-color: rgba(16, 16, 19, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: dropPanel var(--dur-fast) var(--ease) both;
}

.search-panel__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    height: 76px;
}

.search-panel__form {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    max-width: 720px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    transition: border-color var(--dur-fast) var(--ease);
}


/* 焦点只做中性提示：下划线提亮，不用红色描边 */

.search-panel__form:focus-within {
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

.search-panel__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 0;
    font-size: 17px;
    color: var(--color-white);
    background: none;
    border: 0;
    outline: none;
    /* 归一化 Firefox 原生搜索框外观（内阴影 / 圆角 / 默认描边） */
    -webkit-appearance: none;
    appearance: none;
}


/* 点击输入框时不再出现红色焦点框（全局 input:focus-visible 会命中这里） */

.search-panel__input:focus,
.search-panel__input:focus-visible {
    outline: none;
    box-shadow: none;
}


/* Safari / Chrome 原生清除按钮一并隐藏，避免与自定义建议列表打架 */

.search-panel__input::-webkit-search-cancel-button,
.search-panel__input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.search-panel__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.search-panel__submit,
.search-panel__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    background: none;
    border: 0;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease);
}

.search-panel__submit:hover,
.search-panel__close:hover {
    color: var(--color-white);
}

.search-panel__submit svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.search-panel__close {
    margin-left: auto;
    font-size: 30px;
    line-height: 1;
}


/* --- 搜索关键词建议（替代浏览器输入历史） --- */

.search-panel__suggest {
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    z-index: 3;
    width: min(720px, 100%);
    padding: 6px 0;
    background-color: #17171d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
    animation: dropPanel var(--dur-fast) var(--ease) both;
}

.search-panel__suggest-item {
    display: block;
    width: 100%;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: rgba(255, 255, 255, 0.72);
    background: none;
    border: 0;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.search-panel__suggest-item:hover,
.search-panel__suggest-item.is-active {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.06);
}


/* 命中片段高亮 */

.search-panel__suggest-mark {
    color: var(--color-primary);
    font-weight: 700;
}


/* --- 汉堡按钮（移动端显示） --- */

.burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 8px;
    background: none;
    border: 0;
    cursor: pointer;
}

.burger__bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}

.burger.is-open .burger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-open .burger__bar:nth-child(2) {
    opacity: 0;
}

.burger.is-open .burger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* --- 移动端抽屉菜单 --- */

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    width: min(360px, 86vw);
    height: 100%;
    padding: 88px 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #101013;
    overflow-y: auto;
    animation: menuIn var(--dur) var(--ease) both;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
}

.mobile-menu__link {
    display: block;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
    padding-left: 8px;
    color: var(--color-white);
    border-bottom-color: var(--color-primary);
}

.mobile-menu__foot {
    padding-top: var(--space-md);
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.55);
}

.mobile-menu__foot a {
    color: var(--color-white);
}

.mobile-menu__mask {
    position: fixed;
    inset: 0;
    z-index: 70;
    background-color: rgba(0, 0, 0, 0.55);
    animation: fadeIn var(--dur-fast) var(--ease) both;
}


/* ==========================================================================
   06. 首屏 Banner 轮播
   ========================================================================== */

.hero {
    position: relative;
    background-color: #0b0d11;
    overflow: hidden;
    /* 上提一个导航高度，让透明的导航栏叠在 Banner 图上 */
    margin-top: calc(-1 * var(--header-h));
}

.hero__swiper {
    width: 100%;
    /* 接近设计稿的全屏 Banner 高度：视口越高越高，但不超过 940px */
    height: clamp(520px, 86vh, 940px);
}

.hero__slide {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}


/* 背景图（用于视差位移，四边外扩避免露出边缘） */

.hero__bg {
    position: absolute;
    inset: -9% 0 -9%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: transform;
}

.hero__slide--01 .hero__bg {
    background-image: url("../images/banner_01.jpg");
}

.hero__slide--02 .hero__bg {
    background-image: url("../images/banner_01.jpg");
}

.hero__slide--03 .hero__bg {
    background-image: url("../images/banner_01.jpg");
}


/* 压暗遮罩，保证白字在任何配图上都可读 */

.hero__overlay {
    position: absolute;
    inset: 0;
    background-image: /* 顶部再压一层，透明导航压在图上依旧清晰 */
    linear-gradient(180deg, rgba(8, 10, 16, 0.6) 0%, rgba(8, 10, 16, 0.18) 16%, rgba(8, 10, 16, 0) 30%), linear-gradient(90deg, rgba(8, 10, 16, 0.72) 0%, rgba(8, 10, 16, 0.4) 46%, rgba(8, 10, 16, 0.16) 100%), linear-gradient(0deg, rgba(8, 10, 16, 0.45) 0%, rgba(8, 10, 16, 0) 42%);
}


/* 首屏文案 */

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    /* 顶部让出导航高度，文字在导航之下的视觉区域里居中 */
    padding-top: var(--header-h);
    padding-bottom: 76px;
}

.hero__title {
    max-width: 900px;
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--color-white);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.hero__desc {
    margin-top: var(--space-sm);
    max-width: 620px;
    font-size: var(--fs-desc);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}


/* 轮播控件条 */

.hero__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    pointer-events: none;
}


/* 分页器（Swiper4 默认 class 保留，仅覆盖视觉） */

.hero__pagination {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    pointer-events: auto;
}

.hero__pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: background-color var(--dur-fast) var(--ease), width var(--dur-fast) var(--ease);
}

.hero__pagination .swiper-pagination-bullet:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

.hero__pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: var(--radius-pill);
    background-color: var(--color-primary);
}


/* 左右箭头 */

.hero__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.hero__arrow:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.hero__arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}


/* ==========================================================================
   07. About Us
   ========================================================================== */

.about {
    background-color: var(--color-white);
}

.about__inner {
    display: grid;
    gap: var(--space-lg);
}

.about__title {
    font-size: var(--fs-h3);
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.005em;
}

.about__desc {
    margin-top: var(--space-md);
    max-width: 760px;
    font-size: var(--fs-desc);
    line-height: 1.95;
    color: var(--color-text-muted);
}

.about__text .btn--square {
    margin-top: var(--space-lg);
}

.about__media {
    position: relative;
}

.about__figure {
    overflow: hidden;
    border-radius: var(--radius-xs);
}

.about__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 822 / 478;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}

.about__figure:hover img {
    transform: scale(1.04);
}


/* 数据条：红色渐变，随图片整体呈现 */

.about__stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: -28px;
    padding: 22px 20px 24px;
    border-radius: var(--radius-xs);
    background-image: linear-gradient(105deg, #c10001 0%, #f13602 42%, #7b0600 100%);
    box-shadow: 0 18px 40px rgba(139, 6, 12, 0.24);
}

.stat {
    min-width: 0;
}

.stat__value {
    display: block;
    font-size: clamp(1.15rem, 5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-white);
    white-space: nowrap;
}

.stat__plus,
.stat__unit {
    font-size: 0.68em;
    font-weight: 700;
}

.stat__label {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
}


/* ==========================================================================
   08. Service 走马灯
   ========================================================================== */

.service {
    background-color: var(--color-white);
    padding-bottom: calc(var(--section-py) + 8px);
}

.service__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
}

.service__head-text {
    max-width: 1000px;
}

.service__more {
    align-self: flex-start;
}


/* 走马灯视口 */

.service__marquee {
    margin-top: var(--space-xl);
    /* 兼容老内核：只用 hidden（clip 在旧浏览器会被忽略而回退成 visible），
       视口始终裁掉两侧溢出，不允许出现原生横向滚动条 */
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

.service__track {
    display: flex;
    /* 不依赖 max-content，也不再用 CSS 关键帧位移；
       轨道宽度由内容撑开，平移由 JS 按像素驱动（见 main.js MarqueeModule） */
    position: relative;
    left: 0;
    top: 0;
    will-change: transform;
}

.service__group {
    display: flex;
    flex: 0 0 auto;
}


/* 卡片 */

.service-card {
    position: relative;
    flex: 0 0 auto;
    display: block;
    width: min(72vw, 420px);
    /* 老浏览器 flex gap 支持不一，组内间距改用卡片右外边距 */
    margin-right: var(--marquee-gap);
    aspect-ratio: 560 / 440;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: #232326;
}

.service-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.service-card__mask {
    position: absolute;
    inset: 0;
    display: block;
    background-image: linear-gradient(180deg, rgba(10, 12, 16, 0) 40%, rgba(10, 12, 16, 0.72) 100%);
    transition: opacity var(--dur) var(--ease);
}

.service-card__title {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    transition: transform var(--dur) var(--ease);
}

.service-card:hover .service-card__img {
    transform: scale(1.06);
}

.service-card:hover .service-card__title {
    transform: translateY(-4px);
}


/* ==========================================================================
   09. Products 选项卡
   ========================================================================== */

.products {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background-color: var(--color-dark);
}

.products__bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/bg-products.jpg");
    background-position: center;
    background-size: cover;
    opacity: 1;
}

.products .container {
    position: relative;
    z-index: 2;
}

.products__head {
    max-width: 1080px;
}


/* 面板 + 选项卡 */

.products__body {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.products__panel {
    position: relative;
}


/* 半透明信息卡 */

.products__card {
    position: relative;
    isolation: isolate;
    padding: 30px 24px 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.055);
}


/* 卡片水印 MX（位于内容之下） */

.products__card::after {
    content: "";
    background: url(../images/logobg.png);
    position: absolute;
    right: 30%;
    top: 4%;
    z-index: -1;
    font-size: clamp(90px, 13vw, 200px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    width: 519px;
    height: 357px;
}

.products__tag {
    margin-bottom: var(--space-md);
}

.products__name {
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.3;
    transition: opacity var(--dur-fast) var(--ease);
}

.products__desc {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: var(--fs-desc);
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
}


/* 产品图（桌面端浮动在卡片右侧并超出上边缘） */

.products__visual {
    margin-top: var(--space-md);
    overflow: hidden;
    border-radius: var(--radius-md);
}

.products__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 690;
    object-fit: cover;
    transition: opacity var(--dur) var(--ease), transform var(--dur-slow) var(--ease);
}


/* 切换时的淡出过渡 */

.products__card.is-switching,
.products__visual.is-switching {
    opacity: 0.25;
}


/* 右侧选项卡 */

.products__tabs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.products__tab {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}

.products__tab:hover {
    padding-left: 22px;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.07);
}

.products__tab.is-active {
    padding-left: 18px;
    font-weight: 700;
    color: var(--color-ink);
    background-color: var(--color-white);
}

.products__tab.is-active:hover {
    padding-left: 18px;
}


/* ==========================================================================
   10. Global 全球布局
   ========================================================================== */

.global {
    background-color: var(--color-white);
}

.global__map {
    margin-top: var(--space-lg);
}

.global__map img {
    display: block;
    
    height: auto;
    aspect-ratio: 1000 / 500;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 0 auto;
}

.global__foot {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.global__count {
    display: flex;
    align-items: flex-start;
    color: var(--color-primary);
    line-height: 0.92;
}

.global__num {
    font-size: clamp(3.4rem, 15vw, 9rem);
    font-weight: 900;
}

.global__plus {
    margin-left: 4px;
    font-size: clamp(1.4rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

.global__offices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm) var(--space-sm);
}

.office {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--color-text-muted);
}

.office__flag {
    flex: 0 0 auto;
    width: 36px;
    height: auto;
    border-radius: 1px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

.office__name {
    min-width: 0;
}


/* ==========================================================================
   11. Revolution 特色卡
   ========================================================================== */

.revolution {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background-color: #0e1013;
}

.revolution__bg {
    position: absolute;
    inset: -8% 0;
    background-image: url("../images/bg-revolution.jpg");
    background-position: center;
    background-size: cover;
    will-change: transform;
}

.revolution .container {
    position: relative;
    z-index: 2;
}

.revolution__head {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.revolution__desc {
    margin-top: var(--space-sm);
    margin-inline: auto;
    max-width: 680px;
    font-size: var(--fs-desc);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.revolution__head .btn {
    margin-top: var(--space-md);
}

.revolution__cards {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}


/* 特色卡：默认浅色，鼠标移入时整卡转红（渐变层淡入 + 文字反白 + 轻微抬升） */

.feature-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 26px 22px 30px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-ink);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}


/* 红色渐变遮罩：background-image 本身不能过渡，用伪元素淡入实现平滑变色 */

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(120deg, #ef2027 0%, #cf121a 48%, #9d060c 100%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}


/* 卡片水印 */

.feature-card::after {
    content: "MX";
    position: absolute;
    right: 6px;
    bottom: -18px;
    z-index: -1;
    font-size: clamp(80px, 12vw, 150px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    transition: color var(--dur) var(--ease);
}

.feature-card__icon {
    display: block;
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
    transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.feature-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.feature-card:hover .feature-card__icon img {
    filter: brightness(0) invert(1);
}

.feature-card__title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.feature-card__desc {
    margin-top: var(--space-xs);
    font-size: var(--fs-desc);
    line-height: 1.75;
    color: rgba(17, 18, 20, 0.62);
    transition: color var(--dur) var(--ease);
}


/* --- 鼠标移入：整卡变红 + 图标上浮放大 + 水印反白 --- */

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    color: var(--color-white);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    color: rgba(255, 255, 255, 0.12);
}

.feature-card:hover .feature-card__icon {
    color: var(--color-white);
    transform: translateY(-4px) scale(1.06);
}

.feature-card:hover .feature-card__desc {
    color: rgba(255, 255, 255, 0.9);
}


/* ==========================================================================
   12. Cases 案例画廊
   ========================================================================== */

.cases {
    background-color: var(--color-white);
}


/* 移动端：横向滚动 + 吸附；点按某张即切换它的展开态与标题 */

.cases__gallery {
    display: flex;
    gap: 12px;
    margin-top: var(--space-lg);
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.case-card {
    position: relative;
    flex: 0 0 auto;
    width: 74%;
    height: clamp(300px, 78vw, 440px);
    overflow: hidden;
    border-radius: var(--radius-xs);
    scroll-snap-align: start;
    cursor: pointer;
    /* 手风琴展开靠 flex-grow 过渡（≥768 生效），时长控制在 600ms 内 */
    transition: flex-grow var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}


/* 键盘操作时给出可见焦点环 */

.case-card:focus-visible {
    box-shadow: 0 0 0 2px var(--color-primary);
}

.case-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

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


/* 标题：移动端常显，横滑时每张图都能被识别 */

.case-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 46px 16px 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-white);
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 1;
    transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}


/* ==========================================================================
   13. Testimonial 客户评价
   ========================================================================== */

.testimonial {
    position: relative;
    overflow: hidden;
    background: url(../images/bg_21.jpg) no-repeat right 100%;
}


/* 世界地图水印（弱化处理，避免抢主体） */

.testimonial__bg {
    position: absolute;
    top: 0;
    right: -8%;
    width: 76%;
    height: 100%;
    background-image: url("../images/map-world.jpg");
    background-position: center;
    background-size: cover;
    opacity: 0.05;
    filter: grayscale(1);
    pointer-events: none;
}

.testimonial__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--space-lg);
}


/* 网格子项统一允许收缩，避免图片按 min-content 撑破布局 */

.about__inner>*,
.products__body>*,
.testimonial__inner>*,
.global__foot>*,
.revolution__cards>* {
    min-width: 0;
}

.testimonial__media {
    min-width: 0;
}

.testimonial__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-sm) 84px var(--radius-sm) var(--radius-sm);
    transition: transform var(--dur-slow) var(--ease);
}

.testimonial__media:hover img {
    transform: scale(1.03);
}

.testimonial__title {
    font-size: var(--fs-h2);
}

.testimonial__stars {
    display: flex;
    gap: 4px;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    color: #f4a900;
}

.testimonial__stars svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    stroke: none;
}


/* 评价轮播 */

.testimonial__swiper {
    width: 100%;
}

.testimonial__quote {
    font-size: var(--fs-desc);
    line-height: 1.9;
    color: #4b4c50;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: var(--space-md);
}

.testimonial__avatar {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial__name {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.testimonial__place {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    color: var(--color-text-muted);
}


/* 自定义分页器（脱离 Swiper 默认绝对定位） */

.testimonial__dots {
    position: static;
    display: flex;
    align-items: center;
    gap: 9px;
    width: auto;
    margin-top: var(--space-md);
}

.testimonial__dots .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0;
    background-color: #c9c9cd;
    opacity: 1;
    transition: background-color var(--dur-fast) var(--ease);
}

.testimonial__dots .swiper-pagination-bullet:hover {
    background-color: #9d9da4;
}

.testimonial__dots .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
}


/* ==========================================================================
   14. Contact 联系卡
   ========================================================================== */

.contact-band {
    position: relative;
    z-index: 3;
    margin-bottom: -40px;
}

.contact-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    gap: var(--space-md);
    padding: 28px 22px 32px;
    border-radius: 40px;
    background: url(../images/liuyan_26.jpg) no-repeat center;
    background-size: 100% 100%;
    box-shadow: 0 26px 60px rgba(120, 8, 13, 0.3);
}


/* 卡片右下角品牌水印 */

.contact-card::after {
    content: "";
    background: url(../images/logobg1.png) no-repeat;
    position: absolute;
    right: -6px;
    top: 50%;
    z-index: -1;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    pointer-events: none;
    width: 240px;
    height: 160px;
}

.contact-card__title {
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-white);
}

.contact-card__desc {
    margin-top: var(--space-sm);
    font-size: var(--fs-desc);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}


/* 表单 */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.contact-form__input {
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 0;
    border-radius: var(--radius-xs);
    outline: none;
    transition: box-shadow var(--dur-fast) var(--ease);
}

.contact-form__input::placeholder {
    color: #9a9aa0;
}

.contact-form__input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.contact-form__textarea {
    min-height: 76px;
    line-height: 1.6;
    resize: vertical;
}

.contact-form__submit {
    justify-self: start;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    background-color: var(--color-white);
    border: 0;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.contact-form__submit:hover {
    color: var(--color-white);
    background-color: #2a2b30;
    transform: translateY(-2px);
}

.contact-form__status {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    min-height: 20px;
}


/* ==========================================================================
   15. Footer
   ========================================================================== */

.footer {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background-color: var(--color-dark-soft);
}

.footer__bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/footbg.jpg");
    background-position: center;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

.footer__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--space-lg);
    padding-block: var(--space-xl) var(--space-lg);
}


/* 品牌区 */

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--color-white);
}

.logo-mark--footer {
    width: 56px;
    height: 34px;
}

.footer__logo-text {
    font-size: clamp(1.15rem, 3.6vw, 1.5rem);
    font-weight: 700;
}

.footer__contacts {
    margin-top: var(--space-md);
    font-size: 14px;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.68);
}

.footer__key {
    color: rgba(255, 255, 255, 0.92);
}

.footer__contacts a {
    transition: color var(--dur-fast) var(--ease);
}

.footer__contacts a:hover {
    color: var(--color-primary-light);
}

.footer__social {
    display: flex;
    gap: 20px;
    margin-top: var(--space-lg);
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: rgba(255, 255, 255, 0.86);
    transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.footer__social a:hover {
    color: var(--color-primary-light);
    transform: translateY(-3px);
}

.footer__social svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}


/* 导航列 */

.footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md) var(--space-sm);
}

.footer__col-title {
    margin-bottom: var(--space-sm);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
}

.footer__links a {
    display: inline-block;
    transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.footer__links a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}


/* 版权条 */

.footer__bottom {
    position: relative;
    z-index: 2;
    padding-block: 22px;
    background-color: #050506;
}

.footer__copyright {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}


/* ==========================================================================
   16. 动画
   ========================================================================== */


/* --- 首屏加载入场：元素自上而下依次淡入 --- */

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translate3d(0, 42px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}


/* 仅在支持 JS 时启用初始隐藏，避免脚本失效导致内容不可见 */

.js .hero__anim {
    opacity: 0;
}

.hero__slide.is-entered .hero__anim {
    animation: heroIn var(--dur-slow) var(--ease) both;
}

.hero__slide.is-entered .hero__title {
    animation-delay: 0.12s;
}

.hero__slide.is-entered .hero__desc {
    animation-delay: 0.26s;
}

.hero__slide.is-entered .hero__actions {
    animation-delay: 0.4s;
}


/* --- 滚动进入视口：淡入 + 位移（进入/离开都会切换状态，可重复播放） --- */

.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 46px, 0);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
    backface-visibility: hidden;
}

.js [data-reveal="left"] {
    transform: translate3d(-58px, 0, 0);
}

.js [data-reveal="right"] {
    transform: translate3d(58px, 0, 0);
}

.js [data-reveal="zoom"] {
    transform: scale(0.95);
}

.js [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/* --- 手机 / 平板：左右滑入改为上下淡入（修复横向滚动条） ---
   原因：data-reveal="left" / "right" 用 translate3d(±58px) 做入场位移，
   这些区块贴 container 边缘，未入场时右边界 = 视口宽度 - padding + 58px，
   390px 的 iPhone 上 document.scrollWidth 会变成 426px；而 body 上的
   overflow-x:hidden 在 iOS Safari 不生效，于是页面能左右滑动 / 出现横向滚动条。
   这里把手机和平板的横向位移改成纵向位移，动画节奏不变，溢出从源头消失。 */

@media (max-width: 1023px) {
    .js [data-reveal="left"],
    .js [data-reveal="right"] {
        transform: translate3d(0, 46px, 0);
    }

    .js [data-reveal="left"].is-revealed,
    .js [data-reveal="right"].is-revealed {
        transform: translate3d(0, 0, 0);
    }
}


/* --- 兜底：主体区域横向裁剪 ---
   用 clip 而不是 hidden：clip 不生成滚动容器，不影响 .header 的 sticky
   （实测加在 html 上的 overflow-x:hidden / clip 都会让头部吸顶失效）。 */

main,
.footer {
    overflow-x: clip;
}


/* --- 走马灯循环 --- */

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}


/* --- 下拉 / 抽屉 / 遮罩 --- */

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropPanel {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menuIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* --- 无障碍：尊重系统「减少动态效果」设置 --- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .js [data-reveal],
    .js [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .js .hero__anim {
        opacity: 1;
    }
    .hero__slide.is-entered .hero__anim {
        animation: none;
    }
    .service__marquee {
    margin-top: var(--space-xl);
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

    .service__marquee::-webkit-scrollbar {
        height: 6px;
    }
    .service__marquee::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.18);
        border-radius: 3px;
    }
    .service__track {
        animation: none;
    }
    .about__figure:hover img,
    .service-card:hover .service-card__img,
    .case-card:hover img {
        transform: none;
    }
    /* 手风琴展开不做宽度过渡，直接切换 */
    .case-card {
        transition: none;
    }
}


/* ==========================================================================
   17. 响应式
   ========================================================================== */


/* ---------- ≥ 480px：小屏平板 ---------- */

@media (min-width: 480px) {
    .global__offices {
        gap: var(--space-md) var(--space-md);
    }
    .office {
        font-size: 15px;
    }
    .office__flag {
        width: 42px;
    }
    .contact-form__row {
        grid-template-columns: 1fr 1fr;
    }
    .case-card {
        width: 62%;
    }
}


/* ---------- ≥ 768px：平板 ---------- */

@media (min-width: 768px) {
     :root {
        --fs-base: 16px;
        --fs-label: 16px;
        --fs-desc: 16px;
        --container-pad: 32px;
        --header-h: 72px;
        --space-xl: 64px;
    }
    /* 首屏 */
    .hero__swiper {
        height: clamp(540px, 62vh, 680px);
    }
    .hero__actions {
        gap: 22px;
        margin-top: 40px;
    }
    .btn--pill {
        padding: 16px 34px;
        font-size: 17px;
    }
    /* About */
    .about__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--space-lg);
        align-items: start;
    }
    .about__stats {
        margin-top: -40px;
        margin-left: 8%;
        padding: 26px 28px 28px;
    }
    .stat__label {
        font-size: 14px;
    }
    /* Service */
    .service__head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: var(--space-lg);
    }
    .service__more {
        margin-bottom: 6px;
    }
    .service-card {
        width: min(52vw, 480px);
    }
    .service-card__title {
        font-size: 22px;
    }
    /* Products */
    .products__card {
        padding: 40px 36px 44px;
    }
    .products__visual img {
        aspect-ratio: 920 / 700;
    }
    /* Global */
    .global__foot {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .global__offices {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-md) var(--space-lg);
    }
    /* Revolution */
    .revolution__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .feature-card {
        padding: 32px 28px 36px;
    }
    /* Cases：手风琴画廊（默认第二张最宽，点击任意一张切换展开） */
    .cases__gallery {
        --cases-gap: clamp(12px, 1.4vw, 22px);
        display: flex;
        gap: var(--cases-gap);
        overflow: visible;
    }
    .case-card {
        /* 未展开的卡片均分剩余空间，展开的一张占 4 份 */
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: clamp(320px, 34vw, 460px);
    }
    .case-card.is-active {
        flex-grow: 4;
    }
    /* 大屏只在展开（或 hover）时显示标题 */
    .case-card__caption {
        opacity: 0;
        transform: translateY(16px);
    }
    .case-card.is-active .case-card__caption,
    .case-card:hover .case-card__caption {
        opacity: 1;
        transform: none;
    }
    /* Testimonial */
    .testimonial__inner {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
        gap: var(--space-lg);
        align-items: center;
    }
    /* 双栏后图片改为固定高度，1920 屏约 670px，避免正方形把这一屏撑得过高 */
    .testimonial__media img {
        aspect-ratio: auto;
        height: clamp(420px, 35vw, 670px);
        object-fit: cover;
    }
    /* Contact */
    .contact-card {
        padding: 34px 32px 38px;
    }
    .contact-form__row--message {
        grid-template-columns: minmax(0, 1fr);
        align-items: end;
        row-gap: 12px;
    }
    .contact-form__submit {
        justify-self: flex-start;
    }
    /* Footer */
    .footer__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-lg) var(--space-md);
    }
    .footer__inner {
        padding-block: var(--space-2xl) var(--space-xl);
    }
}


/* ---------- ≥ 1024px：桌面 ---------- */

@media (min-width: 1024px) {
     :root {
        --fs-base: 17px;
        --fs-label: 17px;
        --container-pad: 40px;
        --header-h: 80px;
        --section-py: clamp(48px, 4vw, 80px);
        --fs-h1: clamp(2.4rem, 3.3vw, 3.7rem);
        --fs-h2: clamp(1.9rem, 2.9vw, 3.2rem);
        --fs-h3: clamp(1.5rem, 2.4vw, 2.9rem);
    }
    body {
        line-height: 1.6;
    }
    /* 导航展开 */
    .nav {
        display: block;
        flex: 1 1 auto;
        margin-left: clamp(24px, 3.6vw, 64px);
    }
    /* 桌面导航字号略放大，避免 1080p 下偏小 */
    .nav__link {
        font-size: 16px;
    }
    .nav__list {
        justify-content: center;
        gap: clamp(26px, 4.4vw, 74px);
    }
    .nav__link {
        font-size: 16px;
    }
    .burger,
    .mobile-menu,
    .mobile-menu__mask {
        display: none !important;
    }
    .header__actions {
        gap: 8px;
    }
    .header__icon {
        width: 42px;
        height: 42px;
    }
    /* 首屏 */
    .hero__swiper {
        /* 桌面端按视口高度撑满，接近设计稿的整屏 Banner */
        height: clamp(600px, 84vh, 940px);
    }
    .hero__content {
        padding-bottom: 52px;
    }
    .hero__title {
        max-width: 900px;
    }
    .hero__desc {
        margin-top: 22px;
    }
    .hero__controls {
        bottom: 34px;
    }
    .hero__arrow {
        width: 50px;
        height: 50px;
    }
    /* About */
    .about__inner {
        grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
        gap: clamp(48px, 7.6vw, 128px);
        align-items: start;
    }
    .about__desc {
        line-height: 2;
    }
    .about__text .btn--square {
        margin-top: 44px;
        padding: 20px 32px;
        font-size: 15px;
    }
    /* 让数据条向右轻微越出图片，贴合设计稿 */
    .about__stats {
        margin-top: -52px;
        margin-left: 9%;
        margin-right: -2%;
        padding: 32px 34px 34px 42px;
    }
    .stat__value {
        font-size: clamp(1.6rem, 2.2vw, 2.5rem);
    }
    .stat__label {
        font-size: 16px;
    }
    /* Service */
    .service-card {
        width: clamp(300px, 19vw, 380px);
    }
    .service-card__title {
        left: 26px;
        right: 26px;
        bottom: 24px;
        font-size: clamp(18px, 1.15vw, 22px);
    }
    /* Products：产品图浮到卡片右侧 */
    .products__body {
        grid-template-columns: minmax(0, 1fr) clamp(240px, 17.7vw, 300px);
        gap: clamp(40px, 6vw, 94px);
        margin-top: clamp(44px, 4vw, 70px);
        align-items: start;
    }
    .products__card {
        padding: 54px 46% 56px 52px;
        min-height: 380px;
    }
    .products__visual {
        position: absolute;
        top: -13%;
        right: 8%;
        width: 42%;
        margin-top: 0;
        overflow: hidden;
        border-radius: var(--radius-md);
    }
    .products__visual img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        border-radius: var(--radius-md);
        object-fit: cover;
    }
    .products__name {
        font-size: clamp(1.4rem, 1.7vw, 1.9rem);
    }
    .products__desc {
        max-width: 520px;
    }
    .products__tag {
        font-size: 14px;
        padding: 9px 24px;
    }
    .products__tab {
        min-height: 58px;
        padding: 12px 20px;
        font-size: 20px;
    }
    .products__tabs {
        margin-top: clamp(48px, 4vw, 78px);
    }
    /* Global */
    .global__map {
        margin-top: clamp(36px, 3.6vw, 60px);
    }
    .global__foot {
        grid-template-columns: clamp(240px, 19vw, 320px) minmax(0, 1fr);
        gap: clamp(32px, 3vw, 48px);
        align-items: start;
        margin-top: clamp(28px, 2.6vw, 44px);
    }
    .global__offices {
        gap: clamp(24px, 2.6vw, 44px) clamp(24px, 3vw, 56px);
    }
    .office {
        font-size: 20px;
    }
    .office__flag {
        width: clamp(38px, 2.4vw, 44px);
    }
    /* Revolution */
    .revolution__head {
        max-width: 820px;
    }
    .revolution__head .btn {
        margin-top: 30px;
    }
    .revolution__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(20px, 2.4vw, 34px);
        margin-top: clamp(48px, 5vw, 78px);
    }
    .feature-card {
        padding: clamp(30px, 3vw, 48px) clamp(26px, 2.6vw, 40px) clamp(34px, 3.4vw, 52px);
        min-height: 260px;
    }
    .feature-card__icon {
        width: 52px;
        height: 52px;
        margin-bottom: 30px;
    }
    .feature-card__title {
        font-size: clamp(20px, 1.5vw, 26px);
    }
    /* Cases：桌面端手风琴比例（展开项约占 4/7 宽，其余各 1/7） */
    .cases__gallery {
        --cases-gap: clamp(14px, 1.4vw, 22px);
        margin-top: clamp(38px, 4vw, 62px);
        padding-bottom: 0;
    }
    .case-card {
        height: clamp(360px, 34vw, 650px);
    }
    .case-card__caption {
        padding: 70px 26px 26px;
        font-size: clamp(16px, 1.3vw, 23px);
    }
    /* Testimonial */
    .testimonial__inner {
        grid-template-columns: minmax(0, 0.93fr) minmax(0, 1fr);
        gap: clamp(48px, 6vw, 100px);
    }
    .testimonial__quote {
        line-height: 1.95;
        max-width: 620px;
    }
    .testimonial__media img {
        aspect-ratio: 1 / 1;
    }
    .testimonial__avatar {
        width: 62px;
        height: 62px;
    }
    .testimonial__name {
        font-size: 20px;
    }
    .testimonial__dots {
        margin-top: clamp(28px, 2.6vw, 44px);
    }
    /* Contact */
    .contact-card {
        grid-template-columns: clamp(220px, 19vw, 320px) minmax(0, 1fr);
        gap: clamp(32px, 4vw, 64px);
        padding: clamp(32px, 3.4vw, 52px) clamp(32px, 4vw, 64px);
        align-items: center;
    }
    .contact-card__info {
        padding-right: clamp(20px, 2vw, 34px);
        border-right: 1px solid rgba(255, 255, 255, 0.26);
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .contact-card__title {
        font-size: clamp(1.9rem, 2.6vw, 2.6rem);
    }
    .contact-card__desc {
        margin-top: 18px;
        line-height: 1.75;
    }
    .contact-form {
        gap: 18px;
    }
    .contact-form__row {
        gap: 18px;
    }
    .contact-form__input {
        padding: 14px 20px;
    }
    .contact-form__textarea {
        min-height: 66px;
        height: 66px;
        padding-top: 14px;
    }
    .contact-form__submit {
        padding: 11px 22px;
    }
    /* Footer */
    .footer__inner {
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.44fr);
        gap: clamp(48px, 6vw, 110px);
        padding-top: 150px;
    }
    .footer__nav {
        grid-template-columns: 1.45fr 1.15fr 0.7fr 1fr 1fr;
        gap: clamp(20px, 2.4vw, 44px);
    }
    .footer__col-title {
        font-size: 15px;
        margin-bottom: 22px;
    }
    .footer__links {
        gap: 14px;
        font-size: 15px;
    }
    .footer__contacts {
        font-size: 15px;
        line-height: 2.2;
        margin-top: 34px;
    }
    .footer__logo-text {
        font-size: 22px;
    }
    .footer__bottom {
        padding-block: 26px;
    }
    .footer__copyright {
        font-size: 15px;
    }
    /* 走马灯卡片间距按设计稿放大 */
    .service__marquee {
        margin-top: clamp(38px, 4vw, 64px);
    }
    .contact-band {
        margin-bottom: -120px;
    }
}


/* ---------- ≥ 1440px：宽屏微调 ---------- */

@media (min-width: 1440px) {
     :root {
        --container-pad: 48px;
    }
    .nav__list {
        gap: clamp(34px, 4.6vw, 78px);
    }
    .hero__title {
        max-width: 980px;
    }
    .contact-band {
        margin-bottom: -120px;
    }
}


/* ---------- ≥ 1748px：容器达到 1700px 时取消左右内边距 ---------- */

@media (min-width: 1748px) {
     :root {
        --container-pad: 0px;
        /* 1920 台式机：详情段落放大到 20px */
        --fs-desc: 20px;
    }
    /* 大屏下导航与页脚信息层级同步放大，整体不至于偏小 */
    .nav__link {
        font-size: 18px;
    }
    .footer__contacts,
    .footer__links,
    .footer__copyright {
        font-size: 16px;
    }
    .contact-band {
        margin-bottom: -120px;
    }
}
/* （注：内容由AI生成） */