.site-footer {
    margin: 0 1rem 0 1rem;
    border-radius: 1rem 1rem 0 0;
    color: white;
    overflow: hidden;
    position: relative;
    background-color: var(--color-foreground);
}

.cta-section {
    padding: var(--section-padding-md);

    @media (max-width: 1024px) {
        padding: var(--section-padding-sm);
    }
}

.cta-section h2 {
    text-align: center;
    margin: 0 auto 1rem auto;
}

.cta-section p {
    text-align: center;
    text-wrap: balance;
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: -0.5px;
    margin: 0 auto;
    max-width: 576px;
    font-weight: 300;
}

.cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.get-in-touch-link {
    position: relative;
    cursor: none;
    width: fit-content;
}

.cta-section h3 {
    text-align: center;
    font-size: 8vw;
    letter-spacing: -0.025em;
    color: white;

    @media (max-width: 1024px) {
        font-size: 10vw;
    }
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--color-muted);

    @media (max-width: 1024px) {
        flex-direction: column;
    }
}

.footer-legal a {
    color: var(--color-muted);
    transition: color 0.3s ease-in-out;
}

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

.footer-legal p, .footer-legal a {
    font-size: 0.75rem !important;
    font-weight: 300;
}

.footer-legal > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal img {
    height: 10px;
    width: auto;
    display: inline-block;
    opacity: 0.85;
}

.main-footer {
    display: flex;
    gap: 2rem;
    margin-bottom: 6rem;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: center;
        margin-bottom: 4rem;
    }
}

.footer-branding {
    flex: 1;
    display: flex;
    flex-direction: column;

    @media (max-width: 1024px) {
        align-items: center;
        flex-direction: column-reverse;
    }
}

.footer-content-section {
    padding: var(--section-padding-xs);
}

.footer-content-section a {
    position: relative;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 300;
    font-size: 0.75rem;
    width: fit-content;
    text-wrap: nowrap;
}

.footer-content-section a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* adjust spacing below text */
    width: 0%;
    height: 1px; /* thickness of underline */
    background-color: currentColor; /* matches text color */
    transition: width 0.3s ease;
}

.footer-content-section a:hover::after {
    width: 100%;
}

.footer-content-section a svg {
    height: 16px;
    width: 16px;
}

.footer-menu {
    flex: 2;
    display: flex;
    justify-content: end;
}

.footer-menu h2 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.socials {
    display: flex;
    flex-direction: column;

    @media (max-width: 1024px) {
        align-items: center;
        text-align: center;
    }
}

.socials a {
    width: 100%;
    justify-content: space-between;
}

.socials ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-email {
    font-size: 1.5rem !important;
    font-weight: 500;
    letter-spacing: -1px;
}