/* ================= 全局重置 ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif; 
    color: #333; 
    font-size: 14px; 
    line-height: 1.6; 
    background: #fff; 
    min-width: 1200px; /* 防止布局在小窗下错乱 */
}

a { text-decoration: none; color: #333; transition: all 0.3s; }
a:hover { color: #1C59A4; }
ul, li { list-style: none; }
img { max-width: 100%; display: block; border: 0; }

/* ================= 核心变量 (华讯蓝) ================= */
:root {
    --theme-color: #1C59A4; 
    --hover-color: #0d468a;
    --gray-bg: #f8f9fa;
    --text-gray: #666;
} /* 修复：之前这里少了这个大括号 */

/* ================= 布局容器 (1200px 居中) ================= */
.w1200 { 
    width: 1200px; 
    margin: 0 auto; 
    position: relative; 
}

/* ================= 顶部 Header 与 导航 ================= */
.header-top {
    position: relative; 
    z-index: 1030;
    /* 覆盖 bootstrap 的 py-4，减小上下留白，让中间图片更贴合顶部区域 */
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    /* 顶部背景图（替换为你提供的新图） */
    background: url("../img/header-top-bg.png") center center / cover no-repeat;
}
.header-top .fs-5 {
    color: #333;
    letter-spacing: 0.5px;
}

/* 导航栏样式 */
.navbar-nav .nav-link {
    font-size: 16px;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent; 
    transition: all 0.3s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--theme-color);
}
/* 导航栏不要 pill 的蓝色背景，保持普通链接样式 */
.navbar-nav.nav-pills .nav-link.active {
    background: transparent;
    border-radius: 0;
}

/* 关于我们下拉菜单：深色底 + 白字，结合主题色 */
.nav-about-dropdown {
    background: #1a1a2e !important;
    border: none !important;
    border-radius: 6px;
    padding: 0.5rem 0 !important;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.nav-about-dropdown .dropdown-item {
    color: #e8e8e8 !important;
    padding: 0.5rem 1.25rem;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}
.nav-about-dropdown .dropdown-item:hover {
    background: rgba(28, 89, 164, 0.35) !important;
    color: #fff !important;
}
.nav-about-dropdown .dropdown-item i {
    opacity: 0.85;
    width: 1.2em;
}
.navbar-nav .nav-link.dropdown-toggle.active {
    color: var(--theme-color);
    font-weight: 600;
}

/* 顶部三栏布局：左 LOGO，中城市图，右电话 */
.header-top .container {
    column-gap: 24px;
}
.header-left {
    flex-shrink: 0;
}
.header-right {
    flex-shrink: 0;
}
.header-center {
    flex: 1;
    justify-content: center;
}

/* 中间城市图条（已废弃：模板中间图已移除，保留样式不影响） */
.header-city-strip-img {
    width: 100%;
    height: 100px;       /* 稍高一点，让视觉上更“铺满” */
    object-fit: cover;   /* 横向铺满，中间裁切一点上下，保证视觉铺满 */
    display: block;
}

/* ================= 作品案例页：左侧竖排悬浮导航 ================= */
.cases-floating-vertical {
    position: fixed;
    left: 0;
    top: 150px;
    width: 180px;
    padding: 16px 14px 18px;
    background: rgba(0, 0, 0, 0.35); /* 灰色半透明 */
    backdrop-filter: blur(6px);
    border-radius: 0 10px 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 1020;
}
.cases-floating-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
}
.cases-floating-sub {
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.cases-floating-divider {
    margin: 12px 0 14px;
    width: 46px;
    height: 3px;
    border-radius: 999px;
    background: var(--theme-color);
}
.cases-floating-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cases-floating-link-vertical {
    display: inline-block;
    padding: 4px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}
.cases-floating-link-vertical::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--theme-color);
    border-radius: 999px;
    transition: width 0.2s ease;
}
.cases-floating-link-vertical:hover {
    color: rgba(255, 255, 255, 0.95);
}
.cases-floating-link-vertical:hover::after {
    width: 40px;
}
.cases-floating-link-vertical.active {
    color: #fff;
    font-weight: 600;
}
.cases-floating-link-vertical.active::after {
    width: 80px;
}

/* 移动端适配 */
@media (max-width: 991px) {
    .navbar-nav { margin-left: 0 !important; } 
    .nav-about-dropdown { background: #2d2d44 !important; }
}

/* ================= 1. Banner 可滚动切换轮播 ================= */
.banner-box {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #111;
    /* 不要占满整个视口，高度限制为视口的 90% */
    max-height: 90vh;
}
.banner-inner {
    position: relative;
    width: 100%;
    max-height: 90vh;
}
.banner-slide {
    display: none;
    width: 100%;
    max-height: 90vh;
}
.banner-slide.active {
    display: block;
    animation: bannerFade 0.5s ease;
}
.banner-slide .banner-bg {
    width: 100%;
    height: 100%;
    display: block;
    vertical-align: top;
    object-fit: cover; /* 在 90vh 内裁切，保证视觉效果 */
}
@keyframes bannerFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    background: rgba(0,0,0,0.35);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-arrow:hover {
    background: rgba(0,0,0,0.55);
}
.banner-arrow-prev { left: 0; }
.banner-arrow-next { right: 0; }

/* ================= 2. 品牌标语通栏 (Slogan) ================= */
/* ================= 品牌宣传通栏 (极光渐变版) ================= */

.brand-bar { 
    /* 核心改变：使用 CSS 线性渐变，模拟光照效果 */
    /* 从左到右：深蓝 -> 稍微亮一点的蓝 -> 深蓝 */
    background: linear-gradient(135deg, #0e2a55 0%, #1c59a4 50%, #0e2a55 100%);
    
    /* 增加高度，更有气势 */
    height: 120px;       
    width: 100%;
    
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; /* 防止光效溢出 */
}

/* 增加一个装饰性的“光晕”效果 (可选，让背景不单调) */
.brand-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    transform: rotate(30deg);
    pointer-events: none;
}

.brand-inner { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    height: 100%;
    color: #fff;
    position: relative; /* 确保文字在光晕上面 */
    z-index: 2;
}

/* 单个项目 */
.brand-item {
    font-size: 20px;    /* 字号再加大 */
    font-weight: bold;  
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3); /* 文字加阴影，更立体 */
}

/* 图标 */
.brand-item i {
    color: #ffd700; /* 金色 */
    font-size: 24px; /* 图标放大 */
    margin-right: 12px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4)); /* 图标发光 */
}

/* 分隔符 */
.divider {
    color: rgba(255, 255, 255, 0.2); 
    margin: 0 50px; 
    font-size: 24px;
    font-weight: lighter;
    font-style: italic; /* 斜体斜杠更动感 */
}

/* 手机适配 */
@media screen and (max-width: 768px) {
    .brand-bar { height: auto; padding: 30px 0; }
    .brand-inner { flex-direction: column; gap: 15px; }
    .divider { display: none; }
    .brand-item { font-size: 16px; }
}

/* ================= 3. 通用板块样式 ================= */
.section { padding: 60px 0; }
.bg-gray { background-color: var(--gray-bg); }
.bg-white { background-color: #fff; }

/* 旧版居中标题 (保留给其他板块用) */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 30px; font-weight: bold; color: #333; margin-bottom: 8px; }
.section-title span { display: block; font-size: 14px; color: #999; letter-spacing: 1px; text-transform: uppercase; }
.section-title .line { width: 35px; height: 3px; background: var(--theme-color); margin: 12px auto 0; }

/* ================= 4. 作品案例 (左侧导航布局 - 最终适配版) ================= */

/* 1. 大容器：开启 Flex 左右布局 */
.works-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 顶部对齐 */
    padding-bottom: 20px;
}

/* --- 左侧侧边栏 (240px) --- */
.work-sidebar {
    width: 240px;       /* 固定宽度 */
    flex-shrink: 0;     /* 禁止被右边挤压 */
    padding-right: 40px;/* 给右边留出呼吸距离 */
}

/* 左侧标题样式 */
.sidebar-title { 
    margin-bottom: 30px; 
}
.sidebar-title h2 {
    font-size: 36px;    /* 标题字号加大 */
    font-weight: bold;
    color: #333;
    line-height: 1.2;
    margin-bottom: 15px;
}
.sidebar-title .line {
    width: 40px; 
    height: 5px; 
    background: var(--theme-color); 
    margin-bottom: 10px; 
    border-radius: 2px;
}
.sidebar-title span {
    font-size: 14px; 
    color: #999; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    display: block; 
    font-weight: bold;
}

/* 垂直导航菜单 */
.case-tabs-vertical {
    display: flex;
    flex-direction: column; /* 关键：垂直排列 */
    gap: 12px;              /* 按钮之间的间距 */
    margin-bottom: 40px;
}
/* --- 右侧内容区 (精致版) --- */
.work-content {
    flex: 1; 
    width: 0; 
}

/* 列表容器 */
.case-list { 
    display: flex; 
    flex-wrap: wrap; 
    margin: 0 -8px; /* 间距改小一点，更紧凑 */
}

/* ⭐ 核心修改：改为一行 4 个 (25%)，格子变小 */
.case-item { 
    width: 25%; 
    padding: 0 8px; /* 间距变小 */
    margin-bottom: 20px; 
}

/* 卡片内部样式 */
.case-item a { 
    display: block; 
    background: #fff; 
    transition: transform 0.3s; 
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.case-item a:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border-color: var(--theme-color);
}

/* ⭐ 图片变矮：从 170px 改为 140px */
.case-img { 
    height: 140px; 
    overflow: hidden; 
    position: relative; 
}

.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-item:hover .case-img img { transform: scale(1.1); }

.play-icon { 
    position: absolute; top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    width: 32px; height: 32px; /* 图标也改小一点 */
    background: rgba(0,0,0,0.6); border-radius: 50%; 
    color: #fff; text-align: center; line-height: 32px; 
    font-size: 12px; opacity: 0; transition: 0.3s; 
}
.case-item:hover .play-icon { opacity: 1; }

.case-info { padding: 10px; /* 内边距减小 */ }

.case-info h3 { 
    font-size: 14px; /* 字号改小 */
    font-weight: bold; color: #333; 
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; 
    margin-bottom: 3px; 
}
.case-info p { font-size: 12px; color: #999; margin-bottom: 0; }

/* --- 移动端适配 --- */
@media screen and (max-width: 991px) {
    .works-container { flex-direction: column; }
    .work-sidebar { width: 100%; margin-bottom: 20px; padding-right: 0; }
    
    .sidebar-title h2 { font-size: 28px; }
    .sidebar-title br { display: none; }
    
    .case-tabs-vertical { flex-direction: row; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
    .case-tabs-vertical a { width: auto; max-width: none; padding: 4px 15px; font-size: 13px; }
    
    /* 平板上一行 3 个 */
    .case-item { width: 33.33%; }
}

@media screen and (max-width: 768px) {
    /* 手机上一行 2 个，比 1 个更省空间 */
    .case-item { width: 50%; }
    .case-img { height: 110px; } /* 手机上图片再矮一点 */
}

.case-tabs-vertical a {
    display: block;
    width: 100%;        
    max-width: 160px;   /* 限制按钮宽度，显得精致 */
    padding: 10px 20px;
    text-align: center;}

/* ================= MG 动画 / 作品案例区（首页 + 分类页） ================= */
.mg-section {
    background: #f8f9fa;
    color: #333;
}
.mg-header {
    text-align: center;
    margin-bottom: 30px;
}
.mg-header h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 8px;
}
.mg-header-en {
    font-size: 13px;
    letter-spacing: 3px;
    color: #999;
    text-transform: uppercase;
}
.mg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 25px;
}
.mg-tab {
    font-size: 14px;
    padding: 6px 14px;
    color: #555;
    border-bottom: 2px solid transparent;
}
.mg-tab:hover {
    color: var(--theme-color);
}
.mg-tab.active {
    color: var(--theme-color);
    border-color: var(--theme-color);
}
.mg-video-row {
    display: flex;
    justify-content: center;
    gap: 24px;
}
.mg-video-row-home {
    display: none;
}
.mg-video-row-home.active {
    display: flex;
}
.mg-video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.mg-video-item {
    width: 48%;
    cursor: pointer;
}
.mg-video-grid .mg-video-item {
    width: calc(25% - 18px);
    min-width: 220px;
}
.mg-video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}
.mg-video-thumb img {
    width: 100%;
    display: block;
    transition: transform 0.4s;
}
.mg-video-item:hover .mg-video-thumb img {
    transform: scale(1.05);
}
.mg-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color);
    font-size: 18px;
}
.mg-video-title {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}
.mg-more {
    text-align: center;
    margin-top: 24px;
}
.mg-more-btn {
    display: inline-block;
    padding: 8px 32px;
    border-radius: 24px;
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
    font-size: 14px;
}
.mg-more-btn:hover {
    background: var(--theme-color);
    color: #fff;
}
.mg-category-title {
    text-align: center;
    margin-bottom: 25px;
}
.mg-category-title h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 4px;
}
.mg-category-title p {
    font-size: 13px;
    color: #666;
}

/* 作品案例分类页布局优化 */
.mg-section-cases { padding-top: 28px; padding-bottom: 50px; }
.mg-section-cases .mg-cases-head {
    text-align: center;
    margin-bottom: 24px;
}
.mg-section-cases .mg-cases-title {
    font-size: 26px;
    color: #333;
    margin: 0 0 6px;
    font-weight: bold;
}
.mg-section-cases .mg-cases-sub {
    font-size: 12px;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    margin: 0;
}
.mg-section-cases .mg-tabs-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}
.mg-section-cases .mg-tabs-label {
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}
.mg-section-cases .mg-tabs {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    margin-bottom: 0;
    gap: 10px;
}
.mg-section-cases .mg-tab {
    padding: 6px 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mg-section-cases .mg-tab:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}
.mg-section-cases .mg-tab.active {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}
.mg-cases-empty {
    text-align: center;
    padding: 56px 20px;
    color: #999;
}
.mg-cases-empty i {
    font-size: 48px;
    opacity: 0.35;
    margin-bottom: 16px;
    display: block;
}
.mg-cases-empty-title {
    font-size: 16px;
    color: #666;
    margin: 0 0 6px;
}
.mg-cases-empty-sub {
    font-size: 13px;
    margin: 0;
}

/* 首页：底部统一“查看更多”按钮，始终居中 */
.mg-more-global {
    margin-top: 28px;
}

@media (max-width: 991px) {
    .mg-video-row {
        flex-direction: column;
        align-items: center;
    }
    .mg-video-item {
        width: 100%;
        max-width: 600px;
    }
    .mg-video-grid .mg-video-item {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .mg-section {
        padding: 40px 0;
    }
    .mg-tabs {
        justify-content: flex-start;
    }
    .mg-video-grid .mg-video-item {
        width: 100%;
    }
}

/* ================= 关于我们独立页：页头（面包屑 + 大标题 + 横向子导航） ================= */
.about-page-header {
    background: #f5f2ee;
    padding: 32px 0 40px;
    margin-bottom: 0;
}

/* 通用详情页面包屑（与关于我们同风格） */
.page-breadcrumb-header {
    background: #f5f2ee;
    padding: 16px 0 20px;
    margin-bottom: 0;
}
.page-breadcrumb-header .about-breadcrumb {
    margin-bottom: 0;
}

.about-breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 28px;
}
.about-breadcrumb a {
    color: #666;
}
.about-breadcrumb a:hover {
    color: var(--theme-color);
}
.about-breadcrumb-sep {
    margin: 0 8px;
    color: #999;
}
.about-breadcrumb-current {
    color: #333;
}
.about-page-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
    text-align: center;
    margin: 0 0 8px;
}
.about-page-subtitle {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin: 0 0 28px;
}
.about-subnav {
    text-align: center;
    font-size: 15px;
}
.about-subnav-item {
    display: inline-block;
    padding: 8px 16px;
    color: #444;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.about-subnav-item:hover {
    color: var(--theme-color);
}
.about-subnav-item.active {
    background: #333;
    color: #fff !important;
}
.about-subnav-sep {
    color: #ccc;
    margin: 0 4px;
    user-select: none;
}

/* 公司文化：四理念（专业/务实/高效/创新）流程图 */
.culture-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 8px;
    margin: 40px 0 24px;
    position: relative;
}
.culture-flow-item {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    position: relative;
}
.culture-flow-item .culture-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color);
    font-size: 32px;
}
.culture-flow-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}
.culture-flow-item .culture-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.culture-flow-arrow {
    align-self: center;
    color: var(--theme-color);
    font-size: 24px;
    margin: 0 4px;
}
.culture-bar {
    background: linear-gradient(135deg, #1a3a5c 0%, var(--theme-color) 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
    font-size: 14px;
}
.culture-bar span {
    white-space: nowrap;
}
.culture-bar .culture-bar-sep {
    color: rgba(255,255,255,0.6);
    user-select: none;
}

/* ================= 5. 关于我们 ================= */
.about-box { display: flex; align-items: center; justify-content: space-between; }
.about-video { width: 48%; position: relative; border-radius: 8px; overflow: hidden; background: #000; min-height: 260px; }
.about-video .about-video-el { width: 100%; height: 100%; display: block; object-fit: cover; min-height: 260px; }
.about-video img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; }
.video-btn { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    width: 50px; height: 50px; background: var(--theme-color); border-radius: 50%; 
    color: #fff; font-size: 20px; text-align: center; line-height: 50px; cursor: pointer; 
    box-shadow: 0 0 0 8px rgba(28,89,164, 0.2);
}
.about-text { width: 48%; }
.about-text h2 { font-size: 28px; margin-bottom: 5px; }
.about-text .en { color: #ccc; font-size: 12px; margin-bottom: 15px; letter-spacing: 1px; }
.about-text .desc { color: #666; line-height: 1.8; margin-bottom: 20px; text-align: justify; font-size: 14px;}
.about-tags li { display: inline-block; margin-right: 20px; font-weight: bold; color: #333; font-size: 14px;}
.about-tags li i { color: var(--theme-color); margin-right: 5px; }
.common-btn { 
    display: inline-block; margin-top: 20px; padding: 8px 25px; 
    background: var(--theme-color); color: #fff; border-radius: 4px; 
}

/* ================= 6. 新闻动态（首页优化） ================= */
.section-news-home { padding-bottom: 60px; }
.section-title-news { position: relative; padding-right: 80px; }
.news-more-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--theme-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.25s, color 0.25s;
}
.news-more-link:hover { color: var(--hover-color); gap: 8px; }
.news-more-link i { font-size: 12px; }

.news-box {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 36px;
}
.news-left {
    width: 42%;
    flex-shrink: 0;
}
.news-left a {
    display: block;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-bg);
    transition: box-shadow 0.3s;
}
.news-left a:hover {
    color: inherit;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.news-left .img-box {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.news-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-left a:hover img { transform: scale(1.06); }
.news-left .date {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--theme-color);
    color: #fff;
    padding: 8px 14px;
    text-align: center;
    font-size: 12px;
}
.news-left .date span {
    display: block;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 2px;
}
.news-left .txt-box { padding: 20px 16px 24px; }
.news-left h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-left p {
    color: #666;
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-box-single .news-left { width: 100%; max-width: 720px; }
.news-right { width: 54%; flex: 1; min-width: 0; }
.news-right ul { list-style: none; margin: 0; padding: 0; }
.news-right li {
    border-bottom: 1px dashed #e8e8e8;
    padding: 14px 0;
    transition: padding-left 0.2s;
}
.news-right li:first-child { padding-top: 0; }
.news-right li:hover { padding-left: 6px; }
.news-right li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: #333;
}
.news-right li a:hover { color: var(--theme-color); }
.news-right .news-title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-right .news-date {
    flex-shrink: 0;
    color: #999;
    font-size: 13px;
}

.news-empty {
    text-align: center;
    padding: 50px 20px;
    color: #888;
}
.news-empty p { margin-bottom: 20px; font-size: 15px; }

/* ================= 7. 合作客户 (独立卡片版) ================= */
.section-title-clean { text-align: center; margin-bottom: 50px; }
.section-title-clean h2 { font-size: 34px; font-weight: bold; color: #333; margin-bottom: 15px; letter-spacing: 2px; }
.section-title-clean .line { width: 60px; height: 4px; background: var(--theme-color); margin: 0 auto; border-radius: 2px; }

.partner-grid { 
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; width: 100%;
}
.partner-card { 
    width: calc((100% - 100px) / 6); height: 95px; 
    background: #fff; border: 1px solid #eee; border-radius: 4px; 
    display: flex; align-items: center; justify-content: center; 
    transition: all 0.3s ease; padding: 10px;
}
.partner-img {
    max-width: 85%; max-height: 75%; object-fit: contain; transition: all 0.3s;
}
.partner-card:hover {
    border-color: var(--theme-color); box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
    transform: translateY(-3px); z-index: 2;
}

.partner-count-text {
    margin-top: 24px;
    text-align: center;
    font-size: 16px;
    color: #555;
}
.partner-count-text strong {
    font-size: 26px;
    color: #1c59a4;
    font-weight: 700;
}
.partner-card:hover .partner-img { filter: none; opacity: 1; }

/* ================= 公司荣誉 / 公司拍摄设备 轮播 ================= */
.bg-honors { background-color: #f5f4f0; }

.carousel-section-header {
    text-align: center;
    margin-bottom: 35px;
}

/* 仅在“公司拍摄设备”这一块，把内部容器再放宽一些，并整体略向左偏 */
#equipment .w1200 {
    width: 90%;
    max-width: 1400px;
    margin-left: 40px;   /* 向左扩展一些 */
    margin-right: auto;
}
.carousel-section-header .carousel-en {
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.carousel-section-header .carousel-cn {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
}

/* 荣誉轮播容器 */
.honors-carousel-wrap,
.equipment-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 24px; /* 原来 0 50px，缩小左右留白 */
}
.honors-carousel,
.equipment-carousel {
    flex: 1;
    max-width: 800px;
    position: relative;
    min-height: 320px;
}
.honors-slide,
.equipment-slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.4s ease;
}
.honors-slide.active,
.equipment-slide.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 当前项标题（如：中关村高新技术企业） */
.honors-slide-title,
.equipment-slide-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* 证书框：阴影 + 边框 */
.certificate-frame {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 4px;
    padding: 15px;
    display: inline-block;
    max-width: 100%;
}
.certificate-frame img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* 设备展示框 */
.equipment-frame {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
}
.equipment-frame img {
    width: 100%;
    max-width: 500px;
    height: 280px;
    object-fit: cover;
    display: block;
}
.equipment-desc {
    padding: 15px 20px;
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: center;
    background: #fafafa;
}

/* 设备“照片墙”：两排连续自动横向滚动（上排设备，下排软件等） */
.equipment-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;              /* 再缩小箭头与内容之间的间距 */
}
.equipment-wall {
    margin-top: 32px;
    width: 100%;
    max-width: 1400px;      /* 再放大一些，让内容更靠近两侧 */
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;        /* 轻微内边距，避免紧贴边缘 */
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
}
.equipment-row {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.equipment-track {
    display: inline-flex;
    align-items: stretch;
    gap: 24px;
    will-change: transform;
    animation: equipmentScroll 30s linear infinite;
}
.equipment-row-bottom .equipment-track {
    animation: equipmentScrollReverse 36s linear infinite;
}
@keyframes equipmentScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes equipmentScrollReverse {
    0%   { transform: translateX(0); }
    100% { transform: translateX(50%); }
}
.equipment-item {
    flex: 0 0 210px;                      /* 更扁的长方形卡片 */
    max-width: 210px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    padding: 14px 12px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}
.equipment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}
.equipment-thumb {
    width: 100%;
    margin: 0 auto 10px;
    height: 120px;                        /* 更明显的横向长方形比例 */
    border-radius: 10px;
    overflow: hidden;
    background: #f5f7fb;
}

.equipment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;                    /* 填满矩形，裁掉两端椭圆边 */
    transition: transform 0.35s ease;
}
.equipment-item:hover .equipment-thumb img {
    transform: scale(1.06);              /* 轻微放大，增加动效 */
}
.equipment-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.5px;
}

/* 左右箭头 */
.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s;
}
.carousel-arrow:hover {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}
.carousel-arrow i {
    font-size: 18px;
}

/* 轮播小圆点 */
.carousel-dots {
    text-align: center;
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}
.carousel-dots .dot.active {
    background: var(--theme-color);
    transform: scale(1.2);
}
.carousel-dots .dot:hover {
    background: #999;
}

/* ================= 服务项目独立页面 ================= */
.service-section {
    background: #fff;
}
.service-header {
    text-align: center;
    margin-bottom: 35px;
}
.service-header h2 {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
}
.service-header .cn {
    font-size: 18px;
    color: var(--theme-color);
    margin-top: 6px;
}
.service-header .sub {
    margin-top: 12px;
    font-size: 14px;
    color: #777;
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.service-tab {
    border: none;
    background: transparent;
    padding: 10px 30px;
    font-size: 15px;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
}
.service-tab.active {
    color: var(--theme-color);
    border-color: var(--theme-color);
    font-weight: bold;
}
.service-tab:focus {
    outline: none;
}

.service-panels {
    margin-top: 10px;
}
.service-panel {
    display: none;
}
.service-panel.active {
    display: block;
}

.service-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.service-layout-reverse {
    flex-direction: row-reverse;
}
.service-text {
    flex: 1;
}
.service-text h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #333;
}
.service-text .intro {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
    line-height: 1.7;
}
.service-columns {
    display: flex;
    gap: 26px;
}
.service-columns ul {
    flex: 1;
    padding-left: 18px;
}
.service-columns li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.service-columns strong {
    color: var(--theme-color);
}

.service-graphic {
    flex: 1;
}
.service-graphic img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.service-flow-steps {
    padding-left: 18px;
}
.service-flow-steps li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.7;
}
.service-flow-steps strong {
    color: var(--theme-color);
}

/* 主创团队页面复用 service 布局，只补充少量列表样式 */
.team-section {
    background: #fff;
}
.team-list {
    padding-left: 18px;
}
.team-list li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.7;
}
.team-list strong {
    color: var(--theme-color);
}

/* ================= 新闻发布独立页面 ================= */
.news-page {
    background: #fff;
}
.news-list-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.news-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--theme-color);
}
.news-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.news-card-link:hover {
    color: inherit;
}
.news-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-card-img img {
    transform: scale(1.05);
}
.news-card-date {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--theme-color);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    text-align: center;
}
.news-card-date .day {
    display: block;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
}
.news-card-body {
    padding: 18px 16px;
}
.news-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-more {
    font-size: 13px;
    color: var(--theme-color);
    font-weight: 500;
}
.news-card-more i {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.3s;
}
.news-card:hover .news-card-more i {
    transform: translateX(4px);
}

/* 新闻详情页 */
.news-detail-section { padding: 40px 0 60px; }
.news-detail-article { max-width: 800px; margin: 0 auto; }
.news-detail-title { font-size: 26px; font-weight: 600; color: #222; margin-bottom: 12px; line-height: 1.4; }
.news-detail-meta { color: var(--text-gray); font-size: 14px; margin-bottom: 24px; }
.news-detail-cover { margin-bottom: 24px; border-radius: 8px; overflow: hidden; }
.news-detail-cover img { width: 100%; height: auto; display: block; }
.news-detail-summary { font-size: 16px; color: #555; margin-bottom: 24px; line-height: 1.7; padding-left: 1em; border-left: 3px solid var(--theme-color); }
.news-detail-body { font-size: 15px; line-height: 1.8; color: #333; }
.news-detail-body p { margin-bottom: 1em; }
.news-detail-body img { max-width: 100%; height: auto; margin: 1em 0; border-radius: 6px; }
.news-detail-body h2, .news-detail-body h3 { margin: 1.2em 0 0.6em; font-size: 1.2em; }
/* 正文内视频：本地 video 或 iframe 嵌入 */
.news-detail-body video {
    max-width: 100%; width: 100%; height: auto; margin: 1em 0;
    border-radius: 8px; background: #000;
}
.news-detail-body iframe {
    max-width: 100%; width: 100%; height: 315px;
    margin: 1em 0; border: none; border-radius: 8px;
}
@supports (aspect-ratio: 16/9) {
    .news-detail-body iframe { aspect-ratio: 16/9; height: auto; min-height: 280px; }
}
.news-detail-body .video-wrap { margin: 1em 0; }

@media (max-width: 991px) {
    .news-list-page {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-layout,
    .service-layout-reverse {
        flex-direction: column;
    }
    .service-columns {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .news-list-page {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-card-img {
        height: 160px;
    }
    .honors-carousel-wrap,
    .equipment-carousel-wrap { padding: 0 40px; gap: 10px; }
    .carousel-arrow { width: 40px; height: 40px; }
    .honors-slide-title,
    .equipment-slide-title { font-size: 18px; }
    .certificate-frame img { max-height: 260px; }
    .equipment-frame img { height: 200px; }
}

/* ================= 8. 底部联系Banner ================= */
.contact-banner { 
    background: #1C59A4; padding: 50px 0; text-align: center; color: #fff; 
}
.contact-banner h2 { font-size: 32px; margin-bottom: 10px; }
.contact-banner p { font-size: 16px; margin-bottom: 30px; opacity: 0.8; }
.contact-info { display: flex; justify-content: center; gap: 40px; }
.contact-info .c-item { font-size: 16px; font-weight: bold; display: flex; align-items: center;}
.contact-info i { 
    margin-right: 10px; background: #fff; color: var(--theme-color); 
    width: 36px; height: 36px; border-radius: 50%; text-align: center; 
    line-height: 36px; font-size: 16px;
}

/* ================= 右侧固定：在线咨询 + 二维码 ================= */
.fixed-right-panel {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: -2px 0 12px rgba(0,0,0,0.08);
}
.right-panel-block {
    background: #fff;
    border: 1px solid #eee;
    border-right: none;
    padding: 18px 14px 20px;
    min-width: 140px;
    text-align: center;
}
.right-panel-block:first-child {
    border-radius: 8px 0 0 0;
}
.right-panel-block:last-child {
    border-radius: 0 0 0 8px;
}
.right-panel-block h4 {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}
.right-panel-block p {
    font-size: 12px;
    color: #666;
    margin-bottom: 0;
}
.consult-trigger-block {
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font: inherit;
    padding: 18px 14px 20px;
}
.consult-trigger-block:hover {
    background: #f8f9fa;
}
.consult-trigger-block .consult-trigger-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: var(--theme-color);
    color: #fff;
    font-size: 14px;
    border-radius: 20px;
    transition: background 0.3s;
}
.consult-trigger-block:hover .consult-trigger-btn {
    background: var(--hover-color);
}
.qrcode-block .qrcode-img {
    width: 100px;
    height: 100px;
    margin: 10px auto;
    display: block;
    border: 1px solid #eee;
}
.qrcode-block p {
    margin-top: 6px;
}

/* ================= 在线咨询：聊天窗 ================= */
.consult-modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.consult-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.consult-chat-window {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: calc(100vh - 100px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.2);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}
.consult-chat-window.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.consult-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--theme-color);
    color: #fff;
    border-radius: 12px 12px 0 0;
}
.consult-chat-title {
    font-size: 16px;
    font-weight: bold;
}
.consult-chat-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.consult-chat-close:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.consult-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8f9fa;
}
.consult-chat-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.consult-chat-msg-user {
    flex-direction: row-reverse;
}
.consult-chat-msg-user .consult-chat-bubble {
    background: var(--theme-color);
    color: #fff;
    margin-left: 0;
    margin-right: 0;
}
.consult-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--theme-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.consult-chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    background: #fff;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.consult-chat-bubble a {
    color: var(--theme-color);
    text-decoration: underline;
}
.consult-chat-bubble a:hover {
    color: var(--hover-color);
}
.consult-chat-footer {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
}
.consult-chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.consult-chat-input:focus {
    border-color: var(--theme-color);
}
.consult-chat-send {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--theme-color);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.consult-chat-send:hover {
    background: var(--hover-color);
}

/* ================= 视频播放器弹窗 ================= */
.video-modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.video-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.video-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    z-index: 1070;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.video-modal.show {
    opacity: 1;
    visibility: visible;
}
.video-modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.video-modal-body {
    padding: 32px 24px 20px;
    color: #fff;
}
.video-modal-title {
    font-size: 16px;
    margin-bottom: 10px;
}
.video-modal-player-wrap {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}
#videoPlayer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
    .video-modal-body {
        padding: 24px 16px 16px;
    }
}

/* 首页 & 联系页：联系我们 + 地图模块通用样式（左字右图，左侧灰色半透明背景） */
.contact-page-section {
    padding: 40px 0;
    /* 使用城市高端图片作为整体背景 */
    background: url("../img/high-city.png") center center / cover no-repeat fixed;
}
.contact-panel {
    display: grid;
    /* 左侧为文字卡片，右侧为图片 */
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    min-height: 260px;
    background: rgba(0, 0, 0, 0.45); /* 灰色半透明把文字+地图一起包起来 */
    backdrop-filter: blur(6px);
    border-radius: 12px;
    overflow: hidden;
    padding: 22px 26px; /* 整体留白，避免左右在中线硬切 */
    column-gap: 26px;   /* 左右之间用同色背景过渡，消除“分割线感” */
}
.contact-panel-left {
    /* 文字块在左侧 */
    order: 1;
    background: transparent;
    color: #fff;
    padding: 40px 48px;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-title {
    font-size: 26px;
    margin-bottom: 6px;
}
.contact-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
}
.contact-info-list .label {
    display: inline-block;
    width: 56px;
}
.contact-panel-right {
    /* 图片块在右侧 */
    order: 2;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 地图靠右，更像右侧卡片 */
}
.contact-map-img {
    width: 100%;
    max-width: 420px;       /* 地图保持卡片大小，不要铺满半屏 */
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: none;
}
@media (max-width: 768px) {
    .contact-panel {
        grid-template-columns: 1fr;
    }
    .contact-panel-left {
        padding: 30px 20px;
    }
    .contact-panel-right {
        padding: 20px 0 0;
    }
}