/* Contact Us - 严格按 UI 设计稿 */

/* 当前页 CONTACT US 蓝色背景高亮 */
.nav-link-contact-active {
    background-color: var(--primary-color, #0066FF) !important;
    color: #fff !important;
    padding: 6px 14px !important;
    border-radius: 4px;
    border-bottom: none !important;
}

.nav-link-contact-active:hover {
    color: #fff !important;
    opacity: 0.9;
}

/* Hero：握手主视觉，无文字 */
.contact-hero {
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.contact-hero-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7eb8da 0%, #4a90b5 50%, #2d6a8f 100%);
    background-size: cover;
    background-position: center;
}

/* 若有真实握手图，在 HTML 或此处改为: background-image: url('../images/contact-hero.jpg'); */

/* 主内容：联系信息*/
.contact-main {
    background-color: #fff;
}

/* 中间 Retail cooperation 列左右分隔线（只在大屏显示） */
.contact-main .contact-col-retail-middle {
    border-right: 1px solid var(--border-color, #E0E0E0);
}

@media (max-width: 991.98px) {
    .contact-main .contact-col-retail-middle {
        border-left: none;
        border-right: none;
    }
}

@media (min-width: 992px) {
    .contact-col-company {
        margin-bottom: 0;
    }
}

.contact-block {
    background: #fff;
    height: 100%;
}

.contact-block p{
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}
.contact-col-retail .contact-block:last-child {
    margin-bottom: 0;
}

.contact-company {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color, #E0E0E0);

}

.contact-block-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary, #333);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.contact-company .contact-block-title {
    font-size: 22px;
    text-transform: uppercase;
}



/* 在线客服按钮：蓝底 + 耳机图标（左侧图标 + 右侧文字） */
.btn-online-service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color, #0066FF);
    color: #fff;
    border: none;
    padding: 5px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-online-service:hover {
    background-color: var(--secondary-color, #6699FF);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.35);
}

.btn-online-service i {
    font-size: 18px;
}

/* 地图区域 */
.contact-map-section {
    background: #fff;
    padding: 0 0 60px 0;
}

.contact-map-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-map-inner {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color, #E0E0E0);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.contact-google-map {
    width: 100%;
    height: 450px;
    background: #e8f4fd;
}

/* 地图上的蓝色定位图标（静态图时使用，接入百度地图后由 API 绘制标点） */
.map-pin-icon {
    display: none;
}

.contact-map-img {
    display: none;
}

.map-pin-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    max-width: 360px;
    background: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 10;
}

.map-pin-info strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary, #333);
    margin-bottom: 8px;
}

.map-pin-info p {
    font-size: 13px;
    color: var(--text-secondary, #666);
    line-height: 1.5;
    margin: 0 0 4px 0;
}

.map-pin-info .map-address-cn {
    font-size: 12px;
    color: var(--text-light, #999);
}

/* Google Maps 信息窗内容样式（已通过内联样式实现，此样式保留用于兼容） */
.google-info-window {
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.google-info-window strong {
    color: #333;
}

.lang-text {
    font-size: 13px;
    margin-left: 4px;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-hero {
        height: 320px;
    }

    .contact-block {
        padding: 22px 24px;
    }
}

@media (max-width: 767px) {
    .lang-text {
        display: none;
    }

    .contact-hero {
        height: 260px;
    }

    .contact-google-map {
        height: 320px;
    }

    .contact-block-title {
        font-size: 18px;
    }

    .contact-block {
        padding: 20px;
        margin-bottom: 20px;
    }

    .map-pin-info {
        max-width: 280px;
        padding: 12px 16px;
        bottom: 16px;
        left: 16px;
    }

    .map-pin-info strong {
        font-size: 14px;
    }

    .map-pin-info p {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .contact-hero {
        height: 220px;
    }
}
