/**
 * qiye.css - 关于企业页面样式
 */

/* 全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
a {
    text-decoration: none;
    color: inherit;
    outline: none;
}
a:hover, a:focus {
    text-decoration: none;
    color: inherit;
}
body {
    color: #333;
    background-color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
}

/* --- 容器 --- */
.container {
    width: 72vw;
    margin: 0 auto;
    position: relative;
}

/* --- 核心修改：这是一个复用类，只给需要居中的板块使用 --- */
.w-1300-center {
    width: 72vw;
    margin: 0 auto;
    position: relative;
}

/* ----- 集团简介与Grid ----- */
.intro-section { margin-bottom: 80px; padding-top: 0px; }
.section-title { font-size: 24px; color: #333; margin-bottom: 50px; position: relative; display: inline-block; }
.highlight-text { position: relative; display: inline-block; }
.highlight-text::after { content: ''; display: block; width: 100%; height: 3px; background: #e63935; position: absolute; bottom: -10px; left: 0; }
.intro-content { display: flex; align-items: center; position: relative; }
.intro-text-box { width: 65%; background-color: #f6f6f6; padding: 50px 100px 80px 30px; position: relative; box-shadow: 0 0 20px rgba(0,0,0,0.03); border-radius: 8px; z-index: 1; }
.intro-text-box p { font-size: 13px; color: #555; font-weight: 700; text-align: justify; line-height: 1.9; text-indent: 2em; }
.highlight-red { color: #e63935; font-weight: bold; }
.more-btn { position: absolute; bottom: 35px; right: 100px; display: flex; align-items: center; font-size: 12px; cursor: pointer; }
.more-box { background-color: #d93826; color: #fff; padding: 5px 12px; font-size: 13px; line-height: 1.2; display: inline-block; vertical-align: middle; margin-right: 6px; }
.more-arrow { color: #f04e45; letter-spacing: -1px; }
.intro-media { width: 65%; margin-left: -70px; z-index: 2; position: relative; }
.video-player-mockup { width: 100%; height: 360px; background: radial-gradient(circle at center, #ffffff 0%, #e0e0e0 60%, #cfcfcf 100%); position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.video-player-mockup::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 60%); opacity: 0.3; pointer-events: none; }
.vp-logo-area { text-align: center; z-index: 2; transform: translateY(-10px); }
.vp-title-en { font-family: 'CustomArial', sans-serif; font-size: 72px; letter-spacing: 2px; background: linear-gradient(to bottom, #d63333 0%, #8a1c1c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 5px; }
.vp-title-cn { font-size: 20px; color: #333; font-weight: bold; letter-spacing: 1px; text-shadow: 0 1px 2px rgba(255,255,255,0.8); }
.vp-subtitle { font-size: 11px; color: #666; margin-top: 5px; font-family: 'CustomArial', sans-serif; }
.vp-controls { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background-color: rgba(0,0,0,0.85); display: flex; align-items: center; padding: 0 15px; color: #fff; z-index: 3; }
.vp-progress-bar { flex: 1; height: 4px; background: #333; margin: 0 15px; position: relative; }
.vp-progress-fill { width: 15%; height: 100%; background: #d32f2f; }

.grid-links { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 25px; margin-bottom: 60px; }

/* ===== 修改后的卡片布局 - 主图标在文字和箭头之间居中 ===== */
.link-card { 
    height: 150px; 
    position: relative; 
    cursor: pointer; 
    transition: transform 0.3s; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    display: flex; 
    align-items: center; 
    padding: 0 35px; 
    color: white; 
}

.link-card:hover { transform: translateY(-5px); color: white; }
.bg-1 { background-image: url('../img/qybg_1.png'); background-color: #666; }
.bg-2 { background-image: url('../img/qybg_2.png'); background-color: #777; }
.bg-3 { background-image: url('../img/qybg_3.png'); background-color: #888; }

.card-title { 
    font-size: 26px; 
    letter-spacing: 1px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); 
    white-space: nowrap; 
}

.card-icon-area { 
    display: flex; 
    align-items: center; 
    flex: 1;
    justify-content: space-between;
    margin-left: 20px;
}

.main-icon-img { 
    height: 48px; 
    width: auto; 
    display: block;
    margin: 0 auto;
}

.arrow-icon-img { 
    width: 36px; 
    height: 36px; 
    display: block;
    flex-shrink: 0;
}

/* =========================================
   联系板块 - 背景图片完整显示版本
   ========================================= */

.contact-full-bleed {
    width: 100%; 
    height: 280px;
    margin-bottom: 60px;
    position: relative;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0; 
    padding-right: calc((100vw - 72vw) / 2);
}

.contact-full-bleed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100vw - (100vw - (72vw - 15px)) / 2);
    height: 100%;
    background-color: #f1f2f4;
    background-image: url('../img/qybg_4.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

.contact-side {
    padding-left: 300px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    z-index: 5;
    position: relative;
}

.contact-capsule { 
    display: inline-flex; 
    align-items: center; 
    background-color: #fff; 
    border-radius: 4px 50px 50px 4px; 
    padding: 0; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.03); 
    margin-bottom: 25px;
    width: 150px;
    height: 40px;
}
.red-line-mark {
    width: 4px;
    background-color: #e63935;
    margin-right: 15px; 
    margin-left: 0;
    align-self: stretch; 
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.contact-capsule i { color: #888; font-size: 16px; margin-right: 10px; }
.contact-capsule span { font-size: 16px; color: #666; font-weight: 500; }

.contact-info p { 
    font-size: 13px; color: #444; line-height: 2.1; margin-bottom: 0; 
    font-weight: 500;
}

.join-side {
    display: flex; 
    align-items: center; 
    z-index: 5;
    position: relative;
}
.join-text { 
    font-size: 28px; color: #556; letter-spacing: 2px; font-weight: 400;
    display: flex; align-items: center; gap: 15px; cursor: pointer;margin-right: 16vw;
}
.join-arrow { font-family: 'SourceHanSansCN', 'CustomArial', 'CustomArialUnicode', sans-serif; font-weight: 300; }

/* 底部社交条 - 使用本地图标 */
.social-bar {
    text-align: center;
    padding: 30px 0 50px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-bottom: 0;
}

.social-icon-img {
    height: 32px;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s;
    display: block;
}
.social-icon-img:hover {
    transform: scale(1.1);
}

/* 全屏图片显示 */
.social-full-banner { 
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
}

.social-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= 手机端适配 ================= */
.mobile-nav {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

@media screen and (max-width: 768px) {
    /* 隐藏 PC 端 Header */
    .header-component-wrapper {
        display: none !important;
    }
    
    /* Banner 适配 */
    .banner {
        display: flex !important;
        height: 230px;
        margin-top: 90px; /* 紧接在 header 下方 */
        background-size: cover;
        position: relative;
    }

    .banner img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover;
    }

    .banner-text-container {
        width: 100%;
        padding: 0 20px;
        justify-content: flex-start;
    }

    .banner-title-group {
        height: 40px;
        transform: translateY(0);
    }

    .banner-red-line {
        height: 80%;
        margin-right: 15px;
        width: 4px;
    }

    .banner-main-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    /* Adjust underline position for mobile */
    .highlight-text::after {
        bottom: -2px;
    }

    /* 显示手机端导航 */
    .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        height: 90px;
        background-color: rgba(174, 31, 3, 0.9); /* #ae1f03 at 90% opacity */
        position: fixed;
        top: 0; left: 0; z-index: 1000;
        padding: 0 15px;
    }

    .mobile-menu-btn, .mobile-search-btn {
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        width: 40px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-right-tools {
        display: flex;
        height: 90px;
        align-items: center;
    }

    .mobile-lang-btn {
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        cursor: pointer;
        border: 1px solid #fff;
        border-radius: 2px;
        padding: 3px 6px;
        margin-left: 10px;
        height: auto;
        width: auto;
        display: inline-block;
        line-height: 1;
    }

    .mobile-logo-box {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        background-color: transparent;
        height: 90px;
        width: 160px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: none;
        z-index: 1001;
    }

    .mobile-logo-box img {
        max-width: 80%;
        max-height: 80%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    /* 手机端全屏菜单样式 */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 2000;
        display: none;
        flex-direction: column;
        justify-content: flex-start;
    }

    .mobile-menu-content {
        width: 100%;
        background-color: transparent;
        max-height: 80vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-header {
        display: flex;
        height: 90px;
        width: 100%;
    }

    .mobile-menu-close {
        width: 70px;
        height: 90px;
        background-color: #ae1f03; /* 使用指定的红色 */
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .mobile-menu-close i {
        color: #fff;
        font-size: 50px;
    }

    .mobile-menu-logo {
        flex: 1;
        min-width: 0;
        background-color: #000;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 20px;
    }

    .mobile-menu-logo img {
        height: auto;
        max-height: 100px;
        width: 100%;
    }

    .mobile-menu-list {
        background-color: #000;
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        margin-left: 70px;
    }

    .mm-item {
        width: 100%;
        border-bottom: 1px solid #333;
    }

    .mm-link, .mm-link-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        cursor: pointer;
        background-color: #000;
        transition: background-color 0.3s;
    }

    .mm-link:hover, .mm-link-wrapper:hover {
        background-color: #1a1a1a;
    }

    .mm-item.active .mm-link-wrapper {
        background-color: #606060;
    }

    .mm-link-text {
        font-weight: normal;
    }

    .mm-arrow-box {
        padding-left: 15px;
        border-left: 1px solid #999;
        display: flex;
        align-items: center;
        height: 14px;
    }

    .mm-item.active .mm-arrow-box {
        border-left-color: #000;
    }

    .mm-arrow {
        font-size: 14px;
        color: #fff;
        transition: transform 0.3s;
    }

    .mm-item.active .mm-arrow {
        transform: rotate(180deg);
        color: #fdb933;
    }

    .mm-submenu {
        display: none;
        background-color: #212121;
        padding: 0;
        border-right: 15px solid #606060;
    }

    .mm-item.active .mm-submenu {
        display: block;
    }

    .mm-sub-link {
        display: block;
        padding: 12px 20px;
        color: #ccc;
        font-size: 16px;
        text-decoration: none;
        border-bottom: 1px solid #444;
    }

    .mm-sub-link:last-child {
        border-bottom: none;
    }

    .mm-sub-link.active {
        color: #fdb933;
    }

    body {
        padding-top: 0;
    }

    /* 面包屑适配 */
    .breadcrumb {
        padding: 16px 15px;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        font-size: 0;
        color: #333;
        width: calc(100% + 30px);
        margin-left: -15px;
        background-color: #fff;
        position: relative;
        z-index: 5;
    }

    .breadcrumb > a:first-child {
        display: inline-block;
        width: 32px;
        height: 32px;
        background: url('../img/icon-27.png') no-repeat center center;
        background-size: contain;
        font-size: 0;
        margin-right: 15px;
        position: relative;
    }

    .breadcrumb > a:first-child::after {
        content: '';
        position: absolute;
        right: -15px;
        top: 3px;
        height: 26px;
        width: 2px;
        background-color: #ddd;
    }

    .breadcrumb span,
    .breadcrumb a {
        font-size: 18px;
        color: #333;
        font-family: 'SourceHanSansCN', 'CustomArial', 'CustomArialUnicode', sans-serif;
    }

    .breadcrumb span {
        margin-left: 0;
        font-weight: normal;
    }

    .breadcrumb span:first-of-type {
        margin-left: 15px;
    }

    

    /* 搜索栏适配 */
    .header-search-bar {
        position: fixed;
        top: 90px;
        background-color: rgba(31, 31, 31, 0.95);
        height: auto;
        padding: 30px 0;
        z-index: 999;
    }

    .header-search-bar .search-container {
        width: 90%;
        max-width: none;
    }

    /* === 企业页面特定适配 === */
    .container, .w-1300-center {
        width: 100%;
        padding: 0 15px;
    }

    .intro-section {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .intro-content {
        flex-direction: column;
    }

    .intro-text-box {
        width: 100%;
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .intro-text-box p {
        font-size: 16px;
        text-indent: 2em;
        margin-bottom: 15px;
        line-height: 1.8;
    }

    .more-btn {
        position: static;
        margin-top: 20px;
        justify-content: center;
    }

    .intro-media {
        width: 100%;
        margin-left: 0;
    }

    .video-player-mockup {
        height: 200px;
    }

    .grid-links {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .contact-full-bleed {
        flex-direction: column;
        height: auto;
        padding-right: 0;
        background-size: cover;
        padding-bottom: 120px;
    }
    
    .contact-full-bleed::before {
        width: 100%;
        background-image: url('../img/bg-1-2-3.png');
        background-size: cover;
    }

    .contact-side {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 80px;
        width: 100%;
    }

    .contact-capsule {
        width: 160px;
        height: 45px;
    }
    
    .contact-capsule span {
        font-size: 18px;
    }

    .contact-info p {
        font-size: 17px;
        line-height: 2.4;
    }

    .join-side {
        width: 100%;
        justify-content: center;
        margin-top: 220px;
    }
    
    .join-text {
        margin-right: 0;
        font-size: 50px;
        color: #2e537d;
        font-family: 'SourceHanSansCN', 'CustomArial', sans-serif !important;
        font-weight: 300;
    }

    .social-bar {
        padding: 30px 0;
    }

    .social-icons {
        display: grid;
        grid-template-columns: repeat(3, auto);
        justify-content: center;
        gap: 45px 20px;
    }

    .social-icon-img {
        width: 64px;
        height: 64px;
        object-fit: contain;
    }

    .social-full-banner {
        height: 50px;
        overflow: hidden;
    }

    .social-banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}


/* 社交图标浮动框样式 */
.social-float-box {
    position: fixed;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-float-box:hover {
    opacity: 1;
}

.float-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    border: 1px solid #eee;
    display: inline-block;
    overflow: hidden;
}

.float-image {
    display: block;
    border-radius: 4px;
}

.float-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    transition: transform 0.3s ease;
}

/* 默认箭头样式（指向下方） */
.social-float-box:not(.float-bottom) .float-arrow {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-color: #fff transparent transparent transparent;
}

/* 底部箭头样式（指向上方） */
.social-float-box.float-bottom .float-arrow {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent #fff transparent;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .float-content {
        max-width: 150px;
        max-height: 150px;
        padding: 8px;
    }
    
    .float-arrow {
        border-width: 6px 6px 0 6px;
    }
    
    .social-float-box.float-bottom .float-arrow {
        border-width: 0 6px 6px 6px;
    }
}

@media (max-width: 480px) {
    .float-content {
        max-width: 120px;
        max-height: 120px;
        padding: 6px;
    }
    
    .float-arrow {
        border-width: 5px 5px 0 5px;
    }
    
    .social-float-box.float-bottom .float-arrow {
        border-width: 0 5px 5px 5px;
    }
}

