/* ==================== 颜色变量 ==================== */
:root {
    --primary-red: #e60012;
    --primary-red-dark: #c41230;
}

/* ==================== PC端顶部区域 ==================== */
.header-top {
    background-color: #fff;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

/* Logo区域 */
.logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.logo-text {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.logo-text-en {
    font-size: 20px;
    color: #333;
    letter-spacing: 1px;
    font-weight: bold;
}

/* 分隔线 */
.header-divider {
    width: 1px;
    height: 45px;
    background-color: #ccc;
    flex-shrink: 0;
}

/* 咨询热线 */
.hotline-section {
    flex-shrink: 0;
}

.hotline-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hotline-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.hotline-number {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
}

/* 二维码区域 */
.qr-section {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 联系方式区域 */
.contact-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 50px;
    height: 50px;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-label {
    font-size: 14px;
    color: #000;
    margin-bottom: 2px;
}

.contact-number {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
}

.qr-placeholder {
    width: 70px;
    height: 70px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    overflow: hidden;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qr-text {
    font-size: 11px;
    color: #999;
}

/* 平板端顶部调整 */
@media (max-width: 991px) {
    /* 隐藏联系方式 */
    .contact-box {
        display: none;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-text-en {
        font-size: 12px;
    }
    
    .header-divider {
        height: 40px;
        margin: 0 20px;
    }
    
    .hotline-label {
        font-size: 12px;
    }
    
    .hotline-number {
        font-size: 18px;
    }
    
    .qr-section {
        justify-content: flex-end;
    }
    
    .qr-box {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .qr-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .qr-placeholder img {
        width: 50px;
        height: 50px;
    }
    
    .qr-text {
        font-size: 12px;
    }
}

/* 手机端顶部调整 */
@media (max-width: 767px) {
    .header-top {
        padding: 10px 0;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-text-en {
        font-size: 10px;
    }
    
    .header-divider {
        display: none;
    }
    
    .hotline-section {
        text-align: center;
    }
    
    .hotline-box {
        align-items: center;
    }
    
    .hotline-label {
        font-size: 10px;
    }
    
    .hotline-number {
        font-size: 16px;
    }
    
    .qr-section {
        margin-left: 0;
    }
}
