.site-footer {
    position: relative;
    overflow: hidden;
    padding-bottom: 4rem;
    border-top: 1px solid rgba(110, 231, 183, .16);
    color: #c4d1ca;
    background:
        radial-gradient(circle at 8% 0, rgba(52, 211, 153, .065), transparent 28%),
        #081c15;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: min(34rem, 58%);
    height: 1px;
    background: linear-gradient(90deg, #23b27d, rgba(35, 178, 125, 0));
}

.site-footer-inner {
    position: relative;
    width: min(100% - 2rem, 78rem);
    margin-inline: auto;
    padding-top: 2.4rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.45fr 1.15fr;
    gap: clamp(1.5rem, 3vw, 3.2rem);
    align-items: start;
}

.site-footer-brand p {
    max-width: 17rem;
    margin-top: .65rem;
    color: #81958a;
    font-size: .78rem;
    line-height: 1.6;
}

.site-footer-logo {
    display: inline-block;
    color: #f3f8f5;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.055em;
}

.site-footer-logo span {
    color: #6ee7b7;
}

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

.site-footer-social {
    display: flex;
    gap: .45rem;
    margin-top: 1.05rem;
}

.site-footer-social a {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(202, 222, 211, .13);
    border-radius: .36rem;
    color: #91a69b;
    background: rgba(255, 255, 255, .025);
    font-size: .8rem;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.site-footer-social a:hover {
    border-color: rgba(110, 231, 183, .3);
    color: #a7f3d0;
    background: rgba(52, 211, 153, .08);
}

.site-footer-section h2 {
    margin: .12rem 0 1.05rem;
    color: #f0f6f2;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.site-footer-links {
    display: grid;
    gap: .08rem;
}

.site-footer-links--compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .08rem .7rem;
}

.site-footer-links a {
    display: flex;
    min-height: 1.85rem;
    align-items: center;
    gap: .42rem;
    padding: .26rem 0;
    color: #9bada3;
    font-size: .7rem;
    font-weight: 550;
    transition: color .18s ease, transform .18s ease;
}

.site-footer-links a i {
    width: .75rem;
    color: #60786c;
    font-size: .58rem;
    text-align: center;
    transition: color .18s ease;
}

.site-footer-links a:hover {
    color: #f1f7f3;
    transform: translateX(2px);
}

.site-footer-links a:hover i {
    color: #6ee7b7;
}

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

.site-footer-team-grid a {
    display: flex;
    min-width: 0;
    min-height: 2.35rem;
    align-items: center;
    gap: .55rem;
    padding: .28rem .35rem;
    border: 1px solid transparent;
    border-radius: .34rem;
    color: #a9b9b0;
    font-size: .7rem;
    font-weight: 600;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.site-footer-team-grid a > span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 auto;
    place-items: center;
    padding: .2rem;
    border: 1px solid rgba(218, 229, 223, .13);
    border-radius: .3rem;
    background: rgba(255, 255, 255, .94);
}

.site-footer-team-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer-team-grid a:hover {
    border-color: rgba(110, 231, 183, .16);
    color: #f0f7f3;
    background: rgba(52, 211, 153, .055);
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(200, 219, 209, .11);
}

.site-footer-languages {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.site-footer-languages a,
.site-footer-languages span {
    display: inline-flex;
    min-height: 1.85rem;
    align-items: center;
    gap: .35rem;
    padding: .3rem .45rem;
    border: 1px solid rgba(202, 222, 211, .12);
    border-radius: .3rem;
    color: #83978c;
    background: rgba(255, 255, 255, .018);
    font-size: .61rem;
    font-weight: 750;
}

.site-footer-languages a:hover {
    border-color: rgba(110, 231, 183, .26);
    color: #dff7eb;
}

.site-footer-languages .is-active {
    border-color: rgba(52, 211, 153, .34);
    color: #a7f3d0;
    background: rgba(16, 185, 129, .1);
}

.site-footer-languages img {
    width: .9rem;
    height: .65rem;
    object-fit: cover;
}

.site-footer-meta {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: #657a6f;
    font-size: .64rem;
}

.site-footer-meta button {
    color: #83978c;
    text-decoration: underline;
    text-decoration-color: rgba(131, 151, 140, .35);
    text-underline-offset: 3px;
}

.site-footer-meta button:hover {
    color: #bcd0c5;
}

@media (max-width: 980px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 3rem;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-bottom: 4rem;
    }

    .site-footer-inner {
        width: min(100% - 1.25rem, 78rem);
        padding-top: 2.35rem;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.1rem;
    }

    .site-footer-brand p {
        max-width: 24rem;
    }

    .site-footer-team-grid {
        gap: .4rem;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 2.2rem;
    }

    .site-footer-meta {
        width: 100%;
        justify-content: space-between;
    }
}

@media (min-width: 640px) {
    .site-footer {
        padding-bottom: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer a {
        transition: none;
    }
}
