.site-footer {
    position: relative;
    margin-top: 72px;
    padding: 0 0 28px;
    background: none;
    color: #fff;
    font-family: var(--main-font);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            42% 20% at 50% 0%,
            rgba(48, 177, 41, 0.05),
            rgba(48, 177, 41, 0) 75%
        );
}

.footer-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 34px 22px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(12, 12, 16, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.footer-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            60% 80% at 50% 0%,
            rgba(48, 177, 41, 0.035),
            rgba(48, 177, 41, 0) 62%
        );
}

.footer-top,
.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
    gap: 28px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brandBlock {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: #fff;
    width: fit-content;
}

.footer-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    flex-shrink: 0;
    filter: none;
}

.footer-brandText {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.05;
}

.footer-brand-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(48, 177, 41, 0.1);
    border: 1px solid rgba(48, 177, 41, 0.18);
    color: rgba(48, 177, 41, 0.96);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-brand-main {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
}

.footer-brand-sub {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

.footer-lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    font-size: 0.96rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 28px 0 24px;
}

.footer-card {
    min-width: 0;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-card--about {
    background:
        linear-gradient(180deg, rgba(48, 177, 41, 0.07), rgba(48, 177, 41, 0.03)),
        rgba(255, 255, 255, 0.03);
    border-color: rgba(48, 177, 41, 0.14);
}

.footer-card-label {
    display: block;
    margin-bottom: 12px;
    color: rgba(48, 177, 41, 0.95);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-card-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    font-size: 0.92rem;
}

.footer-mail {
    display: inline-block;
    margin-top: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    word-break: break-word;
}

.footer-mail:hover {
    color: rgba(48, 177, 41, 0.96);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.16s ease, transform 0.16s ease;
}

.footer-link:hover {
    color: rgba(48, 177, 41, 0.96);
    transform: translateX(2px);
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.16s ease,
        background 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease;
}

.footer-social:hover {
    transform: translateY(-1px);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(48, 177, 41, 0.18);
}

.footer-social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-social span {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-bottom-copy,
.footer-bottom-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-footer {
        margin-top: 56px;
        padding-bottom: 18px;
    }

    .footer-inner {
        width: min(100% - 24px, 1240px);
        padding: 22px 16px 18px;
        border-radius: 22px;
    }

    .footer-brandBlock {
        align-items: flex-start;
        gap: 14px;
    }

    .footer-logo {
        width: 62px;
        height: 62px;
    }

    .footer-brand-main {
        font-size: 1.05rem;
    }

    .footer-brand-sub {
        font-size: 0.62rem;
    }

    .footer-lead {
        font-size: 0.9rem;
    }

    .footer-card {
        padding: 16px;
        border-radius: 16px;
    }

    .footer-social {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}