/* ===== 页脚 ===== */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, .68);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, .4), transparent);
}
.site-footer__main { padding: 72px 0 52px; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 44px;
}
.site-footer__brand img {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1) grayscale(1);
}
.site-footer__brand p, .site-footer__contact p { font-size: 14px; line-height: 1.8; }
.site-footer__brand a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: #fff;
    font-weight: 700;
    transition: gap var(--transition);
}
.site-footer__brand a:hover { gap: 10px; }
.site-footer h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.site-footer li + li { margin-top: 10px; }
.site-footer a { transition: color var(--transition); }
.site-footer a:hover { color: #93C5FD; }
.site-footer__contact .button {
    margin-top: 20px;
    border-color: rgba(255,255,255,.25);
    background: transparent;
    color: #fff;
}
.site-footer__contact .button:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.06);
}

/* ===== 页脚联系方式 ===== */
.footer-contact-info {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}
.fc-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(37, 56, 255,.12);
    border: 1px solid rgba(37, 56, 255,.22);
    transition: all var(--transition);
}
.fc-phone:hover {
    background: rgba(37, 56, 255,.2);
    border-color: rgba(37, 56, 255,.4);
}
.fc-phone__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(37, 56, 255,.3);
    color: #93C5FD;
    flex-shrink: 0;
}
.fc-phone strong {
    display: block;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .02em;
}
.fc-phone span {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: 12.5px;
    margin-top: 3px;
}
.fc-wechat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.18);
}
.fc-wechat > img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
}
.fc-wechat strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.fc-wechat span {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: 12.5px;
    margin-top: 4px;
    line-height: 1.5;
}

/* 底部版权 */
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .10);
    font-size: 13px;
}
.site-footer__bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* 浮动咨询 */
.consultation-float {
    position: fixed;
    z-index: 30;
    right: 24px;
    bottom: 110px;
    display: grid;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-float);
}
.consultation-float a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background var(--transition);
}
.consultation-float a:hover { background: var(--color-bg-light); }
.consultation-float a:last-child { border-bottom: 0; }

.consultation-float .float-phone,
.consultation-float .float-wechat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
}
.consultation-float .float-phone {
    background: linear-gradient(135deg, #2563EB, #6366F1);
    color: #fff;
    border-bottom: 0;
}
.consultation-float .float-phone:hover {
    background: linear-gradient(135deg, #1D4ED8, #4F46E5);
}
.consultation-float .float-wechat {
    background: linear-gradient(135deg, #059669, #10B981);
    color: #fff;
}
.consultation-float .float-wechat:hover {
    background: linear-gradient(135deg, #047857, #059669);
}
.consultation-float .float-phone span,
.consultation-float .float-wechat span {
    font-size: 20px;
}
.consultation-float .float-phone em,
.consultation-float .float-wechat em {
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
}

/* 微信弹窗 */
.wechat-popup {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    padding: 20px;
}
.wechat-popup.active { display: flex; }
.wechat-popup__inner {
    position: relative;
    max-width: 340px;
    width: 100%;
    padding: 32px 28px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
    animation: popupIn .3s ease;
}
@keyframes popupIn {
    from { opacity: 0; transform: scale(.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.wechat-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--color-text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition);
}
.wechat-popup__close:hover {
    background: var(--color-bg-light);
    color: var(--color-heading);
}
.wechat-popup__inner h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-heading);
    margin-bottom: 16px;
}
.wechat-popup__inner > img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 4px solid var(--color-bg-light);
    margin-bottom: 16px;
}
.wechat-popup__inner > p {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 12px;
}
.wechat-popup__inner > strong {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 56, 255,.08), rgba(99,102,241,.08));
    color: var(--color-secondary);
    font-size: 15px;
    font-weight: 800;
}

.mobile-consultation { display: none; }
@media (max-width: 820px) {
    .mobile-consultation {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background: #fff;
        border-top: 1px solid var(--color-border-light);
        box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    }
    .mobile-consultation a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
        color: var(--color-heading);
        font-size: 12px;
        font-weight: 700;
        border-right: 1px solid var(--color-border-light);
    }
    .mobile-consultation a:last-child { border-right: 0; }
    .mobile-consultation a span { font-size: 20px; }
    .consultation-float { display: none; }
}
