:root {
    /* 浅色底 + 蓝色主题（试版，后续可再微调层次与对比度） */
    --bg: #ffffff;
    --bg-elevated: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --gold: #1d4ed8;
    --gold-mid: #2563eb;
    --gold-bright: #3b82f6;
    --gold-deep: #1e3a8a;
    --ember: #0ea5e9;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(37, 99, 235, 0.14);
    --line-strong: rgba(37, 99, 235, 0.26);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --shadow-gold: 0 12px 40px rgba(37, 99, 235, 0.14);
    --radius: 14px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;

    /* ---- 页面布局（全站维护入口）----
     * --page-gutter：屏边呼吸区；小屏强制 ≥1rem，大屏封顶约 50px（3.125rem），避免写死 50px 在手机上过挤。
     * --page-max-cap：PC 大屏主列上限（90rem≈1440px）；视口更宽时居中留白，避免内容拉满 1920/2K 屏。
     * --page-max：主列宽 = min(上限, 视口 − 双侧 gutter)；纵向 token 用相近的 vw+rem 混合，与横向尺度同一套「节拍」。
     */
    --page-gutter: clamp(1rem, 4vw, 3.125rem);
    --page-max-cap: 90rem;
    --page-max: min(var(--page-max-cap), calc(100vw - (2 * var(--page-gutter))));

    --space-section-y: clamp(2.35rem, 5.2vw, 3.65rem);
    /* 首页：模块之间固定间距；模块内标题上下各一块等量留白 */
    /* 首页模块间距与标题区上下留白共用同一节奏值 */
    --home-rhythm: clamp(1.375rem, 2.8vw, 1.75rem);
    --home-module-gap: var(--home-rhythm);
    --home-block-pad: var(--home-rhythm);
    /* 首页 · 核心服务区内留白 / CTA 与页脚间距（小屏略紧、大屏 20px） */
    --home-capabilities-inset-y: clamp(1rem, 2.5vw, 1.25rem);
    --home-cta-tail-gap: clamp(1rem, 2.5vw, 1.25rem);
    /* 信任区视频：略宽于原 56rem，高度锁定为原 56rem×16:9 时的视觉高度 */
    --trust-video-max-w: 64rem;
    --trust-video-legacy-w: 56rem;
    --trust-video-fixed-h: calc(var(--trust-video-legacy-w) * 9 / 16);
    --space-hero-y-start: clamp(2.85rem, calc(5vw + 1.5rem), 5.25rem);
    --space-hero-y-end: clamp(3.15rem, calc(5.5vw + 1.75rem), 6rem);
    --space-page-y: clamp(1.85rem, 4vw, 2.85rem);
    --space-footer-y: clamp(1.85rem, 4.2vw, 2.65rem);
    --space-stack: clamp(1.1rem, 2.8vw, 1.65rem);
    /* 卡片内边距：随页边略涨落，避免外宽 50px、卡片里仍像手机 */
    --space-card-pad-y: clamp(1.05rem, calc(var(--page-gutter) * 0.58), 1.45rem);
    --space-card-pad-x: clamp(1.05rem, calc(var(--page-gutter) * 0.62), 1.5rem);
}

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

html {
    scroll-behavior: smooth;
    /* 100vw 含纵向滚动条槽宽时可能略宽于布局视口，避免整页横向抖动 */
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: var(--font);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 900px 480px at 50% -18%, rgba(37, 99, 235, 0.07), transparent 58%),
        radial-gradient(ellipse 720px 420px at 100% 8%, rgba(14, 165, 233, 0.05), transparent 48%),
        radial-gradient(ellipse 620px 380px at 0% 32%, rgba(59, 130, 246, 0.05), transparent 52%),
        linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 42%, #f8fafc 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--gold-mid);
    text-decoration: none;
    transition: color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

a:hover {
    color: var(--gold-bright);
    text-decoration: underline;
}

main {
    flex: 1;
}

/**
 * 布局约束（单一真相来源）
 * - 水平：主列 max-width = --page-max（视口 − 2×--page-gutter），勿再额外 padding-inline，以免双重内缩。
 * - 垂直：区块/Hero/内页/页脚统一用 --space-*，与 --page-gutter 同阶调解，避免「左右很阔、上下很扁」。
 * - 窄阅读页：仍由 .page-main.narrow 覆盖 max-width。
 */
.site-nav .nav-inner,
.hero-inner,
.section,
.page-main,
.footer-inner {
    max-width: var(--page-max);
    margin-inline: auto;
    width: 100%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.875rem;
}

.accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--ember));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: accentPulse 4s ease-in-out infinite;
}

@keyframes accentPulse {
    0%,
    100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .accent {
        animation: none;
        color: var(--gold-mid);
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
    }
}

/* ---------- Nav ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--line);
    transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.site-nav--dense {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--line-strong);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.nav-inner {
    padding-block: clamp(0.62rem, calc(var(--page-gutter) * 0.38), 0.85rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: padding 0.3s var(--ease-out);
}

.site-nav--dense .nav-inner {
    padding-block: clamp(0.48rem, calc(var(--page-gutter) * 0.3), 0.62rem);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-weight: 700;
}

.brand:hover {
    text-decoration: none;
    color: var(--gold-bright);
}

.brand-logo {
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.22);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.brand:hover .brand-logo {
    transform: scale(1.03);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.28);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
    min-width: 0;
    line-height: 1.25;
}

.brand-text {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.brand-domain {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.brand:hover .brand-domain {
    color: var(--gold-mid);
}

.nav-links {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    align-items: center;
}

.nav-links > a,
.nav-links > .nav-details > .nav-drop-trigger {
    position: relative;
    display: inline-block;
    color: var(--muted);
    font-weight: 600;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.28s var(--ease-out), background 0.28s var(--ease-out);
}

.nav-links > a::after,
.nav-links > .nav-details > .nav-drop-trigger::after {
    content: "";
    position: absolute;
    left: 0.45rem;
    right: 0.45rem;
    bottom: 0.15rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-mid), transparent);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}

.nav-links > a:hover,
.nav-links > .nav-details > .nav-drop-trigger:hover {
    color: var(--gold-bright);
    text-decoration: none;
}

.nav-links > a:hover::after,
.nav-links > .nav-details > .nav-drop-trigger:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-links > a.is-active,
.nav-links > .nav-details > .nav-drop-trigger.is-active {
    color: var(--gold-bright);
    background: rgba(37, 99, 235, 0.08);
}

.nav-links > a.is-active::after,
.nav-links > .nav-details > .nav-drop-trigger.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-links > a:focus-visible,
.nav-links > .nav-details > .nav-drop-trigger:focus-visible {
    outline: 2px solid var(--gold-mid);
    outline-offset: 2px;
}

.nav-details {
    position: relative;
}

.nav-case-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    pointer-events: none;
}

.nav-case-overlay[hidden] {
    display: none;
}

.nav-case-overlay__panel {
    --nav-popover-dur: 0.38s;
    --nav-popover-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: fixed;
    z-index: 1;
    isolation: isolate;
    width: min(11.5rem, calc(100vw - 2.5rem));
    max-width: 100%;
    padding: 0.45rem 0;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid rgba(37, 99, 235, 0.28);
    background: #fff;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 16px 40px rgba(37, 99, 235, 0.18),
        0 28px 64px rgba(15, 23, 42, 0.16);
    text-align: center;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translate3d(-50%, -0.35rem, 0) scale(0.98);
    transform-origin: top center;
    transition:
        opacity 0.24s var(--nav-popover-ease),
        transform var(--nav-popover-dur) var(--nav-popover-ease),
        visibility 0s linear var(--nav-popover-dur);
}

.nav-case-overlay.is-open .nav-case-overlay__panel {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
    will-change: transform, opacity;
    transition:
        opacity 0.2s var(--nav-popover-ease),
        transform var(--nav-popover-dur) var(--nav-popover-ease),
        visibility 0s;
}

@media (min-width: 769px) {
    .nav-case-overlay__panel::before {
        content: "";
        position: absolute;
        left: -0.5rem;
        right: -0.5rem;
        top: -0.85rem;
        height: 0.85rem;
    }
}

.nav-details__link {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.22s var(--ease-out), background 0.22s var(--ease-out);
}

.nav-details__link:hover {
    color: var(--gold-mid);
    background: rgba(37, 99, 235, 0.08);
}

.nav-details__link:focus-visible {
    outline: 2px solid var(--gold-mid);
    outline-offset: -2px;
}

.nav-details:has(.nav-case-overlay.is-open) > .nav-drop-trigger {
    color: var(--gold-bright);
    background: rgba(37, 99, 235, 0.08);
}

.nav-details:has(.nav-case-overlay.is-open) > .nav-drop-trigger::after {
    opacity: 1;
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .nav-case-overlay__panel {
        transition: none;
    }
}

.nav-toggle {
    display: none;
    margin-left: auto;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.nav-mobile-drawer {
    display: contents;
}

.nav-drawer-backdrop,
.nav-drawer__toolbar {
    display: none;
}

@media (min-width: 769px) {
    .site-nav + .nav-mobile-drawer {
        display: block;
        height: 0;
        overflow: visible;
        pointer-events: none;
    }

    .site-nav + .nav-mobile-drawer .nav-drawer-backdrop {
        display: none !important;
    }

    .site-nav + .nav-mobile-drawer .nav-links {
        position: fixed;
        top: 0;
        left: 50%;
        z-index: 51;
        width: min(var(--page-max), 100%);
        max-width: 100%;
        box-sizing: border-box;
        padding: clamp(0.62rem, calc(var(--page-gutter) * 0.38), 0.85rem)
            var(--page-gutter);
        margin: 0;
        transform: translateX(-50%);
        visibility: visible;
        pointer-events: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.35rem 1rem;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .nav-mobile-drawer {
        display: block;
    }

    .site-nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.25rem;
    }

    .nav-inner {
        flex-wrap: nowrap;
    }

    .brand {
        min-width: 0;
        flex: 1;
    }

    .brand-text {
        font-size: 0.92rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-domain {
        font-size: 0.65rem;
    }

    .nav-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 62;
        background: rgba(15, 23, 42, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.28s var(--ease-out),
            visibility 0s linear 0.28s;
    }

    .nav-drawer-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.28s var(--ease-out), visibility 0s;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 63;
        display: flex;
        width: min(18.5rem, 88vw);
        max-width: 100%;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0 0 env(safe-area-inset-bottom);
        background: #fff;
        box-shadow: -10px 0 40px rgba(15, 23, 42, 0.14);
        transform: translate3d(100%, 0, 0);
        visibility: hidden;
        pointer-events: none;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition:
            transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.32s;
    }

    .nav-links.is-open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
    }

    .nav-drawer__toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        z-index: 2;
        padding: max(0.85rem, env(safe-area-inset-top)) 1rem 0.75rem;
        border-bottom: 1px solid var(--line);
        background: #fff;
    }

    .nav-drawer__title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        letter-spacing: 0.04em;
    }

    .nav-drawer__close {
        flex-shrink: 0;
        width: 2.25rem;
        height: 2.25rem;
        border: none;
        border-radius: 50%;
        background: var(--surface-2);
        color: var(--text);
        font-size: 1.35rem;
        line-height: 1;
        cursor: pointer;
    }

    .nav-drawer__close:hover {
        background: rgba(37, 99, 235, 0.1);
    }

    .nav-drawer__close:focus-visible {
        outline: 2px solid var(--gold-mid);
        outline-offset: 2px;
    }

    .nav-links > a,
    .nav-links > .nav-details > .nav-drop-trigger {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 0.9rem 1.1rem;
        border-radius: 0;
        font-size: 1rem;
    }

    .nav-links > a::after,
    .nav-links > .nav-details > .nav-drop-trigger::after {
        left: 1.1rem;
        right: auto;
        width: 2rem;
    }

    .nav-details {
        width: 100%;
    }

    .nav-links > .nav-details > .nav-drop-trigger {
        width: 100%;
    }

    .nav-links .nav-details {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links .nav-case-overlay {
        position: static;
        inset: auto;
        z-index: auto;
        width: 100%;
        height: auto;
        pointer-events: auto;
        flex-shrink: 0;
    }

    /* 侧滑内二级菜单：全宽手风琴，同步开合（由 JS 控制 is-open），避免 max-height 动画闪烁 */
    .nav-links .nav-case-overlay__panel {
        position: static;
        width: 100%;
        max-width: none;
        max-height: 0;
        margin: 0;
        padding-block: 0;
        overflow: hidden;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        transform-origin: initial;
        text-align: left;
        box-sizing: border-box;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f1f5f9;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: none;
    }

    .nav-links .nav-case-overlay.is-open .nav-case-overlay__panel {
        max-height: min(28rem, 55vh);
        padding-block: 0.2rem 0.35rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: none;
    }

    .nav-links .nav-details__link {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 0.8rem 1.1rem 0.8rem 1.65rem;
        text-align: left;
        font-size: 0.9375rem;
        font-weight: 500;
        border-block-end: 1px solid rgba(15, 23, 42, 0.06);
    }

    .nav-links .nav-details__link:last-child {
        border-block-end: none;
    }

    body.nav-drawer-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .nav-links,
    .nav-drawer-backdrop {
        transition: none;
    }
}

/* ---------- 首页横幅轮播 ---------- */
.page-home .hero.hero--banner {
    min-height: 0;
    height: auto;
    padding-block: clamp(0.45rem, 1.4vw, 0.65rem) 0.2rem;
    align-items: stretch;
    display: block;
}

.hero-inner--banner {
    width: 100%;
}

.home-banner {
    --home-banner-inset: clamp(0.75rem, 2.5vw, 1.25rem);
    position: relative;
    width: 100%;
}

.home-banner__viewport {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface-2);
    box-shadow: var(--shadow);
}

.home-banner__track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    will-change: transform;
    transition: transform 0.5s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
    .home-banner__track {
        transition: none;
    }
}

.home-banner__slide {
    flex: 0 0 auto;
    position: relative;
    aspect-ratio: 21 / 8;
    min-height: clamp(160px, 28vw, 320px);
    overflow: hidden;
}

.home-banner__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.52) 0%, rgba(15, 23, 42, 0.12) 38%, transparent 68%);
}

.home-banner__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-banner__title {
    position: absolute;
    left: var(--home-banner-inset);
    bottom: var(--home-banner-inset);
    z-index: 2;
    margin: 0;
    max-width: min(32rem, calc(100% - 5.5rem - 2 * var(--home-banner-inset)));
    padding: 0;
    font-size: clamp(1.05rem, 2.4vw, 1.5rem);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.home-banner__slide--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-2), var(--bg));
}

.home-banner__slide--empty::after {
    display: none;
}

.home-banner__empty {
    padding: 1.5rem 1.25rem;
    text-align: center;
    max-width: 36rem;
}

.home-banner__empty-title {
    margin: 0 0 0.5rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
}

.home-banner__empty-hint {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
}

.home-banner__empty-hint code {
    font-size: 0.84em;
    word-break: break-all;
}

.home-banner__chrome {
    position: absolute;
    right: var(--home-banner-inset);
    bottom: var(--home-banner-inset);
    z-index: 3;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: nowrap;
    pointer-events: none;
}

.home-banner__dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    pointer-events: auto;
}

.home-banner__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.home-banner__dot[aria-selected="true"],
.home-banner__dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.home-banner__dot:focus-visible {
    outline: 2px solid var(--gold-mid);
    outline-offset: 2px;
}

/* ---------- Home hero FX（全屏首屏；不含 Banner 轮播区） ---------- */
.page-home .hero:not(.hero--banner) {
    position: relative;
    overflow: hidden;
    min-height: min(88vh, 820px);
    padding-block: var(--space-hero-y-start) var(--space-hero-y-end);
    display: flex;
    align-items: center;
}

.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-visual__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 42%, transparent 35%, rgba(15, 23, 42, 0.06) 100%);
}

.hero-visual__grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.35;
    animation: gridDrift 28s linear infinite;
    mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 10%, transparent 72%);
}

@keyframes gridDrift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-56px, -56px);
    }
}

.hero-visual__aurora {
    position: absolute;
    inset: -30% -20%;
    background:
        conic-gradient(from 210deg at 50% 50%, transparent 0deg, rgba(37, 99, 235, 0.07) 60deg, transparent 120deg, rgba(14, 165, 233, 0.05) 200deg, transparent 280deg);
    animation: auroraSpin 22s linear infinite;
    opacity: 0.65;
}

@keyframes auroraSpin {
    to {
        transform: rotate(360deg);
    }
}

.hero-visual__shine {
    position: absolute;
    top: -40%;
    left: -30%;
    width: 55%;
    height: 140%;
    background: linear-gradient(115deg, transparent 35%, rgba(191, 219, 254, 0.07) 48%, transparent 62%);
    transform: skewX(-18deg);
    animation: shineSweep 7s var(--ease-out) infinite;
}

@keyframes shineSweep {
    0% {
        transform: skewX(-18deg) translateX(-40%);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    45% {
        transform: skewX(-18deg) translateX(120%);
        opacity: 0.35;
    }
    100% {
        transform: skewX(-18deg) translateX(120%);
        opacity: 0;
    }
}

.hero-visual__orbit {
    position: absolute;
    left: 50%;
    top: 42%;
    width: min(120vw, 920px);
    height: min(120vw, 920px);
    translate: -50% -50%;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 50%;
    animation: orbitPulse 6s ease-in-out infinite;
}

.hero-visual__orbit::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.1);
    animation: orbitPulse 9s ease-in-out infinite reverse;
}

@keyframes orbitPulse {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

.hero-visual__particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 72%, rgba(191, 219, 254, 0.28) 0, transparent 2px),
        radial-gradient(circle at 82% 38%, rgba(59, 130, 246, 0.22) 0, transparent 2px),
        radial-gradient(circle at 64% 78%, rgba(37, 99, 235, 0.2) 0, transparent 1.5px),
        radial-gradient(circle at 40% 22%, rgba(191, 219, 254, 0.18) 0, transparent 2px);
    background-size: 100% 100%;
    animation: particleTwinkle 5s ease-in-out infinite alternate;
}

@keyframes particleTwinkle {
    from {
        opacity: 0.55;
        filter: blur(0);
    }
    to {
        opacity: 0.95;
        filter: blur(0.5px);
    }
}

/*
 * Hero 双栏：不用「各半宽」Grid（会在列内制造假缝）。
 * 大屏：文案限宽 + 卡片随内容；二者紧贴成一组，再在容器内水平居中——避免贴左时右侧一大块死空。
 */
.hero-inner--split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-stack);
}

.hero-copy {
    min-width: 0;
}

.hero-showcase {
    position: relative;
    min-width: 0;
    min-height: 280px;
}

@media (min-width: 960px) {
    .hero-inner--split {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, calc(var(--page-gutter) * 0.35), 1.15rem);
    }

    .hero-copy {
        flex: 0 1 auto;
        max-width: min(42rem, 100%);
    }

    .hero-showcase {
        flex: 0 0 auto;
    }
}

.hero-showcase__glow {
    position: absolute;
    inset: -12% -8% 20% -8%;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(37, 99, 235, 0.14), transparent 68%);
    pointer-events: none;
    filter: blur(2px);
}

.hero-showcase__card {
    position: relative;
    padding: 1.5rem 1.45rem 1.35rem;
    border-radius: 20px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(155deg, rgba(241, 245, 249, 0.92) 0%, rgba(255, 255, 255, 0.88) 100%);
    box-shadow: var(--shadow), 0 0 0 1px rgba(191, 219, 254, 0.06) inset;
    backdrop-filter: blur(14px);
}

.hero-showcase__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.hero-showcase__headline {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

.hero-showcase__hl {
    background: linear-gradient(105deg, var(--gold-bright), var(--gold-mid));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-showcase__bullets {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.hero-showcase__bullets li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.55;
}

.hero-showcase__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.45);
}

.hero-showcase__bullets span {
    color: var(--text);
    font-weight: 700;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--line);
}

.hero-metric {
    text-align: center;
    padding: 0.65rem 0.35rem;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.hero-metric__num {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--gold-bright);
    line-height: 1.2;
}

.hero-metric__lbl {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.hero-showcase__footnote {
    margin: 1rem 0 0;
    font-size: 0.68rem;
    color: var(--muted);
    opacity: 0.85;
    line-height: 1.45;
}

.hero-showcase__stage {
    position: absolute;
    right: -4%;
    bottom: -8%;
    width: 55%;
    height: 42%;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    background: linear-gradient(125deg, transparent 30%, rgba(37, 99, 235, 0.06) 100%);
    transform: skewX(-6deg);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 959px) {
    .hero-showcase__stage {
        display: none;
    }

    .hero-showcase {
        min-height: 0;
    }
}

.hero-kicker {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.hero-title {
    font-size: clamp(2.15rem, 5vw, 3.35rem);
    line-height: 1.12;
    margin: 0.85rem 0 1.1rem;
    letter-spacing: 0.04em;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-title__gap {
    letter-spacing: 0;
}

.hero-title__strong {
    display: inline-block;
    background: linear-gradient(105deg, var(--text) 0%, var(--gold-bright) 42%, var(--gold-mid) 58%, var(--text) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleSheen 8s linear infinite;
}

@keyframes titleSheen {
    0% {
        background-position: 100% center;
    }
    100% {
        background-position: -100% center;
    }
}

.hero-lead {
    max-width: 38rem;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.hero-lead p {
    margin: 0 0 0.85rem;
}

.hero-lead p:last-child {
    margin-bottom: 0;
}

.hero-lead__strong {
    color: var(--gold-mid);
    font-weight: 800;
}

.hero-lead__punch {
    color: var(--text);
    font-weight: 600;
}

.hero-lead__tag {
    display: inline-block;
    padding: 0.08rem 0.45rem;
    margin: 0 0.1rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.95em;
    color: var(--bg);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

/* Hero entrance */
.hero-enter {
    opacity: 0;
    animation: heroEnter 1s var(--ease-out) forwards;
}

.hero-enter--1 {
    animation-delay: 0.08s;
}

.hero-enter--2 {
    animation-delay: 0.22s;
}

.hero-enter--3 {
    animation-delay: 0.38s;
}

.hero-enter--4 {
    animation-delay: 0.52s;
}

.hero-enter--5 {
    animation-delay: 0.62s;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(36px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual__grid,
    .hero-visual__aurora,
    .hero-visual__shine,
    .hero-visual__orbit,
    .hero-visual__particles {
        animation: none !important;
    }

    .hero-title__strong {
        animation: none;
        color: var(--gold-bright);
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
    }

    .hero-enter {
        animation: none !important;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.75s var(--ease-out),
        transform 0.75s var(--ease-out),
        filter 0.75s var(--ease-out);
    filter: blur(4px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* ---------- Sections ---------- */
.section {
    padding-block: var(--space-section-y);
}

.section-tint {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.045), transparent 62%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* 首页：模块间距仅由 main gap 控制；区内标题上下留白统一 */
.page-home main {
    display: flex;
    flex-direction: column;
    gap: var(--home-module-gap);
}

.page-home main > .section {
    padding-block: 0;
    margin-block: 0;
    margin-inline: auto;
    width: 100%;
    max-width: var(--page-max);
}

/* 全宽色带区块：外层铺满，内层与 Banner 同列对齐 */
.page-home main > .section.section-capabilities,
.page-home main > .section.section-trust {
    max-width: none;
    width: 100%;
    margin-inline: 0;
}

.page-home .section-trust .about-container {
    width: 100%;
    max-width: var(--page-max);
    margin-inline: auto;
}

.page-home .section-capabilities .capabilities__mast,
.page-home .section-capabilities .capabilities-mosaic {
    padding-inline: 0;
}

/* 信任区：子块之间与首页主模块同 gap；标题区仅保留下方留白，避免与 main gap 叠加 */
.page-home .section-trust {
    display: flex;
    flex-direction: column;
    gap: var(--home-module-gap);
    padding: 0;
}

.page-home .section-trust.section-tint {
    border-top: 1px solid var(--line);
    border-bottom: none;
}

/* 核心服务（墨黑）与信任区（浅底）紧贴衔接，避免 main gap 露出页面白底 */
.page-home main > .section-capabilities + .section-trust {
    margin-top: calc(-1 * var(--home-module-gap));
}

.page-home main > .section-capabilities + .section-trust.section-tint {
    border-top: none;
    padding-top: var(--home-module-gap);
}

.page-home .section-trust .about-stats--trust,
.page-home .section-trust .trust-video-block,
.page-home .section-trust .trust-logos {
    padding: 0;
    margin: 0;
}

/* 标题区：上留白（首模块除外由 main gap 承担）+ 下留白 = home-block-pad */
.page-home main > .section:first-child .top10__head {
    padding-top: var(--home-block-pad);
}

.page-home .top10__head,
.page-home .trust-strip__head,
.page-home .trust-logos__head {
    margin-top: 0;
    margin-bottom: var(--home-block-pad);
}

.page-home .top10__head.section-head {
    margin-bottom: var(--home-block-pad);
}

/* 首页 · 核心服务 / CTA：与模板内联试稿一致，优先级高于 main > .section 重置 */
.page-home main > .section.section-capabilities {
    padding-block: var(--home-capabilities-inset-y);
}

.page-home .section-capabilities .capabilities__mast {
    margin-bottom: var(--home-block-pad);
    padding-top: 0;
}

.page-home main > .section.section-cta {
    margin-bottom: var(--home-cta-tail-gap);
}

.page-home .section-cta .cta-split {
    padding-inline: clamp(1.35rem, 3vw, 2rem);
}

.page-home .section-cta .cta-split__title {
    margin-bottom: 0.65rem;
}

.page-home .trust-strip__title {
    margin: 0;
}

.page-home .trust-video-block__eyebrow,
.page-home .cta-split__eyebrow {
    margin: 0 0 0.35rem;
}

.page-home .trust-video-block__title {
    margin: 0 0 var(--home-block-pad);
}

.page-home .section-cta .cta-split__lede {
    margin: 0;
}

.page-home .news-layout {
    row-gap: var(--home-block-pad);
}

.page-home .news-layout__head.section-head {
    margin-bottom: 0;
}

.section-head {
    /*
     * 网格：第一行标题 + 可选右侧链接；说明文案始终占满下一整行。
     * 避免 flex + space-between 把「标题」与「长段描述」甩到视口两侧造成中空怪相。
     */
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-stack);
    align-items: baseline;
    margin-bottom: var(--space-stack);
}

.section-head h2 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    font-weight: 800;
}

.section-head .link-more {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.section-head .section-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: min(72ch, 100%);
}

.section-desc {
    margin: 0;
    color: var(--muted);
}

.link-more {
    font-weight: 700;
    color: var(--gold-mid);
    transition: transform 0.3s var(--ease-out), color 0.25s var(--ease-out);
}

.link-more:hover {
    transform: translateX(4px);
    color: var(--gold-bright);
}

.card-grid {
    display: grid;
    gap: clamp(1rem, 2.4vw, 1.35rem);
}

@media (min-width: 820px) {
    .trio {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- 核心服务：中性墨黑 + 紧凑 Bento（对齐案例卡 #06080e） ---------- */
.section-capabilities {
    --cap-ink: #06080e;
    --cap-ink-mid: #0c0e14;
    --cap-ink-elevated: #12141c;
    position: relative;
    color: #f1f5f9;
    border-block: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.section-capabilities.section {
    max-width: none;
    width: 100%;
}

.section-capabilities > .capabilities__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 55% at 10% 0%, rgba(37, 99, 235, 0.07), transparent 52%),
        radial-gradient(ellipse 60% 45% at 100% 100%, rgba(37, 99, 235, 0.05), transparent 50%),
        linear-gradient(180deg, var(--cap-ink) 0%, var(--cap-ink-mid) 48%, var(--cap-ink) 100%);
}

.section-capabilities > .capabilities__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: clamp(1.75rem, 4vw, 2.25rem) clamp(1.75rem, 4vw, 2.25rem);
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.capabilities__mast {
    position: relative;
    z-index: 1;
    max-width: var(--page-max);
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}

.capabilities__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.72);
}

.capabilities__mast-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem 1rem;
}

.capabilities__mast-row h2 {
    margin: 0;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.12;
}

.capabilities__lede {
    margin: 0;
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(203, 213, 225, 0.65);
    white-space: nowrap;
}

.capabilities-mosaic {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(0.35rem, 0.75vw, 0.5rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(4.35rem, auto);
    max-width: var(--page-max);
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}

.cap-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 4.35rem;
    padding: clamp(0.55rem, 1.2vw, 0.75rem);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        var(--cap-ink-elevated);
    overflow: hidden;
    transition:
        transform 0.35s var(--ease-out),
        border-color 0.3s var(--ease-out),
        box-shadow 0.35s var(--ease-out);
}

.cap-tile__idx {
    position: absolute;
    top: 0.2rem;
    right: 0.35rem;
    font-size: clamp(1.65rem, 3.5vw, 2.15rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    user-select: none;
}

.cap-tile__title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.22;
}

.cap-tile__tag {
    position: relative;
    z-index: 1;
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(148, 163, 184, 0.88);
}

.cap-tile__edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-bright), var(--gold-mid), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.cap-tile:hover,
.cap-tile:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.cap-tile:hover .cap-tile__edge,
.cap-tile:focus-visible .cap-tile__edge {
    opacity: 1;
}

.cap-tile:focus-visible {
    outline: 2px solid rgba(147, 197, 253, 0.65);
    outline-offset: 2px;
}

/* 小屏 2×3；≥540px 为均衡 3×2，避免第 6 项通栏落单 */
@media (min-width: 540px) {
    .capabilities-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .cap-tile:hover,
    .cap-tile:focus-visible {
        transform: none;
    }
}

.card {
    background: linear-gradient(155deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-card-pad-y) var(--space-card-pad-x);
    box-shadow: var(--shadow);
    transition:
        border-color 0.35s var(--ease-out),
        transform 0.4s var(--ease-out),
        box-shadow 0.4s var(--ease-out);
}

.card--lift:hover {
    border-color: var(--line-strong);
    transform: translateY(-6px);
    box-shadow: var(--shadow), var(--shadow-gold);
}

.card h3 {
    margin-top: 0;
    letter-spacing: 0.03em;
}

.case-card .case-meta {
    color: var(--gold-mid);
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0 0 0.35rem;
}

.tagline {
    color: var(--muted);
    font-size: 0.9rem;
}

.text-link {
    font-weight: 700;
    display: inline-block;
    margin-top: 0.75rem;
    transition: transform 0.28s var(--ease-out);
}

.text-link:hover {
    transform: translateX(3px);
}

/* News · 双栏：时间轴 + 右侧精选/简报 */
.news-layout {
    display: grid;
    column-gap: clamp(0.65rem, 1.5vw, 1.1rem);
    row-gap: clamp(0.75rem, 2vw, 1.25rem);
}

.news-layout__head {
    grid-column: 1 / -1;
}

.news-layout__head.section-head {
    margin-bottom: 0;
}

@media (min-width: 960px) {
    .news-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: clamp(1rem, 2vw, 1.5rem);
        row-gap: clamp(0.75rem, 1.75vw, 1.15rem);
        align-items: start;
    }

    .news-layout__track {
        grid-column: 1;
        grid-row: 2;
    }

    .news-layout__aside {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        gap: clamp(0.65rem, 1.5vw, 1rem);
    }
}

.news-layout--full-track .news-layout__track {
    grid-column: 1 / -1;
}

.news-spotlight {
    position: relative;
    padding: clamp(1rem, 2vw, 1.35rem) clamp(1.05rem, 2.2vw, 1.45rem);
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid var(--line-strong);
    background:
        radial-gradient(ellipse 95% 75% at 94% 6%, rgba(37, 99, 235, 0.15), transparent 55%),
        linear-gradient(165deg, rgba(241, 245, 249, 0.95), rgba(255, 255, 255, 0.98));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.news-spotlight__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.news-spotlight__date {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.news-spotlight__cat {
    display: inline-block;
    margin-bottom: 0.65rem;
}

.news-spotlight__title {
    margin: 0;
    font-size: clamp(1.25rem, 2.6vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.news-aside-note {
    padding: clamp(1.1rem, 2.5vw, 1.45rem) clamp(1.15rem, 2.5vw, 1.4rem);
    border-left: 3px solid var(--gold-mid);
    background: rgba(37, 99, 235, 0.045);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.news-aside-note__label {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

.news-aside-note__body {
    margin: 0 0 0.5rem;
    font-size: 0.94rem;
    line-height: 1.75;
}

.news-aside-note__body strong {
    color: var(--gold-mid);
}

.news-aside-note__more {
    margin: 0.55rem 0 0;
}

.news-aside-note__more .text-link {
    font-weight: 800;
}

/* News · 动态列表页 /news */
.page-main--news-list {
    max-width: min(52rem, var(--page-max));
}

.news-page-head {
    margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.news-page-head__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.65rem, 3.5vw, 2.1rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.35rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--line);
}

.news-tabs__link {
    display: inline;
    padding: 0.12rem 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.55;
    transition: color 0.2s var(--ease-out);
}

.news-tabs__link:hover {
    color: rgba(37, 99, 235, 0.92);
    text-decoration: none;
}

.news-tabs__link.is-active {
    color: #7a3340;
    font-weight: 600;
}

.news-panel {
    margin-top: clamp(0.85rem, 2vw, 1.1rem);
    min-width: 0;
}

.news-panel__sr-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.news-list-empty {
    padding: 2.5rem 0.5rem;
    text-align: center;
}

.news-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.news-feed__item {
    display: flex;
    align-items: baseline;
    gap: 1rem 1.25rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.news-feed__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-feed__date {
    flex: 0 0 auto;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* 动态列表底栏：左侧统计 + 右下角分页条 */
.news-list-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-list-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem 1rem;
    margin-top: clamp(1.25rem, 3vw, 1.85rem);
    padding-top: 0.15rem;
}

.news-list-footer__stat {
    margin: 0;
    margin-right: auto;
    font-size: 0.82rem;
    line-height: 1.4;
}

.ui-pager {
    flex: 0 0 auto;
}

.ui-pager__bar {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.28rem;
    padding: 0.2rem;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    box-shadow: var(--shadow);
}

.ui-pager__edge,
.ui-pager__num {
    box-sizing: border-box;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    line-height: 1;
    transition:
        border-color 0.15s ease,
        color 0.15s ease,
        background 0.15s ease;
}

.ui-pager__edge {
    min-width: 2rem;
    font-size: 1rem;
    color: var(--muted);
}

a.ui-pager__edge:hover,
a.ui-pager__num:hover {
    border-color: var(--line-strong);
    color: var(--gold-bright);
    background: rgba(37, 99, 235, 0.08);
}

.ui-pager__num.is-active {
    border-color: var(--gold-mid);
    background: rgba(37, 99, 235, 0.14);
    color: var(--gold-bright);
    cursor: default;
    pointer-events: none;
}

.ui-pager__edge.is-disabled,
.ui-pager__num.is-disabled {
    opacity: 0.32;
    cursor: not-allowed;
    pointer-events: none;
}

.ui-pager__ellipsis {
    min-width: 1.5rem;
    padding: 0 0.1rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--muted);
    user-select: none;
}

@media (max-width: 540px) {
    .news-list-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .news-list-footer__stat {
        margin-right: 0;
    }

    .ui-pager {
        align-self: flex-end;
    }
}

.news-list-back {
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 540px) {
    .news-feed__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .news-feed__title {
        white-space: normal;
    }
}

/* News · 时间轴（首页） */
.news-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1.35rem;
    border-left: 1px solid var(--line-strong);
    position: relative;
}

.news-timeline__item {
    position: relative;
    padding-bottom: clamp(1.35rem, 3vw, 1.85rem);
}

.news-timeline__item:last-child {
    padding-bottom: 0;
}

.news-timeline__item::before {
    content: "";
    position: absolute;
    left: -1.35rem;
    top: 0.35rem;
    width: 9px;
    height: 9px;
    margin-left: -4px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    box-shadow: 0 0 0 4px var(--bg), 0 0 18px rgba(37, 99, 235, 0.35);
}

.news-timeline__date {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.news-timeline__cat {
    vertical-align: middle;
}

.news-timeline__title {
    margin: 0.45rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--gold-bright);
    border: 1px solid var(--line);
}

/* CTA · 分栏大字报 */
.cta-split {
    position: relative;
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.35rem, 3vw, 2rem);
    border-radius: calc(var(--radius) + 8px);
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(118deg, rgba(37, 99, 235, 0.14) 0%, transparent 42%, transparent 100%),
        linear-gradient(180deg, rgba(241, 245, 249, 0.92), rgba(255, 255, 255, 0.96));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cta-split::after {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background: linear-gradient(115deg, transparent 42%, rgba(191, 219, 254, 0.05) 50%, transparent 58%);
    animation: ctaBandSheen 12s ease-in-out infinite;
    pointer-events: none;
}

.cta-split__copy,
.cta-split__aside {
    position: relative;
    z-index: 1;
}

.cta-split__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.cta-split__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.55rem, 3.6vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.18;
}

.cta-split__lede {
    margin: 0;
    max-width: min(46ch, 100%);
    font-size: 1.02rem;
    line-height: 1.65;
}

.cta-split__aside {
    justify-self: start;
}

@media (min-width: 768px) {
    .cta-split {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: clamp(2rem, 5vw, 3.5rem);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .cta-split__aside {
        justify-self: end;
    }
}

@keyframes ctaBandSheen {
    0%,
    100% {
        transform: translateX(-18%) rotate(-6deg);
        opacity: 0;
    }
    45% {
        opacity: 1;
    }
    55% {
        transform: translateX(14%) rotate(-6deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-split::after {
        animation: none;
        opacity: 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.68rem 1.35rem;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.28s var(--ease-out),
        box-shadow 0.35s var(--ease-out),
        border-color 0.28s var(--ease-out),
        background 0.28s var(--ease-out);
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

/* 避免全局 a:hover 把链接型按钮文字改成浅色（主按钮上近似「发白」） */
a.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(165deg, var(--gold-bright) 0%, var(--gold-mid) 38%, var(--gold) 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 16px 44px rgba(37, 99, 235, 0.38);
    color: #ffffff;
}

.btn-ghost {
    border-color: var(--line-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    border-color: var(--gold-mid);
    background: rgba(37, 99, 235, 0.06);
    color: var(--text);
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 0.82rem 1.85rem;
    font-size: 1.02rem;
    letter-spacing: 0.06em;
}

/* Page */
.page-main {
    padding-block: var(--space-page-y) var(--space-section-y);
}

.page-main--compliance {
    padding-bottom: clamp(2rem, 5vw, 3rem);
}

.page-header h1 {
    margin: 0 0 0.5rem;
}

.page-header__scope {
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* 案例列表：侧栏分类树 + 深色画册网格（对齐首页 case-grid-card） */
.page-main--cases-list {
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.cases-hero {
    margin-bottom: clamp(1.25rem, 3.5vw, 2rem);
}

.cases-hero--detail {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 1rem;
}

.cases-hero__preview-close {
    flex-shrink: 0;
}

.cases-hero__crumb {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.cases-list-layout {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    min-width: 0;
}

@media (min-width: 900px) {
    .cases-list-layout {
        grid-template-columns: minmax(12.5rem, 15.5rem) minmax(0, 1fr);
        align-items: start;
    }
}

.cases-sidebar {
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

@media (min-width: 900px) {
    .cases-sidebar {
        position: sticky;
        top: clamp(4.5rem, 8vh, 5.5rem);
    }
}

.cases-nav {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cases-nav__group {
    margin: 0;
    min-width: 0;
}

.cases-nav__group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.62rem 0.75rem;
    background: #eceef2;
    text-decoration: none;
    color: var(--text);
    transition:
        background 0.2s var(--ease-out),
        color 0.2s var(--ease-out);
}

.cases-nav__group-head:hover {
    background: #e4e8ef;
    color: var(--gold-deep);
    text-decoration: none;
}

.cases-nav__group-head.is-active {
    background: #dde4f0;
    color: var(--gold-deep);
}

.cases-nav__group-head.is-current {
    box-shadow: inset 3px 0 0 var(--gold);
}

.cases-nav__group-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.cases-nav__group-chevron {
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0.55;
    margin-right: 0.1rem;
}

.cases-nav__sublist {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0 0.15rem;
    background: #fff;
}

.cases-nav__subitem {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.38rem 0.75rem 0.38rem 0.55rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    transition:
        color 0.2s var(--ease-out),
        background 0.2s var(--ease-out);
}

.cases-nav__subitem:hover {
    color: var(--gold-deep);
    background: rgba(37, 99, 235, 0.04);
    text-decoration: none;
}

.cases-nav__subitem.is-active {
    color: var(--gold-deep);
    font-weight: 700;
    background: rgba(37, 99, 235, 0.07);
}

.cases-nav__subitem-line {
    flex-shrink: 0;
    color: var(--muted);
    font-weight: 400;
}

.cases-nav__subitem-idx {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.cases-nav__subitem.is-active .cases-nav__subitem-idx,
.cases-nav__subitem:hover .cases-nav__subitem-idx {
    color: var(--gold-deep);
}

.cases-nav__subitem-sep {
    flex-shrink: 0;
    margin-right: 0.15rem;
    color: var(--muted);
    font-weight: 400;
}

.cases-nav__subitem-label {
    min-width: 0;
}

.cases-nav__subitem--more .cases-nav__subitem-label {
    color: var(--muted);
}

.cases-nav__subitem--more:hover .cases-nav__subitem-label {
    color: var(--gold-deep);
}

.cases-leaf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    margin-bottom: clamp(0.65rem, 1.6vw, 0.85rem);
    padding-bottom: 0;
    border-bottom: none;
}

.cases-leaf-tabs__tab {
    display: inline;
    padding: 0.12rem 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.55;
    transition: color 0.2s var(--ease-out);
}

.cases-leaf-tabs__tab:hover {
    color: rgba(37, 99, 235, 0.92);
    background: transparent;
    text-decoration: none;
}

.cases-leaf-tabs__tab.is-active {
    border: none;
    background: transparent;
    color: #7a3340;
    font-weight: 600;
}

.cases-showcase {
    min-width: 0;
    padding: clamp(1rem, 2.5vw, 1.35rem);
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--line);
    background:
        radial-gradient(ellipse 100% 70% at 50% -15%, rgba(37, 99, 235, 0.08), transparent 58%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
    box-shadow: var(--shadow);
}

.cases-showcase__head {
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.cases-showcase__count {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.cases-showcase__count strong {
    color: var(--gold-mid);
    font-weight: 800;
}

.cases-list-empty {
    padding: clamp(2rem, 5vw, 3rem) 0;
    text-align: center;
    color: var(--muted);
}

.cases-list-empty .text-link {
    color: var(--gold-mid);
}

.cases-showcase .news-list-footer {
    margin-top: clamp(1.25rem, 3vw, 1.85rem);
}

.cases-showcase .news-list-footer__stat {
    color: var(--muted);
}

.cases-showcase .ui-pager__bar {
    border-color: var(--line);
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.cases-showcase .ui-pager__edge,
.cases-showcase .ui-pager__num {
    color: var(--text);
}

.cases-showcase .ui-pager__edge {
    color: var(--muted);
}

.cases-showcase a.ui-pager__edge:hover,
.cases-showcase a.ui-pager__num:hover {
    color: var(--gold-deep);
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--line-strong);
}

.cases-showcase .ui-pager__num.is-active {
    color: #fff;
    background: var(--gold-mid);
    border-color: var(--gold-mid);
}

/* 案例详情：右侧内容区（与列表同栏，茵斯派金蓝面板风格） */
.cases-showcase--detail {
    padding: clamp(1.1rem, 2.8vw, 1.5rem) clamp(1rem, 2.5vw, 1.35rem);
}

.page-case-detail.page-main--case-detail .case-detail-panel,
.page-case-detail.page-main--case-detail .case-detail-panel.case-detail--blocks {
    --case-detail-text-max: 100%;
    --case-detail-figure-max: 100%;
    max-width: none;
    width: 100%;
    margin-inline: 0;
}

.page-case-detail .cases-showcase--detail .case-detail__facts {
    max-width: none;
}

.page-case-detail .cases-showcase--detail .case-block--image-full,
.page-case-detail .cases-showcase--detail .case-block--video {
    width: 100%;
    max-width: 100%;
}

.page-case-detail .cases-showcase--detail .case-detail__footer {
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* 列表页画廊：卡片更大，2–3 列（首页近期案例仍为 2–5 列） */
.case-grid--list {
    gap: clamp(0.75rem, 2vw, 1.15rem);
    grid-template-columns: 1fr;
}

@media (min-width: 520px) {
    .case-grid--list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1040px) {
    .case-grid--list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.page-main--cases-list .case-grid-card__frame {
    aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
    .page-main--cases-list .case-grid-card__frame {
        aspect-ratio: 16 / 10;
    }
}

.section-top10 {
    border-bottom: 1px solid var(--line);
}

.top10__head {
    margin-bottom: var(--space-stack);
    align-items: center;
}

.top10-heading {
    display: inline-flex;
    align-items: baseline;
    gap: 0.22em;
    margin: 0;
    font-size: clamp(1.85rem, 4.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
}

.top10-heading__word {
    color: var(--text);
    letter-spacing: 0.06em;
}

.top10-heading__num {
    font-size: 1.22em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--ember));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 首页案例：统一横屏矩形网格，从左到右；与 .section 同宽，左右边距由 --page-gutter 统一 */
.case-grid {
    display: grid;
    width: 100%;
    gap: clamp(0.55rem, 1.2vw, 0.8rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .case-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .case-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.case-grid-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.35s var(--ease-out),
        box-shadow 0.35s var(--ease-out),
        border-color 0.35s var(--ease-out);
}

a.case-grid-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-gold);
    text-decoration: none;
}

.case-grid-card__frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
    flex-shrink: 0;
}

.case-grid-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.case-grid-card__placeholder {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(37, 99, 235, 0.1), transparent 62%),
        linear-gradient(180deg, var(--bg-elevated) 0%, var(--surface-2) 100%);
}

.case-grid-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: clamp(0.65rem, 1.5vw, 0.85rem) clamp(0.7rem, 1.6vw, 0.9rem);
    background: var(--surface);
}

.case-grid-card__title {
    font-size: clamp(0.84rem, 1.35vw, 0.95rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

a.case-grid-card:hover .case-grid-card__title {
    color: var(--gold-deep);
}

.case-grid-card__time {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    a.case-grid-card:hover {
        transform: none;
    }
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
}

/* 关于我们 /about（CMS：介绍 / 历程 / 品质 / 环境 / 联系；水平与首页同 --page-max） */
.page-about {
    background-color: var(--bg);
}

.page-main--about {
    --about-block-title-gap: clamp(0.85rem, 2vw, 1.15rem);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.page-main--about > .about-block {
    margin-block: 0;
}

.about-block__title {
    margin-block: var(--about-block-title-gap);
    font-size: clamp(1.35rem, 2.8vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* 首块标题无需额外顶距（由 page-main 上内边距承担） */
.page-main--about > .about-block:first-child > .about-block__title:first-child {
    margin-top: 0;
}

/* 公司介绍 · 图文并排 */
.about-intro__title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.35rem, 2.8vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.about-intro__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.about-intro__tagline {
    margin: 0 0 0.85rem;
    font-size: clamp(1.05rem, 2.2vw, 1.22rem);
    font-weight: 700;
    color: var(--gold-bright);
}

.about-intro__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
}

/* DOM 顺序为「图 → 文」，默认图在左；图在右时用 rtl 反转列顺序 */
.about-intro--img-right .about-intro__split {
    direction: rtl;
}

.about-intro--img-right .about-intro__split > * {
    direction: ltr;
}

.about-intro__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    min-height: 0;
}

.about-intro__media {
    margin: 0;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--surface-2);
    aspect-ratio: 3 / 1.95;
    box-shadow: var(--shadow);
}

.about-intro__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro__body {
    font-size: 1.02rem;
    line-height: 1.78;
}

.about-intro__body p:first-child {
    margin-top: 0;
}

/* 发展历程 · 横向交错时间轴 */
.about-history {
    --hist-rail-h: clamp(17rem, 32vw, 21rem);
    position: relative;
    padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.about-history::before {
    content: "";
    position: absolute;
    inset: 0 -8%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 70% at 12% 18%, rgba(37, 99, 235, 0.09), transparent 62%),
        radial-gradient(ellipse 48% 60% at 88% 78%, rgba(14, 165, 233, 0.08), transparent 58%),
        radial-gradient(ellipse 40% 50% at 50% 100%, rgba(99, 102, 241, 0.06), transparent 55%);
}

.about-history > * {
    position: relative;
    z-index: 1;
}

.about-history__header {
    margin-bottom: clamp(0.35rem, 1.5vw, 0.65rem);
}

.about-history__title {
    margin-bottom: 0.35rem;
}

.about-history__subtitle {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--gold-mid), var(--ember), #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-history__shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(0.35rem, 1.2vw, 0.65rem);
    align-items: center;
}

.about-history__arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--gold-mid);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.22s var(--ease-out),
        border-color 0.22s var(--ease-out),
        box-shadow 0.22s var(--ease-out),
        opacity 0.22s var(--ease-out);
}

.about-history__arrow:hover:not(:disabled) {
    transform: scale(1.06);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-gold);
    color: var(--gold-deep);
}

.about-history__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.about-history__arrow:focus-visible {
    outline: 2px solid var(--gold-mid);
    outline-offset: 3px;
}

.about-history__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: clamp(1rem, 4vw, 2rem);
    padding: 0.35rem 0 0.5rem;
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 2.25rem,
        #000 calc(100% - 2.25rem),
        transparent 100%
    );
}

.about-history__viewport::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.about-history__viewport:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 4px;
    border-radius: var(--radius);
}

.about-history__track {
    position: relative;
    min-width: min-content;
    padding: 0.5rem clamp(0.75rem, 3vw, 1.5rem);
}

.about-history__axis {
    position: absolute;
    left: clamp(1.5rem, 4vw, 2.5rem);
    right: clamp(1.5rem, 4vw, 2.5rem);
    top: 50%;
    transform: translateY(-50%);
    height: 0.35rem;
    pointer-events: none;
    z-index: 0;
}

.about-history__axis-line {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--gold-deep) 0%,
        var(--gold-mid) 22%,
        var(--ember) 48%,
        #6366f1 72%,
        var(--gold-bright) 100%
    );
    opacity: 0.42;
}

.about-history__axis-glow {
    position: absolute;
    inset: -0.65rem -1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.2), rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.18));
    filter: blur(12px);
    opacity: 0.55;
}

.about-history__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
}

.about-history__col {
    --hist-accent: var(--gold-mid);
    --hist-accent-soft: rgba(37, 99, 235, 0.12);
    --hist-accent-glow: rgba(37, 99, 235, 0.28);
    flex: 0 0 clamp(15.5rem, 26vw, 19.5rem);
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: stretch;
    min-height: var(--hist-rail-h);
    padding: 0 clamp(0.45rem, 1.2vw, 0.7rem);
    scroll-snap-align: center;
    transition: transform 0.35s var(--ease-out);
}

.about-history__col[data-tone="0"] {
    --hist-accent: #2563eb;
    --hist-accent-soft: rgba(37, 99, 235, 0.14);
    --hist-accent-glow: rgba(37, 99, 235, 0.32);
}

.about-history__col[data-tone="1"] {
    --hist-accent: #0ea5e9;
    --hist-accent-soft: rgba(14, 165, 233, 0.14);
    --hist-accent-glow: rgba(14, 165, 233, 0.3);
}

.about-history__col[data-tone="2"] {
    --hist-accent: #4f46e5;
    --hist-accent-soft: rgba(79, 70, 229, 0.13);
    --hist-accent-glow: rgba(79, 70, 229, 0.28);
}

.about-history__col[data-tone="3"] {
    --hist-accent: #0284c7;
    --hist-accent-soft: rgba(2, 132, 199, 0.13);
    --hist-accent-glow: rgba(2, 132, 199, 0.28);
}

.about-history__col[data-tone="4"] {
    --hist-accent: #6366f1;
    --hist-accent-soft: rgba(99, 102, 241, 0.14);
    --hist-accent-glow: rgba(99, 102, 241, 0.3);
}

.about-history__slot {
    display: flex;
    min-height: 0;
}

.about-history__col.is-top .about-history__slot--upper {
    align-items: flex-end;
    padding-bottom: 0.65rem;
}

.about-history__col.is-top .about-history__slot--lower {
    align-items: flex-start;
}

.about-history__col.is-bottom .about-history__slot--upper {
    align-items: flex-end;
}

.about-history__col.is-bottom .about-history__slot--lower {
    align-items: flex-start;
    padding-top: 0.65rem;
}

.about-history__node {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.about-history__year {
    appearance: none;
    margin: 0;
    padding: 0.45rem 1.05rem;
    border: 2px solid var(--hist-accent);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--hist-accent);
    cursor: pointer;
    box-shadow:
        0 0 0 4px var(--bg),
        0 6px 20px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.28s var(--ease-out),
        background 0.28s var(--ease-out),
        color 0.28s var(--ease-out),
        box-shadow 0.28s var(--ease-out);
}

.about-history__year:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 0 0 4px var(--bg),
        0 10px 28px var(--hist-accent-glow);
}

.about-history__year:focus-visible {
    outline: 2px solid var(--hist-accent);
    outline-offset: 4px;
}

.about-history__col.is-active .about-history__year {
    background: linear-gradient(145deg, var(--hist-accent), color-mix(in srgb, var(--hist-accent) 72%, #0f172a));
    color: #fff;
    transform: scale(1.08);
    box-shadow:
        0 0 0 4px var(--bg),
        0 12px 32px var(--hist-accent-glow);
}

.about-history__card {
    position: relative;
    width: 100%;
    margin: 0;
    padding: clamp(0.95rem, 2vw, 1.15rem) clamp(0.95rem, 2vw, 1.1rem) clamp(0.95rem, 2vw, 1.05rem) clamp(1.05rem, 2.2vw, 1.2rem);
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid color-mix(in srgb, var(--hist-accent) 28%, var(--line));
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, var(--hist-accent-soft) 120%),
        #fff;
    box-shadow:
        0 14px 36px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    transition:
        transform 0.35s var(--ease-out),
        box-shadow 0.35s var(--ease-out),
        border-color 0.35s var(--ease-out);
}

.about-history__card::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: inherit;
    border: 1px solid color-mix(in srgb, var(--hist-accent) 28%, var(--line));
    border-top-color: transparent;
    border-left-color: transparent;
    transform: rotate(45deg);
    box-shadow: 4px 4px 12px rgba(15, 23, 42, 0.04);
}

.about-history__col.is-top .about-history__card::after {
    bottom: -7px;
}

.about-history__col.is-bottom .about-history__card::after {
    top: -7px;
    transform: rotate(225deg);
    box-shadow: -2px -2px 8px rgba(15, 23, 42, 0.04);
}

.about-history__card-badge {
    position: absolute;
    top: 0.85rem;
    left: 0;
    width: 4px;
    height: calc(100% - 1.7rem);
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--hist-accent), color-mix(in srgb, var(--hist-accent) 40%, var(--ember)));
}

.about-history__col.is-active .about-history__card {
    transform: translateY(0) scale(1.02);
    border-color: color-mix(in srgb, var(--hist-accent) 55%, transparent);
    box-shadow:
        0 20px 48px var(--hist-accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-history__col.is-top.is-active .about-history__card {
    transform: translateY(-4px) scale(1.02);
}

.about-history__col.is-bottom.is-active .about-history__card {
    transform: translateY(4px) scale(1.02);
}

.about-history__card-title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
}

.about-history__card-body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.68;
    color: var(--muted);
}

.about-history.is-visible .about-history__col {
    animation: about-history-col-in 0.65s var(--ease-out) both;
}

.about-history.is-visible .about-history__col:nth-child(1) { animation-delay: 0.05s; }
.about-history.is-visible .about-history__col:nth-child(2) { animation-delay: 0.12s; }
.about-history.is-visible .about-history__col:nth-child(3) { animation-delay: 0.19s; }
.about-history.is-visible .about-history__col:nth-child(4) { animation-delay: 0.26s; }
.about-history.is-visible .about-history__col:nth-child(5) { animation-delay: 0.33s; }
.about-history.is-visible .about-history__col:nth-child(n + 6) { animation-delay: 0.4s; }

@keyframes about-history-col-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .about-history__shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr auto;
        gap: 0.5rem;
    }

    .about-history__arrow--prev {
        grid-row: 2;
        grid-column: 1;
        justify-self: start;
        z-index: 2;
        margin-left: 0.15rem;
    }

    .about-history__arrow--next {
        grid-row: 2;
        grid-column: 1;
        justify-self: end;
        z-index: 2;
        margin-right: 0.15rem;
    }

    .about-history__viewport {
        grid-row: 2;
        grid-column: 1;
    }

    .about-history__arrow {
        width: 2.35rem;
        height: 2.35rem;
        background: rgba(255, 255, 255, 0.92);
    }
}

@media (max-width: 640px) {
    .about-history {
        --hist-rail-h: auto;
    }

    .about-history__shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-history__arrow {
        display: none;
    }

    .about-history__viewport {
        mask-image: none;
        scroll-snap-type: none;
        padding-bottom: 0.25rem;
    }

    .about-history__track {
        padding-inline: 0.25rem;
    }

    .about-history__axis {
        left: 1.15rem;
        right: auto;
        top: 0.65rem;
        bottom: 0.65rem;
        width: 0.28rem;
        height: auto;
        transform: none;
    }

    .about-history__axis-line {
        width: 100%;
        height: 100%;
        background: linear-gradient(
            180deg,
            var(--gold-deep),
            var(--gold-mid),
            var(--ember),
            #6366f1
        );
    }

    .about-history__axis-glow {
        inset: -0.5rem -0.85rem;
    }

    .about-history__list {
        flex-direction: column;
        gap: 0.15rem;
        padding-left: 0.35rem;
    }

    .about-history__col {
        flex: none;
        width: 100%;
        min-height: 0;
        grid-template-rows: auto;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0 0.85rem;
        padding: 0.65rem 0 0.65rem 0.5rem;
        scroll-snap-align: none;
    }

    .about-history__node {
        grid-row: 1;
        grid-column: 1;
        align-self: start;
        padding-top: 0.35rem;
    }

    .about-history__slot--upper,
    .about-history__slot--lower {
        grid-row: 1;
        grid-column: 2;
    }

    .about-history__col.is-bottom .about-history__slot--upper {
        display: none;
    }

    .about-history__col.is-top .about-history__slot--lower {
        display: none;
    }

    .about-history__col.is-top .about-history__slot--upper,
    .about-history__col.is-bottom .about-history__slot--lower {
        display: flex;
        padding: 0;
    }

    .about-history__card::after {
        display: none;
    }

    .about-history__year {
        min-width: 3.5rem;
        padding-inline: 0.65rem;
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-history.is-visible .about-history__col {
        animation: none;
    }

    .about-history__card,
    .about-history__year,
    .about-history__arrow,
    .about-history__col {
        transition: none;
    }
}

/* 品质承诺 · 背景图 + 右侧白底文案浮层（宽度跟随 page-main） */
.about-quality--hero {
    width: 100%;
    margin-block: clamp(1.5rem, 4vw, 2.5rem);
    padding: 0;
}

.about-quality__stage {
    position: relative;
    min-height: clamp(16rem, 38vw, 26rem);
    background: var(--surface-2);
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-quality__media {
    margin: 0;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.about-quality__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-quality__panel {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    top: 50%;
    transform: translateY(-50%);
    width: min(42%, 28rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    z-index: 1;
}

.about-quality__eyebrow {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.about-quality__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.25;
    color: var(--text);
}

.about-quality__body {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--muted);
}

.about-quality__body p:first-child {
    margin-top: 0;
}

.about-quality__body p:last-child {
    margin-bottom: 0;
}

.about-quality__stage:not(:has(.about-quality__media)) {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: clamp(1rem, 4vw, 3rem);
}

.about-quality__stage:not(:has(.about-quality__media)) .about-quality__panel {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
}

@media (max-width: 899px) {
    .about-quality__stage {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: stretch;
        min-height: 0;
    }

    .about-quality__media {
        position: relative;
        inset: auto;
        aspect-ratio: 4 / 3;
    }

    .about-quality__panel {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: auto;
        align-self: center;
        margin: clamp(0.75rem, 2vw, 1.25rem);
        box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
    }

    .about-quality__stage:not(:has(.about-quality__media)) {
        display: flex;
        justify-content: center;
        padding: clamp(0.75rem, 2vw, 1.25rem);
    }

    .about-quality__stage:not(:has(.about-quality__media)) .about-quality__panel {
        margin: 0;
        width: min(100%, 28rem);
    }
}

@media (max-width: 599px) {
    .about-quality__stage {
        display: flex;
        flex-direction: column;
    }

    .about-quality__media {
        position: relative;
        aspect-ratio: 16 / 10;
    }

    .about-quality__panel {
        position: static;
        width: auto;
        margin: 0;
        padding: clamp(1.25rem, 4vw, 1.75rem);
        box-shadow: none;
    }
}

/* 公司环境 · 4:3 圆角矩形，一行 4 张，可多行 */
.about-env__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.6vw, 1.15rem);
}

.about-env__cell {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.about-env__thumb {
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--line);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    box-shadow: var(--shadow);
}

.about-env__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease-out);
}

.about-env__cell:hover .about-env__img {
    transform: scale(1.04);
}

.about-env__cap {
    padding: 0.2rem 0.35rem 0;
    text-align: center;
    line-height: 1.4;
}

/* 联系方式 · 左信息右地图（桌面端高度由 JS 与左侧 facts 对齐） */
.about-reach__split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.about-reach__facts {
    display: flex;
    flex-direction: column;
    align-self: start;
    width: 100%;
    min-width: 0;
}

.about-reach__map {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-self: start;
}

.about-reach__dl {
    margin: 0;
}

.about-reach__block {
    margin: 0 0 0.7rem;
    padding-bottom: 0.62rem;
    border-bottom: 1px solid var(--line);
}

.about-reach__block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.about-reach__block-label {
    margin: 0 0 0.38rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.about-reach__block-body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
    min-width: 0;
}

.about-reach__phone-list,
.about-reach__addr-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.about-reach__phone-list--row {
    flex-flow: row wrap;
    align-items: center;
    gap: 0.55rem clamp(0.85rem, 2.5vw, 2rem);
}

.about-reach__phone-item {
    display: inline-flex;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
    white-space: nowrap;
}

.about-reach__chip-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.55rem;
    background: linear-gradient(145deg, rgba(201, 162, 39, 0.14), rgba(201, 162, 39, 0.06));
    color: var(--gold-mid);
    border: 1px solid rgba(201, 162, 39, 0.28);
}

.about-reach__chip-icon svg {
    display: block;
}

.about-reach__phone-tag {
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.about-reach__block--addrs .about-reach__addr-list {
    gap: 0.55rem;
}

.about-reach__addr-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.12rem 0.35rem;
    line-height: 1.55;
    min-width: 0;
}

.about-reach__addr-label {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 650;
}

.about-reach__addr-text {
    flex: 1 1 10rem;
    min-width: 0;
    font-weight: 550;
    overflow-wrap: anywhere;
}

.about-reach__link {
    font-weight: 650;
    color: var(--text);
}

.about-reach__link:hover {
    color: var(--gold-mid);
}

.about-reach__more {
    margin: 0.75rem 0 0;
    line-height: 1.5;
}

/* 公司地址地图 iframe（关于 / 联系共用 fragments/company-map.html） */
.company-map__frame {
    width: 100%;
    height: 14rem;
    max-height: none;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--line-strong);
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: var(--shadow);
}

.company-map__iframe,
.company-map__canvas {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--surface-2);
}

.company-map__canvas {
    z-index: 0;
}

/* HiDPI：避免瓦片被浏览器二次模糊缩放 */
.company-map__canvas.leaflet-container {
    background: #e8ecef;
}

.company-map__canvas .leaflet-tile-pane img.leaflet-tile {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
}

.company-map__canvas .leaflet-control-zoom {
    display: none;
}

.company-map__canvas .leaflet-control-attribution {
    font-size: 0.65rem;
    line-height: 1.35;
    background: rgba(255, 255, 255, 0.88);
}

/* Leaflet 图钉（CSS，不依赖 marker-icon.png） */
.company-map-pin {
    background: transparent;
    border: 0;
}

.company-map-pin__glyph {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold-deep));
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.35);
}

.company-map__canvas .leaflet-tooltip {
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.about-reach__map .company-map {
    width: 100%;
}

/* 小屏 PC（仍并排）：电话改纵排，地址自动换行，避免出现横向滚动条 */
@media (max-width: 1180px) and (min-width: 901px) {
    .about-reach__phone-list--row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }
}

@media (max-width: 900px) {
    .about-intro__split,
    .about-reach__split {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .about-intro__copy {
        justify-content: flex-start;
        align-self: auto;
    }

    .about-reach__phone-list--row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .about-intro--img-right .about-intro__split {
        direction: ltr;
    }

    #about-reach-map {
        height: auto !important;
        min-height: 12rem;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 1100px) {
    .about-env__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 720px) {
    .about-env__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-env__cell:hover .about-env__img {
        transform: none;
    }
}

.about-hero {
    margin-bottom: 0;
}

.about-hero__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.about-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 2.85rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.12;
}

.about-hero__rule {
    display: block;
    height: 3px;
    width: min(10rem, 42vw);
    margin: clamp(0.75rem, 2vw, 1rem) 0 clamp(0.65rem, 1.5vw, 0.85rem);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-mid), var(--gold-deep), transparent);
}

.about-hero__tagline {
    margin: 0 0 0.85rem;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gold-bright);
}

.about-hero__lede {
    margin: 0;
    max-width: min(60ch, 100%);
    font-size: 1.02rem;
    line-height: 1.78;
}

.about-hero__lede strong {
    color: var(--text);
    font-weight: 700;
}

.page-main--about .about-stats {
    margin-bottom: 0;
}

.about-stats__grid {
    list-style: none;
    margin: 0;
    padding: clamp(1.1rem, 2.5vw, 1.5rem);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem 1rem;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(145deg, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, rgba(241, 245, 249, 0.88), rgba(255, 255, 255, 0.95));
    box-shadow: var(--shadow);
}

.about-stats__cell {
    text-align: center;
    padding: 0.5rem 0.35rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.about-stats__cell:last-child {
    border-right: 0;
}

.about-stats__headline {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.06em 0.18em;
    margin: 0 auto 0.15rem;
}

.about-stats__num {
    display: inline-block;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-mid));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-stats__unit {
    display: inline;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}

.about-stats__label {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.about-band {
    margin-bottom: 0;
}

.about-band__prose p {
    margin-top: 0.75rem;
}

.about-band__prose p:first-child {
    margin-top: 0;
}

.about-section {
    margin-bottom: 0;
}

.about-section__title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gold-bright);
}

.about-pillars {
    margin-bottom: 0;
}

.about-pillars__heading {
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.about-pillars__sub {
    margin: 0 0 1.25rem;
    max-width: 48ch;
}

.about-pillars__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-stack);
}

.about-pillar-card {
    padding: clamp(1.1rem, 2.5vw, 1.35rem);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(155deg, var(--surface), var(--surface-2));
    box-shadow: var(--shadow);
}

.about-pillar-card__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.about-pillar-card__body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-culture {
    margin-bottom: 0;
}

.about-culture__heading {
    margin: 0 0 1.1rem;
    font-size: clamp(1.25rem, 2.5vw, 1.45rem);
    font-weight: 800;
}

.about-culture__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-stack);
}

.about-culture-card {
    padding: clamp(1rem, 2.2vw, 1.2rem);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(37, 99, 235, 0.06);
}

.about-culture-card__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--gold-bright);
}

.about-culture-card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 600;
}

.about-honors {
    margin-bottom: 0;
}

.about-honors__heading {
    margin: 0 0 0.35rem;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 800;
}

.about-honors__note {
    margin: 0 0 1rem;
    max-width: 52ch;
}

.about-honors__chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
}

.about-honors__chips li {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--line);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
}

.about-album {
    margin-bottom: 0;
}

.about-album__heading {
    margin: 0 0 0.35rem;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 800;
}

.about-album__lede {
    margin: 0 0 1rem;
    max-width: 50ch;
}

.about-album__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 0.85rem;
}

.about-album__fig {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.about-album__frame {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.28);
    aspect-ratio: 4 / 3;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.about-album__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.001);
    transition: transform 0.45s var(--ease-out);
}

.about-album__fig:hover .about-album__img {
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .about-album__fig:hover .about-album__img {
        transform: scale(1.001);
    }
}

.about-album__cap {
    margin: 0;
    text-align: center;
    font-weight: 650;
    letter-spacing: 0.08em;
}

.about-cta {
    margin-top: 0;
    padding: clamp(1.35rem, 3vw, 1.85rem);
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 55%),
        linear-gradient(180deg, rgba(241, 245, 249, 0.5), rgba(255, 255, 255, 0.72));
    box-shadow: var(--shadow);
}

.about-cta__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.about-cta__lede {
    margin: 0 0 1.1rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--muted);
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
}

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

    .about-stats__cell {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 0.85rem 0.5rem;
    }

    .about-stats__cell:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .about-stats__cell:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .about-pillars__grid,
    .about-culture__grid {
        grid-template-columns: 1fr;
    }

    .about-album__grid {
        grid-template-columns: 1fr;
    }
}

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

    .about-stats__cell {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .about-stats__cell:last-child {
        border-bottom: 0;
    }
}

.breadcrumb {
    margin-bottom: var(--space-stack);
    font-size: 0.95rem;
}

.figure-frame {
    margin: 1.5rem 0;
    padding: 3rem 0;
    text-align: center;
    border-radius: var(--radius);
    border: 1px dashed var(--line);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
}

.case-cover-photo {
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.case-cover-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70vh, 560px);
    object-fit: cover;
}

/* =============================================================================
 * 案例详情页（区块化正文 + 项目信息带）
 * ============================================================================= */
.page-main--case-detail {
    /* 介于全站 3.125rem 与上一版 1.75rem 之间 */
    --page-gutter: clamp(0.875rem, 2.8vw, 2.125rem);
    padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.25rem, 5vw, 3.5rem);
}

.page-case-detail.page-main--cases-list.page-main--case-detail {
    padding-block: clamp(1rem, 2.5vw, 1.75rem) clamp(2rem, 4.5vw, 3.25rem);
}

.page-main--case-detail:not(.page-main--cases-list) .case-detail {
    --case-detail-text-max: min(60rem, calc(100vw - 2 * var(--page-gutter)));
    --case-detail-figure-max: min(64rem, calc(100vw - 2 * var(--page-gutter)));
    max-width: var(--case-detail-text-max);
}

.page-main--case-detail:not(.page-main--cases-list) .case-detail.case-detail--blocks {
    --case-detail-text-max: min(60rem, calc(100vw - 2 * var(--page-gutter)));
    --case-detail-figure-max: min(64rem, calc(100vw - 2 * var(--page-gutter)));
}

.case-detail {
    --case-detail-text-max: 42rem;
    --case-detail-figure-max: min(52rem, calc(100vw - 2 * var(--page-gutter)));
    width: 100%;
    max-width: var(--case-detail-text-max);
    margin-inline: auto;
}

.case-detail__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: clamp(0.85rem, 1.8vw, 1.15rem);
    padding-bottom: clamp(0.75rem, 1.6vw, 1rem);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.case-detail__crumb {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.case-detail__crumb a {
    color: var(--gold-mid);
    text-decoration: none;
    font-weight: 600;
}

.case-detail__crumb a:hover {
    text-decoration: underline;
}

.case-detail__crumb-sep {
    margin: 0 0.35rem;
    opacity: 0.45;
}

.case-preview-site-banner {
    margin: 0;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: center;
    color: #3d4a5c;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.14), rgba(212, 175, 55, 0.12));
    border-bottom: 1px solid rgba(37, 99, 235, 0.22);
    position: sticky;
    top: 0;
    z-index: 120;
}

.case-preview-site-banner__sep {
    margin: 0 0.35rem;
    opacity: 0.5;
}

.case-detail__back {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
    color: rgba(37, 99, 235, 0.88);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.28);
    background: rgba(37, 99, 235, 0.06);
    transition:
        background 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out),
        color 0.2s var(--ease-out);
}

.case-detail__back--btn {
    cursor: pointer;
    font-family: inherit;
}

.case-detail__back:hover,
.case-detail__back--btn:hover {
    color: var(--gold-bright);
    border-color: rgba(37, 99, 235, 0.45);
    background: rgba(37, 99, 235, 0.1);
}

/* 详情页项目信息（面包屑下方；参考贝耳 label: value 三列网格） */
.case-detail__facts {
    width: 100%;
    max-width: var(--case-detail-figure-max);
    margin-inline: auto;
    margin-bottom: clamp(1.25rem, 2.6vw, 1.75rem);
    padding-bottom: clamp(0.85rem, 1.8vw, 1.1rem);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.case-detail__facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem clamp(1rem, 2.5vw, 2.5rem);
    margin: 0;
}

.case-detail__fact {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.12rem;
    margin: 0;
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.65;
}

.case-detail__fact-label {
    margin: 0;
    flex-shrink: 0;
    font-weight: 400;
    color: var(--muted);
}

.case-detail__fact-value {
    margin: 0;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
}

@media (max-width: 767px) {
    .case-detail__facts {
        padding: 0.85rem 0.75rem 1rem;
        border-radius: calc(var(--radius) + 2px);
        background: rgba(37, 99, 235, 0.035);
        border: 1px solid rgba(37, 99, 235, 0.1);
    }

    .case-detail__facts-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.55rem 0.45rem;
    }

    /* 第一行：时间 · 展台面积 · 行业类型 */
    .case-detail__fact:nth-child(1) {
        grid-column: 3 / 5;
        grid-row: 1;
    }

    .case-detail__fact:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .case-detail__fact:nth-child(5) {
        grid-column: 5 / 7;
        grid-row: 1;
    }

    /* 第二行：展会名称 · 展台地点 */
    .case-detail__fact:nth-child(3) {
        grid-column: 1 / 4;
        grid-row: 2;
    }

    .case-detail__fact:nth-child(2) {
        grid-column: 4 / 7;
        grid-row: 2;
    }

    .case-detail__fact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.18rem;
        min-width: 0;
        padding: 0.5rem 0.45rem;
        border-radius: calc(var(--radius) - 2px);
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(15, 23, 42, 0.07);
        font-size: 0.8125rem;
        line-height: 1.5;
        overflow: hidden;
    }

    .case-detail__fact-label {
        font-size: 0.72rem;
        line-height: 1.35;
        color: rgba(15, 23, 42, 0.52);
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .case-detail__fact-value {
        width: 100%;
        max-width: 100%;
        font-size: 0.8125rem;
        line-height: 1.45;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: normal;
    }
}

.case-detail__head {
    margin-bottom: clamp(1.35rem, 2.8vw, 2rem);
}

.case-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.5rem;
    margin-bottom: 0.85rem;
}

.case-detail__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: var(--gold-deep);
    background: rgba(37, 99, 235, 0.08);
}

.case-detail__pill--muted {
    letter-spacing: 0.08em;
    color: var(--muted);
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.03);
}

.case-detail__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.5rem, 2.8vw + 0.6rem, 2.15rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.035em;
    color: var(--text);
}

.case-detail__tags {
    margin: 0 0 0.85rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(37, 99, 235, 0.78);
}

.case-detail__summary {
    margin: 0;
    padding: clamp(0.85rem, 2vw, 1.1rem) 0 0;
    border-top: 1px solid rgba(37, 99, 235, 0.12);
    font-size: 1.03rem;
    line-height: 1.78;
    color: var(--muted);
}

/* 配图区：略宽于正文栏，居中「橱窗」 */
.case-detail__figure-slot {
    width: var(--case-detail-figure-max);
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
}

.case-detail__figure {
    margin: 0;
}

.case-detail__figure-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--case-media-radius, calc(var(--radius) + 4px));
    overflow: hidden;
    background: #0c0e14;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.case-detail__figure-frame:not(.case-detail__figure-frame--empty)::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.42);
}

.case-detail__figure-frame img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

/* 案例详情：横屏仅加宽配图（版式与默认单栏一致） */
.case-detail--landscape {
    --case-detail-text-max: 48rem;
    --case-detail-figure-max: min(64rem, calc(100vw - 2 * var(--page-gutter)));
}

/* 竖屏：左海报浮动 + 右上标题/案例正文 + 正文绕排后通栏（不展示摘要） */
.case-detail--portrait {
    --portrait-poster-w: clamp(10.5rem, 28%, 17.5rem);
    --portrait-gutter: clamp(1.35rem, 2.8vw, 2.35rem);
    --case-detail-text-max: min(76rem, calc(100vw - 2 * var(--page-gutter)));
    max-width: var(--case-detail-text-max);
}

.case-detail__portrait-sheet {
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
    padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.15rem, 2.8vw, 1.75rem);
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: linear-gradient(168deg, rgba(12, 15, 22, 0.55), rgba(8, 10, 15, 0.82));
}

.case-detail__portrait-sheet::after {
    content: '';
    display: table;
    clear: both;
}

.case-detail__portrait-float {
    float: left;
    width: var(--portrait-poster-w);
    margin: 0 var(--portrait-gutter) 0.85rem 0;
}

figure.case-detail__portrait-float {
    margin: 0 var(--portrait-gutter) 0.85rem 0;
}

.case-detail__portrait-float__frame {
    padding: 0.4rem;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid rgba(37, 99, 235, 0.22);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.35));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.case-detail__portrait-float__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius) + 2px);
    object-fit: contain;
}

.case-detail__portrait-float--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    padding: 1.5rem 1rem;
    border-radius: calc(var(--radius) + 4px);
    border: 1px dashed rgba(37, 99, 235, 0.28);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.case-detail__portrait-head {
    margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
    padding-top: 0.1rem;
}

.case-detail__portrait-meta {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.case-detail__portrait-meta-sep::before {
    content: '\00a0';
}

.case-detail__portrait-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 1.6vw + 0.95rem, 2.05rem);
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: 0.03em;
    color: var(--text);
}

.case-detail__portrait-tags {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    letter-spacing: 0.04em;
}

.case-detail__portrait-flow__label {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(37, 99, 235, 0.72);
}

.case-detail__portrait-flow .case-detail__para {
    margin: 0 0 0.95rem;
    line-height: 1.82;
    color: var(--text);
    text-align: justify;
    text-justify: inter-ideograph;
}

.case-detail__portrait-flow .case-detail__para:last-child {
    margin-bottom: 0;
}

.case-detail__para--portrait.case-detail__para--opening {
    font-size: 0.98rem;
    line-height: 1.78;
    color: var(--text);
}

@media (min-width: 768px) {
    .case-detail__portrait-sheet {
        padding: clamp(1.5rem, 3.2vw, 2rem) clamp(1.35rem, 3vw, 2rem);
    }

    .case-detail--portrait {
        --portrait-poster-w: clamp(11rem, 30%, 18.5rem);
        --portrait-gutter: clamp(1.5rem, 3vw, 2.5rem);
    }

    .case-detail__portrait-head {
        margin-bottom: clamp(0.75rem, 1.8vw, 1rem);
    }

    .case-detail__portrait-flow__label {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 767px) {
    .case-detail__portrait-float {
        float: none;
        width: min(16.5rem, 78vw);
        margin: 0 auto 1.15rem;
    }

    .case-detail__portrait-head {
        text-align: center;
        margin-bottom: 1rem;
    }

    .case-detail__portrait-flow .case-detail__para {
        text-align: start;
    }
}

.case-detail__figure-frame--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(10rem, 22vh, 14rem);
    padding: 1.75rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--muted);
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(37, 99, 235, 0.09), transparent 55%),
        linear-gradient(168deg, rgba(238, 242, 247, 0.98), rgba(255, 255, 255, 0.99));
}

/* 正文：固定阅读宽、段间距与首段强调 */
.case-detail__body {
    margin-top: 0.15rem;
}

.case-detail__para {
    margin: 0 0 1.45em;
    font-size: 1.0625rem;
    line-height: 1.88;
    letter-spacing: 0.03em;
    color: var(--text);
    text-align: justify;
    text-justify: inter-ideograph;
}

.case-detail__para--opening {
    font-size: 1.09rem;
    line-height: 1.92;
    color: var(--text);
}

.case-detail__para:last-child {
    margin-bottom: 0;
}

/* 区块化正文（P0） */
.case-detail--blocks {
    --case-detail-text-max: 48rem;
    --case-detail-figure-max: min(64rem, calc(100vw - 2 * var(--page-gutter)));
    --case-block-gap: clamp(0.85rem, 2vw, 1.15rem);
    --case-media-radius: calc(var(--radius) + 4px);
    --case-media-aspect-wide: 16 / 9;
    --case-media-aspect-cell: 4 / 3;
}

.case-detail__blocks {
    display: flex;
    flex-direction: column;
    gap: var(--case-block-gap);
    margin-top: 0.15rem;
}

.case-detail__blocks .case-detail__para {
    margin-bottom: 0;
}

.case-detail__blocks .case-block--paragraph + .case-block--paragraph {
    margin-top: 0.65em;
}

.case-block {
    margin: 0;
}

.case-block--heading {
    margin-top: 0;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text);
    line-height: 1.35;
}

.case-block--h2 {
    font-size: clamp(1.15rem, 1.2vw + 0.85rem, 1.45rem);
}

.case-block--h3 {
    font-size: clamp(1.02rem, 0.8vw + 0.82rem, 1.2rem);
    color: rgba(37, 99, 235, 0.92);
}

.case-block--image-full {
    margin-inline: auto;
    width: var(--case-detail-figure-max);
    max-width: 100%;
}

.case-block__image-frame {
    position: relative;
    aspect-ratio: var(--case-media-aspect-wide);
    border-radius: var(--case-media-radius);
    overflow: hidden;
    background: #0c0e14;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.case-block__image-frame img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.case-block__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.5vw, 0.9rem);
}

.case-block__gallery-grid--solo {
    grid-template-columns: 1fr;
}

.case-block__gallery-cell {
    position: relative;
    aspect-ratio: var(--case-media-aspect-cell);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: #0c0e14;
}

.case-block__gallery-grid--solo .case-block__gallery-cell {
    aspect-ratio: var(--case-media-aspect-wide);
}

.case-block__gallery-cell img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.case-block__caption {
    margin-top: 0.45rem;
    text-align: center;
    line-height: 1.55;
}

/* P1：图文分栏（图片浮动，长文自然绕排并在图下续满宽；移动端与 PC 同布局，仅尺寸随 clamp/% 缩放） */
.case-block--two-column {
    display: flow-root;
}

.case-block__two-col-media {
    position: relative;
    margin: 0;
    width: min(46%, 22rem);
    aspect-ratio: var(--case-media-aspect-cell);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: #0c0e14;
    float: left;
    margin-right: clamp(1rem, 2.5vw, 1.75rem);
    margin-bottom: clamp(0.65rem, 1.5vw, 1rem);
}

.case-block--two-column-reverse .case-block__two-col-media {
    float: right;
    margin-right: 0;
    margin-left: clamp(1rem, 2.5vw, 1.75rem);
}

.case-block__two-col-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.case-block__two-col-text {
    margin: 0;
}

/* P1：要点列表 */
.case-block--bullet-list {
    margin: 0;
    padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1rem, 2.2vw, 1.35rem);
    list-style: none;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: rgba(37, 99, 235, 0.04);
}

.case-block--bullet-list li {
    position: relative;
    padding-left: 1.15rem;
    margin: 0 0 0.65rem;
    line-height: 1.75;
    color: var(--text);
}

.case-block--bullet-list li:last-child {
    margin-bottom: 0;
}

.case-block--bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--gold-mid);
    transform: translateY(-50%);
}

/* P1：引用 */
.case-block--quote {
    margin: 0;
    padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.1rem, 2.4vw, 1.5rem);
    border-left: 4px solid rgba(37, 99, 235, 0.55);
    border-radius: 0 calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.07), transparent 85%);
}

.case-block__quote-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--text);
}

.case-block__quote-attribution {
    margin: 0.65rem 0 0;
}

.case-block__quote-attribution::before {
    content: '— ';
}

.case-block--quote a.case-block__quote-link {
    color: rgba(37, 99, 235, 0.95);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-color: rgba(37, 99, 235, 0.45);
    word-break: break-all;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.case-block--quote a.case-block__quote-link:hover {
    color: var(--gold-bright);
    text-decoration-color: rgba(212, 175, 55, 0.65);
}

/* P1：外链视频 lazy embed */
.case-block--video {
    margin-inline: auto;
    width: var(--case-detail-figure-max);
    max-width: 100%;
}

.case-block__video-stage {
    position: relative;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    background: #0a0c10;
    border: 1px solid rgba(37, 99, 235, 0.2);
    aspect-ratio: 16 / 9;
}

.case-block__video-play {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.case-block__video-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-block__video-play-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.case-block__video-play-icon::after {
    content: '';
    position: absolute;
    left: 1.45rem;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 0.65rem 0 0.65rem 1.05rem;
    border-color: transparent transparent transparent #fff;
}

.case-block--video.is-playing .case-block__video-play {
    display: none;
}

.case-block__video-frame {
    position: absolute;
    inset: 0;
}

.case-block__video-frame[hidden] {
    display: none;
}

.case-block--video.is-playing .case-block__video-frame {
    display: block;
}

.case-block__video-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.case-block__video-native {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.case-detail__footer {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.case-detail__footer-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gold-mid);
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

.case-detail__footer-link:hover {
    color: var(--gold-bright);
}

@media (max-width: 560px) {
    .case-detail__toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 案例详情右栏（PC）：容器左右约 10px；正文/图片铺满栏宽（须在 .case-detail--blocks 变量之后） */
@media (min-width: 900px) {
    body.page-case-detail .cases-showcase.cases-showcase--detail {
        padding: 1.15rem 10px 1.35rem;
    }

    body.page-case-detail .cases-showcase--detail .case-detail-panel,
    body.page-case-detail .cases-showcase--detail .case-detail.case-detail--blocks {
        --case-detail-text-max: 100%;
        --case-detail-figure-max: 100%;
        max-width: none;
        width: 100%;
        margin-inline: 0;
    }

    body.page-case-detail .cases-showcase--detail .case-detail__facts {
        max-width: none;
        width: 100%;
        margin-inline: 0;
    }

    body.page-case-detail .cases-showcase--detail .case-detail__blocks,
    body.page-case-detail .cases-showcase--detail .case-detail__body {
        width: 100%;
        max-width: none;
    }

    body.page-case-detail .cases-showcase--detail .case-block--image-full,
    body.page-case-detail .cases-showcase--detail .case-block--video,
    body.page-case-detail .cases-showcase--detail .case-block--gallery {
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }
}

.prose p {
    margin: 0 0 1rem;
}

.prose > section {
    margin-top: 1.65rem;
}

.prose > section:first-of-type {
    margin-top: 0;
}

.prose h2 {
    margin: 0 0 0.55rem;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold-bright);
}

.prose ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    color: var(--muted);
}

.prose ul li {
    margin-bottom: 0.35rem;
}

.prose ul strong,
.prose p strong {
    color: var(--text);
    font-weight: 700;
}

.case-meta {
    color: var(--gold-mid);
    font-weight: 800;
    margin: 0;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

/* ---------- Contact · 双栏联系 + 留言 ---------- */
.page-contact {
    background-color: var(--bg);
}

.page-main--contact {
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.contact-hero {
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-hero__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.contact-hero__title {
    margin: 0;
    font-size: clamp(2.05rem, 4.8vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.contact-hero__rule {
    display: block;
    height: 3px;
    width: min(10rem, 40vw);
    margin: clamp(0.8rem, 2vw, 1.1rem) 0 clamp(0.95rem, 2.2vw, 1.25rem);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-mid), var(--gold-deep), transparent);
    transform-origin: left center;
    animation: contactHeroRule 1s var(--ease-out) forwards;
}

.contact-hero__lede {
    margin: 0;
    max-width: min(56ch, 100%);
    font-size: 1.02rem;
    line-height: 1.78;
}

.contact-hero__lede strong {
    color: var(--text);
    font-weight: 700;
}

@keyframes contactHeroRule {
    from {
        transform: scaleX(0);
        opacity: 0.55;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.contact-alert-wrap {
    margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
}

.contact-alert {
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.15rem, 3vw, 1.5rem);
    border-radius: calc(var(--radius) + 6px);
    font-weight: 600;
    line-height: 1.55;
}

.contact-alert--success {
    border: 1px solid rgba(72, 180, 120, 0.45);
    background:
        linear-gradient(125deg, rgba(72, 180, 120, 0.14), transparent 55%),
        rgba(255, 255, 255, 0.92);
    color: #bdf3d4;
    box-shadow: 0 0 40px rgba(72, 180, 120, 0.08);
}

.contact-alert--error {
    border: 1px solid rgba(220, 100, 90, 0.5);
    background:
        linear-gradient(125deg, rgba(220, 100, 90, 0.16), transparent 55%),
        rgba(255, 255, 255, 0.92);
    color: #ffc9c4;
    box-shadow: 0 0 40px rgba(220, 100, 90, 0.08);
}

/* ---------- 全站轻量吐司（联系我们提交成功等） ---------- */
.site-toast-root {
    position: fixed;
    inset: auto 0 clamp(1rem, 4vw, 1.75rem) 0;
    z-index: 12000;
    display: flex;
    justify-content: center;
    pointer-events: none;
    padding: 0 clamp(0.75rem, 3vw, 1.25rem);
}

.site-toast {
    pointer-events: none;
    max-width: min(36rem, 100%);
    padding: 0.85rem 1.15rem;
    border-radius: calc(var(--radius) + 4px);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.55;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.35s var(--ease-out),
        transform 0.35s var(--ease-out);
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-toast--success {
    border: 1px solid rgba(72, 180, 120, 0.5);
    background:
        linear-gradient(125deg, rgba(72, 180, 120, 0.18), transparent 52%),
        rgba(12, 16, 22, 0.96);
    color: #c8f5de;
}

.site-toast--error {
    border: 1px solid rgba(220, 100, 90, 0.55);
    background:
        linear-gradient(125deg, rgba(220, 100, 90, 0.2), transparent 52%),
        rgba(12, 16, 22, 0.96);
    color: #ffd6d2;
}

@media (prefers-reduced-motion: reduce) {
    .site-toast {
        transition: opacity 0.15s ease;
        transform: none;
    }

    .site-toast.is-visible {
        transform: none;
    }
}

.contact-layout {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: stretch;
}

@media (min-width: 960px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: clamp(1.25rem, 3vw, 1.75rem);
    }
}

.contact-card {
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid var(--line);
    background: linear-gradient(158deg, rgba(241, 245, 249, 0.94) 0%, rgba(255, 255, 255, 0.97) 100%);
    padding: var(--space-card-pad-y) var(--space-card-pad-x);
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-card--info {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.contact-card--info > .contact-card__title {
    flex-shrink: 0;
}

.contact-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.contact-card__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.contact-channels {
    flex-shrink: 0;
    margin: 0 0 0.75rem;
    display: grid;
    gap: 0.7rem;
}

.contact-channel {
    margin: 0;
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.25rem 0.65rem;
    align-items: baseline;
}

.contact-channel dt {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #000;
}

.contact-channel dd {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 600;
}

.contact-channel__value {
    color: var(--gold-bright);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-channel__value:hover {
    color: var(--gold-mid);
}

.contact-card__map {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    min-height: 12rem;
    margin-top: 0;
}

.contact-card__map > .company-map {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.contact-card--info #contact-map-frame {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    height: 100%;
    aspect-ratio: unset;
    max-height: none;
}

.contact-card--info .company-map__canvas {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
}

.contact-card--info .company-map__iframe {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.contact-poster {
    margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.page-main--contact:has(.contact-poster) .contact-hero {
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.page-main--contact:has(.contact-poster) .contact-layout {
    margin-top: 0;
}

.contact-poster__link {
    display: block;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.contact-poster__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow), 0 16px 40px rgba(15, 23, 42, 0.12);
}

.contact-poster__link:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 3px;
}

.contact-poster__frame {
    margin: 0;
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid var(--line-strong);
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: var(--shadow);
    /* 32:9 ≈ 16:9 高度的一半，全宽裁切展示 */
    aspect-ratio: 32 / 9;
}

.contact-poster__link .contact-poster__frame {
    border: 0;
    box-shadow: none;
}

.contact-poster__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* 表单域（本页加强；全局 .input 仍供其他页使用） */
.contact-form .contact-field {
    margin-bottom: clamp(0.85rem, 2vw, 1.1rem);
}

.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
    font-size: 0.92rem;
}

.req {
    color: var(--gold-mid);
}

.contact-input {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(248, 250, 252, 0.85);
    color: var(--text);
    font: inherit;
    transition:
        border-color 0.3s var(--ease-out),
        box-shadow 0.35s var(--ease-out),
        background 0.3s var(--ease-out);
}

.contact-input:hover {
    border-color: rgba(230, 206, 140, 0.22);
}

.contact-input:focus {
    outline: none;
    border-color: rgba(230, 206, 140, 0.45);
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.15),
        0 12px 36px rgba(0, 0, 0, 0.35);
    background: rgba(241, 245, 249, 0.95);
}

.contact-input.has-error {
    border-color: rgba(248, 113, 113, 0.75);
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.12);
}

.field-error {
    color: #fca5a5;
    font-size: 0.85rem;
    margin: 0.35rem 0 0;
}

.contact-form__legal {
    margin: 0.25rem 0 1rem;
    line-height: 1.55;
}

.contact-form__legal a {
    font-weight: 700;
}

.contact-form.is-submitting .contact-submit {
    cursor: wait;
    opacity: 0.75;
}

.contact-submit {
    width: 100%;
}

@media (min-width: 560px) {
    .contact-submit {
        width: auto;
        min-width: 12rem;
    }
}

/* 全局表单（非联系页仍可用简单样式） */
.form .field {
    margin-bottom: 1rem;
}

.form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    transition: border-color 0.25s var(--ease-out), outline 0.25s var(--ease-out);
}

.input:focus {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 1px;
    border-color: var(--line-strong);
}

.input.has-error {
    border-color: rgba(248, 113, 113, 0.85);
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid var(--line);
}

.alert.success {
    background: rgba(72, 180, 120, 0.12);
    color: #bdf3d4;
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero__rule {
        animation: none;
        transform: scaleX(1);
        opacity: 1;
    }

}

/* Footer：墨黑紧凑条带 + 横向导航轨 + 联系芯片（与浅色三栏版区分） */
.site-footer--slate {
    --footer-ink: #06080e;
    --footer-ink-mid: #0c0e14;
    position: relative;
    margin-top: auto;
    overflow: hidden;
    color: #e2e8f0;
    background: linear-gradient(180deg, var(--footer-ink-mid) 0%, var(--footer-ink) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer--slate::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.55) 35%,
        rgba(14, 165, 233, 0.45) 65%,
        transparent
    );
    pointer-events: none;
}

.footer-slate__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 80% at 50% 0%, rgba(37, 99, 235, 0.12), transparent 62%);
}

.footer-inner.footer-slate {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(0.65rem, 1.6vw, 0.85rem);
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-block: clamp(1rem, 2.2vw, 1.35rem);
    padding-inline-start: 0;
    padding-inline-end: var(--page-gutter);
}

@media (max-width: 768px) {
    .footer-inner.footer-slate {
        padding-inline: var(--page-gutter);
        padding-block-end: max(1rem, env(safe-area-inset-bottom));
    }

    .footer-chips {
        align-items: stretch;
        width: 100%;
    }

    .footer-chip {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (min-width: 721px) {
    .footer-inner.footer-slate {
        padding-inline-end: calc(var(--page-gutter) + 6.25rem);
    }
}

.footer-slate__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    column-gap: 0;
    padding-bottom: clamp(0.6rem, 1.4vw, 0.75rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 720px) {
    .footer-slate__head {
        /* 右半区从视口中线（50vw）起：首页导航与定位语同一行 */
        grid-template-columns: minmax(0, 50vw) minmax(0, 1fr);
    }

    .footer-slate__tagline {
        grid-column: 1;
        grid-row: 1;
    }
}

.footer-slate__tagline {
    margin: 0;
    padding-inline-start: var(--page-gutter);
    font-size: clamp(0.92rem, 1.55vw, 1.02rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    white-space: nowrap;
}

.footer-rail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
}

@media (min-width: 720px) {
    .footer-rail {
        grid-column: 2;
        grid-row: 1;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        padding-inline-end: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .footer-rail::-webkit-scrollbar {
        display: none;
    }
}

.footer-rail__link,
.footer-rail__case-trigger {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    padding: 0.12rem 0.32rem;
    font-family: var(--font);
    font-size: clamp(0.88rem, 1.3vw, 0.96rem);
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.footer-rail__link:not(:last-child)::after {
    content: "/";
    margin-inline: 0.28rem 0.38rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.38);
    pointer-events: none;
}

.footer-rail__link:hover,
.footer-rail__case-trigger:hover {
    color: #fff;
    opacity: 0.82;
    background: transparent;
    text-decoration: none;
}

.footer-rail__case-trigger {
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: inherit;
}

/* 手机端页脚头区：覆盖后方 align-items:center，避免导航轨被栅格居中 */
@media (max-width: 768px) {
    .footer-slate__head {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        justify-items: stretch;
    }

    .footer-slate__tagline {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        padding-inline-start: 0;
        white-space: normal;
        letter-spacing: 0.04em;
    }

    .footer-rail {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
    }

    .footer-rail__link,
    .footer-rail__case-trigger {
        padding-block: 0.12rem;
        padding-inline: 0;
        letter-spacing: 0.04em;
    }

    .footer-rail__link:not(:last-child)::after {
        margin-inline: 0.35rem;
    }
}

.footer-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    row-gap: 0.5rem;
}

@media (min-width: 720px) {
    .footer-chips {
        grid-template-columns: 50vw minmax(0, 1fr);
        column-gap: 0;
        row-gap: 0;
    }
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.4rem 0.5rem;
    min-width: 0;
    padding: 0;
    border: none;
    background: none;
}

.footer-chip:first-child {
    padding-inline-start: var(--page-gutter);
}

@media (max-width: 768px) {
    .footer-chip:first-child {
        padding-inline-start: 0;
    }
}

@media (min-width: 720px) {
    .footer-chip:last-child {
        grid-column: 2;
        padding-inline-end: var(--page-gutter);
    }
}

.footer-chip__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 6px;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.28);
}

.footer-chip__icon svg {
    display: block;
}

.footer-chip__label {
    flex-shrink: 0;
    font-size: clamp(0.78rem, 1.2vw, 0.86rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #fff;
}

.footer-chip__value {
    font-size: clamp(0.94rem, 1.45vw, 1.04rem);
    line-height: 1.4;
    color: #fff;
    min-width: 0;
}

.footer-chip__value a {
    font-weight: 650;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-chip__value a:hover {
    color: #fff;
    opacity: 0.82;
    text-decoration: none;
}

.footer-slate__meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: clamp(0.55rem, 1.2vw, 0.65rem);
    padding-inline-start: var(--page-gutter);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .footer-slate__meta {
        padding-inline-start: 0;
        align-items: flex-start;
    }

    .site-footer--slate .footer-legal {
        justify-content: flex-start;
    }
}

@media (min-width: 720px) {
    .footer-slate__meta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.4rem 1rem;
    }
}

.site-footer--slate .footer-copy {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.88);
}

.site-footer--slate .footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.4rem;
    font-size: 0.75rem;
}

.site-footer--slate .footer-legal a {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer--slate .footer-legal a:hover {
    color: rgba(255, 255, 255, 0.88);
    opacity: 0.82;
}

.site-footer--slate .footer-muted {
    color: rgba(148, 163, 184, 0.75);
}

.site-footer--slate .dot {
    opacity: 0.4;
    color: rgba(148, 163, 184, 0.6);
    user-select: none;
}

/* 右侧：微信悬浮 + 回到顶部（大屏纵向成列，右缘与悬浮框对齐；小屏 display:contents 保持原分散定位） */
.site-floating-rail {
    display: contents;
}

.scroll-top-fab {
    position: fixed;
    z-index: 38;
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    padding: 0.42rem 0.65rem 0.42rem 0.55rem;
    min-width: auto;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    background: linear-gradient(165deg, rgba(241, 245, 249, 0.96), rgba(255, 255, 255, 0.98));
    color: var(--gold-bright);
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity 0.25s var(--ease-out),
        transform 0.25s var(--ease-out),
        visibility 0.25s;
}

.scroll-top-fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 手机端：回到顶部紧贴公众号/客服黄条下方（黄条 bottom:30dvh 向上延伸，按钮在其底缘下留间距） */
@media (max-width: 768px) {
    .scroll-top-fab {
        --scroll-top-fab-gap: 0.65rem;
        --scroll-top-fab-height: 2.85rem;
        left: auto;
        right: max(0.65rem, env(safe-area-inset-right, 0px));
        bottom: max(
            0.75rem,
            env(safe-area-inset-bottom, 0px),
            calc(30dvh - var(--scroll-top-fab-gap) - var(--scroll-top-fab-height))
        );
        z-index: 39;
    }

    .chat-widget__panel {
        --chat-fab-stack: 4rem;
    }
}

.scroll-top-fab:hover {
    border-color: var(--gold-mid);
    color: var(--text);
}

.scroll-top-fab:focus {
    outline: none;
}

.scroll-top-fab:focus-visible {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.45), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.scroll-top-fab__arrow {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.scroll-top-fab__label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.15;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .site-floating-rail {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: clamp(0.95rem, 2.2vw, 1.35rem);
        position: fixed;
        right: max(0.65rem, env(safe-area-inset-right, 0px));
        top: min(78vh, calc(50% + 8rem));
        transform: translateY(-50%);
        z-index: 40;
        pointer-events: none;
    }

    .site-floating-rail > * {
        pointer-events: auto;
    }

    .site-floating-rail .wx-float-dock {
        position: static;
        top: auto;
        right: auto;
        transform: none;
    }

    .site-floating-rail .scroll-top-fab {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
    }
}

/* 右侧固定：公众号 + 客服（挂 body 下，相对视口 fixed；大屏由 .site-floating-rail 成列） */
.wx-float-dock {
    position: fixed;
    right: max(0.65rem, env(safe-area-inset-right, 0px));
    z-index: 40;
    pointer-events: auto;
    margin: 0;
    left: auto;
    width: auto;
    max-width: none;
}

@media (min-width: 769px) {
    .wx-float-dock {
        top: min(78vh, calc(50% + 8rem));
        bottom: auto;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .wx-float-dock {
        top: auto;
        bottom: 30vh;
        bottom: 30dvh;
        transform: none;
    }
}

.wx-float-dock__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.45rem 0.55rem;
    border-radius: 20px;
    border: 1px solid rgba(168, 92, 18, 0.42);
    background: linear-gradient(
        168deg,
        #ffe9a3 0%,
        #ffd45a 38%,
        #ffb84a 72%,
        #ff9f3e 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 6px 0 rgba(200, 110, 20, 0.18),
        0 14px 36px rgba(160, 80, 10, 0.35);
}

.wx-float-dock__item {
    margin: 0;
    text-align: center;
}

.wx-float-dock__img {
    display: block;
    width: clamp(4.25rem, 10vw, 5.25rem);
    height: clamp(4.25rem, 10vw, 5.25rem);
    margin-inline: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    border: 1px solid rgba(90, 48, 8, 0.22);
    background: #fff;
    padding: 0.32rem;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(80, 40, 0, 0.12);
}

.wx-float-dock__cap {
    margin: 0.28rem 0 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #3d2608;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* 左侧固定：在线客服入口（尺寸 / 底距与右侧 .wx-float-dock 对称） */
.chat-float-dock {
    position: fixed;
    left: max(0.65rem, env(safe-area-inset-left, 0px));
    z-index: 40;
    pointer-events: auto;
    margin: 0;
    right: auto;
    width: auto;
    max-width: none;
}

@media (min-width: 769px) {
    .chat-float-dock {
        top: min(78vh, calc(50% + 8rem));
        bottom: auto;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .chat-float-dock {
        top: auto;
        bottom: 30vh;
        bottom: 30dvh;
        transform: none;
    }
}

.chat-float-dock__btn {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.chat-float-dock__btn:hover .chat-float-dock__inner {
    animation-play-state: paused;
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 8px 0 rgba(120, 72, 16, 0.16),
        0 18px 40px rgba(90, 52, 8, 0.32);
}

.chat-float-dock__btn:active .chat-float-dock__inner {
    transform: translateY(-1px);
    animation-play-state: paused;
}

.chat-float-dock__btn:focus {
    outline: none;
}

.chat-float-dock__btn:focus-visible .chat-float-dock__inner {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 6px 0 rgba(120, 72, 16, 0.16),
        0 14px 36px rgba(90, 52, 8, 0.3),
        0 0 0 3px rgba(201, 148, 58, 0.55);
}

.chat-float-dock__btn.is-loading {
    pointer-events: none;
    opacity: 0.88;
    cursor: wait;
}

.chat-float-dock__btn.is-loading .chat-float-dock__inner {
    animation: chat-float-dock-pulse 1s ease-in-out infinite;
}

@keyframes chat-float-dock-bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes chat-float-dock-pulse {
    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.82;
        transform: translateY(-4px);
    }
}

.chat-float-dock__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.45rem 0.55rem;
    border-radius: 20px;
    border: 1px solid rgba(154, 101, 48, 0.38);
    background: linear-gradient(
        168deg,
        #f8edd4 0%,
        #ecd08a 34%,
        #d4a84a 68%,
        #b8892e 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        0 6px 0 rgba(120, 72, 16, 0.14),
        0 14px 36px rgba(90, 52, 8, 0.28);
    animation: chat-float-dock-bounce 2.4s ease-in-out infinite;
    transition:
        transform 0.22s var(--ease-out, ease-out),
        box-shadow 0.22s var(--ease-out, ease-out);
    will-change: transform;
}

.chat-float-dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    text-align: center;
}

.chat-float-dock__icon {
    display: block;
    width: clamp(4.25rem, 10vw, 5.25rem);
    height: clamp(4.25rem, 10vw, 5.25rem);
    margin-inline: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    border: 1px solid rgba(154, 101, 48, 0.28);
    background: linear-gradient(165deg, #fffdf8 0%, #f3e4c4 100%);
    padding: 0.32rem;
    box-sizing: border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 3px 10px rgba(90, 52, 8, 0.14);
}

.chat-float-dock__cap {
    margin: 0.28rem 0 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #4a3410;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .footer-legal a,
    .footer-rail__link,
    .scroll-top-fab {
        transition: none;
    }

    .chat-float-dock__inner {
        animation: none;
    }

    .chat-float-dock__btn.is-loading .chat-float-dock__inner {
        animation: none;
    }
}

/* ---------- 信任模块（首页 / 关于） ---------- */
.section-trust__intro {
    margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.about-stats--trust {
    padding-block: clamp(1.25rem, 3vw, 2rem);
}

.trust-strip__head {
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    max-width: min(56rem, 100%);
}

.trust-strip__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-mid);
}

.trust-strip__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.06em;
}

.trust-strip__lede {
    margin: 0;
    max-width: min(62ch, 100%);
}

.trust-video-block {
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.trust-video-block__inner {
    max-width: min(var(--trust-video-legacy-w), 100%);
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-video-block__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-mid);
    width: 100%;
}

.trust-video-block__title {
    margin: 0 0 1rem;
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-weight: 800;
    width: 100%;
}

.trust-video-frame {
    position: relative;
    align-self: center;
    width: min(var(--trust-video-max-w), 100%);
    max-width: var(--trust-video-max-w);
    margin-inline: auto;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.55);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

@media (min-width: 720px) {
    .trust-video-frame {
        width: min(var(--trust-video-max-w), 100%);
        height: var(--trust-video-fixed-h);
        max-height: var(--trust-video-fixed-h);
        aspect-ratio: auto;
    }

    .trust-video-frame__native-wrap,
    .trust-video-frame__poster-wrap {
        height: 100%;
        aspect-ratio: auto;
    }

    .trust-video-frame__embed,
    .trust-video-frame__native,
    .trust-video-frame__poster,
    .trust-video-frame__hover-cover-img {
        height: 100%;
        object-fit: cover;
    }
}

.trust-video-frame__embed {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.trust-video-frame__native-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.trust-video-frame__native {
    object-fit: contain;
    vertical-align: middle;
    background: #000;
}

/* Chromium：隐藏原生控件栏右侧「⋯」溢出菜单（仍保留播放/音量/全屏等） */
video.trust-video-frame__native::-webkit-media-controls-overflow-button {
    display: none !important;
}

.trust-video-frame__hover-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.trust-video-frame__native-wrap.is-cover-dismissed .trust-video-frame__hover-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.trust-video-frame__hover-cover-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.trust-video-frame__play-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    color: var(--gold-mid);
    background: transparent;
    border-radius: 50%;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
    transition: transform 0.18s ease, color 0.18s ease;
}

.trust-video-frame__play-btn:hover {
    color: #f0d78a;
    transform: scale(1.06);
}

.trust-video-frame__play-btn:focus-visible {
    outline: 2px solid var(--gold-mid);
    outline-offset: 4px;
}

.trust-video-frame__play-svg {
    display: block;
}

.trust-video-frame__poster-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-video-frame__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trust-video-frame__badge {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text);
    background: rgba(10, 12, 18, 0.72);
    border: 1px solid var(--line);
}

.trust-video-block__caption {
    margin: 0.75rem 0 0;
    max-width: min(52ch, 100%);
    line-height: 1.55;
    text-align: center;
}

.trust-logos {
    padding-block: clamp(1.5rem, 4vw, 2.75rem);
}

.trust-logos__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: clamp(0.85rem, 2vw, 1.25rem);
}

.trust-logos__title {
    margin: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 800;
}

.trust-logos__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: clamp(0.85rem, 2.2vw, 1.35rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.trust-logos__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: auto;
    padding: clamp(0.75rem, 2vw, 1.1rem) 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(12, 14, 20, 0.55);
    color: inherit;
    cursor: default;
}

/* 圆形底上完整展示 logo，contain 避免裁切主体 */
.trust-logos__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.75rem, 14vw, 7.75rem);
    height: clamp(4.75rem, 14vw, 7.75rem);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.trust-logos__logo {
    display: block;
    width: 88%;
    height: 88%;
    object-fit: contain;
    object-position: center;
    filter: grayscale(0.2) contrast(1.04);
}

.trust-logos__fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.trust-logos__initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.25rem, 12vw, 7rem);
    height: clamp(4.25rem, 12vw, 7rem);
    border-radius: 50%;
    font-weight: 800;
    font-size: clamp(1.1rem, 3.2vw, 1.65rem);
    color: var(--gold-bright);
    border: 1px solid rgba(212, 168, 76, 0.45);
    background: rgba(212, 168, 76, 0.12);
}

.trust-logos__name {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--muted);
    max-width: 12ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trust-logos__row--placeholder {
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
}

.trust-logos__ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    border: 1px dashed var(--line);
    background: rgba(8, 10, 14, 0.35);
}

.trust-logos__ph-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.75rem, 14vw, 7.75rem);
    height: clamp(4.75rem, 14vw, 7.75rem);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.trust-logos__ph-img {
    display: block;
    width: 88%;
    height: 88%;
    object-fit: contain;
    object-position: center;
    opacity: 0.92;
}

.trust-logos__ph-cap {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--muted);
}

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

/* 首页信任子块：覆盖上文 padding-block，避免标题上留白叠成 2 倍 */
.page-home .about-stats--trust,
.page-home .trust-video-block,
.page-home .trust-logos {
    padding-block: 0;
}

.page-home .trust-strip__head,
.page-home .trust-logos__head {
    margin-bottom: var(--home-block-pad);
}

.page-home .trust-video-block__title {
    margin-bottom: var(--home-block-pad);
}

/* 首页合作伙伴：圆形 logo + 无缝横向滚动 */
.page-home .trust-logos__marquee {
    margin-block: 0;
}

.page-home .trust-logos__marquee-viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.page-home .trust-logos__marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.15rem, 3.2vw, 2rem);
    width: max-content;
    margin: 0;
    padding: 0 0 0 clamp(1.15rem, 3.2vw, 2rem);
    list-style: none;
    animation: trustLogosMarqueeX 52s linear infinite;
}

.page-home .trust-logos__marquee:hover .trust-logos__marquee-track {
    animation-play-state: paused;
}

.page-home .trust-logos__marquee-track .trust-logos__item {
    flex: 0 0 auto;
}

@keyframes trustLogosMarqueeX {
    to {
        transform: translateX(-50%);
    }
}

.page-home .trust-logos__row:not(.trust-logos__marquee-track) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(1.15rem, 3.2vw, 2rem);
}

.page-home .trust-logos__item {
    flex: 0 0 auto;
}

.page-home .trust-logos__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: default;
}

.page-home .trust-logos__row--placeholder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.15rem, 3.2vw, 2rem);
}

.page-home .trust-logos__ph {
    padding: 0;
    border: none;
    background: transparent;
}

/* —— 官网错误页（5xx，noindex） —— */
.page-error .page-main--error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(72vh, 640px);
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

.site-error {
    width: min(100%, var(--page-max, 72rem));
    margin-inline: auto;
    padding-inline: var(--page-gutter, clamp(1rem, 4vw, 2rem));
    text-align: center;
}

.site-error__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted, #64748b);
}

.site-error__code {
    margin: 0 0 0.5rem;
    font-size: clamp(3.5rem, 12vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary, #2563eb);
    cursor: default;
    user-select: none;
}

.site-error__code:focus-visible {
    outline: 2px solid var(--color-primary, #2563eb);
    outline-offset: 4px;
    border-radius: 4px;
}

.site-error__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
}

.site-error__lede {
    max-width: 36em;
    margin-inline: auto;
    margin-bottom: 1rem;
}

.site-error__path {
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.site-error__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.site-error__reveal-hint {
    margin-top: 1.25rem;
    opacity: 0.65;
}

.site-error__diag-wrap {
    margin-top: 1.5rem;
    text-align: left;
}

.site-error__diag {
    max-height: min(50vh, 420px);
    overflow: auto;
    padding: 1rem;
    border-radius: 8px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.72rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (prefers-reduced-motion: reduce) {
    .page-home .trust-logos__marquee-track {
        animation: none;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .page-home .trust-logos__marquee-track .trust-logos__item[aria-hidden="true"] {
        display: none;
    }

    .page-home .trust-logos__marquee-track.trust-logos__row {
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 0;
    }

    .page-home .trust-logos__marquee-viewport {
        mask-image: none;
        overflow: visible;
    }
}

/* ---------- 在线客服 Widget（非模态：仅面板/FAB 接收点击，不挡页面其余交互） ---------- */
.chat-widget {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    overflow: visible;
    z-index: 10100;
    pointer-events: none;
    font-size: 0.875rem;
}

.chat-widget__panel,
.chat-widget__fab {
    pointer-events: auto;
}

/* 独立合成层 + 不透明底，防止滚动时后方白面板/回到顶部透出 */
.chat-widget__fab {
    position: fixed;
    left: max(0.75rem, env(safe-area-inset-left));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 10205;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    border: none;
    border-radius: 999px;
    background-color: #1a5fb4;
    background-image: none;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    isolation: isolate;
    contain: layout style paint;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.chat-widget__fab:focus-visible {
    outline: 2px solid var(--color-primary, #1a5fb4);
    outline-offset: 2px;
}

.chat-widget__fab.is-loading {
    opacity: 0.88;
    cursor: wait;
    pointer-events: auto;
}

.chat-widget__panel {
    --chat-fab-stack: 3.85rem;
    position: fixed;
    left: max(0.75rem, env(safe-area-inset-left));
    bottom: calc(max(0.75rem, env(safe-area-inset-bottom)) + var(--chat-fab-stack));
    z-index: 10200;
    width: min(22rem, calc(100vw - 1.5rem));
    height: clamp(20rem, 48vh, 36rem);
    max-height: 48vh;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 12px;
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-sizing: border-box;
    opacity: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    visibility: visible;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.chat-widget__panel:not(.is-collapsed) {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.chat-widget__panel.is-collapsed {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.chat-widget__head {
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-widget__head-text {
    min-width: 0;
    flex: 1;
}

.chat-widget__head-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.chat-widget__new-chat {
    flex-shrink: 0;
    margin: 0;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background: #f4f6f8;
    color: #334155;
    font-size: 0.75rem;
    line-height: 1.25;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.chat-widget__new-chat:hover:not(:disabled) {
    background: #e8ecf0;
    border-color: rgba(0, 0, 0, 0.16);
}

.chat-widget__new-chat:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.chat-widget__new-chat:focus-visible {
    outline: 2px solid var(--color-primary, #1a5fb4);
    outline-offset: 2px;
}

.chat-widget__collapse {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background: #f4f6f8;
    color: #334155;
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.chat-widget__collapse:hover {
    background: #e8ecf0;
    border-color: rgba(0, 0, 0, 0.16);
}

.chat-widget__collapse:focus-visible {
    outline: 2px solid var(--color-primary, #1a5fb4);
    outline-offset: 2px;
}

.chat-widget__body {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f4f6f8;
}

.chat-widget__follower-notice {
    flex-shrink: 0;
    margin: 0.65rem 0.75rem 0;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: #fff8e6;
    border: 1px solid #f59e0b66;
    color: #78350f;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.chat-widget__follower-text {
    margin: 0 0 0.5rem;
}

.chat-widget__takeover-btn {
    width: 100%;
}

.chat-widget__title {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    min-width: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.chat-widget__title-text {
    flex-shrink: 0;
}

.chat-widget__title-sep {
    flex-shrink: 0;
    color: #94a3b8;
    font-weight: 400;
    user-select: none;
}

.chat-widget__conn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.chat-widget__conn-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.chat-widget__conn-icon {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    box-sizing: border-box;
    border-radius: 50%;
}

/* 未连接 */
.chat-widget__conn[data-chat-state="disconnected"] .chat-widget__conn-icon {
    border: 2px solid #94a3b8;
    background: transparent;
}

/* 已连接 */
.chat-widget__conn[data-chat-state="connected"] .chat-widget__conn-icon {
    border: none;
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.22);
}

/* 连接中 / 重连中 */
.chat-widget__conn[data-chat-state="connecting"] .chat-widget__conn-icon {
    width: 0.625rem;
    height: 0.625rem;
    border: 2px solid #e2e8f0;
    border-top-color: #f59e0b;
    background: transparent;
    animation: chat-widget-conn-spin 0.75s linear infinite;
}

/* 连接失败 */
.chat-widget__conn[data-chat-state="failed"] .chat-widget__conn-icon {
    position: relative;
    width: 0.625rem;
    height: 0.625rem;
    border: none;
    background: #dc2626;
}

.chat-widget__conn[data-chat-state="failed"] .chat-widget__conn-icon::before,
.chat-widget__conn[data-chat-state="failed"] .chat-widget__conn-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 62%;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.chat-widget__conn[data-chat-state="failed"] .chat-widget__conn-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.chat-widget__conn[data-chat-state="failed"] .chat-widget__conn-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes chat-widget-conn-spin {
    to {
        transform: rotate(360deg);
    }
}

.chat-widget__log {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.65rem 0.75rem 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.chat-widget__log::-webkit-scrollbar {
    width: 5px;
}

.chat-widget__log::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 4px;
}

.chat-widget__bubble-row {
    display: flex;
    margin-bottom: 0.65rem;
}

.chat-widget__bubble-row:last-of-type {
    margin-bottom: 0.35rem;
}

.chat-widget__bubble-row--user {
    justify-content: flex-end;
}

.chat-widget__bubble-row--bot {
    justify-content: flex-start;
}

.chat-widget__bubble-row--agent {
    justify-content: flex-start;
}

.chat-widget__msg-item {
    display: flex;
    gap: 0.5rem;
    max-width: 88%;
    align-items: flex-start;
}

.chat-widget__bubble-row--user .chat-widget__msg-item {
    flex-direction: row-reverse;
}

.chat-widget__msg-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.chat-widget__bubble-row--user .chat-widget__msg-body {
    align-items: flex-end;
}

.chat-widget__bubble-row--bot .chat-widget__msg-body,
.chat-widget__bubble-row--agent .chat-widget__msg-body {
    align-items: flex-start;
}

.chat-widget__msg-time {
    font-size: 0.65rem;
    line-height: 1.2;
    color: #94a3b8;
    margin-bottom: 0.2rem;
    white-space: nowrap;
}

.chat-widget__msg-avatar {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    overflow: hidden;
    user-select: none;
}

.chat-widget__msg-avatar--user {
    background: var(--color-primary, #1a5fb4);
    color: #fff;
}

.chat-widget__msg-avatar--agent {
    background: #1a5fb4;
    color: #fff;
}

.chat-widget__msg-avatar--bot {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-widget__msg-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-widget__system-tip {
    margin: 0.5rem 0.75rem 0.65rem;
    padding: 0.4rem 0.65rem;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
    background: rgba(148, 163, 184, 0.14);
    border-radius: 6px;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-widget__bubble {
    max-width: 100%;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-widget__bubble-row--bot .chat-widget__bubble {
    background: #fff;
    color: #334155;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-widget__bubble-row--user .chat-widget__bubble {
    background: var(--color-primary, #1a5fb4);
    color: #fff;
}

.chat-widget__bubble--typing {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    min-height: 1.75rem;
    padding: 0.5rem 0.7rem;
}

.chat-widget__typing-label {
    color: #64748b;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.chat-widget__typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 0.1rem;
}

.chat-widget__typing-dots i {
    display: block;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #94a3b8;
    animation: chat-widget-typing-bounce 1.2s ease-in-out infinite;
}

.chat-widget__typing-dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-widget__typing-dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chat-widget-typing-bounce {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    30% {
        transform: translateY(-0.22rem);
        opacity: 1;
    }
}

.chat-widget--bot-typing .chat-widget__composer {
    opacity: 0.72;
}

.chat-widget--bot-typing .chat-widget__composer .btn:disabled,
.chat-widget--bot-typing .chat-widget__input:disabled {
    cursor: wait;
}

.chat-widget__quick-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.chat-widget__quick-btn {
    border: 1px solid rgba(26, 95, 180, 0.3);
    background: #fff;
    color: var(--color-primary, #1a5fb4);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    line-height: 1.3;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.chat-widget__quick-btn:hover {
    background: rgba(26, 95, 180, 0.08);
}

.chat-widget__quick-btn:disabled,
.chat-widget__quick-btn--locked {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.chat-widget__quick-btn--locked:hover,
.chat-widget__quick-btn:disabled:hover {
    background: #fff;
}

.chat-widget__composer {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex-shrink: 0;
    padding: 0.55rem 0.75rem 0.6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    touch-action: manipulation;
    position: relative;
    z-index: 2;
}

.chat-widget__composer-human {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

.chat-widget__composer-human:has([data-chat-request-human][hidden]) {
    display: none;
}

.chat-widget__composer-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    min-width: 0;
}

.chat-widget__human-btn {
    width: auto;
    flex-shrink: 0;
    border: 1px solid rgba(26, 95, 180, 0.35);
    background: #fff;
    color: var(--color-primary, #1a5fb4);
    border-radius: 6px;
    padding: 0.4rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.chat-widget__human-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-widget__emoji-btn,
.chat-widget__attach-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    border-radius: 6px;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.chat-widget__emoji-btn:hover:not(:disabled) {
    border-color: rgba(26, 95, 180, 0.35);
}

.chat-widget__emoji-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.chat-widget__attach-btn {
    font-size: 1.05rem;
}

.chat-widget__attach-btn:hover:not(:disabled) {
    border-color: rgba(26, 95, 180, 0.35);
}

.chat-widget__attach-btn:disabled,
.chat-widget__attach-btn--queued {
    opacity: 0.45;
    cursor: not-allowed;
}

.chat-widget__attach-btn--uploading {
    opacity: 0.7;
    pointer-events: none;
}

.chat-widget__bubble--attachment {
    padding: 0.35rem;
    max-width: min(260px, 78vw);
}

/* 图片附件：仅展示缩略图，不显示文件名/大小 */
.chat-widget__bubble--attachment:not(.chat-widget__bubble--file) {
    padding: 0.2rem;
    max-width: min(240px, 80vw);
}

.chat-widget__bubble-row--user
    .chat-widget__bubble--attachment:not(.chat-widget__bubble--file) {
    padding: 0.15rem;
}

.chat-widget__bubble-img-btn {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.chat-widget__bubble-img {
    display: block;
    max-width: min(220px, 76vw);
    max-height: min(240px, 48vh);
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    vertical-align: middle;
    pointer-events: none;
}

.chat-widget__bubble-img-btn--error {
    min-width: 120px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    cursor: default;
}

.chat-widget__bubble-img-err {
    display: block;
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #6b7280;
    text-align: center;
}

.chat-widget__bubble-caption {
    margin: 0.35rem 0.25rem 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    word-break: break-word;
}

/* 文档附件卡片（参考常见 IM 文件气泡） */
.chat-widget__bubble--file {
    padding: 0.2rem;
    background: transparent !important;
    border: none !important;
    box-shadow: none;
}

.chat-widget__bubble-row--user .chat-widget__bubble--file::before {
    display: none;
}

.chat-widget__file-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-width: min(240px, 72vw);
    max-width: 100%;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.chat-widget__bubble-row--user .chat-widget__file-card {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.chat-widget__file-card__main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.5rem 0.55rem 0.6rem;
    color: inherit;
    cursor: default;
    user-select: text;
}

.chat-widget__file-card__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #fff;
    background: #64748b;
}

.chat-widget__file-card__icon--pdf {
    background: linear-gradient(145deg, #ef4444, #dc2626);
}

.chat-widget__file-card__icon--word {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
}

.chat-widget__file-card__icon--excel {
    background: linear-gradient(145deg, #22c55e, #16a34a);
}

.chat-widget__file-card__icon--ppt {
    background: linear-gradient(145deg, #f97316, #ea580c);
}

.chat-widget__file-card__icon--archive {
    background: linear-gradient(145deg, #a855f7, #9333ea);
}

.chat-widget__file-card__icon--default {
    background: linear-gradient(145deg, #64748b, #475569);
}

.chat-widget__file-card__body {
    flex: 1;
    min-width: 0;
}

.chat-widget__file-card__name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    max-height: calc(1.35em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: #0f172a;
    text-decoration: none;
    cursor: default;
}

.chat-widget__file-card__size {
    margin-top: 0.2rem;
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.2;
}

.chat-widget__file-dl {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    color: #475569;
    background: rgba(15, 23, 42, 0.06);
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.chat-widget__file-dl:hover {
    color: var(--color-primary, #1a5fb4);
    background: rgba(26, 95, 180, 0.12);
}

.chat-widget__file-dl:focus-visible {
    outline: 2px solid var(--color-primary, #1a5fb4);
    outline-offset: 2px;
}

.chat-widget__bubble-row--user .chat-widget__bubble--file .chat-widget__bubble-caption {
    margin-top: 0.35rem;
    padding: 0 0.15rem;
    color: #fff;
}

/* 全屏居中预览（挂 body；模态层仍拦截页面，仅预览时生效） */
.chat-widget__lightbox {
    pointer-events: auto;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 10250;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-sizing: border-box;
    padding:
        max(1rem, env(safe-area-inset-top))
        max(1rem, env(safe-area-inset-right))
        max(1rem, env(safe-area-inset-bottom))
        max(1rem, env(safe-area-inset-left));
    background: rgba(0, 0, 0, 0.82);
    margin: 0;
    border: none;
    touch-action: none;
}

.chat-widget--panel-open .chat-widget__lightbox {
    position: fixed;
    z-index: 10250;
}

/* 预览层在 body 上，高于客服 widget；不隐藏聊天面板，仅遮罩覆盖 */

.chat-widget__lightbox[hidden] {
    display: none !important;
}

.chat-widget__lightbox-img {
    flex: 0 1 auto;
    max-width: min(92vw, 56rem);
    max-height: min(78vh, calc(100dvh - 7rem));
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #111;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.chat-widget__lightbox-close {
    position: fixed;
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 1;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.chat-widget__lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.chat-widget__lightbox-dl {
    flex-shrink: 0;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.chat-widget__lightbox-dl:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
}

body.chat-widget--lightbox-open {
    overflow: hidden;
}

/* 不用 body overflow:hidden 锁滚动——iOS 会导致 fixed 层与页面滚动错位，FAB 后透出白块 */
html.chat-widget--panel-open,
body.chat-widget--panel-open {
    overscroll-behavior: none;
}

/* 回到顶部 / 公众号条：高于聊天面板，避免与左下角面板叠在一起时点不到 */
body.has-chat-widget .scroll-top-fab,
body.has-chat-widget .wx-float-dock {
    z-index: 10220;
}

@media (min-width: 1024px) {
    body.has-chat-widget .site-floating-rail {
        z-index: 10220;
    }
}

.yinsp-chat-emoji-picker-mount {
    z-index: 10210 !important;
    touch-action: manipulation;
}

/* 非 Leader 标签：输入区与转人工/发送/表情一致置灰不可点 */
.chat-widget--follower .chat-widget__composer .btn-primary:disabled,
.chat-widget--follower .chat-widget__human-btn:disabled,
.chat-widget--follower .chat-widget__emoji-btn:disabled,
.chat-widget--follower .chat-widget__attach-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    filter: grayscale(0.35);
}

.chat-widget--follower .chat-widget__composer .btn-primary:disabled {
    background: #c5c9d0;
    border-color: rgba(0, 0, 0, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.chat-widget__bubble .emoji-mart-emoji {
    vertical-align: -0.2em;
}

.yinsp-chat-emoji-picker-mount .emoji-mart {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

@import url('/css/chat-emoji-overrides.css');

.chat-widget__bubble-row--agent .chat-widget__bubble {
    background: #f0f7ff;
    border: 1px solid rgba(26, 95, 180, 0.2);
}

.chat-widget__bubble-row--agent .chat-widget__bubble::before {
    content: "人工客服";
    display: block;
    font-size: 0.65rem;
    color: #1a5fb4;
    margin-bottom: 0.2rem;
}

.chat-widget__input {
    flex: 1;
    min-width: 0;
    height: 2.25rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    font-size: 0.8125rem;
    background: #fff;
    box-sizing: border-box;
}

.chat-widget__composer-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    background: #fff;
    overflow: hidden;
}

.chat-widget__input-mirror {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 0.4rem 0.55rem;
    border: 1px solid transparent;
    border-radius: 6px;
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.8125rem;
    line-height: calc(2.25rem - 0.8rem);
    color: var(--text);
    box-sizing: border-box;
}

.chat-widget__input-mirror[hidden],
.chat-widget__input-mirror:not(.chat-widget__input-mirror--visible) {
    display: none !important;
}

.chat-widget__composer-input-wrap .chat-widget__input,
.chat-widget__composer-input-wrap .chat-page__textarea {
    position: relative;
    z-index: 1;
    width: 100%;
}

.chat-widget__input-mirror .emoji-mart-emoji[data-chat-glyph="1"] {
    vertical-align: baseline;
    line-height: 1;
    overflow: hidden;
}

.chat-widget__composer-input-wrap .chat-widget__input--mirror-active,
.chat-widget__composer-input-wrap .chat-page__textarea.chat-widget__input--mirror-active {
    background: transparent !important;
    color: transparent;
    -webkit-text-fill-color: transparent;
    caret-color: var(--text, #0f172a);
    /* 行高由 JS 按国旗实测宽度同步，避免 caret 高于 emoji 图集 */
}

.chat-widget__composer-input-wrap .chat-widget__input--mirror-active:focus,
.chat-widget__composer-input-wrap .chat-page__textarea.chat-widget__input--mirror-active:focus {
    background: transparent !important;
}

.chat-widget__composer-input-wrap .chat-widget__input--mirror-active::selection,
.chat-widget__composer-input-wrap .chat-page__textarea.chat-widget__input--mirror-active::selection {
    color: transparent;
    background: rgba(59, 130, 246, 0.22);
}

.chat-widget__composer-input-wrap .chat-widget__input {
    width: 100%;
}

.chat-widget__composer-input-wrap .chat-page__textarea {
    position: relative;
    z-index: 1;
}

.chat-widget__composer-input-wrap .chat-widget__input-mirror {
    white-space: pre-wrap;
    word-break: break-word;
    overflow: auto;
    text-overflow: clip;
    line-height: 1.5;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.chat-widget__composer-input-wrap .chat-widget__input-mirror::-webkit-scrollbar {
    display: none;
}

.chat-widget__send {
    flex-shrink: 0;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.chat-widget__input:focus {
    outline: none;
    box-shadow: none;
    background: #fff;
    border-color: var(--color-primary, #1a5fb4);
}

@media (prefers-reduced-motion: reduce) {
    .chat-widget__panel {
        transition: none;
    }

    .chat-widget__typing-dots i {
        animation: none;
        opacity: 0.7;
    }
}

@media (max-width: 640px) {
    .chat-widget__panel {
        width: min(18rem, calc(100vw - 1rem));
        height: clamp(18rem, 48vh, 32rem);
    }
}

/* ============================================================
   PC 大屏适配（1280 / 1440 / 1920 常见分辨率）
   主列由 --page-max-cap 封顶；超宽屏两侧留白 + 浮动条贴内容区
   ============================================================ */

@media (min-width: 1280px) {
    :root {
        --space-section-y: clamp(3rem, 3.6vw, 4rem);
        --space-page-y: clamp(2rem, 2.8vw, 2.75rem);
        --space-hero-y-start: clamp(3.5rem, 4.2vw, 5rem);
        --space-hero-y-end: clamp(3.75rem, 4.5vw, 5.75rem);
        --home-rhythm: clamp(1.5rem, 2vw, 1.85rem);
    }

    .hero-inner--split {
        gap: clamp(1.5rem, 3vw, 2.75rem);
    }

    .hero-copy {
        max-width: min(44rem, 52%);
    }

    .news-layout {
        column-gap: clamp(1.25rem, 2vw, 2rem);
    }

    .about-intro__split {
        gap: clamp(1.5rem, 2.5vw, 2.75rem);
    }

    .about-intro__body {
        max-width: 42rem;
    }
}

@media (min-width: 1440px) {
    :root {
        --trust-video-max-w: min(68rem, var(--page-max));
    }

    .section-head .section-desc {
        max-width: min(68ch, 52rem);
    }

    .about-intro__split {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    }

    .about-reach__split {
        gap: clamp(2rem, 3vw, 3rem);
    }

    .cases-list-layout {
        grid-template-columns: minmax(14rem, 16.5rem) minmax(0, 1fr);
        gap: clamp(1.75rem, 2.5vw, 2.5rem);
    }

    .case-grid--list {
        gap: clamp(0.85rem, 1.2vw, 1.15rem);
    }
}

@media (min-width: 1540px) {
    :root {
        --float-dock-inset: max(
            0.65rem,
            calc((100vw - var(--page-max-cap)) / 2 - 5.75rem)
        );
    }

    body {
        background-image:
            radial-gradient(ellipse 900px 480px at 50% -18%, rgba(37, 99, 235, 0.07), transparent 58%),
            radial-gradient(ellipse 720px 420px at 100% 8%, rgba(14, 165, 233, 0.05), transparent 48%),
            radial-gradient(ellipse 620px 380px at 0% 32%, rgba(59, 130, 246, 0.05), transparent 52%),
            linear-gradient(
                90deg,
                rgba(241, 245, 249, 0.92) 0,
                transparent 14%,
                transparent 86%,
                rgba(241, 245, 249, 0.92) 100%
            ),
            linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 42%, #f8fafc 100%);
    }

    .chat-float-dock {
        left: max(0.65rem, env(safe-area-inset-left, 0px), var(--float-dock-inset));
    }

    .site-floating-rail {
        right: max(0.65rem, env(safe-area-inset-right, 0px), var(--float-dock-inset));
    }

    .wx-float-dock {
        right: max(0.65rem, env(safe-area-inset-right, 0px), var(--float-dock-inset));
    }
}

@media (min-width: 1920px) {
    :root {
        --space-section-y: clamp(3.5rem, 3vw, 4.25rem);
        --space-footer-y: clamp(2rem, 2.5vw, 3rem);
    }

    .capabilities-mosaic {
        gap: 0.55rem;
        grid-auto-rows: minmax(4.75rem, auto);
    }

    .cap-tile {
        min-height: 4.75rem;
        padding: 0.85rem 0.9rem;
    }

    .about-history__viewport {
        padding-inline: 0.25rem;
    }
}
