/* ==========================================================================
   赛森咨询官网 - 主样式表
   配色:蓝色系(#1a56b0 主色 / #0d2b52 深蓝 / #2f7de1 亮蓝 / #f4f7fc 浅底)
   ========================================================================== */

:root {
    /* 品牌色阶 */
    --primary: #1a56b0;
    --primary-dark: #0d2b52;
    --primary-deep: #091c36;
    --primary-light: #2f7de1;
    --primary-soft: #e8f0fc;
    --accent: #ffb02e;
    --accent-dark: #e89a17;
    /* 中性色(提升对比度至 WCAG AA) */
    --bg-light: #f4f7fc;
    --bg-gray: #eef2f8;
    --text: #2b3648;
    --text-light: #55657e;
    --text-muted: #67768e;
    --border: #e3e9f2;
    /* 圆角 / 阴影 / 动效 */
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(13, 43, 82, .08);
    --shadow-hover: 0 16px 40px rgba(26, 86, 176, .18);
    --ease: cubic-bezier(.22, .61, .36, 1);
    /* 间距(8pt 网格) */
    --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-6: 24px; --sp-8: 32px; --sp-12: 48px; --sp-16: 64px;
    /* 渐变 */
    --grad-primary: linear-gradient(120deg, #1a56b0 0%, #2f7de1 100%);
    --grad-dark: linear-gradient(135deg, #0d2b52 0%, #123a6d 55%, #1a56b0 130%);
    --font-display: Georgia, "Times New Roman", "Microsoft YaHei", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* 键盘可达性：统一 focus 样式 */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}
::selection { background: rgba(47, 125, 225, .25); }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }
ul { list-style: none; }
img { max-width: 100%; vertical-align: middle; }
.container { width: 1200px; max-width: 94%; margin: 0 auto; }
.hidden-xs { display: inline-block; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 11px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    transition: all .28s var(--ease);
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}
.btn i { margin-right: 6px; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 16px rgba(26, 86, 176, .28); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 86, 176, .38); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(2px); }
.btn-outline:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-light:hover { color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 14px 42px; font-size: 16px; border-radius: 8px; }
/* 按钮流光扫过效果 */
.btn-primary::after {
    content: ""; position: absolute; top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg); transition: left .5s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar span { margin-right: 22px; }
.topbar i { margin-right: 6px; color: var(--accent); }
.btn-topbar-consult { color: #fff; background: rgba(255,255,255,.12); padding: 2px 14px; border-radius: 20px; }
.btn-topbar-consult:hover { background: var(--primary-light); color: #fff; }
.btn-topbar-consult i { color: #fff; }

/* ---------- 头部导航 ---------- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(13,43,82,.06);
    position: sticky;
    top: 0;
    z-index: 900;
}
.header-inner { display: flex; align-items: center; height: 78px; position: relative; }
.logo a { display: flex; align-items: center; }
.logo-img { display: block; width: auto; }
.logo-full { height: 38px; }
.logo-compact { display: none; height: 32px; }
.footer-logo-img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .92; }

.nav-toggle { display: none; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 28px 14px;
    color: var(--text);
    font-size: 15px;
    white-space: nowrap;
}
.nav-list > li > a i { margin-left: 3px; font-size: 13px; }
.nav-list > li:hover > a, .nav-list > li.active > a { color: var(--primary); }
.nav-list > li.active > a { font-weight: 700; }
.nav-list > li > a::after {
    content: "";
    position: absolute; left: 17px; right: 17px; bottom: 18px;
    height: 2px; background: var(--primary);
    transform: scaleX(0); transition: transform .25s;
}
.nav-list > li:hover > a::after, .nav-list > li.active > a::after { transform: scaleX(1); }

.sub-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    min-width: 168px;
    box-shadow: var(--shadow-hover);
    border-radius: 6px;
    padding: 8px 0;
    opacity: 0; visibility: hidden;
    transition: all .25s;
    z-index: 100;
}
.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-menu a { display: block; padding: 9px 22px; color: var(--text); font-size: 14px; white-space: nowrap; }
.sub-menu a:hover { background: var(--bg-light); color: var(--primary); }

.header-cta { margin-left: 16px; }
.header-cta .btn { padding: 9px 22px; border-radius: 22px; white-space: nowrap; }

/* ---------- 子页 Banner ---------- */
.page-banner {
    background: var(--grad-dark);
    color: #fff;
    padding: 60px 0 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* 点阵纹理 */
.page-banner::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 24px 24px;
}
/* 光斑装饰 */
.page-banner::after {
    content: ""; position: absolute; right: -120px; top: -140px;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(47,125,225,.5), transparent 65%);
}
.page-banner h1 {
    font-size: clamp(26px, 3vw, 36px); letter-spacing: 3px; position: relative; z-index: 2;
}
.page-banner h1::after {
    content: ""; display: block; width: 48px; height: 3px; margin: 14px auto 0;
    border-radius: 2px; background: linear-gradient(90deg, var(--primary-light) 0 70%, var(--accent) 70%);
}
.page-banner p { margin-top: 14px; opacity: .85; font-size: 15px; letter-spacing: 1px; position: relative; z-index: 2; }
.breadcrumb { margin-top: 14px; font-size: 13px; opacity: .8; position: relative; z-index: 2; }
.breadcrumb a { color: #fff; }

/* ---------- 关于页签 ---------- */
.about-tabs { background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 8px rgba(13,43,82,.04); }
.about-tabs .container { display: flex; gap: 4px; overflow-x: auto; }
.about-tabs a { padding: 16px 26px; color: var(--text); font-size: 15px; white-space: nowrap; position: relative; }
.about-tabs a:hover { color: var(--primary); }
.about-tabs a.active { color: var(--primary); font-weight: 700; }
.about-tabs a.active::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; background: var(--primary); border-radius: 2px 2px 0 0; }

/* ---------- 通用区块 ---------- */
.section { padding: var(--sp-16) 0; }
.section-gray { background: var(--bg-light); }
.section-dark { background: var(--grad-dark); color: #fff; }
.section-head { text-align: center; margin-bottom: var(--sp-12); }
/* 眉标(英文小字) —— 品牌化设计语言 */
.section-head .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--primary-light); margin-bottom: 10px;
}
.section-head .eyebrow::before, .section-head .eyebrow::after {
    content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6;
}
.section-head h2 {
    font-size: clamp(26px, 3vw, 34px);
    color: var(--primary-dark); letter-spacing: 2px; font-weight: 700;
}
/* 标题下方装饰:主色短杠 + 金色点缀 */
.section-head h2::after {
    content: ""; display: block; width: 56px; height: 3px;
    margin: 14px auto 0; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary) 0 70%, var(--accent) 70% 100%);
}
.section-head p { color: var(--text-light); margin-top: 14px; font-size: 15px; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }
.section-head .more-link { display: inline-block; margin-top: 14px; font-size: 14px; }

/* 左对齐区块标题(带竖线) */
.section-head-left { text-align: left; margin-bottom: var(--sp-4); }
.section-head-left .eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--primary-light); margin-bottom: 8px;
}
.section-head-left h2 { position: relative; padding-left: 18px; font-size: clamp(24px, 2.6vw, 30px); color: var(--primary-dark); letter-spacing: 1px; }
.section-head-left h2::before {
    content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
    border-radius: 2px; background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

/* ---------- 首页轮播 ---------- */
.hero { position: relative; overflow: hidden; height: 600px; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity .9s var(--ease);
    background-size: cover; background-position: center;
    display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
/* Ken Burns 背景呼吸层 */
.hero-slide::after {
    content: ""; position: absolute; inset: 0;
    background: inherit; z-index: 0;
    transform: scale(1.12);
}
.hero-slide.active::after { animation: heroKenburns 7.5s var(--ease) forwards; }
@keyframes heroKenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-slide::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(9,28,54,.86) 0%, rgba(13,43,82,.58) 45%, rgba(13,43,82,.18) 100%);
}
.hero-content { position: relative; z-index: 3; color: #fff; width: 1200px; max-width: 94%; margin: 0 auto; }
/* 文字错峰入场 */
.hero-content h2, .hero-content p, .hero-btns { opacity: 0; }
.hero-slide.active .hero-content h2 { animation: heroUp .8s var(--ease) .1s forwards; }
.hero-slide.active .hero-content p { animation: heroUp .8s var(--ease) .28s forwards; }
.hero-slide.active .hero-btns { animation: heroUp .8s var(--ease) .46s forwards; }
@keyframes heroUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.hero-content h2 {
    font-size: clamp(30px, 4.2vw, 48px);
    letter-spacing: 3px; line-height: 1.3; font-weight: 700;
    text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero-content p { font-size: clamp(15px, 1.6vw, 19px); margin: 18px 0 32px; opacity: .92; letter-spacing: 2px; }
.hero-btns .btn { margin-right: 14px; }
/* 滚动提示 */
.hero-scroll {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    z-index: 5; color: rgba(255,255,255,.75); font-size: 22px;
    animation: heroScrollHint 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroScrollHint { 0%, 100% { transform: translate(-50%, 0); opacity: .7; } 50% { transform: translate(-50%, 8px); opacity: 1; } }
.hero-dots { position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dots span { width: 32px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); cursor: pointer; transition: all .35s var(--ease); }
.hero-dots span:hover { background: rgba(255,255,255,.7); }
.hero-dots span.active { background: var(--accent); width: 46px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.14); color: #fff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5; font-size: 20px; transition: all .3s var(--ease);
}
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.06); }
.hero-prev { left: 26px; }
.hero-next { right: 26px; }

/* ---------- 数据条 ---------- */
.stats-bar {
    background: var(--grad-dark);
    padding: 46px 0;
    position: relative; overflow: hidden;
}
.stats-bar::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 26px 26px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; position: relative; }
.stat-item { position: relative; }
.stat-item + .stat-item::before {
    content: ""; position: absolute; left: -10px; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 52px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.28), transparent);
}
.stat-item .num { font-size: 46px; font-weight: 700; color: #fff; font-family: var(--font-display); line-height: 1.15; }
.stat-item .num em { font-style: normal; font-size: 20px; color: var(--accent); margin-left: 4px; }
.stat-item .label { color: rgba(255,255,255,.72); margin-top: 6px; font-size: 14px; letter-spacing: 1px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    border: 1px solid var(--border);
    position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(26,86,176,.28); }
.card-body { padding: var(--sp-6); }
.card-cover { display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--bg-gray); position: relative; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-cover img { transform: scale(1.08); }
/* 封面底部渐变压暗,标题压图更高级 */
.card-cover::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13,43,82,.28) 100%);
    transition: opacity .35s;
}
.card:hover .card-cover::after { opacity: .55; }

/* 服务卡片(上图下文) */
.service-card h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.service-card h3 a { color: var(--primary-dark); transition: color .25s; }
.service-card h3 a:hover { color: var(--primary); }
/* 标题前序号徽章 */
.service-card h3::before {
    content: attr(data-no);
    flex: none; width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; background: var(--primary-soft);
    color: var(--primary); font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    transition: all .3s var(--ease);
}
.service-card:hover h3::before { background: var(--grad-primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card p { color: var(--text-light); font-size: 14px; line-height: 1.8; height: 76px; overflow: hidden; }
.service-card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--primary); }
.service-card .card-link i { transition: transform .3s var(--ease); }
.service-card .card-link:hover i { transform: translateX(5px); }

/* 案例/文章卡片 */
.list-card h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.5; font-weight: 700; }
.list-card h3 a { color: var(--primary-dark); }
.list-card h3 a:hover { color: var(--primary); }
.list-card p { color: var(--text-light); font-size: 14px; line-height: 1.8; }
.list-card .meta { margin-top: 14px; font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; }
.tag { display: inline-block; padding: 3px 14px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; }

/* ---------- 优势区块 ---------- */
.adv-item { text-align: center; padding: 40px 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: all .35s var(--ease); position: relative; overflow: hidden; border: 1px solid var(--border); }
.adv-item::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.adv-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(26,86,176,.25); }
.adv-item:hover::before { transform: scaleX(1); }
.adv-item .num {
    font-size: 42px; font-family: var(--font-display); font-weight: 700; line-height: 1.2;
    background: linear-gradient(120deg, var(--primary) 20%, var(--primary-light) 80%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.adv-item h3 { font-size: 18px; color: var(--primary-dark); margin: 8px 0 4px; }
.adv-item .en { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }
.adv-item p { color: var(--text-light); margin-top: 12px; font-size: 13px; line-height: 1.9; }

/* ---------- Logo 墙(无缝跑马灯) ---------- */
.logo-wall {
    position: relative; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    padding: 4px 0;
}
.logo-track { display: flex; width: max-content; animation: logoMarquee 38s linear infinite; }
.logo-wall:hover .logo-track { animation-play-state: paused; }
@keyframes logoMarquee { to { transform: translateX(-50%); } }
.logo-wall .logo-item {
    flex: none; margin-right: 20px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    width: 200px; height: 92px;
    display: flex; align-items: center; justify-content: center;
    padding: 14px; transition: all .3s var(--ease);
    overflow: hidden;
}
.logo-wall .logo-item:hover { box-shadow: var(--shadow-hover); border-color: rgba(26,86,176,.3); transform: translateY(-3px); }
.logo-wall img { max-height: 100%; filter: grayscale(100%); opacity: .75; transition: all .3s; }
.logo-wall .logo-item:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .logo-track .logo-item[aria-hidden] { display: none; }
}

/* ---------- CTA 区 ---------- */
.cta-band {
    background: var(--grad-dark);
    padding: 64px 0;
    position: relative; overflow: hidden;
}
/* 装饰:光斑 + 点阵 */
.cta-band::before {
    content: ""; position: absolute; right: -140px; top: -180px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(47,125,225,.45), transparent 65%);
}
.cta-band::after {
    content: ""; position: absolute; left: -120px; bottom: -200px;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,176,46,.18), transparent 65%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; color: #fff; position: relative; z-index: 2; gap: 24px; }
.cta-inner h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 2px; }
.cta-inner h3 em { font-style: normal; color: var(--accent); }
.cta-inner p { opacity: .82; margin-top: 8px; font-size: 15px; letter-spacing: 1px; }
.cta-inner .btn { flex: none; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 0; }
.timeline::before {
    content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-light), var(--border) 20%, var(--border) 80%, var(--primary-light));
    transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 26px 46px 26px 18px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; padding: 26px 18px 26px 46px; }
/* 节点卡片 */
.tl-item::after {
    content: ""; position: absolute; top: 10px; bottom: 10px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all .35s var(--ease);
    z-index: 0;
}
.tl-item:nth-child(odd)::after { left: 0; right: 24px; }
.tl-item:nth-child(even)::after { left: 24px; right: 0; }
.tl-item:hover::after { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(26,86,176,.3); }
.tl-item > * { position: relative; z-index: 1; }
.tl-item .tl-dot {
    position: absolute; top: 34px;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--primary);
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(26,86,176,.12);
    transition: all .3s var(--ease);
}
.tl-item:hover .tl-dot { border-color: var(--accent); box-shadow: 0 0 0 7px rgba(255,176,46,.15); }
.tl-item:nth-child(odd) .tl-dot { right: -8px; }
.tl-item:nth-child(even) .tl-dot { left: -8px; }
.tl-year {
    display: inline-block; font-size: 24px; font-weight: 700; color: var(--primary);
    font-family: var(--font-display); letter-spacing: 1px;
}
.tl-item:nth-child(odd) .tl-year::after, .tl-item:nth-child(even) .tl-year::after {
    content: ""; display: block; height: 3px; width: 34px; margin-top: 2px;
    border-radius: 2px; background: linear-gradient(90deg, var(--primary) 0 60%, var(--accent) 60%);
}
.tl-item:nth-child(odd) .tl-year::after { margin-left: auto; }
.tl-item h3 { font-size: 16px; color: var(--primary-dark); margin: 8px 0 4px; font-weight: 700; }
.tl-item p { color: var(--text-light); font-size: 13px; line-height: 1.85; }

/* ---------- 团队 ---------- */
.team-card { text-align: center; padding-bottom: 26px; }
.team-card .avatar-wrap { display: block; overflow: hidden; position: relative; background: var(--bg-gray); }
.team-card .avatar-wrap::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(13,43,82,.35) 100%);
    opacity: 0; transition: opacity .35s;
}
.team-card:hover .avatar-wrap::after { opacity: 1; }
.team-card .avatar { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--bg-gray); transition: transform .6s var(--ease); display: block; }
.team-card:hover .avatar { transform: scale(1.06); }
.team-card h3 { font-size: 18px; color: var(--primary-dark); margin-top: 18px; position: relative; display: inline-block; }
.team-card h3::after {
    content: ""; position: absolute; left: 50%; bottom: -6px;
    width: 0; height: 2px; background: var(--accent);
    transition: all .3s var(--ease); transform: translateX(-50%);
}
.team-card:hover h3::after { width: 70%; }
.team-card .position { color: var(--primary); font-size: 13px; margin: 10px 0 10px; font-weight: 600; letter-spacing: 1px; }
.team-card .summary { color: var(--text-light); font-size: 13px; padding: 0 20px; line-height: 1.85; }
.team-card .domains { margin-top: 12px; padding: 0 16px; }
.team-card .domains .tag { margin: 3px; }

/* ---------- 表单 ---------- */
.site-form .form-row { margin-bottom: 16px; }
.site-form label { display: block; font-size: 14px; color: var(--primary-dark); margin-bottom: 6px; font-weight: 600; }
.site-form label i { color: #e5443c; font-style: normal; }
.site-form input[type=text], .site-form input[type=tel], .site-form input[type=email],
.site-form textarea, .site-form select {
    width: 100%; padding: 11px 16px;
    border: 1px solid var(--border); border-radius: 8px;
    font-size: 14px; font-family: inherit; color: var(--text);
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.site-form input:focus, .site-form textarea:focus, .site-form select:focus {
    outline: none; border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(47,125,225,.12);
}
.site-form textarea { resize: vertical; }
.form-tip { font-size: 12px; color: var(--text-light); margin-top: 10px; text-align: center; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info-item { display: flex; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.contact-info-item i {
    width: 46px; height: 46px; flex: none;
    background: var(--bg-light); color: var(--primary);
    border-radius: 10px; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 16px;
}
.contact-info-item h4 { font-size: 15px; color: var(--primary-dark); }
.contact-info-item p { color: var(--text-light); font-size: 13px; }
.contact-form-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; border-top: 4px solid var(--primary); }
.contact-form-box h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 20px; }

/* ---------- 详情页 ---------- */
.detail-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; padding: 50px 0; }
.side-menu { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 100px; }
.side-menu h3 { background: var(--grad-dark); color: #fff; padding: 20px 24px; font-size: 18px; letter-spacing: 1px; }
.side-menu a { display: block; padding: 13px 24px; color: var(--text); border-bottom: 1px solid var(--bg-light); font-size: 14px; }
.side-menu a:hover, .side-menu a.active { background: var(--bg-light); color: var(--primary); border-left: 3px solid var(--primary); padding-left: 21px; }
.side-contact { margin-top: 22px; background: var(--bg-light); border-radius: var(--radius); padding: 24px; text-align: center; }
.side-contact .num { font-size: 20px; color: var(--primary); font-weight: 700; margin: 8px 0; }
.detail-main { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px; min-height: 400px; }
.detail-main h1 { font-size: 26px; color: var(--primary-dark); margin-bottom: 14px; }
.detail-meta { color: var(--text-muted); font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--bg-light); margin-bottom: 24px; }
.detail-meta span { margin-right: 18px; }
.rich-text { font-size: 15px; line-height: 2; color: #444; }
.rich-text p { margin-bottom: 14px; }
.rich-text img { border-radius: 6px; margin: 10px 0; }
.rich-text h2, .rich-text h3 { color: var(--primary-dark); margin: 22px 0 12px; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin-bottom: 14px; }
.detail-nav { display: flex; justify-content: space-between; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--bg-light); font-size: 13px; color: var(--text-light); }

/* ---------- 新闻列表双栏(右侧栏随滚动常驻) ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.news-layout > aside { position: sticky; top: 100px; }

/* ---------- 列表筛选 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-bar a { padding: 8px 24px; border-radius: 22px; background: #fff; color: var(--text); border: 1px solid var(--border); font-size: 14px; transition: all .25s var(--ease); }
.filter-bar a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.filter-bar a.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(26,86,176,.28); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: 4px;
    color: var(--text); background: #fff; font-size: 14px;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled { color: #c3ccd9; cursor: not-allowed; }

/* ---------- 下载卡片 ---------- */
.dl-card { display: flex; flex-direction: column; }
.dl-card .card-body { flex: 1; display: flex; flex-direction: column; }
.dl-card h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 8px; }
.dl-card p { color: var(--text-light); font-size: 13px; flex: 1; }
.dl-card .dl-btn { margin-top: 16px; }
.dl-count { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ---------- 活动/课程 ---------- */
.act-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0; font-size: 13px; color: var(--text-light); }
.act-meta i { color: var(--primary); margin-right: 5px; }

/* ---------- 悬浮侧栏 ---------- */
.float-side { position: fixed; right: 18px; bottom: 120px; z-index: 800; display: flex; flex-direction: column; gap: 8px; }
.float-item {
    width: 50px; height: 50px;
    background: var(--primary); color: #fff;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; cursor: pointer; position: relative;
    box-shadow: var(--shadow);
    transition: background .25s;
}
.float-item:hover { background: var(--primary-light); }
.float-panel {
    position: absolute; right: 58px; top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #fff; color: var(--primary-dark);
    padding: 12px 16px; border-radius: 6px;
    box-shadow: var(--shadow-hover);
    white-space: nowrap; font-size: 15px; font-weight: 700;
    opacity: 0; visibility: hidden; transition: all .25s;
}
.float-panel img { width: 130px; height: 130px; object-fit: contain; }
.float-item:hover .float-panel { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* ---------- 咨询弹窗 ---------- */
.consult-mask { position: fixed; inset: 0; background: rgba(9,20,38,.55); z-index: 1000; opacity: 0; visibility: hidden; transition: all .3s; }
.consult-modal {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%,-46%);
    width: 460px; max-width: 92%;
    background: #fff; border-radius: 10px;
    z-index: 1001; opacity: 0; visibility: hidden;
    transition: all .3s;
    max-height: 88vh; overflow: auto;
}
.consult-mask.show, .consult-modal.show { opacity: 1; visibility: visible; }
.consult-modal.show { transform: translate(-50%,-50%); }
.consult-head { background: var(--grad-dark); color: #fff; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; border-radius: 10px 10px 0 0; position: sticky; top: 0; }
.consult-head h3 { font-size: 17px; }
.consult-close { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
.consult-body { padding: 26px 24px; }

/* ---------- Toast ---------- */
.site-toast {
    position: fixed; top: 90px; left: 50%;
    transform: translateX(-50%) translateY(-16px);
    background: rgba(13,43,82,.92); color: #fff;
    padding: 11px 30px; border-radius: 6px;
    z-index: 2000; font-size: 14px;
    opacity: 0; visibility: hidden; transition: all .3s;
    pointer-events: none;
}
.site-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- 二维码占位 ---------- */
.qr-placeholder {
    width: 120px; height: 120px; margin: 0 auto;
    background: var(--bg-light); border: 1px dashed var(--border);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--text-light); gap: 6px; border-radius: 6px;
}
.qr-placeholder i { font-size: 34px; color: var(--primary); opacity: .5; }
.qr-placeholder.small { width: 130px; height: 130px; }
.footer-qrcode { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 6px; }

/* ---------- 页脚 ---------- */
.site-footer {
    background: var(--primary-deep);
    color: rgba(255,255,255,.72); margin-top: 0;
    position: relative; overflow: hidden;
}
.site-footer::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 26px 26px;
}
.site-footer > .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 58px 0 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--primary-light); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo strong { color: #fff; font-size: 19px; }
.footer-about p { font-size: 13px; line-height: 1.9; margin-bottom: 6px; }
.footer-slogan { color: var(--accent); }
.footer-contact-line { font-size: 13px; margin-top: 4px; }
.footer-contact-line i { color: var(--primary-light); margin-right: 8px; }
.footer-qr p { font-size: 12px; margin-top: 10px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- 滚动渐显 & 其他(无JS时内容默认可见) ---------- */
.reveal { transition: all .7s ease; }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.revealed { opacity: 1; transform: none; }
#backToTop { opacity: 0; transition: opacity .3s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(13,43,82,.12); }

/* ---------- 图文排版(关于/培训/联系) ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-photos { position: relative; padding: 0 18px 26px 0; }
.about-photos .photo-main { border-radius: var(--radius); box-shadow: var(--shadow-hover); display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-photos .photo-sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4/3; object-fit: cover; border: 6px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-list { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.feature-list li { color: var(--text-light); font-size: 14px; padding-left: 18px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--primary); border-radius: 2px; }

.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-row + .split-row { margin-top: 64px; }
.split-row.flip .photo { order: 2; }
.split-row .photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.split-row h3 { font-size: 24px; color: var(--primary-dark); margin-bottom: 16px; letter-spacing: 1px; position: relative; padding-bottom: 14px; }
.split-row h3::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 44px; height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary) 0 70%, var(--accent) 70%);
}
.split-row .text p { color: var(--text-light); font-size: 15px; line-height: 2; margin-bottom: 10px; }

/* 图片角标说明 */
.photo-cap { display: block; margin-top: 8px; color: var(--text-muted); font-size: 12px; }

/* Logo 墙文字样式 */
.logo-wall .logo-name { font-size: 15px; color: #7c8aa0; font-weight: 600; letter-spacing: 3px; }

/* 富文本图片说明 */
.rich-text figure { margin: 18px 0; }
.rich-text figure img { margin: 0; }
.rich-text figcaption { color: var(--text-muted); font-size: 12px; text-align: center; margin-top: 8px; }

@media (max-width: 900px) {
    .about-split, .split-row { grid-template-columns: 1fr; gap: 34px; }
    .split-row.flip .photo { order: 0; }
    .feature-list { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .logo-wall { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-wrap { grid-template-columns: 1fr; }
    .side-menu { position: static; }
}

@media (max-width: 768px) {
    .topbar-left span:last-child, .topbar-right span { display: none; }
    .hidden-xs { display: none; }
    .header-inner { height: 62px; }
    .logo-full { display: none; }
    .logo-compact { display: block; height: 30px; }
    .header-cta { display: none; }

    .nav-toggle {
        display: block; margin-left: auto;
        width: 42px; height: 42px;
        background: none; border: none; cursor: pointer;
        position: relative; z-index: 1002;
    }
    .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary-dark); margin: 5px auto; transition: all .3s; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .main-nav {
        position: fixed; top: 0; right: -280px;
        width: 270px; height: 100vh;
        background: #fff; z-index: 1001;
        box-shadow: -6px 0 24px rgba(0,0,0,.15);
        transition: right .3s;
        overflow-y: auto;
        padding-top: 70px;
    }
    .main-nav.open { right: 0; }
    .nav-list { display: block; }
    .nav-list > li > a { padding: 13px 22px; border-bottom: 1px solid var(--bg-light); }
    .nav-list > li > a::after { display: none; }
    .sub-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; padding: 0; display: none;
        background: var(--bg-light);
    }
    .has-sub.open .sub-menu { display: block; }
    .sub-menu a { padding: 10px 30px; }

    .hero { height: 420px; }
    .hero-content h2 { font-size: 26px; }
    .hero-content p { font-size: 15px; }
    .hero-arrow { display: none; }
    .section { padding: 44px 0; }
    .section-head h2 { font-size: 24px; }
    .page-banner { padding: 40px 0 34px; }
    .page-banner h1 { font-size: 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
    .stat-item .num { font-size: 32px; }
    .stat-item + .stat-item::before { display: none; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .logo-wall { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; text-align: center; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .news-layout { grid-template-columns: 1fr !important; }
    /* 单栏时侧栏提升到列表前，避免沉底只有滑到页面底部才能看到 */
    .news-layout > aside { position: static; order: -1; margin-bottom: 28px; }
    .list-card[style*="display:flex"] { flex-direction: column !important; }
    .list-card .card-cover { width: 100% !important; aspect-ratio: 16/9 !important; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .detail-main { padding: 26px 20px; }

    .timeline::before { left: 8px; }
    .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0 !important; text-align: left !important; padding: 14px 4px 14px 34px; }
    .tl-item .tl-dot { left: 1px !important; right: auto !important; top: 26px; }
    .tl-item:nth-child(odd)::after, .tl-item:nth-child(even)::after { left: 22px; right: 0; }
    .tl-item:nth-child(odd) .tl-year::after { margin-left: 0; }

    .float-side { right: 10px; bottom: 80px; }
    .float-item { width: 42px; height: 42px; font-size: 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 26px; }
}

/* ==========================================================================
   页面切换动效
   ========================================================================== */

/* ---------- 顶部加载进度条 ---------- */
#pageProgress {
    position: fixed;
    top: 0; left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary-light));
    background-size: 200% 100%;
    animation: progressShimmer 1.2s linear infinite;
    z-index: 99999;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(47, 125, 225, .5);
    transition: width .3s ease-out;
    pointer-events: none;
}
#pageProgress.done {
    opacity: 0;
    transition: opacity .4s ease .3s;
}
@keyframes progressShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---------- 页面入场动画 ---------- */
.js body {
    animation: pageIn .55s var(--ease) both;
}
@keyframes pageIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* 页面主体内容区块入场(子元素错落进场) */
.js .page-banner,
.js .section:first-of-type,
.js .about-tabs {
    animation: fadeSlideUp .6s var(--ease) both;
}
.js .section:first-of-type { animation-delay: .08s; }
.js .about-tabs { animation-delay: .04s; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

/* 页脚入场 */
.js .site-footer {
    animation: fadeIn .6s ease .2s both;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------- 页面离开过渡 ---------- */
body.page-leaving {
    animation: pageOut .3s ease both;
    pointer-events: none;
}
@keyframes pageOut {
    from { opacity: 1; transform: none; }
    to   { opacity: 0; transform: translateY(-8px); }
}

/* ---------- 增强滚动显现动画变体 ---------- */
.js .reveal-left { opacity: 0; transform: translateX(-32px); }
.js .reveal-right { opacity: 0; transform: translateX(32px); }
.js .reveal-scale { opacity: 0; transform: scale(.92); }
.js .reveal-fade { opacity: 0; }
.js .reveal-left.revealed,
.js .reveal-right.revealed,
.js .reveal-scale.revealed,
.js .reveal-fade.revealed {
    opacity: 1;
    transform: none;
}
.reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
    transition: all .7s var(--ease);
}

/* ---------- 导航下划线动效增强 ---------- */
.nav-list > li > a::after {
    transition: transform .3s var(--ease);
    transform-origin: left center;
}

/* ---------- 子菜单弹出增强 ---------- */
.sub-menu {
    transition: all .28s var(--ease);
}
.sub-menu a {
    transition: all .2s ease;
}
.sub-menu a:hover {
    padding-left: 28px;
}

/* ---------- 数字统计区入场 ---------- */
.js .stats-bar {
    animation: fadeSlideUp .7s var(--ease) .15s both;
}

/* ---------- CTA 区域呼吸光效(叠加在已有装饰之上) ---------- */
.cta-band .cta-inner::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.04) 0%, transparent 50%);
    animation: ctaGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes ctaGlow {
    0% { transform: translateX(-10%) rotate(0deg); }
    100% { transform: translateX(10%) rotate(3deg); }
}

/* ---------- 悬浮侧边栏入场 ---------- */
.js .float-side {
    animation: floatIn .5s var(--ease) .4s both;
}
@keyframes floatIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- 页面内容区块交错入场(通用) ---------- */
.js .section:nth-child(2) { animation-delay: .1s; }
.js .section:nth-child(3) { animation-delay: .18s; }

/* ---------- 链接/按钮点击涟漪反馈 ---------- */
.btn:active {
    transform: scale(.97);
}

/* ---------- 页面切换遮罩(柔和过渡层) ---------- */
#pageTransitionMask {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
#pageTransitionMask.active {
    opacity: 1;
    pointer-events: all;
}

/* ---------- 动效降级(尊重系统偏好) ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .hero-content h2, .hero-content p, .hero-btns { opacity: 1; }
    .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale, .js .reveal-fade {
        opacity: 1; transform: none;
    }
    #pageProgress { display: none; }
    #pageTransitionMask { display: none; }
}
