/* ----------------------------- */
/* Footer */
/* ----------------------------- */
.site-footer {
    background: #0f0f0f;
    color: #cfcfcf;
    padding: 4rem 1rem 1.5rem;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
}

/* Top */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: #cfcfcf;
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--primary);
}

/* Contact Button */
.footer-contact-btn {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    font-size: 0.85rem;
}

.footer-contact-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* Social */
.footer-social {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary);
}

/* Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom-center {
    text-align: center;
}

.footer-bottom-center a {
    color: #cfcfcf;
    margin: 0 0.4rem;
}

.footer-bottom-center a:hover {
    color: var(--primary);
}

.footer-bottom-right {
    text-align: right;
}

.footer-dev img {
    height: 20px;
    vertical-align: middle;
}

/* ----------------------------- */
/* Responsive */
/* ----------------------------- */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        text-align: center;
    }

    .footer-bottom-right {
        text-align: center;
    }
}

@media (max-width: 500px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}
