/* ── Footer ── */

.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0 0;
}

.footer-top {
    padding-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.logo-light {
    height: 54px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-4px);
    color: var(--white);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    color: var(--muted);
    font-size: 0.8125rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--muted);
    font-size: 0.8125rem;
}

.footer-legal a:hover {
    color: var(--white);
}

.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: var(--shadow-lg);
}

.back-to-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 25px !important;
    }
}

