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

/* ---------- 本地字体 ---------- */
@font-face {
    font-family: "AkzidenzGroteskBQ";
    src: url("../assets/font/AkzidenzGroteskBQ-XBdCnd.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../assets/font/Roboto-Regular.woff2") format("woff2"),
        url("../assets/font/Roboto-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../assets/font/Roboto-Medium.woff2") format("woff2"),
        url("../assets/font/Roboto-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../assets/font/Roboto-Bold.woff2") format("woff2"),
        url("../assets/font/Roboto-Bold.woff") format("woff");
    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;
}

/* ---------- 顶部导航（居中 logo + 左右分组） ---------- */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 7.5rem;
    z-index: 100;
    height: 0.8rem;
    padding: 0 0.4rem;
    display: flex;
    align-items: center;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

/* 滚动后：磨砂玻璃背景 */
.header.is-scrolled {
    background: rgba(8, 18, 38, 0.55);
    backdrop-filter: blur(0.2rem);
    -webkit-backdrop-filter: blur(0.2rem);
}

.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 0.3rem;
}

/* 三个分组 */
.header__group {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
}

.header__group--left {
    justify-content: flex-start;
    gap: 0.3rem;
}

.header__group--center {
    flex-direction: column;
    justify-content: center;
    gap: 0.053rem;
    flex-shrink: 0;
    padding: 0 0.2rem;
}

.header__group--right {
    justify-content: flex-end;
    gap: 0.2rem;
}

/* ---------- 搜索图标 ---------- */
.header__search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.3rem;
    height: 0.3rem;
    cursor: pointer;
    padding: 0;
}

.header__search img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---------- 导航项 ---------- */
.header__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.header__nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 0.18rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    padding: 0.04rem 0;
    transition: color 0.3s ease;
}

.header__nav-item:hover,
.header__nav-item.is-active {
    color: #FFF;
}

/* 激活项下方横线：白色 3px，紧贴 nav 底部 */
.header__nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.03rem;
    background: #FFF;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.header__nav-item.is-active::after,
.header__nav-item:hover::after {
    opacity: 1;
}

/* ---------- 二级下拉菜单 ---------- */
/* 有子菜单的导航项外层容器：承担定位锚与 hover 区域 */
.header__nav-item-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

/* 悬停桥接区：填补导航与下拉面板之间的空隙，鼠标移动不中断 hover */
.header__nav-item-wrap.has-sub::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.12rem;
}

/* 顶部小三角：衔接导航与下拉面板 */
.header__submenu::before {
    content: "";
    position: absolute;
    top: -0.05rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 0.1rem;
    height: 0.1rem;
    background: rgba(8, 18, 38, 0.95);
    border-radius: 0.01rem;
}

/* 顶部强调线：与导航底部横线呼应 */
.header__submenu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0.14rem;
    right: 0.14rem;
    height: 0.02rem;
    background: linear-gradient(90deg, rgba(0, 184, 226, 0) 0%, #00B8E2 50%, rgba(0, 184, 226, 0) 100%);
    opacity: 0.9;
}

.header__submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 1.9rem;
    margin-top: 0.12rem;
    padding: 0.1rem 0.08rem;
    box-sizing: border-box;
    background: rgba(8, 18, 38, 0.92);
    backdrop-filter: blur(0.16rem);
    -webkit-backdrop-filter: blur(0.16rem);
    border: 0.01rem solid rgba(255, 255, 255, 0.08);
    border-radius: 0.08rem;
    box-shadow: 0 0.02rem 0.06rem rgba(0, 0, 0, 0.08),
        0 0.06rem 0.2rem rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-0.06rem);
    transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s;
    z-index: 9990;
}

.header__nav-item-wrap.has-sub:hover .header__submenu,
.header__nav-item-wrap.has-sub:focus-within .header__submenu,
.header__nav-item-wrap.has-sub.is-open .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.header__submenu a {
    position: relative;
    display: block;
    padding: 0.09rem 0.14rem;
    border-radius: 0.05rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: Inter, sans-serif;
    font-size: 0.14rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.005rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

/* 左侧滑入的小短杠，呼应导航底部横线 */
.header__submenu a::before {
    content: "";
    position: absolute;
    left: 0.04rem;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 0.03rem;
    height: 60%;
    border-radius: 0.02rem;
    background: #00B8E2;
    transition: transform 0.18s ease;
}

.header__submenu a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #FFF;
    padding-left: 0.18rem;
}

.header__submenu a:hover::before {
    transform: translateY(-50%) scaleY(1);
}

.header__submenu a + a {
    margin-top: 0.02rem;
}

/* ---------- 品牌 Logo ---------- */
.header__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #FFF;
    flex-shrink: 0;
    gap: 0.053rem;
}

.header__brand-img {
    width: 0.98rem;
    height: 0.58rem;
    display: block;
    margin-bottom: 0.053rem;
    object-fit: contain;
}

.header__brand-text {
        text-align: center;
    color: #FFF;
    font-family: Inter, sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.009rem;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__brand-en {
    font-size: 0.06rem;
    margin-bottom: 0.02rem;
}

.header__brand-zh {
    font-size: 0.07rem;
    display: inline-block;
    position: relative;
    width: max-content;
}

.header__brand-zh::before,
.header__brand-zh::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0.18rem;
    height: 0.01rem;
    background: #FFF;
}

.header__brand-zh::before {
    right: 100%;
    margin-right: 0.08rem;
}

.header__brand-zh::after {
    left: 100%;
    margin-left: 0.08rem;
}

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

.header__lang-icon {
    width: 0.22rem;
    height: 0.22rem;
    display: block;
}

.header__lang-arrow {
    font-size: 0.14rem;
    line-height: 1;
}

/* ============================================================
   语言切换器（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;
    justify-content: center;
    padding: 0.1rem 0.2rem;
    border-radius: 0.62rem;
    background: var(--Style, #02347D);
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(100deg, #0A4BA8 0%, #014ADC 100%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: 0 0;
    transition: background-size 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease;
}

/* 高光扫过层 */
.header__cta::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 0;
    width: 30%;
    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(-260%) 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-image: linear-gradient(100deg, #0A4BA8 0%, #014ADC 100%);
    background-size: 100% 100%;
    transform: translateY(-0.01rem);
    opacity: 1;
    box-shadow: 0 0.03rem 0.1rem rgba(2, 52, 125, 0.28);
}

.header__cta:hover::after {
    transform: translateX(360%) 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;
}

/* ---------- 页脚 第二屏 ---------- */
.footer {
    position: relative;
    background: #0a0a0a url(../assets/images/footer/first-img2.webp) no-repeat center top;
    background-size: 100% 8.24rem;
    color: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

/* 顶部加深可读层，仅作用于上半部分，不影响版权栏对比 */
.footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 7.11rem;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
}

.footer__inner,
.footer__bar {
    position: relative;
    z-index: 1;
}

.footer__inner {
    padding: 0.55rem 1.6rem 0;
    /* 55px 160px 0 */
    box-sizing: border-box;
}

/* 品牌行 */
.footer__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.87rem;
    /* 87px */
}

.footer__brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.footer__brand-logo {
    width: 0.93rem;
    /* 93px */
    height: 0.62rem;
    /* 62px */
    margin-right: 0.1rem;
    /* 10px */
    display: block;
}

.footer__brand-name {
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 0.24rem;
    /* 24px */
    font-style: normal;
    font-weight: 700;
    line-height: 125%;
}

/* 社交图标 */
.footer__social {
    display: flex;
    align-items: center;
}

.footer__social-label {
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 0.24rem;
    /* 24px */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-right: 0.3rem;
    /* 30px */
}

.footer__social-icons {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    /* 10px */
}

.footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.41191rem;
    /* 41.191px */
    height: 0.41191rem;
    border-radius: 50%;
    background: #fff;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer__social-icon:hover {
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
    transform: translateY(-0.02rem);
}

.footer__social-icon img {
    width: 0.2746rem;
    /* 27.46px */
    height: 0.2746rem;
    display: block;
}

/* 四列导航 */
.footer__nav {
    display: flex;
    justify-content: space-between;
    gap: 0.3rem;
}

.footer__col {
    display: flex;
    flex-direction: column;
    min-width: 1.4rem;
}

.footer__title {
    position: relative;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 0.22rem;
    /* 22px */
    font-style: normal;
    font-weight: 700;
    line-height: 0.28rem;
    /* 28px */
    padding-top: 0.14rem;
    margin-bottom: 0.2rem;
}

/* 列标题上方横线 */
.footer__title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2.1rem;
    /* 210px */
    height: 0.01rem;
    /* 1px */
    background: #fff;
    opacity: 0.3;
}

.footer__link {
    color: #eaf5ff;
    font-family: Inter, sans-serif;
    font-size: 0.14rem;
    /* 14px */
    font-style: normal;
    font-weight: 500;
    line-height: 0.2rem;
    /* 20px */
    text-decoration: none;
    margin-bottom: 0.06rem;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #00b8e2;
}

/* Catalog 列：联系方式 + 二维码 */
.footer__col--catalog {
    min-width: 3rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 0.14rem;
    /* 14px */
    font-weight: 400;
    line-height: 0.2rem;
    /* 20px */
}

.footer__contact-item--address {
    align-items: flex-start;
}

.footer__contact-item--address .footer__contact-icon {
    margin-top: 0.02rem;
}

.footer__contact-icon {
    width: 0.16rem;
    /* 16px */
    height: 0.16rem;
    display: block;
    flex-shrink: 0;
}

/* 二维码 */
.footer__qrcodes {
    display: flex;
    gap: 0.18rem;
    margin-top: 0.22rem;
        padding-left: 0.27rem;
}

.footer__qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.06rem;
}

.footer__qrcode-img {
    position: relative;
    width: 1.1rem;
    /* 110px */
    height: 1.1rem;
    background: #fff;
    border-radius: 0.04rem;
    overflow: hidden;
}

.footer__qrcode-img > img:first-child {
    width: 100%;
    height: 100%;
    display: block;
}

.footer__qrcode-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.3rem;
    /* 30px */
    height: 0.3rem;
    background: #fff;
    border-radius: 0.05rem;
    padding: 0.02rem;
    box-sizing: content-box;
    box-shadow: 0 0 0 0.02rem #fff;
}

.footer__qrcode-label {
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 0.14rem;
    font-weight: 400;
    line-height: normal;
}

/* 版权栏 */
.footer__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
    padding: 0.22rem 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFF;
    font-family: Inter;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.footer__bar-right {
    display: flex;
    align-items: center;
    gap: 0.12rem;
}

.footer__bar-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer__bar-divider {
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- H5 页脚：列纵向堆叠 + 文本列可折叠 ---------- */
html[data-mode="h5"] .footer__inner {
    padding: 0.4rem 0.3rem 0;
}

html[data-mode="h5"] .footer__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.4rem;
}

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

html[data-mode="h5"] .footer__col {
    padding-bottom: 0.16rem;
    margin-bottom: 0.16rem;
}

html[data-mode="h5"] .footer__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.1rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-bottom: 0;
}

html[data-mode="h5"] .footer__title::after {
    content: "";
    width: 0.12rem;
    height: 0.12rem;
    border-right: 0.02rem solid #fff;
    border-bottom: 0.02rem solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

html[data-mode="h5"] .footer__col.is-open .footer__title::after {
    transform: rotate(-135deg);
}

html[data-mode="h5"] .footer__col > *:not(.footer__title) {
    display: none;
}

html[data-mode="h5"] .footer__col.is-open > *:not(.footer__title) {
    display: flex;
    animation: footer-col-in 0.3s ease;
}

html[data-mode="h5"] .footer__col--static .footer__title {
    cursor: default;
}

html[data-mode="h5"] .footer__col--static .footer__title::after {
    display: none;
}

html[data-mode="h5"] .footer__col--static > *:not(.footer__title) {
    display: flex;
    margin-top: 0.2rem;
}

html[data-mode="h5"] .footer__col--static .footer__qrcodes {
    margin-top: 0.22rem;
}

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

@keyframes footer-col-in {
    from {
        opacity: 0;
        transform: translateY(-0.12rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 浮动侧边栏 ---------- */
.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 */
}
html[data-mode="pc"] .header {
    max-width: 19.2rem;
    padding: 0 1.33rem;
    height: 1rem;
}

/* PC：导航文字与 logo 加大 */
html[data-mode="pc"] .header__inner {
    gap: 0.4rem;
}

html[data-mode="pc"] .header__group--left,
html[data-mode="pc"] .header__group--right {
    gap: 0.5rem;
}

html[data-mode="pc"] .header__nav-item {
    font-size: 0.18rem;
}

/* ============================================================
   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;
    }
}


/* ============================================================
   全局图片放大预览弹窗（Lightbox）
   用法：给需要点击放大的 <img> 添加 data-lightbox 属性即可，全站生效
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

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

.lightbox__img {
    display: block;
    height: 85vh;
    border-radius: 0.08rem;
    box-shadow: 0 0.24rem 0.8rem rgba(0, 0, 0, 0.5);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-open .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 0.24rem;
    right: 0.32rem;
    width: 0.44rem;
    height: 0.44rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.28rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(90deg);
}

html[data-mode="h5"] .lightbox__close {
    width: 0.56rem;
    height: 0.56rem;
    font-size: 0.36rem;
    top: 0.16rem;
    right: 0.16rem;
}