/* ============================================
   湖南红星国际展览官网 - 主样式文件
   版本: 1.0
   设计: 简约、大气、专业
   配色: 深蓝主色 + 红色点缀
   ============================================ */

/* --- CSS 变量 --- */
:root {
    --primary:       #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark:  #1e2a6a;
    --accent:        #dc2626;
    --accent-light:  #ef4444;
    --bg:            #ffffff;
    --bg-light:      #f9fafb;
    --bg-dark:       #111827;
    --text:           #1f2937;
    --text-light:     #6b7280;
    --text-lighter:   #9ca3af;
    --border:         #e5e7eb;
    --shadow:         0 4px 24px rgba(0,0,0,0.08);
    --shadow-hover:   0 8px 32px rgba(0,0,0,0.12);
    --radius:         8px;
    --transition:     all 0.3s ease;
    --font:           'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- 重置与基础 --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

/* 新闻详情正文：图片保持行内展示（覆盖全局 display:block） */
.news-detail-content img { display: inline-block; vertical-align: middle; }
.news-detail-content p img { display: block; margin: 0 auto; }

ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--bg-light); }
.section-title {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-title .t-cn,
.section-title .t-en {
    display: block;
}
/* 默认（中文版/兜底）：t-cn 为主标题大字，t-en 为副标题小字 */
.section-title .t-cn {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    line-height: 1.2;
}
.section-title .t-en {
    font-size: 16px;
    color: var(--text-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 8px;
}
/* ── 视觉权重也随语言版本翻转：上面的始终是"小标题"，下面的始终是"主标题" ──
   中文版：t-en(英文)在上=小标，t-cn(中文)在下=主标（默认已满足）
   英文版：t-cn(中文)在上=小标，t-en(英文)在下=主标 */
html[lang="en"] .section-title .t-cn {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 4px;
    text-transform: none;
    line-height: 1.2;
    margin-bottom: 8px;
}
html[lang="en"] .section-title .t-en {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.2;
    margin-bottom: 0;
}
.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
    order: 3; /* 分隔线永远在最后 */
}
/* ── 语言翻转：小标始终在上、大标在下，仅语言互换 ──
   中文版：英文小标(t-en)在上、中文大标(t-cn)在下
   英文版：中文小标(t-cn)在上、英文大标(t-en)在下 */
html[lang="zh-CN"] .section-title .t-en { order: 1; }
html[lang="zh-CN"] .section-title .t-cn { order: 2; }
html[lang="en"]   .section-title .t-cn { order: 1; }
html[lang="en"]   .section-title .t-en { order: 2; }

/* --- 按钮 --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--accent-light);
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-sm { padding: 8px 20px; font-size: 14px; }

/* --- 顶部信息栏 --- */
.top-bar {
    background: var(--bg-dark);
    color: #9ca3af;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: #9ca3af; font-size: 13px; }
.top-bar a:hover { color: #fff; }
.top-bar i { margin-right: 6px; color: var(--accent); }

/* --- 导航栏 --- */
.navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    align-content: center;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-brand .logo {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.navbar-brand .navbar-logo-img {
    height: 48px;
    width: auto;
    max-width: 180px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}
.navbar-brand .brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.navbar-brand .brand-text small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 2px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: row;
}
.navbar-nav a {
    padding: 8px 18px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap; /* 英文版标签更长，防止单条导航内文字被换行 */
}
.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary);
    background: rgba(30,58,138,0.06);
}
.navbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* 语言切换按钮 */
.navbar-lang {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}
.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.lang-switch-btn:hover {
    background: var(--primary);
    color: #fff;
}
.footer-lang {
    margin-top: 10px;
}
.footer-lang .lang-switch-btn {
    color: var(--text-muted, #6b7280);
    border-color: currentColor;
}
.footer-lang .lang-switch-btn:hover {
    color: #fff;
    background: var(--primary);
}

/* 导航栏下拉菜单 */
.navbar-dropdown {
    position: relative;
}
.navbar-dropdown > a {
    padding: 8px 18px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar-dropdown > a:hover,
.navbar-dropdown > a.active {
    color: var(--primary);
    background: rgba(30,58,138,0.06);
}
.navbar-dropdown > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.navbar-dropdown:hover > a i {
    transform: rotate(180deg);
}
.navbar-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 140px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1001;
    animation: dropdown-fadeIn 0.2s ease;
}
@keyframes dropdown-fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.navbar-dropdown:hover .navbar-dropdown-menu {
    display: block;
}
.navbar-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.navbar-dropdown-menu a:hover {
    color: var(--primary);
    background: rgba(30,58,138,0.06);
}

/* 手机端导航切换 */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
}

/* --- 页脚 --- */
.footer {
    background: var(--bg-dark);
    color: #d1d5db;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #374151;
}
.footer-brand .logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: #9ca3af;
}
.footer h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #9ca3af;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #9ca3af;
}
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #6b7280;
}

/* --- 首页 Banner --- */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
   /* background: var(--primary-dark); */
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
   /* background: var(--primary-dark); */
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 4px;
    line-height: 1.2;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 36px;
    opacity: 0.9;
    line-height: 1.8;
}
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}
.hero-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.hero-indicators span.active { background: #fff; transform: scale(1.2); }

/* --- 首页 关于我们 --- */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
/* --- 关于页 公司简介：嵌入式排版（图片嵌入文字流、文字环绕） --- */
.about-preview.about-embedded {
    display: block;
    overflow: hidden;
}
.about-preview.about-embedded .text { margin-bottom: 24px; }
.about-preview.about-embedded .image-wrapper {
    float: left;
    width: 46%;
    margin: 4px 32px 16px 0;
}
.about-preview.about-embedded .image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}
.about-preview.about-embedded .embedded-content p { margin-bottom: 16px; }
.about-preview.about-embedded .embedded-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}
.about-preview .image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-preview .image-wrapper img { width: 100%; height: 400px; object-fit: cover; }
.about-preview .image-wrapper video.profile-media { width: 100%; height: 400px; object-fit: cover; background: #000; display: block; }
.about-preview .text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.about-preview .text h2 {
    font-size: 32px;
	font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.about-preview .subtitle {
    font-size: 16px;
    color: var(--text-light);
    letter-spacing: 4px;
    text-transform: uppercase;
}
.about-preview .text p { color: var(--text-light); line-height: 2; margin-bottom: 24px; }
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.about-stats .stat { text-align: center; }
.about-stats .stat .number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    display: block;
}
.about-stats .stat .label { font-size: 14px; color: var(--text-light); }

/* --- 首页 主营业务 --- */
.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.business-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    overflow: hidden;
}
.business-card .business-cover {
    margin: -40px -30px 24px;
    height: 160px;
    overflow: hidden;
}
.business-card .business-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.business-card:hover .business-cover img { transform: scale(1.05); }
.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}
.business-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(30,58,138,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}
.business-card:hover .icon { background: var(--primary); color: #fff; }
.business-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.business-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* --- 首页 项目案例 --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: #fff;
    cursor: pointer;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.project-card .thumb {
    height: 240px;
    overflow: hidden;
}
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .thumb img { transform: scale(1.05); }
.project-card .info { padding: 24px; }
.project-card .category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(220,38,38,0.08);
    color: var(--accent);
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.project-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.project-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- 首页 新闻资讯 --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: #fff;
    /* 卡片整体为 <a> 链接（跳转新闻详情），需重置链接样式 */
    display: block;
    color: inherit;
    text-decoration: none;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-card .thumb {
    height: 200px;
    overflow: hidden;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .info { padding: 24px; }
.news-card .date {
    font-size: 13px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}
.news-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- 首页 数据统计 --- */
.stats-bar {
    background: var(--primary);
    padding: 50px 0;
    color: #fff;
}
.stats-bar .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stats-bar .stat-item .number {
    font-size: 48px;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}
.stats-bar .stat-item .label { font-size: 16px; opacity: 0.8; letter-spacing: 2px; }

/* --- 首页 合作伙伴 --- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}
.partner-grid .partner-item {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: #fff;
}
.partner-grid .partner-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.partner-grid .partner-item img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.partner-grid .partner-item:hover img { filter: none; opacity: 1; }

/* ========== 内页通用 ========== */
/* 顶部 Banner：默认深蓝渐变；后台为某页配置了背景图时，
   _data_banner_attrs() 会输出 has-bg class 与 --banner-bg 变量，自动切换为图片背景。 */
.page-banner {
    background-color: var(--primary-dark);
    background-image: linear-gradient(135deg, var(--primary-dark), var(--primary));
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
}
.page-banner.has-bg {
    /* 上传背景图后，彻底隐藏原本的蓝色渐变底色，只显示图片 */
    background-color: transparent;
    background-image: var(--banner-bg);
}
/* 图片背景时叠加深蓝渐变遮罩，保证白色标题在任何图片上都可读 */
.page-banner.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 30, 82, 0.82), rgba(30, 58, 138, 0.66));
    pointer-events: none;
}
.page-banner.has-bg > .container { position: relative; z-index: 1; }
.page-banner.has-bg h1,
.page-banner.has-bg p { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.page-banner h1 { font-size: 40px; font-weight: 700; letter-spacing: 4px; margin-bottom: 12px; }
.page-banner p { font-size: 16px; opacity: 0.8; letter-spacing: 2px; }

/* --- 关于我们页面 --- */
.about-detail .mission-vision {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}
.mv-card {
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    background: #fff;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}
.mv-card:nth-child(2) { border-top-color: var(--accent); }
.mv-card .icon { font-size: 40px; margin-bottom: 20px; }
.mv-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.mv-card p { font-size: 14px; color: var(--text-light); line-height: 1.9; }

/* ===== 发展历程 —— 横向滚动时间线（超宽可滑动，隐藏滚动条） ===== */
.tl-wrap {
    max-width: 1180px;
    margin: 36px auto 0;
    position: relative;
    padding: 0 56px;            /* 给左右箭头留位 */
}

/* 左右滑动箭头（桌面） */
.tl-nav {
    position: absolute;
    top: 150px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    z-index: 6;
    transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.tl-nav:hover { background: var(--primary); color: #fff; transform: scale(1.06); }
.tl-nav.prev { left: 4px; }
.tl-nav.next { right: 4px; }
.tl-nav:disabled { opacity: .35; cursor: default; transform: none; }

/* 滚动轨道 */
.timeline {
    --tl-item-w: 270px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 64px 6px 22px;
    position: relative;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    /* 隐藏滚动条（仍可用鼠标滚轮 / 拖动 / 箭头滑动） */
    scrollbar-width: none;            /* Firefox */
    -ms-overflow-style: none;         /* 旧 IE/Edge */
}
.timeline::-webkit-scrollbar { display: none; }   /* Chrome/Safari/新版 Edge */

/* 连接线：画在每个 item 上，从本徽章中心连到下一徽章中心，
   随内容一起滚动（避免 ::before 绝对定位只覆盖可视区、滚动区无线） */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 29px;                    /* 相对 item 顶部 = 徽章中心（徽章高 58px 的一半） */
    left: 50%;
    width: var(--tl-item-w);      /* 恰好延伸到下一 item 中心 */
    height: 3px;
    background: linear-gradient(90deg,
        rgba(30,58,138,.15) 0%,
        var(--primary) 55%,
        var(--primary-light) 100%);
    z-index: 0;
    pointer-events: none;
}
.timeline-item:last-child::after { display: none; }   /* 末项无下一项，去掉线头 */

.timeline-item {
    flex: 0 0 var(--tl-item-w);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 10px;
    /* 入场动画 */
    opacity: 0;
    transform: translateY(24px);
    animation: tlIn .6s cubic-bezier(.22,.61,.36,1) forwards;
}
.timeline-item:nth-child(1) { animation-delay: .05s; }
.timeline-item:nth-child(2) { animation-delay: .15s; }
.timeline-item:nth-child(3) { animation-delay: .25s; }
.timeline-item:nth-child(4) { animation-delay: .35s; }
.timeline-item:nth-child(5) { animation-delay: .45s; }
.timeline-item:nth-child(6) { animation-delay: .55s; }
.timeline-item:nth-child(n+7) { animation-delay: .6s; }
@keyframes tlIn { to { opacity: 1; transform: none; } }

/* 年份徽章：深蓝渐变圆 + 外环 */
.timeline-year-badge {
    position: relative;
    z-index: 3;
    width: 58px; height: 58px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 0 0 5px rgba(59,130,246,.16), 0 2px 12px rgba(0,0,0,.06);
    flex-shrink: 0;
    transition: transform .25s, box-shadow .25s;
}
.timeline-item:hover .timeline-year-badge {
    transform: scale(1.08);
    box-shadow: 0 0 0 6px rgba(59,130,246,.22), 0 6px 20px rgba(0,0,0,.10);
}

/* 徽章到卡片的小竖线 */
.timeline-item .connector {
    width: 2px; height: 18px;
    background: linear-gradient(180deg, var(--primary-light), rgba(59,130,246,.2));
    margin-top: 6px;
    z-index: 1;
}

/* 卡片 */
.timeline-content {
    position: relative;
    background: #fff;
    padding: 20px 22px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid var(--border);
    max-width: 240px;
    margin-top: 0;
    text-align: justify;
    overflow: hidden;
    transition: box-shadow .28s, transform .28s, border-color .28s;
}
.timeline-content:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,.14);
    border-color: var(--primary-light);
    transform: translateY(-6px) scale(1.02);
}
.timeline-content p {
    font-size: 15px;
    color: var(--text-light);
    margin: 6px 0 0;
    line-height: 1.8;
}

/* --- 业务详情页 --- */
.business-detail .bd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.business-detail .bd-grid:nth-child(even) { direction: rtl; }
.business-detail .bd-grid:nth-child(even) > * { direction: ltr; }
.business-detail .bd-text h3 { font-size: 26px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.business-detail .bd-text p { color: var(--text-light); line-height: 2; margin-bottom: 20px; }
.business-detail .bd-text ul li { padding: 6px 0; color: var(--text-light); }
.business-detail .bd-text ul li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.business-detail .bd-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* --- 项目展示页面 --- */
.project-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.project-filter .filter-btn {
    padding: 8px 24px;
    border: 2px solid var(--border);
    border-radius: 30px;
    background: #fff;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}
.project-filter .filter-btn:hover,
.project-filter .filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* --- 新闻列表页 --- */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.news-list-item {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}
.news-list-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-list-item .thumb { width: 200px; flex-shrink: 0; }
.news-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-item .info { padding: 20px 20px 20px 0; display: flex; flex-direction: column; justify-content: center; }
.news-list-item .date { font-size: 13px; color: var(--text-lighter); margin-bottom: 8px; }
.news-list-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.news-list-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.pagination a, .pagination span, .pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    text-decoration: none;
}
.pagination .page-btn:not(.active):hover,
.pagination a:not(.active):hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(30,58,138,0.18);
}
.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(30,58,138,0.25);
}
.pagination .page-ellipsis {
    border: none;
    background: transparent;
    min-width: 22px;
    padding: 0;
    color: var(--text-lighter);
    cursor: default;
}
.pagination .page-prev,
.pagination .page-next {
    min-width: 64px;
}

/* --- 联系我们页面 --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}
.contact-info .info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-info .info-item .icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: rgba(30,58,138,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}
.contact-info .info-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.contact-info .info-item p { font-size: 14px; color: var(--text-light); }

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; font-weight: 600; margin-bottom: 24px; color: var(--primary); }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font);
    transition: var(--transition);
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- 人才发展页面 --- */
.talent-section { margin-bottom: 60px; }
.job-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* 招聘卡片 —— 参考设计稿重做 */
.job-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
    border: 1px solid #f1f5f9;
}
.job-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.10); transform: translateY(-3px); }

.job-card-header {
    padding: 24px 24px 16px;
}
.job-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.job-card-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
}
.job-card-title-row h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
/* 薪资标签（右上角蓝色文字） */
.job-card-title-row .job-meta-tag.salary {
    display: inline-flex;
    font-size: 17px;
    padding: 4px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    color: #2563eb;
    font-weight: 700;
    background: transparent;
    border: none;
}

/* 急聘标识 */
.job-urgent-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 4px;
    animation: urgent-pulse 2s ease-in-out infinite;
    white-space: nowrap;
}
@keyframes urgent-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .75; }
}

/* 元信息行 —— 图标+文字 */
.job-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.job-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    font-size: 13px;
    color: #6b7280;
    background: transparent;
    border-radius: 0;
    border: none;
}
.job-meta-tag i {
    font-size: 13px;
    color: #2563eb;
}
.job-meta-tag.salary { display: none; } /* salary 由 title-row 独立控制 */
.job-meta-tag.salary-negotiate {
    font-size: 17px;
    padding: 4px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    color: #d97706;
    font-weight: 700;
    background: transparent;
    border: none;
}

/* 卡片主体 */
.job-card-body {
    padding: 0 24px 20px;
}
.job-desc-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}
/* 任职要求区块 */
.job-requirement-block {
    background: #f9fafb;
    border-radius: 10px;
    padding: 16px 18px;
}
.job-requirement-block h5 {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 10px;
}
.job-requirement-block ul {
    margin: 0;
    padding-left: 16px;
    list-style: disc;
}
.job-requirement-block ul li {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.9;
}

/* 卡片底部 */
.job-card-footer {
    padding: 14px 24px 20px;
    display: flex;
    justify-content: flex-end;
}

.team-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}
.team-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-thumb { position: relative; overflow: hidden; line-height: 0; }
.team-thumb img,
.team-thumb svg {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .55s ease;
}
.team-item:hover .team-thumb img,
.team-item:hover .team-thumb svg { transform: scale(1.07); }
.team-cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(30, 58, 138, .85);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.team-thumb-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}
.team-item:hover .team-thumb-hint { opacity: 1; transform: translateY(0); }
.team-item .info { padding: 18px 18px 20px; text-align: left; }
.team-item .info h4 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.45; }
.team-item .info p { font-size: 13px; color: var(--text-light); line-height: 1.7; text-align: justify; }
@media (max-width: 992px) {
    .team-gallery { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 575px) {
    .team-gallery { grid-template-columns: 1fr; }
}

/* --- 返回顶部 --- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-4px); }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .business-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-detail .mission-vision { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 24px; }
    
    /* 导航 */
    .navbar-toggle { display: block; }
    .navbar-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 0;
    }
    .navbar-nav.open { display: flex; }
    .navbar-nav a { padding: 12px 16px; width: 100%; }

    /* 手机端二级菜单：改为展开式，点击父级展开（不依赖 hover） */
    .navbar-nav .navbar-dropdown { width: 100%; }
    .navbar-nav .navbar-dropdown > a { width: 100%; justify-content: space-between; }
    .navbar-nav .navbar-dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0 0 6px;
        min-width: 0;
        display: none;
    }
    .navbar-nav .navbar-dropdown.open > .navbar-dropdown-menu { display: block; }
    .navbar-nav .navbar-dropdown.open > a i { transform: rotate(180deg); }
    
    /* Hero 移动端：全宽显示整张 banner，高度随图片原始比例自适应（不裁切、不限死宽高比） */
    .hero { height: auto; }
    .hero-slide { display: none; }
    .hero-slide.active { display: block; position: relative; opacity: 1; min-height: 200px; }
    .hero-img { position: static; width: 100%; height: auto; display: block; object-fit: initial; }
    .hero-overlay { position: absolute; inset: 0; }
    .hero-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
    .hero-content h1 { font-size: 28px; letter-spacing: 2px; }
    .hero-content p { font-size: 15px; }
    
    /* 关于预览 */
    .about-preview { grid-template-columns: 1fr; }
    .about-preview .image-wrapper { order: -1; }
    .about-preview.about-embedded .image-wrapper {
        float: none;
        width: 100%;
        margin: 0 0 16px 0;
    }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    
    /* 业务 */
    .business-grid { grid-template-columns: 1fr; }
    
    /* 项目 */
    .project-grid { grid-template-columns: 1fr; }
    
    /* 新闻 */
    .news-grid { grid-template-columns: 1fr; }
    .news-list { grid-template-columns: 1fr; }
    .news-list-item { flex-direction: column; }
    .news-list-item .thumb { width: 100%; height: 200px; }
    
    /* 时间线：移动端改为竖向时间轴（左侧主轴 + 右侧卡片），不再左右滑动 */
    .tl-wrap { padding: 0; max-width: 100%; }
    .tl-nav { display: none; }
    .timeline {
        display: block;
        overflow: visible;
        padding: 8px 0 4px;
        scroll-snap-type: none;
        -webkit-overflow-scrolling: auto;
    }
    .timeline::before {
        content: '';
        position: absolute;
        left: 27px;
        top: 12px;
        bottom: 12px;
        width: 3px;
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    }
    .timeline-item {
        flex: none;
        display: block;
        width: 100%;
        padding: 0 0 26px 64px !important;
        max-width: 100%;
        text-align: left;
        opacity: 1;
        transform: none;
        animation: none;
    }
    .timeline-item::after { display: none; }            /* 去掉横向连接线 */
    .timeline-item .connector { display: none; }
    .timeline-year-badge {
        position: absolute;
        left: 0;
        top: 0;
        width: 56px; height: 56px;
        font-size: 15px;
        transform: none;
        box-shadow: 0 0 0 4px rgba(37,99,235,.15);
    }
    .timeline-content { max-width: 100%; margin-top: 0; }
    .timeline-item .timeline-content::after { display: none; }   /* 去掉卡片左箭头（移动端不适用） */
    
    /* 页脚 */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
    .footer-links li { margin-bottom: 0; }
    
    /* 业务详情 */
    .business-detail .bd-grid { grid-template-columns: 1fr; }
    .business-detail .bd-grid:nth-child(even) { direction: ltr; }
    
    /* 统计 */
    .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* 联系人 */
    .form-row { grid-template-columns: 1fr; }
    
    /* 团队 */
    .team-gallery { grid-template-columns: repeat(2, 1fr); }
    
    /* 职位卡片 */
    .job-list { grid-template-columns: 1fr; }
    .job-card-header { padding: 20px 20px 14px; }
    .job-card-body { padding: 0 20px 18px; }
    .job-card-footer { padding: 12px 20px 18px; }
    .job-meta-tags { gap: 12px; }
    
    /* 页面 Banner */
    .page-banner { padding: 100px 0 60px; }
    .page-banner h1 { font-size: 28px; }
    
    /* 合作伙伴 */
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero-content h1 { font-size: 22px; }
    .about-stats { grid-template-columns: 1fr; }
    .stats-bar .stats-grid { grid-template-columns: 1fr; }
    .team-gallery { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form { padding: 24px; }
    .job-card-title-row { flex-wrap: wrap; }
    .job-card-title-left { flex-wrap: wrap; }
    .job-card-title-row .job-meta-tag.salary { font-size: 15px; }
    .job-meta-tags { gap: 10px; }
}

/* --- 辅助类 --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- 面包屑 --- */
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--text-lighter);
    margin-bottom: 10px;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* --- 资料库申请弹窗 --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal .close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-lighter);
    background: none;
    border: none;
}
.modal .close:hover { color: var(--accent); }
.modal h3 { font-size: 20px; font-weight: 600; margin-bottom: 20px; color: var(--primary); }

/* SVG 占位图样式 */
.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-lighter);
    background: var(--bg-light);
    border-radius: var(--radius);
}

/* 百度地图容器 */
#baiduMap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
#baiduMap .BMap_bubble_content {
    line-height: 1.6;
}

/* ============================================================
   首页模块滚动驱动动画（进度与滚动位置绑定）
   - 仅在 JS 启用时生效（.js 前缀），无 JS 时内容正常可见
   - main.js 每次滚动计算元素在视口中的可见进度(0~1)，
     直接设置元素的 opacity 与 transform（兼容所有浏览器，无需 CSS calc 乘法）
   - 下方 opacity 规则仅在 main.js 尚未执行时为初始隐藏态兜底
   - 向下滚动进度增大（淡入/归位），向上滚动进度回退，可反复触发
   ============================================================ */
.js [class*="reveal"]:not([class*="reveal-grid"]),
.js [class*="reveal-grid"] > * {
    opacity: var(--reveal-p, 0);
    will-change: opacity, transform;
}

/* 尊重系统“减少动态效果”设置 */
@media (prefers-reduced-motion: reduce) {
    .js [class*="reveal"],
    .js [class*="reveal-grid"] > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== 关于我们 · 组织架构面板 ===== */
.about-structure-wrap {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.org-chart-box {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    cursor: zoom-in;
    transition: var(--transition);
}
.org-chart-box:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.org-chart-box .org-chart-img {
    display: block;
    max-width: 100%;
    height: auto;
}
.org-zoom-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 12px;
    font-size: 12px;
    color: #fff;
    background: rgba(30, 58, 138, 0.82);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(6px);
    transition: var(--transition);
    pointer-events: none;
}
.org-chart-box:hover .org-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}
.org-empty {
    padding: 48px 20px;
    color: var(--text-lighter);
    background: var(--bg-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}
.org-desc {
    margin-top: 22px;
    max-width: 860px;
    padding: 0 16px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
    text-align: justify;
    text-align: left;
    display: inline-block;
}

/* ===== 组织架构大图灯箱 ===== */
.org-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(17, 24, 39, 0.88);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    cursor: zoom-out;
}
.org-lightbox.open {
    opacity: 1;
    visibility: visible;
}
.org-lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #fff;
    transform: scale(0.96);
    transition: transform 0.25s ease;
}
.org-lightbox.open img {
    transform: scale(1);
}
.org-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.org-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* ===== 页脚友情链接 ===== */
.footer-friendlinks{margin:18px auto 6px;text-align:center;color:#9aa3b2;font-size:13px;line-height:2}
.footer-friendlinks .fl-label{color:#cbd2e0;font-weight:600;margin-right:6px}
.footer-friendlinks .fl-list{display:inline}
.footer-friendlinks .fl-item{color:#9aa3b2;text-decoration:none;margin:0 6px;transition:.2s}
.footer-friendlinks .fl-item:hover{color:var(--primary);text-decoration:underline}
.footer-friendlinks .fl-sep{color:#3a4256;margin:0 2px}

/* ===== 统一 TAB / 分类筛选按钮（关于我们 / 新闻资讯 / 展会集锦 / 企业风采 等共用） ===== */
.about-tabs,
.project-filter,
.team-cat-filter,
#businessFilter {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 0 28px;
    padding: 30px 6vw 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.about-tabs::-webkit-scrollbar,
.project-filter::-webkit-scrollbar,
.team-cat-filter::-webkit-scrollbar,
#businessFilter::-webkit-scrollbar { display: none; }

.about-tab,
.filter-btn,
.cat-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    background: #fff;
    border: 1px solid #e3e6f0;
    padding: 10px 26px;
    border-radius: 30px;
    cursor: pointer;
    transition: .25s;
}
.about-tab:hover,
.filter-btn:hover,
.cat-btn:hover { color: var(--primary); border-color: var(--primary); }
.about-tab.active,
.filter-btn.active,
.cat-btn.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(30, 64, 175, .18);
}

@media (max-width: 768px) {
    .about-tabs,
    .project-filter,
    .team-cat-filter,
    #businessFilter {
        justify-content: flex-start;
        padding: 20px 4vw 6px;
        margin: 0 0 20px;
    }
    .about-tab,
    .filter-btn,
    .cat-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}
