/* 悬浮联系图标 */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-item {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.float-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.float-wechat {
    background: transparent;
    padding: 0;
}

.float-wechat svg {
    fill: #fff;
}

.float-phone {
    background: #6366F1;
}

.float-phone svg {
    stroke: #fff;
}

/* 弹窗 */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.contact-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    max-width: 260px;
    position: relative;
}

.contact-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 20px;
    color: #8b95a5;
    cursor: pointer;
}

.contact-modal h3 {
    font-size: 16px;
    color: #1f2329;
    margin-bottom: 12px;
}

.contact-modal .phone-number {
    font-size: 20px;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 12px;
}

/* 微信弹窗移动端适配 - 只显示第二张 */
@media (max-width: 768px) {
    .wechat-modal-content {
        flex-direction: column;
    }
    .wechat-qr-card:first-of-type {
        display: none;
    }
    .wechat-qr-img {
        width: 240px !important;
    }
}
