/* Footer – professional, larger layout, dark #121215 */

.site-footer {
    background-color: #121215;
    color: #fff;
    margin-top: -17rem;
}

.site-footer .custom-container {
    max-width: 74.375rem;
    margin: 0 auto;
    padding: 0 1.5625rem;
}

.footer-wrap {
    padding: 17rem 0 2.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1.15fr 1.15fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-bottom: 4rem;
}

.footer-col {
    min-width: 0;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-brand {
    max-width: none;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 2.75rem;
    width: auto;
    display: block;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    font-weight: 400;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-contact-list li:last-child {
    margin-bottom: 0;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    color: #7C3AED;
}

.footer-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    color: #7C3AED;
    stroke: #7C3AED;
}

.footer-contact-list a,
.footer-contact-list span {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list span {
    line-height: 1.7;
}

.footer-contact-list a:hover {
    color: #fff;
}

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

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

.footer-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2.5rem 0 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.75rem 2.5rem;
}

.footer-legal-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.footer-copy {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    color: #7C3AED;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
    color: #c99aff;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: #1c1c1c;
}

.footer-social-link svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}


@media (max-width: 767px) {
    .site-footer .custom-container {
        padding: 0 1.875rem;
    }

    .footer-top {
        display: flex;
    }

    .footer-top {
        display: flex;
        flex-wrap: wrap;
    }

    .footer-col.footer-brand {
        width: 100%;
        border-right: none;
    }

    .footer-col {
        width: 28.9%;
        padding: 0;
    }

    .footer-top {
        gap: 2.8rem;
    }

    .footer-wrap {
        padding: 15rem 0 2.5rem;
    }

    .footer-bottom {
        justify-content: center;
        flex-direction: column-reverse;
        padding: 1.5rem 0 0;
    }
}

@media (max-width: 529px) {
    .footer-col {
        width: 37.9%;
        padding: 0;
    }

    .footer-col.footer-quick {
        order: 3;
    }

    .footer-legal-links {
        justify-content: center;
    }
}