/* ====================
   全局变量
   ==================== */
:root {
    --primary-dark: #0355D3;
    --primary: #0077FF;
    --primary-light: #E8F4FF;
    --text-main: #111111;
    /* 导航栏文字颜色 */
    --text-nav: #0F373B;
    --text-secondary: #333333;
    --text-muted: #999999;
    --text-light: #CCCCCC;
    --text-white:#FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #F5F8FF;
    --bg-dark: #0A1F44;
    --border-light: #E5E5E5;
    --orange: #FF7A00;
    --shadow-blue: 0px 1px 0px rgba(0, 107, 255, 0.45),
        inset -1px -2px 0px rgba(255, 255, 255, 0.8),
        inset -1px 2px 1px rgba(0, 43, 255, 0.5),
        inset 2px 2px 10px rgba(255, 255, 255, 0.8);
    --container-width: 1280px;
}

/* ====================
   基础重置
   ==================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: '思源黑体', 'manrope_regular', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    box-sizing: border-box;
}

.placeholder-img {
    background: linear-gradient(135deg, #E8F4FF 0%, #D4E8FF 50%, #C2DDFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
}

.placeholder-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 60%);
}

/* ====================
   顶部导航
   ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width:292px;
    height:36px;
}


.logo img {
    width: 100%;
    height: 100%;
}
.main-nav{
    height:100%;
}
.main-nav > ul {
    display: flex;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.main-nav > ul > li {
    position: relative;
    display: flex;
    align-items: center;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-nav);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a {
    color: #ffffff;
    background: var(--primary-dark);
}

/* 下拉菜单 */
.main-nav .dropdown {
    position: absolute;
    border-radius:4px;
    top: 100%;
    left: 0;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 8px 28px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    will-change: opacity, transform;
    z-index: 1001;
    background: var(--bg-white);
}

.main-nav > ul > li.has-dropdown:hover .dropdown{
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
    background: var(--primary-dark);
}

.main-nav .dropdown li {
    margin: 0;
}

.main-nav .dropdown li:not(:last-child) {
    border-bottom: 1px dashed rgba(255, 255, 255, 1);
}

.main-nav .dropdown a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.main-nav .dropdown a:hover {
    color: #ffffff;
}

/* 下拉透明容器：与上方菜单零接触，桥接 10px 间隙
   容器本身无颜色，仅用于把 dropdown 的悬空区域纳入 li:hover 命中范围 */
.main-nav .dropdown-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    z-index: 1;
    height: 0;
}
.main-nav:hover .dropdown-wrap{
    height: auto;
}
/* dropdown 改为相对定位、由容器包裹，使其布局高度填满容器，
   容器顶部那 10px 透明区即属于 li，鼠标经过不会断开 :hover */
.main-nav .dropdown-wrap .dropdown {
    position: relative;
    top: auto;
    left: auto;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

/* ====================
   Banner 主视觉
   ==================== */
.hero {
    padding-top: 100px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero .swiper {
    width: 100%;
    height:760px;
}
.hero .swiper-pagination-bullet{
    background: #D9E7FF !important;
}
.hero .swiper-pagination-bullet-active{
    background: #0455D4 !important;
}
.hero .swiper-slide{
    width: 100%;
    height: 760px;
}
.hero .swiper-slide .swiper-item-bg {
    width: 100%;
    height: 100%;
}
.hero .swiper-item-img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 100%;
    display:flex;
    align-items: center;
}
.hero .swiper-item-img img{
    width:584px;
    height:306px;
}



/* ====================
   通用区块标题
   ==================== */
.section-header {
    padding-top: 80px;
    margin-bottom: 48px;
}

.section-en {
    display: block;
    font-size: 36px;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin: 0;
}

/* ====================
   核心品牌项目
   ==================== */
.core-projects {
    position: relative;
    padding-bottom: 100px;
    background: url('../images/bg/bg2.png') no-repeat center center;
    background-size: 100% 100%;
    box-sizing: border-box;
}

.projects-layout {
    position: relative;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.projects-menu {
    width: 300px;
    flex-shrink: 0;
    padding-top: 32px;
}

.projects-menu-swiper {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 200px;
    padding-left: 10px;
}

.projects-menu-swiper::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--text-light);
    z-index: 0;
}

.project-cat {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0 20px 34px;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 1;
}

.project-cat .cat-label {
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.project-cat::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.project-cat.active .cat-label,
.project-cat:hover .cat-label {
    color: var(--primary);
    font-weight: 700;
}


.project-cat.active::before,
.project-cat:hover::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 119, 255, 0.15);
}

.projects-gallery {
    flex: 0 0 940px;
    width: 940px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 250px 400px 250px;
    grid-template-rows: 250px 360px;
    gap: 0;
}

.projects-gallery > div {
    overflow: hidden;
}

.projects-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-main {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
}

.gallery-sub {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    height: 250px;
    align-self: start;
}

.gallery-card-blue {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background: linear-gradient(135deg, #0077FF 0%, #0455D4 100%);
    padding: 28px 32px;
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
}

.gallery-right {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    height: 250px;
    align-self: start;
}

.gallery-card-blue h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
}

.gallery-card-blue ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.gallery-card-blue li {
    font-size: 16px;
    line-height: 1.6;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
}

.gallery-card-blue li a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-card-blue li a:hover {
    color: var(--text-main);
}

.gallery-card-blue li:last-child {
    border-bottom: none;
}

.gallery-card-blue .more {
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.gallery-card-blue .more:hover {
    color: var(--bg-white);
}

/* ====================
   精选视频
   ==================== */
.featured-videos {
    position: relative;
    padding-bottom: 80px;
    background: url('../images/bg/bg4.png') no-repeat center center;
    background-size: 100% 100%;
    overflow: hidden;
    margin-top:-120px;
    padding-top: 120px;
}


.videos-layout {
    position: relative;
    display: flex;
    gap: 24px;
}

.video-main {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    width:960px;
    height:540px;
    flex-shrink:0;
    position: relative;
}

.video-main .video-thumb {
    position: absolute;
    inset:0;
    background:rgba(0,0,0,.3);
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-main .video-thumb.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title-bar {
    background: rgba(237, 109, 0, .4);
    color: var(--bg-white);
    font-size: 18px;
    height:80px;
    font-weight: 600;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding-left:40px;
    position: absolute;
    bottom:0;
    width: 100%;
    z-index: 5;
}
.video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    z-index: 1;
}
.video-list {
    width: 250px;
    max-height: 540px;
    overflow-y: auto;
    overflow-x: hidden;
    /* 隐藏滚动条（Firefox / IE / Edge） */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
/* 隐藏滚动条（Chrome / Safari / WebKit） */
.video-list::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* 右侧视频封面：缩略图 + 蓝色边框 + 虚线分隔（还原最初样式） */
.video-list .video-item {
    flex-shrink: 0;
    min-height: 0;
    width: 240px;
    padding-bottom: 28px;
    border-bottom: 1px dashed var(--primary);
    padding-top: 28px;
    cursor: pointer;
}
.video-list .video-item:first-child {
    padding-top: 0;
}
.video-list .video-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.video-item .video-thumb {
    border-radius: 2px;
    width: 240px;
    height: 135px;
    overflow: hidden;
    border: 4px solid transparent;
    transition: border-color 0.3s ease;
    cursor: pointer;
}
.video-item:hover .video-thumb {
    border: 4px solid var(--primary);;
}
.video-item.active .video-thumb {
    border: 4px solid var(--primary);;
}
/* ====================
   活动专区
   ==================== */
.event-zone {
    position: relative;
    background: url("../images/bg/bg3.png") no-repeat;
    background-position: top center;
    background-size: 100% 500px;
    overflow: hidden;
}
.event-zone .section-en,
.event-zone .section-title {
    color: var(--text-white);
}
.event-layout {
    position: relative;
    display: flex;
    align-items: flex-start;
    z-index: 1;
}

.event-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    width: 200px;
    flex-shrink: 0;
}
.event-tabs img{
    width: 24px;
    height: 24px;
    margin-right:16px;
}

.event-tabs .tab {
    width: 100%;
    height:50px;
    box-sizing: border-box;
    padding: 12px 20px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.event-tabs .tab.active,
.event-tabs .tab:hover {
    background: var(--orange);
    color: var(--bg-white);
    border-color: var(--orange);
}

.event-main {
    flex: 1;
    width:600px;
    height:400px;
    border-radius: 4px;
    margin-left:40px;
}
.event-main img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-list {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    height:400px;
    padding-left:40px;
    background: linear-gradient(to bottom, transparent 69%, #001D4D 69.5%);
}

.event-card {
    padding: 20px 24px;
    background: rgba(0, 119, 255, .4);
    transition: background 0.3s ease;
    cursor: pointer;
    height:90px;
    box-sizing: border-box;
    margin-bottom: 16px;
}
a.event-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-card:hover {
    background: rgba(255, 119, 0, 1);
}
.event-card.active {
    background: rgba(255, 119, 0, 1);
}

.event-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 12px;
    line-height: 1.4;
    width:360px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.event-meta-item{
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left:34px;
}
.event-meta-item img{
    width: 12px;
    height:12px;
}
.meta-item-date{
    display: flex;
    align-items: center;
    gap: 4px;
}
.meta-item-date img{
    width: 12px;
    height:12px;
}
.event-meta .label {
    color: var(--text-white);
}

.event-meta .value {
    color: var(--text-white);
    font-weight: 500;
}

.event-list .more {
    margin-right:16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 0;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,.6);
}

.event-list .more:hover {
    color: var(--primary-dark);
}

/* ====================
   页脚
   ==================== */
.site-footer {
    color: var(--bg-white);
    padding-top: 60px;
    padding-bottom: 24px;
    background: url('../images/footer/bg.png'),#000;
    background-size: 1280px 202px, 100% 100%;
    background-position: center bottom, center center;
    background-repeat: no-repeat, no-repeat;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px dashed rgba(255, 255, 255, .2);
}

.footer-info {
    flex:1;
}
.logo-light{
    display: block;
    height: 56px;
    border-bottom:1px dashed rgba(255, 255, 255, .2);
}
.logo-light img{
    width: 324px;
    height: 40px;
}

.contact-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.contact-list li a{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 12px;
    line-height: 30px;
}

.contact-list .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


.footer-links {
    flex-shrink:0;
}

.footer-links h4 {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    gap:8px;
    color: var(--bg-white);
    height:56px;
    border-bottom:1px dashed rgba(255,255,255,.2);
    padding-right:360px;
}
.link-with-arrow-box{
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.link-icon {
    width: 16px;
    height: 16px;
}
.link-arrow{
    width: 12px;
    height: 12px;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    line-height: 28px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bg-white);
}


.footer-qr h4{
    height:56px;
    flex-shrink:0;
    border-bottom:1px dashed rgba(255,255,255,.2);
}

.footer-qr {
    flex-shrink: 0;
}

.footer-qr-list {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.footer-qr-list .qr-placeholder {
    flex-shrink: 0;
}

.qr-placeholder {
    box-sizing: border-box;
    display:flex;
    align-items: center;
}
.qr-code{
    width: 80px;
    height:auto;
}
.footer-qr h4{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bg-white);
    margin: 0 0 16px;
}
.footer-qr .icon-scan{
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.footer-qr p {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--bg-white);
    padding-left:8px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}