.nk-global-footer,
.nk-global-footer * {
    box-sizing: border-box;
}

.nk-global-footer {
    --nk-footer-bg: #123a31;
    --nk-footer-panel: #1a493e;
    --nk-footer-text: #eaf3ef;
    --nk-footer-muted: #bdd1c9;
    --nk-footer-accent: #dbe9a5;
    --nk-footer-line: rgba(255, 255, 255, .14);
    color: var(--nk-footer-text);
    background: var(--nk-footer-bg);
    font-family: inherit;
}

.nk-global-footer a {
    color: var(--nk-footer-muted);
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.nk-global-footer a:hover,
.nk-global-footer a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nk-footer-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.nk-footer-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 48px;
    padding: 54px 0 38px;
    border-bottom: 1px solid var(--nk-footer-line);
}

.nk-footer-kicker {
    margin: 0 0 10px;
    color: var(--nk-footer-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nk-footer-brand {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.nk-footer-intro {
    max-width: 680px;
    margin: 0;
    color: var(--nk-footer-muted);
    font-size: 15px;
    line-height: 1.75;
}

.nk-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.nk-global-footer .nk-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--nk-footer-accent);
    border-radius: 6px;
    color: #123a31;
    background: var(--nk-footer-accent);
    font-size: 14px;
    font-weight: 750;
}

.nk-global-footer .nk-footer-button--ghost {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, .42);
}

.nk-global-footer .nk-footer-button:hover,
.nk-global-footer .nk-footer-button:focus-visible {
    color: #123a31;
    background: #fff;
    border-color: #fff;
    text-decoration: none;
}

.nk-footer-contact-card {
    align-self: start;
    padding: 24px;
    border: 1px solid var(--nk-footer-line);
    border-radius: 12px;
    background: var(--nk-footer-panel);
}

.nk-footer-contact-card h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 19px;
}

.nk-footer-contact-card p {
    margin: 0 0 16px;
    color: var(--nk-footer-muted);
    font-size: 14px;
    line-height: 1.6;
}

.nk-footer-contact-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nk-footer-contact-list strong {
    display: inline-block;
    min-width: 76px;
    color: #fff;
    font-size: 13px;
}

.nk-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    padding: 38px 0 42px;
}

.nk-footer-group h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.nk-footer-group ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nk-footer-group a {
    font-size: 14px;
    line-height: 1.45;
}

.nk-footer-bottom {
    border-top: 1px solid var(--nk-footer-line);
}

.nk-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 72px;
    color: var(--nk-footer-muted);
    font-size: 13px;
}

.nk-footer-bottom p {
    margin: 0;
}

.nk-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 900px) {
    .nk-footer-lead {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

@media (max-width: 560px) {
    .nk-footer-wrap {
        width: min(100% - 28px, 1180px);
    }

    .nk-footer-lead {
        padding: 38px 0 30px;
    }

    .nk-footer-links-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 36px;
    }

    .nk-footer-actions,
    .nk-footer-bottom-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .nk-footer-actions .nk-footer-button {
        width: 100%;
    }

    .nk-footer-bottom-inner {
        justify-content: center;
        padding: 20px 0;
    }
}

