/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer-container {
    max-width: var(--max-width);
    margin: auto;
}

.site-footer {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: var(--radius-4xl);
    padding: var(--space-12) var(--space-14) 0;
    width: 100%;
    max-width: 90%;
    box-shadow: 0 4px 32px rgba(80, 80, 140, 0.08);
    overflow: hidden;
    margin: 34px auto 30px auto;
    border: 1px solid var(--color-border-base);
}

/* ── Top Grid ── */
.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr 1fr 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-4);
    align-items: start;
}

/* ── Brand Column ── */
.brand-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--space-5);
}

.avatar-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-circle);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--color-white);
    font-weight: var(--weight-bold);
    border: 2px solid #ccc;
    clip-path: polygon(50% 0%, 61% 6%, 74% 3%, 82% 13%, 93% 16%, 97% 28%, 100% 40%, 95% 52%, 98% 64%, 92% 74%, 84% 82%, 72% 85%, 62% 95%, 50% 98%, 38% 94%, 27% 88%, 17% 82%, 8% 73%, 3% 61%, 2% 49%, 5% 37%, 10% 25%, 20% 17%, 31% 11%);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text .name {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: #000000;
    line-height: var(--leading-snug);
}

.brand-text .tagline {
    font-size: 0.78rem;
    color: #888;
    font-weight: var(--weight-regular);
}

.brand-desc {
    font-size: 0.94rem;
    color: var(--color-text-subtle);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-2);
    font-weight: var(--weight-medium);
}

.brand-desc strong {
    font-weight: var(--weight-semibold);
}

.brand-question {
    font-size: 0.87rem;
    color: var(--color-text-subtle);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.hire-btn {
    display: inline-block;
    background: var(--color-brand-rich);
    color: var(--color-white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: var(--weight-semibold);
    padding: 11px var(--space-7);
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(79, 53, 232, 0.28);
}

.hire-btn:hover {
    background: var(--color-brand-rich-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 53, 232, 0.38);
}

/* ── Link Columns ── */
.link-col h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: #000;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}

.link-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.link-col ul li a {
    font-size: 0.87rem;
    font-weight: var(--weight-medium);
    color: var(--color-text-subtle);
    text-decoration: none;
    transition: color 0.2s;
}

.link-col ul li a:hover {
    color: var(--color-brand-rich);
}

/* ── Social Column ── */
.social-col h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--color-ink);
    margin-bottom: 18px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: var(--color-ink);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.social-icon:hover {
    background: var(--color-brand-rich);
    transform: translateY(-2px);
}

.social-icon svg {
    width: var(--space-4);
    height: var(--space-4);
    fill: var(--color-white);
}

/* ── Bottom Bar ── */
.footer-bottom {
    padding: 0 0 var(--space-8) 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--color-text-subtle);
    font-weight: var(--weight-medium);
}

.footer-bottom a {
    color: var(--color-brand-rich);
    text-decoration: none;
    font-weight: var(--weight-semibold);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ── Site Footer Media Queries ── */
@media (max-width: 1180px) {
    .footer-top {
        grid-template-columns: 240px 1fr 1fr 1fr;
        gap: var(--space-8);
    }
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: var(--space-10) var(--space-8) 0;
        max-width: 95%;
        border-radius: var(--radius-3xl);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 500px) {
    .site-footer {
        padding: var(--space-9) var(--space-7) 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .site-footer {
        padding: var(--space-8) var(--space-5) 0;
        max-width: 96%;
        border-radius: var(--radius-2xl);
        margin: 20px auto 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-7);
    }

    .brand-col {
        grid-column: auto;
    }

    .brand-desc {
        font-size: 0.88rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icon {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 390px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .site-footer {
        border-radius: var(--radius-xl);
    }
}

@media (max-width: 360px) {
    .site-footer {
        padding: var(--space-6) var(--space-4) 0;
        margin: 16px auto 16px;
    }

    .footer-bottom p {
        font-size: 0.72rem;
    }
}
