/* ============================================================
   framework.css —— 模板框架样式（每个项目共用）
   ------------------------------------------------------------
   包含：
     1. 设计令牌（tokens）：项目只需在 :root 覆盖变量即可换肤
     2. CSS Reset
     3. rem 适配脚手架：html[data-mode="pc" | "h5"] 双端模式
     4. 导航结构基础样式（.header / .header__nav / .header__submenu /
        汉堡按钮 / H5 全屏移动菜单 / 遮罩）
        —— 只提供“结构与行为”样式，视觉风格用令牌覆盖；
           布局大改也可在项目 CSS 中整段覆盖。
   配套脚本：js/rem-boot.js（head 预执行）+ js/framework.js
   加载顺序：framework.css → common.css → 页面级 css
   ============================================================ */

/* ============================================================
   1. 设计令牌 —— 按项目品牌覆盖这里即可
   ============================================================ */
:root {
    color-scheme: light;

    /* 适配基准（与 js 中 MODES 保持一致，一般不用改） */
    --design-pc: 1920;
    --design-h5: 750;

    /* 内容最大宽度：H5 7.5rem（750px），PC 19.2rem（1920px） */
    --max-w-h5: 7.5rem;
    --max-w-pc: 19.2rem;

    /* 主题色 */
    --c-primary: #02347D;
    --c-primary-2: #014ADC;
    --c-accent: #00B8E2;
    --c-accent-2: #0063C3;
    --c-error: #E02020;
    --c-success: #1E9E4A;

    /* 文本与背景 */
    --c-bg: #ffffff;
    --c-text: #333333;
    --c-muted: #666666;
    --c-border: rgba(0, 0, 0, 0.08);

    /* 导航 */
    --header-h: 1rem;
    --header-h-pc: 1rem;
    --header-pad: 0.4rem;
    --header-pad-pc: 1.33rem;
    --header-bg: transparent;
    --header-bg-scrolled: rgba(8, 18, 38, 0.55);
    --header-blur: 0.2rem;
    --nav-color: #ffffff;
    --nav-color-hover: #ffffff;
    --nav-underline: #ffffff;
    --submenu-bg: rgba(8, 18, 38, 0.92);
    --submenu-color: rgba(255, 255, 255, 0.85);

    /* 字体 */
    --font-base: "Poppins", "Inter", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* 动效缓动 */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   2. CSS Reset
   ============================================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-base);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    /* H5：内容最大宽度 750px（7.5rem） */
    max-width: var(--max-w-h5);
    margin: 0 auto;
    min-height: 100vh;
    /* clip 与 hidden 视觉等价，但不会把 body 变成滚动容器，
       避免 position: sticky（如 team 页第三屏钉屏）失效 */
    overflow-x: clip;
}

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

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

/* 表单控件默认不继承页面字体（textarea 默认还是等宽字体），
   统一继承站点字体，避免与 input/select 观感不一致 */
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ============================================================
   3. rem 适配脚手架（双端模式由 js 在 <html> 上设置 data-mode）
   ============================================================ */
/* 浏览器端（PC，1920 设计稿基准）尺寸覆盖 */
html[data-mode="pc"] body {
    max-width: var(--max-w-pc);
}

/* ============================================================
   4. 导航结构基础样式
   ------------------------------------------------------------
   ★ 项目接入规则 ★
     JS 依赖的结构钩子（类名/id 请保持）：
       .header / #nav / .header__nav-item /
       .header__nav-item-wrap.has-sub / .header__submenu /
       #menuBtn / #navMask
     项目在自己的 CSS 中覆盖颜色、字号、圆角等视觉部分；
     若布局差异大，可整段覆盖本节省对应规则。
   ============================================================ */

/* ---------- 顶部导航 ---------- */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-w-h5);
    z-index: 200;
    height: var(--header-h);
    padding: 0 var(--header-pad);
    display: flex;
    align-items: center;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

/* 滚动后：磨砂玻璃背景 */
.header.is-scrolled {
    background: var(--header-bg-scrolled);
    backdrop-filter: blur(var(--header-blur));
    -webkit-backdrop-filter: blur(var(--header-blur));
}

.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--right {
    justify-content: flex-end;
    gap: 0.2rem;
}

/* ---------- 品牌 Logo ---------- */
.header__brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: var(--nav-color);
    flex-shrink: 0;
    gap: 0.053rem;
}

.header__brand-img {
    display: block;
    object-fit: contain;
}

.header__brand-text {
    text-align: center;
    color: var(--nav-color);
    font-weight: 500;
    line-height: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.header__nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    color: var(--nav-color);
    font-family: var(--font-base);
    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: var(--nav-color-hover);
}

/* 激活项下方横线：仅定位占位，视觉与动效由第 7 节皮肤定义 */
.header__nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

/* ---------- 二级下拉菜单 ---------- */
/* 有子菜单的导航项外层容器：承担定位锚与 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: var(--header-bg-scrolled);
    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%,
            var(--c-accent) 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: var(--submenu-bg);
    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 var(--ease-out), 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: var(--submenu-color);
    font-family: var(--font-base);
    font-size: 0.14rem;
    font-weight: 500;
    line-height: 1.4;
    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: var(--c-accent);
    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;
}

/* ---------- 汉堡菜单按钮（默认隐藏，仅 H5 显示） ---------- */
.menu-btn {
    display: none;
}

html[data-mode="h5"] .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.09rem;
    width: 0.8rem;
    height: 0.6rem;
    padding: 0;
    border-radius: 0.1rem;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

html[data-mode="h5"] .menu-btn span {
    display: block;
    width: 0.22rem;
    height: 0.03rem;
    border-radius: 0.03rem;
    background: var(--nav-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* html[data-mode="h5"] .header.is-scrolled .menu-btn {
    background: rgba(51, 51, 51, 0.08);
}

html[data-mode="h5"] .header.is-scrolled .menu-btn span {
    background: var(--c-text);
} */

/* 展开态：三道杠变叉 */
html[data-mode="h5"] .menu-btn.is-open span:nth-child(1) {
    transform: translateY(0.12rem) rotate(45deg);
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(3) {
    transform: translateY(-0.12rem) rotate(-45deg);
}

/* ---------- H5 Header 布局 ---------- */
html[data-mode="h5"] .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.15rem;
    width: 100%;
    height: 100%;
}

html[data-mode="h5"] .header__group--left {
    flex: 0 0 auto;
    justify-content: flex-start;
}

html[data-mode="h5"] .header__group--right {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 0.1rem;
}

/* H5 隐藏：左右两组内的导航（移动菜单接管） */
html[data-mode="h5"] .header__group--left .header__nav,
html[data-mode="h5"] .header__group--right .header__nav {
    display: none;
}

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

/* ---------- H5：展开后的全屏移动菜单（#nav 作为容器） ---------- */
html[data-mode="h5"] .header__nav.is-open {
    position: fixed;
    top: var(--header-h);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-w-h5);
    height: calc(100vh - var(--header-h));
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.3rem 0.6rem 0.6rem;
    box-sizing: border-box;
    background: var(--c-bg);
    overflow-y: auto;
    animation: h5NavFadeIn 0.25s ease both;
}

@keyframes h5NavFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -0.2rem);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

html[data-mode="h5"] .header__nav.is-open .header__nav-item {
    width: 100%;
    padding: 0.22rem 0;
    border-bottom: 0.01rem solid #f0f2f5;
    color: var(--c-text);
    font-size: 0.32rem;
}

html[data-mode="h5"] .header__nav.is-open .header__nav-item:active {
    color: var(--c-accent);
}

html[data-mode="h5"] .header__nav.is-open .header__nav-item::after {
    display: none;
}

/* ---------- H5：JS 动态构建的全屏移动菜单（.header__nav-mobile） ---------- */
.header__nav-mobile {
    display: none;
}

html[data-mode="h5"] .header__nav-mobile {
    position: fixed;
    top: var(--header-h);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-w-h5);
    height: calc(100vh - var(--header-h));
    z-index: 99;
    background: var(--c-bg);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.3rem 0.6rem 0.6rem;
    box-sizing: border-box;
    box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.08);
}

html[data-mode="h5"] .header__nav-mobile.is-open {
    display: flex;
    animation: h5NavFadeIn 0.25s ease both;
}

@keyframes h5NavFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -0.2rem);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* 一级项：关闭翻转动效，恢复常规文本 */
html[data-mode="h5"] .header__nav-mobile .header__nav-item-text {
    overflow: visible;
}

html[data-mode="h5"] .header__nav-mobile .header__nav-item-text>span {
    transition: none;
}

/* 触屏点击后 :hover/:focus-visible 会残留，禁用翻转上移，避免文字错位 */
html[data-mode="h5"] .header__nav-mobile .header__nav-item:hover .header__nav-item-text>span,
html[data-mode="h5"] .header__nav-mobile .header__nav-item:focus-visible .header__nav-item-text>span {
    transform: none;
}

html[data-mode="h5"] .header__nav-mobile .header__nav-item-text>span::after {
    display: none;
}

html[data-mode="h5"] .header__nav-mobile .header__nav-item {
    width: 100%;
    padding: 0.22rem 0;
    border-bottom: none;
    color: var(--c-text);
    font-size: 0.32rem;
}

html[data-mode="h5"] .header__nav-mobile>.header__nav-item {
    border-bottom: 0.01rem solid #f0f2f5;
}

html[data-mode="h5"] .header__nav-mobile .header__nav-item:active {
    color: var(--c-accent);
}

/* 选中态：当前页/当前锚点对应的移动菜单项高亮 */
html[data-mode="h5"] .header__nav-mobile .header__nav-item.is-active {
    color: var(--c-accent);
    font-weight: 600;
}

/* 桌面态的悬停伪元素（下划线 / 悬停桥接）在移动菜单中禁用 */
html[data-mode="h5"] .header__nav-mobile .header__nav-item::after {
    display: none;
}

html[data-mode="h5"] .header__nav-mobile .header__nav-item-wrap.has-sub::after {
    display: none;
}

/* ----- H5 手风琴二级菜单（framework.js 构建） ----- */
/* 移动菜单是固定高度容器，必须重置基础规则里的 height:100%，
   否则各项高度计算错乱，展开面板会溢出叠到相邻项上 */
html[data-mode="h5"] .header__nav-mobile .header__nav-item {
    height: auto;
}

html[data-mode="h5"] .header__nav-mobile>.header__nav-item-wrap {
    display: block;
    /* 覆盖基础 flex 布局，让二级面板换行到下方 */
    height: auto;
    border-bottom: 0.01rem solid #f0f2f5;
}

/* 含二级菜单的一级项：两端对齐 + 展开箭头 */
html[data-mode="h5"] .header__nav-mobile>.header__nav-item-wrap>.header__nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

html[data-mode="h5"] .header__nav-mobile>.header__nav-item-wrap.has-sub>.header__nav-item::after {
    content: "";
    display: block;
    position: static;
    width: 0.14rem;
    height: 0.14rem;
    margin-right: 0.06rem;
    background: transparent;
    /* 覆盖基础下划线的红色背景，仅保留边框构成箭头 */
    border-right: 0.03rem solid currentColor;
    border-bottom: 0.03rem solid currentColor;
    transform: rotate(45deg);
    opacity: 0.45;
    transition: transform 0.3s var(--ease-out);
}

html[data-mode="h5"] .header__nav-mobile>.header__nav-item-wrap.has-sub.is-open>.header__nav-item::after {
    transform: rotate(225deg);
}

/* 二级面板：手风琴（覆盖桌面定位样式；特异度高于桌面 hover 规则）
   用 max-height + opacity 过渡代替 display 切换，展开/收起有动画 */
html[data-mode="h5"] .header__nav-mobile .header__nav-item-wrap .header__submenu {
    position: static;
    display: block;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 0.2rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-height: 0;
    transition: max-height 0.35s var(--ease-out),
        padding-bottom 0.35s var(--ease-out);
}

html[data-mode="h5"] .header__nav-mobile .header__submenu::before,
html[data-mode="h5"] .header__nav-mobile .header__submenu::after {
    display: none;
}

html[data-mode="h5"] .header__nav-mobile .header__nav-item-wrap.is-open>.header__submenu {
    max-height: max-content;
    padding-bottom: 0.08rem;
}

html[data-mode="h5"] .header__nav-mobile .header__submenu a {
    color: var(--c-muted);
    font-size: 0.32rem;
    padding: 0.14rem 0 0.14rem 0.24rem;
    border-bottom: 0.01rem dashed #f0f2f5;
}

html[data-mode="h5"] .header__nav-mobile .header__submenu a::before {
    display: none;
}

html[data-mode="h5"] .header__nav-mobile .header__submenu a:hover {
    background: transparent;
    color: var(--c-primary);
    padding-left: 0.24rem;
}

/* ---------- 遮罩 ---------- */
.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;
}

/* ---------- PC 尺寸覆盖 ---------- */
html[data-mode="pc"] .header {
    max-width: var(--max-w-pc);
    padding: 0 var(--header-pad-pc);
    height: var(--header-h-pc);
}

html[data-mode="pc"] .header__inner {
    gap: 0.4rem;
}

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

/* ============================================================
   5. 全局细节
   ============================================================ */
/* 全局滚动条：与主题色统一 */
::-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, var(--c-primary) 0%, #02347D 100%);
    border-radius: 4px;
}

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

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox：scrollbar-color 生效后会禁用 ::-webkit-scrollbar 自定义，
   因此用 @supports 限定只在 Firefox 生效 */
@supports (-moz-appearance: none) {
    html {
        scrollbar-width: thin;
        scrollbar-color: var(--c-primary) transparent;
    }
}

/* ============================================================
   6. Footer 公共底部信息栏（1920 设计稿基准：1rem = 100px）
   ------------------------------------------------------------
   结构：.footer > .footer__inner（品牌区 + 导航列）+ .footer__bottom
   背景：assets/images/footer/footer-img1.webp（低透明度压暗）
   ============================================================ */
.footer {
    position: relative;
    background: #1A1A1A;
    color: #999999;
    overflow: hidden;
}

/* 背景图：低透明度压暗，还原设计稿质感 */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/images/footer/footer-img1.webp") center / cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.footer__inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.81rem 1.6rem 1rem;
}

/* ---------- 左侧：Logo / 简介 / Follow Us ---------- */
.footer__brand {
    width: 3.12rem;
    flex-shrink: 0;
}

.footer__logo {
    display: inline-block;
}

.footer__logo img {
    width: 1.86rem;
    height: auto;
    display: block;
}

.footer__desc {
    margin-top: 0.3rem;
    font-size: 0.14rem;
    line-height: 1.75;
    color: #999999;
}

.footer__social {
    margin-top: 0.6rem;
}

.footer__social-title {
    font-size: 0.24rem;
    font-weight: 600;
    color: #ffffff;
}

.footer__social-list {
    display: flex;
    gap: 0.16rem;
    margin-top: 0.16rem;
}

/* 社交图标：默认 #333 圆底，悬浮变品牌蓝 + 光晕 + 外圈扩散 + 图标翻转 */
.footer__social-item {
    position: relative;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #333333;
    display: grid;
    place-items: center;
    color: #ffffff;
    transition:
        transform 0.35s var(--ease-out),
        background-color 0.35s,
        box-shadow 0.35s;
}

.footer__social-item::before {
    content: "";
    position: absolute;
    inset: -0.06rem;
    border-radius: 50%;
    border: 0.01rem solid rgba(3, 82, 141, 0.65);
    opacity: 0;
    transform: scale(0.55);
    transition:
        opacity 0.35s var(--ease-out),
        transform 0.35s var(--ease-out);
}

.footer__social-item svg {
    width: 0.2rem;
    height: 0.2rem;
    transition: transform 0.45s var(--ease-out);
}

.footer__social-item:hover,
.footer__social-item:focus-visible {
    background: #03528D;
    transform: translateY(-0.06rem) scale(1.1);
    box-shadow: 0 0.08rem 0.22rem rgba(3, 82, 141, 0.55);
}

.footer__social-item:hover::before,
.footer__social-item:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.footer__social-item:hover svg,
.footer__social-item:focus-visible svg {
    transform: rotateY(360deg);
}

/* ---------- 右侧：导航列 ---------- */
.footer__nav {
    display: flex;
    gap: 0.8rem;
    padding-top: 0.06rem;
}

.footer__col-title {
    font-size: 0.24rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.footer__links {
    list-style: none;
}


.footer__links li {
    display: flex;
}

.footer__links li+li {
    display: flex;
    /* 消除 inline 布局的行盒/基线撑高问题，间距只由 margin 决定 */
    margin-top: 0.09rem;
}

.footer__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 0.16rem;
    line-height: 1.4;
    color: #999999;
    transition: color 0.3s;
}

/* 悬浮动效：accent 渐变短杠滑入 + 文字变白上浮
   短杠绝对定位在文字左侧的空隙里（不占布局宽度），
   文字与列标题左对齐，悬浮也不会把 ul 顶动 */
.footer__link::before {
    content: "";
    position: absolute;
    left: -0.22rem;
    top: 50%;
    width: 0;
    height: 0.02rem;
    border-radius: 0.02rem;
    background: linear-gradient(90deg, var(--c-accent), #03528D);
    transform: translateY(-50%);
    transition: width 0.3s var(--ease-out);
}

.footer__link:hover,
.footer__link:focus-visible {
    color: #ffffff;
    transform: translateY(-0.02rem);
}

.footer__link:hover::before,
.footer__link:focus-visible::before {
    width: 0.14rem;
}

/* Catalog 双列 */
.footer__links-row {
    display: flex;
    gap: 0.81rem;
}

/* ---------- 底部版权条 ---------- */
.footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.2rem;
    min-height: 0.6rem;
    padding: 0.08rem 1.63rem;
    background: #1A1A1A;
    border-top: 1px solid #333333;
    font-size: 0.16rem;
    color: #999999;
}

.footer__copyright {
    font-family: "Gabarito", "Poppins", sans-serif;
}

.footer__privacy {
    color: #999999;
    transition: color 0.3s;
}

.footer__privacy:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ---------- H5 适配：纵向堆叠，字号放大 ---------- */
html[data-mode="h5"] .footer__inner {
    flex-direction: column;
    padding: 0.6rem 0.4rem;
}

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

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

html[data-mode="h5"] .footer__desc {
    margin-top: 0.3rem;
    font-size: 0.32rem;
    max-width: 6rem;
}

html[data-mode="h5"] .footer__social {
    margin-top: 0.5rem;
}

html[data-mode="h5"] .footer__social-title {
    font-size: 0.32rem;
}

html[data-mode="h5"] .footer__social-item {
    width: 0.62rem;
    height: 0.62rem;
}

html[data-mode="h5"] .footer__social-item svg {
    width: 0.3rem;
    height: 0.3rem;
}

html[data-mode="h5"] .footer__nav {
    margin-top: 0.7rem;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
}

html[data-mode="h5"] .footer__col-title {
    font-size: 0.32rem;
    margin-bottom: 0.24rem;
}

html[data-mode="h5"] .footer__link {
    font-size: 0.32rem;
}

html[data-mode="h5"] .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    padding: 0.24rem 0.4rem;
    font-size: 0.32rem;
}

/* ---------- H5 手风琴（js/case.js 配合：.footer__col.is-open） ---------- */
/* 无 JS 兜底：html 未加 .js 时不折叠，内容始终可见 */
html.js[data-mode="h5"] .footer__nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
}

html.js[data-mode="h5"] .footer__col {
    width: 100%;
    border-bottom: 0.01rem solid rgba(255, 255, 255, 0.12);
}

html.js[data-mode="h5"] .footer__col:last-child {
    border-bottom: none;
}

/* 标题作为可点击的折叠头 */
html.js[data-mode="h5"] .footer__col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 0.26rem 0;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s ease;
}

/* 右侧箭头（CSS 绘制）：闭合朝下，展开旋转 180° 朝上 */
html.js[data-mode="h5"] .footer__col-title::after {
    content: "";
    width: 0.14rem;
    height: 0.14rem;
    margin-right: 0.08rem;
    border-right: 0.03rem solid currentColor;
    border-bottom: 0.03rem solid currentColor;
    transform: rotate(45deg) translateY(-0.02rem);
    transition: transform 0.35s var(--ease-out);
}

html.js[data-mode="h5"] .footer__col.is-open .footer__col-title::after {
    transform: rotate(225deg) translateY(-0.02rem);
}

/* 链接区折叠：max-height + 透明度过渡 */
html.js[data-mode="h5"] .footer__links,
html.js[data-mode="h5"] .footer__links-row {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.4s var(--ease-out),
        opacity 0.3s ease,
        padding-bottom 0.4s var(--ease-out);
}

html.js[data-mode="h5"] .footer__col.is-open .footer__links,
html.js[data-mode="h5"] .footer__col.is-open .footer__links-row {
    max-height: 6rem;
    opacity: 1;
    padding-bottom: 0.26rem;
}

/* ============================================================
   7. Header 视觉皮肤（Figma 369_1316：1920 × 100）
   ------------------------------------------------------------
   覆盖第 4 节的结构默认值：蓝色渐变压顶 / 居右导航 /
   白色圆形搜索按钮 / 白色胶囊语言切换器
   ============================================================ */

/* 顶部蓝色渐变（未滚动时），滚动后切换为磨砂玻璃 */
.header:not(.is-scrolled) {
    background: linear-gradient(180deg,
            rgba(3, 82, 141, 0.7) 0%,
            rgba(3, 82, 141, 0.3) 45%,
            rgba(3, 82, 141, 0) 100%);
}

.header.is-scrolled {
    background: #03528D;
    box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.1);
}

html[data-mode="pc"] .header {
    padding: 0 1.6rem;
}

/* ---------- 品牌 Logo：160 × 63 ---------- */
.header__brand-img {
    width: 1.6rem;
    height: 0.63rem;
    object-fit: contain;
    transition: transform 0.35s var(--ease-out), filter 0.35s;
}

.header__brand:hover .header__brand-img {
    transform: scale(1.04);
    filter: drop-shadow(0 0.02rem 0.08rem rgba(0, 0, 0, 0.35));
}

/* ---------- 导航：居右，20px / 400 ---------- */
html[data-mode="pc"] .header__inner {
    grid-template-columns: auto 1fr auto;
}

html[data-mode="pc"] .header__nav {
    justify-content: flex-end;
    gap: 0.42rem;
}

.header__nav-item {
    height: auto;
    /* 不撑满整条 header：一行贴合文字，下划线紧贴其下 */
    padding: 0.08rem 0;
    font-size: 0.2rem;
    font-weight: 400;
    transition: color 0.3s ease,
        transform 0.3s var(--ease-out),
        text-shadow 0.3s ease;
}

/* 导航项与含子菜单的容器都改为内容高度，保证一行水平居中 */
.header__nav .header__nav-item-wrap {
    height: auto;
}

/* 悬浮动效：accent 渐变下划线从左滑入 + 上浮 + 辉光 */
.header__nav-item::after {
    opacity: 1;
    height: 0.03rem;
    border-radius: 0.02rem;
    background: linear-gradient(90deg, var(--c-accent) 0%, rgba(0, 184, 226, 0) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--ease-out);
}

.header__nav-item:hover {
    color: #ffffff;
    transform: translateY(-0.02rem);
    text-shadow: 0 0 0.14rem rgba(0, 184, 226, 0.55);
}

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

/* ---------- 搜索按钮：白色圆形 40 × 40 ---------- */
.header__search {
    display: grid;
    place-items: center;
    width: 0.4rem;
    height: 0.4rem;
    padding: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #333333;
    flex-shrink: 0;
    transition:
        transform 0.3s var(--ease-out),
        background-color 0.3s,
        color 0.3s,
        box-shadow 0.3s;
}

.header__search svg {
    width: 0.4rem;
    height: 0.4rem;
    display: block;
}

.header__search:hover,
.header__search:focus-visible {
    background: var(--c-accent);
    color: #ffffff;
    transform: translateY(-0.02rem) scale(1.08);
    box-shadow: 0 0.04rem 0.14rem rgba(0, 184, 226, 0.45);
}

.header__search:hover svg {
    animation: searchIconSpin 0.5s var(--ease-out);
}

@keyframes searchIconSpin {
    from {
        transform: rotate(-90deg) scale(0.85);
    }

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

/* ---------- H5 调整 ---------- */
html[data-mode="h5"] .header {
    padding: 0 var(--header-pad);
    height: 1rem;
}

/* H5：导航收进全屏菜单，头部只留 logo + 搜索/语言 + 汉堡 */
html[data-mode="h5"] .header__nav:not(.is-open) {
    display: none;
}

html[data-mode="h5"] .header__brand-img {
    width: auto;
    height: 0.6rem;
}

/* H5 隐藏搜索按钮，节省顶栏空间 */
html[data-mode="h5"] .header__search,html[data-mode="h5"] .header__search svg {
    width: 0.6rem;
    height: 0.6rem;
}

/* ============================================================
   8. 语言切换器（trp 模板，hover / focus-within 展开）
   ------------------------------------------------------------
   结构见 components/common.html：anchor 占位 + overlay 交互层
   ============================================================ */
.header__lang {
    display: flex;
    /* flex item 内的行内排版会把 inline-block 按基线拽低 */
    align-items: center;
    flex-shrink: 0;
}

.trp-shortcode-switcher__wrapper {
    position: relative;
    display: block;
    /* 行内块会产生行盒基线偏移，改为块级消除 */
    font-family: var(--font-base);
}

/* anchor 仅占位定尺寸，视觉由同尺寸的 overlay 呈现 */
.trp-shortcode-anchor {
    visibility: hidden;
}

.trp-shortcode-overlay {
    position: absolute;
    inset: 0;
    z-index: 9991;
}

.trp-language-switcher {
    background: var(--bg);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    transition: box-shadow var(--transition-duration) ease,
        background-color var(--transition-duration) ease;
}

.trp-current-language-item__wrapper {
    display: flex;
    align-items: center;
    gap: 0.04rem;
    padding: 0.06rem 0.12rem;
    min-height: 0.4rem;
    box-sizing: border-box;
}

.trp-language-item {
    display: flex;
    align-items: center;
    gap: 0.06rem;
    color: var(--text);
    font-size: var(--font-size);
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 0.04rem;
}

.trp-flag-image {
    width: var(--flag-size);
    aspect-ratio: var(--aspect-ratio);
    object-fit: cover;
    border-radius: var(--flag-radius);
    flex-shrink: 0;
}

.trp-shortcode-arrow {
    width: 0.16rem;
    height: 0.16rem;
    flex-shrink: 0;
    transition: transform var(--transition-duration) ease;
}

/* 展开态：hover / 键盘聚焦 */
.trp-shortcode-overlay:hover .trp-shortcode-arrow,
.trp-shortcode-overlay:focus-within .trp-shortcode-arrow {
    transform: rotate(180deg);
}

.trp-switcher-dropdown-list {
    position: absolute;
    top: calc(100% + 0.08rem);
    right: 0;
    min-width: 1.6rem;
    padding: 0.06rem;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(20, 56, 82, 0.1);
    border-radius: 0.08rem;
    box-shadow: 0 0.06rem 0.2rem rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.06rem);
    transition: opacity var(--transition-duration) ease,
        transform var(--transition-duration) var(--ease-out),
        visibility var(--transition-duration);
    z-index: 9992;
}

.trp-shortcode-overlay:hover .trp-switcher-dropdown-list,
.trp-shortcode-overlay:focus-within .trp-switcher-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.trp-switcher-dropdown-list .trp-language-item {
    width: 100%;
    padding: 0.08rem 0.1rem;
    transition: background-color var(--transition-duration) ease,
        color var(--transition-duration) ease,
        padding-left var(--transition-duration) ease;
}

.trp-switcher-dropdown-list .trp-language-item:hover,
.trp-switcher-dropdown-list .trp-language-item:focus-visible {
    background: var(--bg-hover);
    color: var(--text-hover);
    padding-left: 0.14rem;
}

/* 当前项徽标态：胶囊悬浮微抬 */
.trp-shortcode-overlay:hover .trp-language-switcher {
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.16);
}

/* ---------- H5 适配 ---------- */
html[data-mode="h5"] .trp-current-language-item__wrapper {
    min-height: 0.5rem;
    padding: 0.08rem 0.16rem;
}

html[data-mode="h5"] .trp-language-item {
    font-size: 0.32rem;
}

html[data-mode="h5"] .trp-flag-image {
    width: 0.28rem;
}

html[data-mode="h5"] .trp-shortcode-arrow {
    width: 0.24rem;
    height: 0.24rem;
}

html[data-mode="h5"] .trp-switcher-dropdown-list {
    min-width: 2.2rem;
}

html[data-mode="h5"] .trp-switcher-dropdown-list .trp-language-item {
    padding: 0.14rem 0.16rem;
    font-size: 0.32rem;
}

/* ============================================================
   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;
        overflow-y: auto;
}

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.32rem;
}

/* ---------- 右侧表单卡片 ----------
   说明：quote 表单内部不使用 class/id，样式一律通过外层父级结构定位。
   footer 第一屏以 section.quote 为锚点；JS 弹窗以 .quote-modal 为锚点，
   两处表单结构完全一致，故选择器成对书写。 */
.quote form,
.quote-modal form {
    flex: 0 0 auto;
    width: 7.24rem;
    /* 644 + 40*2 = 724px */
    padding: 0.4rem;
    /* 40px */
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 0.04rem;
    /* 4px */
}

.quote form>ul,
.quote-modal form>ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.44rem;
    /* 44px = 644 - 300 - 300 */
    row-gap: 0.24rem;
    /* margin: 0 0 0.24rem; */
    padding: 0;
    list-style: none;
}

.quote form>ul>li,
.quote-modal form>ul>li {
    flex: 0 0 auto;
}

/* 前 4 个字段：两列，宽 300 */
.quote form>ul>li:nth-child(1),
.quote form>ul>li:nth-child(2),
.quote form>ul>li:nth-child(3),
.quote form>ul>li:nth-child(4),
.quote-modal form>ul>li:nth-child(1),
.quote-modal form>ul>li:nth-child(2),
.quote-modal form>ul>li:nth-child(3),
.quote-modal form>ul>li:nth-child(4) {
    width: 3rem;
    /* 300px */
    min-height: 0.92rem;
    /* 92px */
}

/* 附件行：整行，上传按钮位于输入框右侧（绝对定位） */
.quote form>ul>li:nth-child(5),
.quote-modal form>ul>li:nth-child(5) {
    width: 6.44rem;
    /* 644px */
    min-height: 0.92rem;
    /* 92px */
}

/* 留言行：整行 */
.quote form>ul>li:nth-child(6),
.quote-modal form>ul>li:nth-child(6) {
    width: 6.44rem;
    /* 644px */
    min-height: 1.21rem;
    /* 121px */
}

.quote form li>p,
.quote-modal form li>p {
    margin: 0;
}

/* 字段包装层（原 span.wpcf7-form-control-wrap） */
.quote form li>p>span,
.quote-modal form li>p>span {
    display: block;
}

/* 附件行：输入框容器（供 Upload 按钮绝对定位） */
.quote form li:nth-child(5)>p>span>span,
.quote-modal form li:nth-child(5)>p>span>span {
    position: relative;
}

/* 附件输入框：为右侧 Upload 按钮预留空间 */
.quote form li:nth-child(5) input,
.quote-modal form li:nth-child(5) input {
    padding-right: 1.04rem;
    /* 为右侧按钮留出空间（92 + 12） */
}

.quote form label,
.quote-modal form label {
    display: block;
    color: #333;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    /* 16px */
    font-style: normal;
    font-weight: 600;
    line-height: 175%;
}

.quote form input,
.quote-modal form input,
.quote form textarea,
.quote-modal form textarea {
    display: block;
    width: 100%;
    padding: 0.04rem 0 0.08rem;
    border: none;
    border-bottom: 1px solid #E5E5E5;
    background: transparent;
    outline: none;
    color: #999;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
}

.quote form input::placeholder,
.quote-modal form input::placeholder,
.quote form textarea::placeholder,
.quote-modal form textarea::placeholder {
    color: #999;
}

/* textarea 单独调整：去掉浏览器默认边框外观、限制拖拽缩放 */
.quote form textarea,
.quote-modal form textarea {
    height: 1.2rem;
    min-height: 0;
    resize: vertical;
}

html[data-mode="h5"] .quote form textarea,
html[data-mode="h5"] .quote-modal form textarea {
    height: 1.6rem;
}

/* Upload 按钮（附件行，绝对定位于输入框右侧） */
.quote form li:nth-child(5) button[type="button"],
.quote-modal form li:nth-child(5) button[type="button"] {
    position: absolute;
    right: 0;
    bottom: 0.16rem;
    width: 0.92rem;
    /* 92px */
    height: 0.35rem;
    /* 35px */
    border: none;
    border-radius: 0.04rem;
    background: #02347D;
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0.35rem;
    text-align: center;
    cursor: pointer;
}

/* 提交按钮 */
.quote form>button[type="submit"],
.quote-modal form>button[type="submit"],
.quote form>p>button[type="submit"],
.quote-modal form>p>button[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.2rem 0.3rem;
    /* 20 / 30 */
    border: none;
    border-radius: 0.04rem;
    background: var(--Style, #02347D);
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 0.24rem 0;
    cursor: pointer;
}

/* 提交按钮被 p 包裹时，去掉 p 的默认间距，保持与其他页一致的排版 */
.quote form>p:has(> button[type="submit"]),
.quote-modal form>p:has(> button[type="submit"]) {
    margin: 0;
}

/* ---------- 按钮悬浮微交互（统一升级） ----------
   底色渐变自左向右擦入 + 高光斜向扫过 + 轻微上浮 + 紧致柔和投影
   去掉原先过大的扩散阴影与 brightness 提亮
   ------------------------------------------------ */
.quote form>button[type="submit"],
.quote-modal form>button[type="submit"],
.quote form>p>button[type="submit"],
.quote-modal form>p>button[type="submit"],
.quote form li:nth-child(5) button[type="button"],
.quote-modal form li:nth-child(5) button[type="button"] {
    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;
}

/* 建立包含块（Upload 按钮自身已绝对定位，不覆盖 position） */
.quote form>button[type="submit"],
.quote-modal form>button[type="submit"],
.quote form>p>button[type="submit"],
.quote-modal form>p>button[type="submit"] {
    position: relative;
}

/* 高光扫过层 */
.quote form>button[type="submit"]::after,
.quote-modal form>button[type="submit"]::after,
.quote form>p>button[type="submit"]::after,
.quote-modal form>p>button[type="submit"]::after,
.quote form li:nth-child(5) button[type="button"]::after,
.quote-modal form li:nth-child(5) button[type="button"]::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;
}

.quote form>button[type="submit"]:hover,
.quote-modal form>button[type="submit"]:hover,
.quote form>p>button[type="submit"]:hover,
.quote-modal form>p>button[type="submit"]:hover,
.quote form li:nth-child(5) button[type="button"]:hover,
.quote-modal form li:nth-child(5) button[type="button"]:hover {
    background-image: linear-gradient(100deg, #0A4BA8 0%, #014ADC 100%);
    background-size: 100% 100%;
    transform: translateY(-0.02rem);
    box-shadow: 0 0.04rem 0.12rem rgba(2, 52, 125, 0.22);
    filter: none;
}

.quote form>button[type="submit"]:hover::after,
.quote-modal form>button[type="submit"]:hover::after,
.quote form>p>button[type="submit"]:hover::after,
.quote-modal form>p>button[type="submit"]:hover::after,
.quote form li:nth-child(5) button[type="button"]:hover::after,
.quote-modal form li:nth-child(5) button[type="button"]:hover::after {
    transform: translateX(320%) skewX(-18deg);
    opacity: 1;
}

.quote form>button[type="submit"]:active,
.quote-modal form>button[type="submit"]:active,
.quote form>p>button[type="submit"]:active,
.quote-modal form>p>button[type="submit"]:active,
.quote form li:nth-child(5) button[type="button"]:active,
.quote-modal form li:nth-child(5) button[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 0.01rem 0.04rem rgba(2, 52, 125, 0.16);
    transition-duration: 0.12s;
}

/* 表单下方说明文字（仅 footer 表单存在） */
.quote form>p {
    color: #999;
    font-family: "Montserrat", sans-serif;
    font-size: 0.18rem;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}

/* ---------- H5 适配（≤750px 设计稿） ---------- */
html[data-mode="h5"] .quote {
    height: auto;
    padding: 0.6rem 0.3rem;
    align-items: stretch;
}

html[data-mode="h5"] .quote__inner {
    flex-direction: column;
    align-items: stretch;
    max-width: 7.5rem;
}

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

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

html[data-mode="h5"] .quote__desc {
    font-size: 0.32rem;
    max-width: none;
}

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

html[data-mode="h5"] .quote form>ul,
html[data-mode="h5"] .quote-modal form>ul {
    flex-direction: column;
    gap: 0.24rem;
    width: 100%;
    margin-bottom: 0.24rem;
}

html[data-mode="h5"] .quote form>ul>li,
html[data-mode="h5"] .quote form>ul>li:nth-child(1),
html[data-mode="h5"] .quote form>ul>li:nth-child(2),
html[data-mode="h5"] .quote form>ul>li:nth-child(3),
html[data-mode="h5"] .quote form>ul>li:nth-child(4),
html[data-mode="h5"] .quote form>ul>li:nth-child(5),
html[data-mode="h5"] .quote form>ul>li:nth-child(6),
html[data-mode="h5"] .quote-modal form>ul>li,
html[data-mode="h5"] .quote-modal form>ul>li:nth-child(1),
html[data-mode="h5"] .quote-modal form>ul>li:nth-child(2),
html[data-mode="h5"] .quote-modal form>ul>li:nth-child(3),
html[data-mode="h5"] .quote-modal form>ul>li:nth-child(4),
html[data-mode="h5"] .quote-modal form>ul>li:nth-child(5),
html[data-mode="h5"] .quote-modal form>ul>li:nth-child(6) {
    width: 100%;
}

html[data-mode="h5"] .quote form li:nth-child(5) input,
html[data-mode="h5"] .quote-modal form li:nth-child(5) input {
    padding-right: 1.5rem;
}

html[data-mode="h5"] .quote form li:nth-child(5) button[type="button"],
html[data-mode="h5"] .quote-modal form li:nth-child(5) button[type="button"] {
    width: 1.2rem;
    height: 0.5rem;
    line-height: 0.5rem;
    font-size: 0.32rem;
}

html[data-mode="h5"] .quote form label,
html[data-mode="h5"] .quote form input,
html[data-mode="h5"] .quote form textarea,
html[data-mode="h5"] .quote-modal form label,
html[data-mode="h5"] .quote-modal form input,
html[data-mode="h5"] .quote-modal form textarea {
    font-size: 0.32rem;
}

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

html[data-mode="h5"] .quote form>p {
    font-size: 0.32rem;
}