/* Site-wide footer */

.site-footer {
    height: auto;
    background: #111111;
    color: #d1d5db;
    margin-top: 4rem;
    font-family: var(--font-primary, 'Inter', sans-serif);
}

.site-footer a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 2.5rem 2rem;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 280px;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
}

.site-footer-logo:hover {
    color: #ffffff;
}

.site-footer-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.site-footer-logo-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.site-footer-tagline {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #9ca3af;
}

.site-footer-meta {
    font-family: var(--font-mono, 'Roboto Mono', monospace);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.site-footer-col-title {
    margin: 0 0 1rem;
    font-family: var(--font-mono, 'Roboto Mono', monospace);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.site-footer-links a {
    font-size: 0.925rem;
    font-weight: 400;
    line-height: 1.3;
}

.site-footer-teams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
}

.site-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.35;
    word-break: break-word;
}

.site-footer-contact i,
.site-footer-contact .site-footer-icon {
    width: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.site-footer-contact .site-footer-icon {
    height: 1rem;
    display: block;
}

.site-footer-contact a:hover i,
.site-footer-contact a:hover .site-footer-icon {
    color: #ffffff;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.15rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

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

.site-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
}

.site-footer-bottom-links a {
    font-size: 0.8rem;
    color: #9ca3af;
}

.site-footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.25rem 1.75rem;
        padding: 3rem 1.25rem 2.25rem;
    }

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

@media (max-width: 560px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1rem 2rem;
    }

    .site-footer-teams {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 280px;
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.1rem 1rem;
    }
}
