/* ============================================================
   FOOTER — footer.css
============================================================ */

/* ---- Main Footer ---- */
#site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

/* ---- Footer Top ---- */
.footer-top {
    padding: 72px 0 56px;
}

.footer-grid {
    /* display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr; */
    gap: 56px;
    display: flex;
    justify-content: space-between;
}

/* ---- Brand Column ---- */
.footer-brand {}

.footer-brand .site-logo {
    margin-bottom: 18px;
}

.footer-brand .tagline {
    font-size: 0.875rem;
    /* text-sm */
    color: var(--gray);
    line-height: 1.25rem;
    margin-bottom: 24px;
    max-width: 270px;
}

.footer-links {
    padding-left: 0rem !important;
}

/* Social links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--gray);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---- Link Column ---- */
.footer-col h5 {
    font-size: 1rem;
    /* text-base */
    font-weight: 600;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 22px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    /* text-sm */
    color: var(--gray);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}



.footer-links a:hover::before {
    opacity: 1;
}

/* ---- Contact Column ---- */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.5;
}

.footer-contact-item .icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--red);
}

.footer-contact-item a {
    color: var(--gray);
    transition: color 0.2s;
}

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

/* ---- Footer Divider ---- */
.footer-divider {
    height: 1px;
    background: var(--border);
}

/* ---- Footer Bottom ---- */
.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.75rem;
    /* text-xs */
    color: var(--gray);
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--gray2);
    transition: color 0.2s;
}

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

/* ---- Newsletter ---- */
.footer-newsletter {
    margin-top: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-right: none;
    color: var(--white);
    padding: 11px 14px;
    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: var(--gray2);
}

.newsletter-form button {
    background: var(--red);
    border: none;
    color: var(--white);
    padding: 11px 18px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: var(--red-dark);
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }


    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        padding: 48px 0 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        display: block !important;
    }

    .footer-brand .tagline {
        max-width: unset !important;
    }


}