/* ===== FOOTER.CSS ===== */

.site-footer {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(241, 171, 67, 0.08), transparent 0 22%),
        linear-gradient(180deg, #f7f3ee 0%, #f3f5fb 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    margin-top: var(--space-16);
}

.footer-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-6) var(--space-6);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: var(--space-5);
    text-decoration: none;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand-name {
    color: #111827;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.footer-brand-accent {
    color: #e2a13b;
}

.footer-description {
    margin: 0 0 var(--space-4);
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.75;
}

.footer-note {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-column {
    min-width: 0;
}

.footer-heading {
    margin: 0 0 var(--space-4);
    color: #111827;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-list,
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li,
.footer-contact-list li {
    margin-bottom: 0.85rem;
}

.footer-list a,
.footer-contact-list a,
.footer-legal-links a {
    color: #5b6472;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-list a:hover,
.footer-contact-list a:hover,
.footer-legal-links a:hover {
    color: #111827;
}

.footer-contact-list span {
    display: block;
    margin-bottom: 0.2rem;
    color: #9ca3af;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-contact-list p {
    margin: 0;
    color: #5b6472;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: var(--space-4);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #374151;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #111827;
}

.social-link .icon {
    width: 20px;
    height: 20px;
}

.footer-community-text {
    color: #6b7280;
    font-size: 0.94rem;
    line-height: 1.7;
    max-width: 28ch;
}

.footer-divider {
    height: 1px;
    margin: var(--space-8) 0 var(--space-5);
    background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.24), rgba(148, 163, 184, 0));
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.footer-legal-links a {
    font-size: 0.92rem;
}

.footer-copy {
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 1180px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .footer-container {
        padding: var(--space-10) var(--space-4) var(--space-5);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        justify-items: center; 
        text-align: center;    
    }

    .footer-brand {
        text-align: center;    
        display: flex;         
        flex-direction: column;
        align-items: center;   
    }

    .footer-social {
        justify-content: center; 
    }

    .footer-community-text {
        margin-left: auto;    
        margin-right: auto;   
    }

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

    .footer-legal-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;  
    }
}

@media (max-width: 480px) {
    .footer-brand-name {
        font-size: 1.25rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .social-link .icon {
        width: 18px;
        height: 18px;
    }
}