.footer{
    padding-bottom: 0px !important;
    padding-top: 20px !important;
    margin-top: 40px !important;
    background:linear-gradient(45deg, #f0f0f0,#fff, #f5f5f5);
}
.footer-hr{
    border-top:#ddd solid 1px;
    opacity: .3;
}
/* 父容器 */
.contact-wrapper {
    width: 70%;
    margin-left:15%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}
.contact-wrapper .contact{
    flex: 1;
    color: #333;
    border: 1px solid #ced4da;
    line-height:20px;
    font-size:14px;
    padding: 20px;
    border-radius:15px;
    text-align: left;
}
.contact h5{
    font-size: 1.0rem;
    font-weight:600;
    line-height:30px;
    margin-bottom: 0;
    color: var(--theme-color);
    text-align: left;
}
.contact p{
    line-height:20px;
    margin: 0 !important;
    letter-spacing: 1px;
    color: #fff;
}
.text-white{
    color: #333 !important;
    text-decoration:none;
}
.text-white:hover{
    color: var(--theme-color) !important;
}
/* 标签+值网格对齐 */
.info-row{
    display: grid;
    grid-template-columns: 60px 1fr;   /* auto 改成固定宽度 */
    gap: 10px;
    margin: 5px 0;
    line-height: 20px;
}
.info-label{
    text-align:left;
    white-space:nowrap;
    color: #333;
}
.info-value{
    word-break:break-all;
    color: #333;
}
.contact-phone-link{
    color:#333;
    text-decoration:none;
}
.contact-phone-link:hover{
    color: var(--theme-color);
}
/* 快速链接两列样式 */
.quick-link-list {
    columns: 2;
    column-gap: 20px;
}
.quick-link-list li {
    break-inside: avoid;
    margin-bottom:5px;
}
.copyright{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    color:rgba(0, 0, 0, 0.5);
    gap: 20px;
    font-size: 0.8rem;
    line-height:14px;
}
/* =========================================================
   内嵌「关注我们」
   默认：黑底 + 白色图标
   悬停/点击：背景 → 品牌色，图标淡出，二维码从下往上滑入
   ========================================================= */
.footer-follow-us {
    margin-top: 20px;
    margin-left: -10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}
.footer-follow-us .follow-us-label {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 12px;
}
.footer-follow-us .follow-us-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    overflow: visible;
}
.footer-follow-us .follow-us-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: visible;
    width: 64px;
    flex: 0 0 61px;
}

/* 图标盒子：默认黑底 */
.follow-us-box {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    overflow: visible;
}
.follow-us-box:hover {
    background: var(--brand-color, #1a1a1a);   /* 悬停 → 品牌色（可能被内联覆盖） */
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* 图标 */
.follow-us-logo {
    position: relative;
    z-index: 1;
    display: block;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.follow-us-logo-svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);   /* 白色图标 */
}
.follow-us-logo-qr {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}
/* hover 时图标淡出 */
.follow-us-item:hover .follow-us-logo {
    opacity: 1;
}

/* 二维码：图标正上方，从下往上滑入 */
.follow-us-qr {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translate(-50%, 12px) scale(0.85);
    opacity: 0;
    pointer-events: none;

    width: 120px;
    height: 120px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

    transition:
        transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.25s ease;

    z-index: 9999;
    overflow: visible;
}
.follow-us-item:hover .follow-us-qr {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
/* ============================================================
   ★ 透明桥：覆盖图标顶部与二维码之间的空隙
   让鼠标从图标移到二维码时不打断 hover
   ============================================================ */
.follow-us-box::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;                       /* 从图标顶部往上 */
    transform: translateX(-50%);
    width: 130px;                        /* 略宽于二维码，容错 */
    height: 20px;                        /* 覆盖 8px 空隙 + 冗余 */
    background: transparent;
    pointer-events: none;                /* 默认穿透 */
    z-index: 9998;
}

/* hover 或点击激活时，桥也接管鼠标，保证不断档 */
.follow-us-item:hover .follow-us-box::before,
.follow-us-item.active .follow-us-box::before {
    pointer-events: auto;
}
/* 名称 */
.footer-follow-us .follow-us-name {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.footer-follow-us .follow-us-item:hover .follow-us-name {
    color: var(--theme-color);
}

@media(max-width:768px){
    .contact-wrapper {
        width: 90%;
        margin-left:5%;
        flex-wrap: wrap;
    }
    .contact-wrapper .contact{
        flex: none;
        width: 100%;
        color: #333;
        border: 1px dashed #ced4da;
        line-height:16px;
        font-size:14px;
        padding: 10px 20px;
        border-radius:20px;
    }
    .footer {
        margin-top: 20px !important;
    }
    .copyright{
        display: block;
        color:rgba(0, 0, 0, 0.5);
        font-size:0.8rem;
        line-height:20px;
        padding: 0;
        text-align: center !important;
        padding-bottom: 20px;
    }
    .copyright p{
        margin: 0px;
    }
}