/* Dashboard-managed premium footer */
.footer-community {
    display: block;
    min-height: unset;
    margin: 0 auto -78px;
    width: min(1135px, calc(100% - 40px));
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 16px;
    background-color: #ffd97b;
    background-image: linear-gradient(90deg, rgba(255, 217, 123, .97), rgba(255, 217, 123, .86)), var(--footer-community-image, none);
    background-position: center;
    background-size: cover;
    box-shadow: 0 22px 50px rgba(7, 27, 51, .2)
}

.footer-community-inner {
    min-height: 156px;
    padding: 32px clamp(24px, 5vw, 64px)
}

.footer-community h2 {
    max-width: 640px;
    font-size: clamp(27px, 3.2vw, 42px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.12
}

.footer-community .btn--dark {
    min-height: 54px;
    border: 1px solid #132c69;
    border-radius: 999px;
    background: #132c69;
    color: #fff;
    font-weight: 800;
    transition: background .2s, border-color .2s, transform .2s
}

.footer-community .btn--dark:hover {
    transform: translateY(-2px);
            border-color: #fff;
        background: #fff;
        color: #132c69;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 132px 0 25px;
    background: radial-gradient(ellipse at 8% 0%, rgba(57, 93, 168, .26), transparent 35%), #132c69;
    color: rgba(255, 255, 255, .76)
}

.site-footer:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd97b 0%, #edb426 48%, rgba(237, 180, 38, 0) 100%);
    content: ""
}

.site-footer>.container {
    position: relative;
    z-index: 1;
    max-width: 1180px
}

.footer-grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(115px, .72fr) minmax(220px, 1.1fr) minmax(190px, .95fr);
    gap: clamp(15px, 2vw, 20px)
}

.site-footer h3 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em
}

.site-footer p {
    margin: 17px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    line-height: 1.75
}

.footer-brand {
    display: inline-flex;
    min-height: 33px;
    align-items: center;
    color: #fff;
    text-decoration: none
}

.footer-brand .brand-fallback {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .055em
}

.footer-brand img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 58px;
    object-fit: contain
}

.footer-grid ul {
    gap: 10px
}

.site-footer li,
.site-footer li a {
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere
}

.site-footer li a {
    text-decoration: none;
    transition: color .18s
}

.site-footer li a:hover {
    color: #ffd97b
}

.footer-address {
    max-width: 280px
}

.footer-services-column .btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 23px;
    border-radius: 999px;
    background: #edb426;
    color: #132c69;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s, background .2s
}

.footer-services-column .btn:hover {
    transform: translateY(-2px);
    background: #ffd97b;
    color: #132c69
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    line-height: 1.6
}

@media(max-width:900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 44px
    }

    .footer-brand-column {
        max-width: 460px
    }

    .footer-contact-column {
        grid-column: 1
    }

    .footer-services-column {
        grid-column: 2;
        grid-row: 2
    }
}

@media(max-width:620px) {
    .footer-community {
        width: calc(100% - 28px);
        margin-bottom: -68px;
        border-radius: 13px
    }

    .footer-community-inner {
        display: flex;
        min-height: unset;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 27px 22px
    }

    .footer-community h2 {
        margin: 0;
        font-size: 28px
    }

    .footer-community .btn--dark {
        min-width: 0;
        min-height: 47px;
        padding: 11px 22px
    }

    .site-footer {
        padding: 112px 0 22px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 27px
    }

    .footer-brand-column,
    .footer-contact-column,
    .footer-services-column {
        grid-column: auto;
        grid-row: auto
    }

    .site-footer h3 {
        margin-bottom: 11px
    }

    .site-footer p {
        margin-top: 13px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
        margin-top: 30px;
        padding-top: 17px
    }
}