/* ============================================================
   适配方案：rem（双端）
     - 浏览器端（PC）：设计稿基准 1920px，根字号 = min(视口,1920)/1920*100
     - H5 端（移动端）：设计稿基准 750px，根字号 = min(视口,750)/750*100
   说明：
     - 默认样式按 H5（750 基准）书写
     - html[data-mode="pc"] 内按浏览器端（1920 基准）覆盖
     - 媒体查询一律使用 px，避免随根字号漂移
   ============================================================ */

/* ---------- 本地字体（assets/font） ---------- */
@font-face {
    font-family: "Montserrat";
    src: url("../assets/font/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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


:root {
    color-scheme: dark;
    /* 主题色（按项目品牌调整） */
    --c-primary: #4f7cff;
    --c-primary-soft: #7aa2ff;
    --c-accent: #22d3ee;
    --c-bg: white;
    --c-bg-soft: #101830;
    --c-border: rgba(255, 255, 255, 0.08);
    --c-text: #eef2ff;
    --c-muted: #9aa5c4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* 该值会被 framework.js 动态覆盖，此处作为回退基准 */
    font-size: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    /* H5：内容最大宽度 750px（7.5rem） */
    max-width: 7.5rem;
    margin: 0 auto;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

/* ---------- 顶部导航（上半信息条 + 下半主导航） ---------- */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 19.2rem;
    z-index: 100;
    padding: 0 1.6rem;
    /* 左右 160px */
    display: flex;
    flex-direction: column;
    background: #000;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

/* 滚动后：黑色磨砂遮罩 */
.header.is-scrolled {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(0.2rem);
    -webkit-backdrop-filter: blur(0.2rem);
}

/* ---------- 上半部分：宣传语 + 搜索 + 语言切换 ---------- */
.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 0.4rem;
    /* 40px */
}

.header__top-left {
    display: flex;
    align-items: center;
    min-width: 0;
}

.header__top-icon {
    width: 0.14rem;
    /* 14px */
    height: 0.14rem;
    /* 14px */
    margin-right: 0.11rem;
    /* 11px */
    flex-shrink: 0;
    display: block;
}

.header__top-text {
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 0.12rem;
    /* 12px */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header__top-right {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

/* 搜索（icon + 文字整体包在 a 内） */
.header__search {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
}

.header__search-icon {
    width: 0.16rem;
    /* 16px */
    height: 0.16rem;
    /* 16px */
    display: block;
}

.header__search-text {
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    /* 16px */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* ---------- 下半部分：Logo + 导航 + Get a Quote ---------- */
.header__bottom {
    position: relative; /* 作为二级菜单 .nav-mega 的定位锚点 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: 100%;
    height: 0.8rem;
    /* 80px */
}

.header__bottom-right {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

/* ---------- 主导航 ---------- */
.header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    height: 100%;
    flex: 1 1 auto;
    min-width: 0;
}

.header__nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    /* 16px */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

/* 选中/悬停横线（从中间向两侧生长） */
.header__nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.03rem;
    background: #044EAD;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

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

/* 悬停文字变亮 */
.header__nav-item:hover {
    color: #7aa2ff;
}

/* ============================================================
   Products 导航二级菜单（common.js 动态注入）
   面板 1920×336，左内边距 267；左分类 + 右产品卡
   ============================================================ */
.header__nav-item-wrap {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.nav-mega {
    position: absolute;
    top: 100%;
    left: -1.6rem;
    right: 0;
    height: 3.36rem; /* 336px */
    padding-left: 2.67rem; /* 267px */
    box-sizing: border-box;
    background: #FFF;
    box-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.12rem);
    transition: opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.35s;
    z-index: 40;
    width: 19.2rem;
}

/* 悬浮 Products（或键盘聚焦）时展开 */
.header__nav-item-wrap:hover .nav-mega,
.header__nav-item-wrap:focus-within .nav-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------- 左侧分类列表：上下间隔 19，右边距 130 ---------- */
.nav-mega__cats {
    display: flex;
    flex-direction: column;
    gap: 0.19rem; /* 上下间隔 19px */
    flex-shrink: 0;
}

.nav-mega__cat {
    display: flex;
    align-items: center;
    padding-right: 1.3rem; /* 右边距 130px（悬浮热区延伸，避免穿越间隙时右侧内容闪烁） */
    text-decoration: none;
}

.nav-mega__cat-icon {
    width: 0.5rem; /* 50px */
    height: 0.5rem; /* 50px */
    margin-right: 0.3rem; /* 右边距 30px */
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.3s ease;
}

.nav-mega__cat-text {
    color: #333;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem; /* 16px */
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 分类悬浮/选中：图标放大微旋 + 发光（选中态由 JS 添加 is-active，支持任意分类数量） */
.nav-mega__cat:hover .nav-mega__cat-icon,
.nav-mega__cat.is-active .nav-mega__cat-icon {
    transform: rotate(-6deg) scale(1.15);
    filter: drop-shadow(0 0 0.08rem rgba(4, 78, 173, 0.5));
}

.nav-mega__cat:hover .nav-mega__cat-text,
.nav-mega__cat.is-active .nav-mega__cat-text {
    color: #044EAD;
    transform: translateX(0.04rem);
}

/* ---------- 右侧产品卡片：四组层叠，悬浮分类时切换 ---------- */
.nav-mega__pros {
    position: relative;
    flex: 1;
    align-self: stretch;
    min-width: 0;
}

.nav-mega__pros-group {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: none;
    align-items: center;
    gap: 0.27rem; /* 卡片间隔 27px */
}

/* 显示当前选中组（is-active 由 JS 控制：默认第一组，悬浮切换，鼠标离开后保持最后选中） */
.nav-mega__pros-group.is-active {
    display: flex;
}

.nav-mega__pro {
    display: block;
    width: 2.8rem; /* 280px（278 + 2×1px 边框） */
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nav-mega__pro-img {
    position: relative;
    width: 2.8rem; /* 278px + 2×1px 边框 */
    height: 1.7rem; /* 170px */
    margin-bottom: 0.2rem; /* 下边距 20px */
    border: 1px solid #D9D9D9;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 0.35s ease;
}

/* 悬浮时斜切高光扫过图片 */
.nav-mega__pro-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

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

.nav-mega__pro-name {
    display: block;
    color: #333;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem; /* 16px */
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: color 0.3s ease;
}

/* 切换分类时右侧产品依次上浮入场 */
.nav-mega__pro {
    animation: nav-pro-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.nav-mega__pro:nth-child(1) { animation-delay: 0s; }
.nav-mega__pro:nth-child(2) { animation-delay: 0.07s; }
.nav-mega__pro:nth-child(3) { animation-delay: 0.14s; }

@keyframes nav-pro-in {
    0% {
        opacity: 0;
        transform: translateY(0.15rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 产品卡悬浮：边框点亮 + 高光扫过 + 图片缩放 + 标题变蓝 */
.nav-mega__pro:hover .nav-mega__pro-img {
    border-color: #044EAD;
}

.nav-mega__pro:hover .nav-mega__pro-img::after {
    left: 130%;
}

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

.nav-mega__pro:hover .nav-mega__pro-name {
    color: #044EAD;
}

/* H5 下不显示二级菜单 */
html[data-mode="h5"] .nav-mega {
    display: none;
}

/* ============================================================
   通用小下拉二级菜单（About Us 等，标记 .has-sub）
   桌面 hover 展开；触屏由 framework.js 处理点击展开
   ============================================================ */
.header__nav-item-wrap.has-sub {
    position: relative; /* 作为 .nav-sub 定位锚点 */
}

/* 触发项右侧下拉箭头 */
.header__nav-caret {
    width: 0.12rem;
    height: 0.12rem;
    margin-left: 0.04rem;
    transition: transform 0.3s ease;
}

.header__nav-item-wrap.has-sub:hover .header__nav-caret,
.header__nav-item-wrap.has-sub.is-open .header__nav-caret {
    transform: rotate(180deg);
}

.nav-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0.12rem);
    min-width: 1.9rem;
    padding: 0.1rem 0;
    box-sizing: border-box;
    background: #FFF;
    border-radius: 0.06rem;
    box-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.3s;
    z-index: 41;
}

/* 悬浮热区桥：避免鼠标从导航移入面板经过间隙时闪关 */
.nav-sub::before {
    content: "";
    position: absolute;
    top: -0.12rem;
    left: 0;
    right: 0;
    height: 0.12rem;
}

/* 悬浮 / 触屏展开 / 键盘聚焦时显示 */
.header__nav-item-wrap.has-sub:hover .nav-sub,
.header__nav-item-wrap.has-sub.is-open .nav-sub,
.header__nav-item-wrap.has-sub:focus-within .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-sub__link {
    display: block;
    padding: 0.11rem 0.24rem;
    color: #333;
    font-family: "Montserrat", sans-serif;
    font-size: 0.14rem;
    font-style: normal;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-sub__link:hover {
    color: #044EAD;
    background: #F3F6FB;
}

/* H5 下不显示小下拉与箭头（移动端走全屏菜单） */
html[data-mode="h5"] .nav-sub,
html[data-mode="h5"] .header__nav-caret {
    display: none;
}

/* ---------- 品牌 Logo（文字） ---------- */
.header__brand {
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 0.36rem;
    /* 36px */
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---------- 语言切换 ---------- */
.header__lang {
        display: flex;
    align-items: center;
    gap: 0.06rem;
    color: #FFF;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
    padding: 0 0.04rem;
    user-select: none;
font-family: Montserrat;
}

/* ============================================================
   语言切换器（TranslatePress 插件结构，DOM 与源站输出一致）
   布局：ANCHOR 层流内撑起尺寸，OVERLAY 层绝对定位叠加交互
   颜色：跟随 .header__lang（#FFF），下拉列表为白底深字
   ============================================================ */
.header__inner-right-language--switcher {
    position: relative;
    width: auto;
    min-width: 0.72rem;
    padding: 0 0.16rem;
}

/* 插件 wrapper：下拉定位锚 */
.header__inner-right-language--switcher .trp-shortcode-switcher__wrapper {
    position: relative;
    border: none;
}

/* 插件 shortcode 开关基础样式：去除插件默认胶囊外观，跟随 header 胶囊 */
.header__inner-right-language--switcher .trp-shortcode-switcher {
    position: static;
    display: block;
    overflow: visible;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* OVERLAY 层：绝对定位叠加在 ANCHOR 之上（插件定位规则） */
.header__inner-right-language--switcher .trp-shortcode-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.header__inner-right-language--switcher .trp-language-item {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    min-height: 0.19rem;
    box-sizing: content-box;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* 主题同款：当前语言行隐藏旗帜与箭头，仅显示文字 */
.header__inner-right-language--switcher .trp-current-language-item__wrapper svg,
.header__inner-right-language--switcher .trp-current-language-item__wrapper img {
    display: none;
}

/* 旗帜（下拉列表内） */
.header__inner-right-language--switcher img.trp-flag-image {
    width: 0.18rem;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 0.1rem 0 0;
    border-radius: 0.02rem;
}

.header__inner-right-language--switcher .trp-language-item-name {
    color: inherit;
    font-size: inherit;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 下拉列表（白底阴影 + hover 缩放展开） ---------- */
.header__inner-right-language--switcher .trp-switcher-dropdown-list {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 1.6rem;
    margin: 0;
    padding: 0.1rem;
    box-sizing: border-box;
    display: block;
    background: #fff;
    border-radius: 0.05rem;
    box-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(0) scale(0);
    transform-origin: top center;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 9999;
}

.header__inner-right-language--switcher .trp-language-switcher:hover .trp-switcher-dropdown-list,
.header__inner-right-language--switcher .trp-language-switcher:focus-within .trp-switcher-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item {
    padding: 0.05rem 0.1rem;
    color: #333;
    font-size: 0.14rem;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item + .trp-language-item {
    margin-top: 0.05rem;
}

.header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item-name {
    color: #333;
    font-size: 0.14rem;
}

/* ---------- H5 移动端 ---------- */
html[data-mode="h5"] .header__inner-right-language--switcher {
    min-width: 0;
    padding: 0 0.14rem;
}

html[data-mode="h5"] .header__inner-right-language--switcher img.trp-flag-image {
    width: 0.24rem;
}

html[data-mode="h5"] .header__inner-right-language--switcher .trp-switcher-dropdown-list {
    min-width: 2.6rem;
    padding: 0.16rem;
}

html[data-mode="h5"] .header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item {
    padding: 0.08rem 0.12rem;
}

html[data-mode="h5"] .header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item,
html[data-mode="h5"] .header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item-name {
    font-size: 0.24rem;
}

/* ---------- Get a Quote 按钮 ---------- */
.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.07rem;
    /* 7px */
    padding: 0.1rem 0.2rem;
    /* 10px 20px */
    background: #044EAD;
    border-radius: 0.04rem;
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    /* 16px */
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: background-color 0.35s ease, box-shadow 0.3s ease;
}

.header__cta-icon {
    width: 0.18rem;
    /* 18px */
    height: 0.18rem;
    /* 18px */
    flex-shrink: 0;
    display: block;
}

/* 高光扫光层 */
.header__cta::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 0;
    width: 34%;
    height: 160%;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.38) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-220%) skewX(-18deg);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.25s ease;
}

/* 悬浮：扫光 + 变色 */
.header__cta:hover {
    background: #0B63D8;
    box-shadow: 0 0.03rem 0.1rem rgba(4, 78, 173, 0.4);
}

.header__cta:hover::after {
    transform: translateX(320%) skewX(-18deg);
    opacity: 1;
}

/* ---------- 遮罩 ---------- */
.nav-mask {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(5, 8, 18, 0.72);
    backdrop-filter: blur(0.06rem);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-mask.is-visible {
    opacity: 1;
}

/* ---------- 页脚 V2（首页新底部栏） ---------- */
.footer2 {
    position: relative;
}

/* 上半部分：背景图 598px */
.footer2__main {
    position: relative;
    background: #101418 url(../assets/images/footer/footer-img.webp) no-repeat center top;
    background-size: cover;
}

/* 压暗蒙层，保证文字可读 */
.footer2__main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 12, 0.78) 0%, rgba(8, 10, 12, 0.55) 50%, rgba(26, 26, 26, 0.92) 100%);
}

.footer2__inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    height: 5.98rem; /* 598px */
    padding: 0.72rem 1.6rem 0; /* 72px 160px 0 */
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
}

/* 左侧品牌 */
.footer2__brand {
    width: 3.6rem; /* 360px */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.footer2__logo {
    display: inline-block;
    margin-bottom: 0.24rem;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 0.36rem; /* 36px */
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.008rem;
    transition: text-shadow 0.3s ease;
}

.footer2__logo:hover {
    text-shadow: 0 0 0.18rem rgba(16, 120, 216, 0.8);
}

.footer2__desc {
    margin: 0 0 1.2rem;
    color: #999;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem; /* 16px */
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
}

.footer2__follow-title {
    margin: 0 0 0.22rem;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 0.24rem; /* 24px */
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* 社交图标：40x40 / #333 → 悬浮 #044EAD，扫光 + 弹跳 + 光晕 */
.footer2__social {
    display: flex;
    gap: 0.14rem;
}

.footer2__social-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.4rem; /* 40px */
    height: 0.4rem; /* 40px */
    border-radius: 50%;
    background: #333;
    overflow: hidden;
    transition: background 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.footer2__social-btn img {
    width: 0.2rem; /* 20px */
    height: 0.2rem; /* 20px */
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.35s ease;
}

/* 悬浮扫光 */
.footer2__social-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.footer2__social-btn:hover {
    background: #044EAD;
    transform: translateY(-0.05rem) scale(1.12);
    box-shadow: 0 0.1rem 0.22rem rgba(4, 78, 173, 0.55);
}

.footer2__social-btn:hover::after {
    left: 130%;
}

.footer2__social-btn:hover img {
    transform: scale(1.18) rotate(8deg);
}

/* 中间导航列 */
.footer2__nav {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.footer2__col {
    display: flex;
    flex-direction: column;
}

.footer2__title {
    margin: 0 0 0.26rem;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 0.24rem; /* 24px */
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* 标题下渐变横线：悬浮时延展 */
.footer2__title::after {
    content: "";
    display: block;
    width: 0.4rem; /* 40px */
    height: 0.03rem; /* 3px */
    margin-top: 0.12rem;
    background: linear-gradient(90deg, #1078D8 0%, #166198 100%);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer2__col:hover .footer2__title::after {
    width: 100%;
}

/* 导航链接：悬浮右移 + 渐变短线引出 + 变白 */
.footer2__link {
    position: relative;
    color: #999;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem; /* 16px */
    font-style: normal;
    font-weight: 400;
    line-height: 200%; /* 32px */
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer2__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0.02rem;
    background: linear-gradient(90deg, #1078D8 0%, #166198 100%);
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.footer2__link:hover {
    color: #fff;
    transform: translateX(0.24rem);
    text-shadow: 0 0 0.12rem rgba(16, 120, 216, 0.55);
}

.footer2__link:hover::before {
    width: 0.16rem;
}

/* 右侧联系方式：318px */
.footer2__contact {
    width: 3.18rem; /* 318px */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}

.footer2__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.16rem;
    cursor: default;
}

.footer2__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.4rem; /* 40px */
    height: 0.4rem; /* 40px */
    flex-shrink: 0;
    border-radius: 50%;
    background: #333;
    transition: background 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.footer2__contact-icon img {
    width: 0.24rem; /* 24px */
    height: 0.24rem; /* 24px */
    display: block;
    transition: transform 0.35s ease;
}

.footer2__contact-item:hover .footer2__contact-icon {
    background: #044EAD;
    transform: translateY(-0.04rem) scale(1.1) rotate(-6deg);
    box-shadow: 0 0.1rem 0.2rem rgba(4, 78, 173, 0.55);
}

.footer2__contact-item:hover .footer2__contact-icon img {
    transform: scale(1.12);
}

.footer2__contact-text {
    flex: 1;
}

.footer2__contact-title {
    margin: 0 0 0.08rem;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem; /* 16px */
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.footer2__contact-desc {
    margin: 0;
    color: #999;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem; /* 16px */
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    word-break: break-word;
}

/* 下半部分：版权条 60px */
.footer2__bar {
    box-sizing: border-box;
    height: 0.6rem; /* 60px */
    padding: 0 1.6rem; /* 0 160px */
    background: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #999;
    font-family: Montserrat, sans-serif;
    font-size: 0.16rem; /* 16px */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer2__bar-right {
    display: flex;
    align-items: center;
}

.footer2__bar-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer2__bar-link:hover {
    color: #fff;
}

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

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

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

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

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

.side-float__btn--mail {
    background: #044EAD;
}

.side-float__btn--mail::before {
    border: 0.02rem solid #044EAD;
}

.side-float__btn--whatsapp {
    background: #25D366;
}

.side-float__btn--whatsapp::before {
    border: 0.02rem solid #25D366;
}

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

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

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

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

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

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

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

/* ---------- 页脚 V2 / 悬浮栏 H5 适配 ---------- */
html[data-mode="h5"] .footer2__inner {
    flex-direction: column;
    height: auto;
    padding: 0.5rem 0.3rem 0.5rem;
    gap: 0.5rem;
}

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

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

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

/* H5 端：底部导航列可展开收起（手风琴） */
html[data-mode="h5"] .footer2__col .footer2__title {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding-right: 0.5rem;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* 展开箭头（纯 CSS 绘制，PC 端不显示） */
html[data-mode="h5"] .footer2__col .footer2__title::before {
    content: "";
    position: absolute;
    top: 0.04rem;
    right: 0.06rem;
    width: 0.15rem;
    height: 0.15rem;
    border-right: 0.03rem solid #fff;
    border-bottom: 0.03rem solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

html[data-mode="h5"] .footer2__col.is-open .footer2__title::before {
    top: 0.12rem;
    transform: rotate(225deg);
}

/* 收起状态：链接隐藏 */
html[data-mode="h5"] .footer2__col .footer2__link {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-0.08rem);
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* 展开状态：链接显示 */
html[data-mode="h5"] .footer2__col.is-open .footer2__link {
    max-height: 4rem;
    opacity: 1;
    transform: none;
}

html[data-mode="h5"] .footer2__col.is-open .footer2__title {
    margin-bottom: 0.26rem;
}

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

html[data-mode="h5"] .footer2__bar {
    flex-direction: column;
    height: auto;
    padding: 0.22rem 0.3rem;
    gap: 0.08rem;
    text-align: center;
}

html[data-mode="h5"] .side-float {
    right: 0.16rem;
    bottom: 0.5rem;
}

/* ---------- 浮动侧边栏 ---------- */
.float-bar {
    position: fixed;
    right: 0.2rem;
    bottom: 3.54rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
}

.float-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.float-bar__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.3);
}

.float-bar__btn--email {
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
}

.float-bar__btn--phone {
    background: linear-gradient(135deg, #52C41A 0%, #389E0D 100%);
}

.float-bar__btn--top {
    background: #333;
    color: #fff;
}

.float-bar__btn img {
    width: 0.3rem;
    height: 0.3rem;
    display: block;
}

.float-bar__btn--top img {
    width: 0.36rem;
    height: 0.36rem;
}

/* ============================================================
   浏览器端（PC，1920 设计稿基准）尺寸覆盖
   由 framework.js 在 html 上设置 data-mode="pc"
   ============================================================ */
html[data-mode="pc"] body {
    max-width: 19.2rem;
    /* 1920px */
}

/* ============================================================
   Get a Quote 弹窗（全局，由 framework.js 动态注入）
   设计稿：777 × 576px，圆角 10px
   ============================================================ */
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal.is-open {
    opacity: 1;
    visibility: visible;
}

body.quote-modal-open {
    overflow: hidden;
}

.quote-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(0.04rem);
}

.quote-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 7.77rem;
    /* 777px */
    /* 576px */
    max-width: 100%;
    max-height: 100%;
    background: #fff;
    border-radius: 0.1rem;
    /* 10px */
    overflow: hidden;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.3);
    transform: translateY(0.2rem) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-modal.is-open .quote-modal__dialog {
    transform: translateY(0) scale(1);
}

/* ---------- 头部：深色渐变 + 右上角产品图 ---------- */
.quote-modal__head {
    position: relative;
    flex: 0 0 1.44rem;
    /* 144px */
    border-radius: 0.1rem 0.1rem 0 0;
    background: linear-gradient(270deg, #000 9.9%, #1d2235 90.78%);
    /* 允许 hero 图溢出 head，配合 z-index 浮在表单之上 */
    overflow: visible;
}

.quote-modal__title {
    position: absolute;
    left: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    color: #fff;
    font-family: "Figtree", sans-serif;
    font-size: 0.4rem;
    /* 40px */
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* hero 图保持原尺寸（317x238），head 高度不变（144px），
   图片溢出的下半部分通过 z-index 浮在表单之上，完整显示不被遮盖 */
.quote-modal__hero {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 3.17rem;
    /* 317px */
    height: 2.38rem;
    /* 238px */
    object-fit: cover;
    pointer-events: none;
}

/* ---------- 表单（结构与 footer 第一屏一致；form 内部不使用 class，
   基础样式由 common.css 的“外层结构选择器”提供） ----------
   注意：common.css 晚于 framework.css 加载，这里保留 .quote-modal 前缀
   提高优先级，确保弹窗覆盖共享基础规则中的尺寸类属性 */
.quote-modal .quote-modal__dialog form {
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: 0.49rem 0.4rem 0.28rem;
    background: transparent;
    border-radius: 0;
    overflow-y: auto;
}

.quote-modal .quote-modal__dialog form > ul {
    justify-content: center;
    row-gap: 0.14rem;
    margin-bottom: 0.18rem;
}

/* 字段宽度沿用 footer 规则（前 4 个 300px 两列，后 2 个 644px 整行），仅压缩行高以适配弹窗 */
.quote-modal .quote-modal__dialog form > ul > li {
    min-height: auto !important;
}

/* 弹窗表单无 .is-in 入场动画，提交按钮间距比 footer 略紧凑 */
.quote-modal .quote-modal__dialog form > button[type="submit"] {
    margin: 0.12rem 0 0;
    padding: 0.16rem 0.3rem;
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .quote-modal {
    padding: 0.16rem;
}

html[data-mode="h5"] .quote-modal__dialog {
    width: 100%;
    height: auto;
    max-height: 92vh;
}

html[data-mode="h5"] .quote-modal__head {
    flex-basis: 1.44rem;
}

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

html[data-mode="h5"] .quote-modal__hero {
    display: none;
}

html[data-mode="h5"] .quote-modal .quote-modal__dialog form {
    padding: 0.3rem;
}

html[data-mode="h5"] .quote-modal .quote-modal__dialog form > ul {
    flex-direction: column;
    gap: 0.24rem;
}

html[data-mode="h5"] .quote-modal .quote-modal__dialog form > ul > li {
    width: 100%;
}

html[data-mode="h5"] .quote-modal .quote-modal__dialog form > button[type="submit"] {
    font-size: 0.28rem;
}

/* 无障碍焦点样式 */
a:focus-visible,
button:focus-visible {
    outline: 0.02rem solid var(--c-accent);
    outline-offset: 0.04rem;
}

/* ---------- 全局滚动条：与主题色统一 ---------- */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

/* 去掉上下/左右的小箭头按钮 */
::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

/* 轨道透明，融入页面背景 */
::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0A4BA8 0%, #02347D 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1E62C9 0%, #0A4BA8 100%);
}

/* 角落与页面背景同色 */
::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox：scrollbar-color 是标准属性，Chrome/Edge 121+ 也支持，
   且一旦生效会禁用上方全部 ::-webkit-scrollbar 自定义，
   因此用 @supports 限定只在 Firefox 生效 */
@supports (-moz-appearance: none) {
    html {
        scrollbar-width: thin;
        scrollbar-color: #02347D transparent;
    }
}