.fiwork-site-footer {
    --fiwork-footer-bg: #f8f8fa;
    --fiwork-footer-card: #fff;
    --fiwork-footer-text: #191d23;
    --fiwork-footer-muted: #737b86;
    --fiwork-footer-subtle: #8b929c;
    --fiwork-footer-border: #e3e6ea;
    --fiwork-footer-hover: #0188ff;
    --fiwork-footer-icon: #8c96a3;
    width: 100%;
    max-width: 100%;
    margin-top: 100px !important;
    padding: 100px 24px;
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid var(--fiwork-footer-border);
    border-bottom: 0;
    border-radius: 40px 40px 0 0;
    color: var(--fiwork-footer-muted);
    background: var(--fiwork-footer-bg);
    font-family: "Geologica", var(--font-family), sans-serif;
}

.fiwork-footer-frame {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

body.fiwork-page-home .fiwork-footer-frame {
    width: calc(100% - 48px);
    max-width: 1268px;
}

.fiwork-footer-columns {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 60px;
}

.fiwork-footer-info {
    width: 54.23%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.fiwork-footer-main-links {
    margin: 0 0 35px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
    list-style: none;
}

.fiwork-footer-main-links a {
    position: relative;
    color: var(--fiwork-footer-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

.fiwork-footer-main-links a:hover {
    color: var(--fiwork-footer-hover);
}

.fiwork-footer-ai {
    margin: 0 0 36px;
}

.fiwork-footer-ai h2 {
    margin: 0 0 10px;
    color: var(--fiwork-footer-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
}

.fiwork-footer-ai__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fiwork-footer-ai__links a {
    min-height: 36px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    border: 1px solid var(--fiwork-footer-border);
    border-radius: 8px;
    color: var(--fiwork-footer-text);
    background: var(--fiwork-footer-card);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease;
}

.fiwork-footer-ai__links a:hover {
    border-color: rgba(1, 136, 255, .28);
    color: var(--fiwork-footer-hover);
    background: rgba(1, 136, 255, .06);
    transform: translateY(-1px);
}

.fiwork-footer-ai__links svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.fiwork-footer-address,
.fiwork-footer-copyright {
    color: var(--fiwork-footer-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.fiwork-footer-address {
    margin: auto 0 2px;
}

.fiwork-footer-copyright {
    margin: 0 0 12px;
}

.fiwork-footer-copyright p {
    margin: 0;
}

.fiwork-footer-copyright p:first-child {
    margin-bottom: 24px;
}

.fiwork-footer-description-links {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.fiwork-footer-description-links a {
    position: relative;
    color: var(--fiwork-footer-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

.fiwork-footer-description-links a:hover {
    color: var(--fiwork-footer-hover);
}

.fiwork-footer-side {
    width: 40.67%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}

.fiwork-footer-contact-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 20px;
    border: 1px solid var(--fiwork-footer-border);
    background: var(--fiwork-footer-card);
    box-sizing: border-box;
}

.fiwork-footer-contact-item {
    display: flex;
    flex-direction: column;
}

.fiwork-footer-contact-item > a {
    width: fit-content;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    color: var(--fiwork-footer-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

.fiwork-footer-contact-item > a:hover {
    color: var(--fiwork-footer-hover);
}

.fiwork-footer-contact-item > a svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.fiwork-footer-contact-item > span {
    color: var(--fiwork-footer-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.fiwork-footer-app-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fiwork-footer-app-card {
    width: calc(33.33333% - 5.33333px);
    min-height: 140px;
    padding: 24px 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 20px;
    border: 1px solid var(--fiwork-footer-border);
    background: var(--fiwork-footer-card);
    text-decoration: none;
    transition: opacity .3s ease-in-out;
}

.fiwork-footer-app-card:hover {
    opacity: .6;
}

.fiwork-footer-app-card > img {
    width: 32px;
    height: 32px;
    display: flex;
    object-fit: contain;
}

.fiwork-footer-app-card > span {
    margin-top: 20px;
    color: var(--fiwork-footer-subtle);
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: -.02em;
    text-align: center;
}

.fiwork-footer-app-card > span strong {
    display: block;
    color: var(--fiwork-footer-text);
    font-size: inherit;
    font-weight: 500;
}

.fiwork-footer-social-card {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border-radius: 20px;
    border: 1px solid var(--fiwork-footer-border);
    background: var(--fiwork-footer-card);
}

.fiwork-footer-socials {
    display: flex;
    align-items: center;
    gap: 24px;
}

.fiwork-footer-socials .footer-social-link {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fiwork-footer-icon);
    text-decoration: none;
    transition: color .3s ease-in-out, opacity .3s ease-in-out;
}

.fiwork-footer-socials .footer-social-link:hover {
    opacity: .8;
}

.fiwork-footer-socials .footer-social-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.fiwork-footer-socials .twitter-icon { --footer-twitter-bg: var(--fiwork-footer-icon); }
.fiwork-footer-socials .vk-icon { --footer-vk-fill: var(--fiwork-footer-icon); }
.fiwork-footer-socials .dzen-icon { --footer-dzen-bg: var(--fiwork-footer-icon); }
.fiwork-footer-socials .telegram-icon { --footer-telegram-bg: var(--fiwork-footer-icon); }
.fiwork-footer-socials .footer-social-link--skolkovo {
    width: 72px;
    flex-basis: 72px;
}

.fiwork-footer-socials .skolkovo-icon {
    width: 72px;
    height: 20px;
    --footer-skolkovo-bg: var(--fiwork-footer-icon);
    --footer-skolkovo-mark: var(--fiwork-footer-card);
    --footer-skolkovo-text: var(--fiwork-footer-icon);
}

.fiwork-footer-socials .footer-social-link--skolkovo:hover {
    opacity: 1;
}

.fiwork-footer-socials .footer-social-link--skolkovo:hover .skolkovo-icon {
    --footer-skolkovo-bg: #b2ed52;
    --footer-skolkovo-mark: #4a5954;
    --footer-skolkovo-text: #4a5954;
}

.fiwork-footer-language {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    color: var(--fiwork-footer-muted);
    text-decoration: none;
}

.fiwork-footer-language__flag {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: block;
    overflow: hidden;
    border: 1px solid var(--fiwork-footer-border);
    border-radius: 50%;
    background: var(--fiwork-footer-card);
    box-shadow: 0 1px 3px rgba(25, 29, 35, .12);
}

.fiwork-footer-language__flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fiwork-footer-language > strong {
    color: var(--fiwork-footer-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    transition: color .3s ease-in-out;
}

.fiwork-footer-language:hover > strong {
    color: var(--fiwork-footer-hover);
}

.fiwork-footer-seo {
    margin-top: 60px;
}

.fiwork-footer-seo details {
    border-top: 1px solid var(--fiwork-footer-border);
    border-bottom: 1px solid var(--fiwork-footer-border);
}

.fiwork-footer-seo summary {
    min-height: 72px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--fiwork-footer-text);
    cursor: pointer;
    list-style: none;
}

.fiwork-footer-seo summary::-webkit-details-marker {
    display: none;
}

.fiwork-footer-seo summary > span {
    color: var(--fiwork-footer-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.fiwork-footer-seo summary > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--fiwork-footer-muted);
    transition: transform .25s ease;
}

.fiwork-footer-seo details[open] summary > svg {
    transform: rotate(180deg);
}

.fiwork-footer-seo-grid {
    padding: 24px 0 36px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.fiwork-footer-seo-grid h3 {
    margin: 0 0 14px;
    color: var(--fiwork-footer-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.fiwork-footer-seo-grid ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.fiwork-footer-seo-grid a {
    color: var(--fiwork-footer-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

.fiwork-footer-seo-grid a:hover {
    color: var(--fiwork-footer-hover);
}

.fiwork-site-footer :is(a, summary):focus-visible {
    border-radius: 2px;
    outline: 4px solid #0188ff;
    outline-offset: 4px;
}

@media screen and (max-width: 1024px) {
    .fiwork-site-footer {
        padding: 64px 22px;
    }

    .fiwork-footer-columns {
        gap: 20px;
    }

    .fiwork-footer-info,
    .fiwork-footer-side {
        width: 50%;
    }

    .fiwork-footer-app-card {
        min-height: 160px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .fiwork-footer-seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .fiwork-site-footer {
        display: none !important;
    }
}
