/* ============================================================
   Section 11 - Footer
   ============================================================ */

.nl-footer {
    width: 100%;
    padding: 48px 128px 20px;
    background: #0F172B;
}

.nl-footer__inner {
    width: min(1184px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nl-footer__top {
    width: 100%;
    min-height: 332px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.nl-footer__brand-col {
    width: min(410px, 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 128px;
}

.nl-footer__brand-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.nl-footer__logo-link {
    display: inline-flex;
    align-items: center;
}

.nl-footer__logo {
    width: 135.73px;
    height: 32.17px;
}

.nl-footer__subscribe {
    width: min(372px, 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nl-footer__subscribe-title {
    margin: 0;
    color: #AFBCD5;
    font-family: var(--nl-font, "Plus Jakarta Sans", sans-serif);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.2px;
}

.nl-footer__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nl-footer__form-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nl-footer__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nl-footer__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 0.5px solid #E5E5E5;
    background: #F5F5F5;
    color: #10182C;
    font-family: var(--nl-font, "Plus Jakarta Sans", sans-serif);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3px;
}

.nl-footer__input::placeholder {
    color: #10182C;
    opacity: 0.5;
}

.nl-footer__input:focus-visible,
.nl-footer__submit:focus-visible,
.nl-footer__nav a:focus-visible,
.nl-footer__terms a:focus-visible,
.nl-footer__legal a:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.95);
    outline-offset: 2px;
}

.nl-footer__submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 91px;
    height: 40px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: #3B82F6;
    color: #FFFFFF;
    font-family: var(--nl-font, "Plus Jakarta Sans", sans-serif);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nl-footer__submit:hover {
    background: #4A91FF;
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}

.nl-footer__terms {
    margin: 0;
    color: #AFBCD5;
    font-family: var(--nl-font, "Plus Jakarta Sans", sans-serif);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.nl-footer__terms a {
    color: #51A2FF;
    transition: color 0.2s ease;
}

.nl-footer__terms a:hover {
    color: #86BEFF;
}

.nl-footer__message {
    min-height: 16px;
    margin: 0;
    font-family: var(--nl-font, "Plus Jakarta Sans", sans-serif);
    font-size: 12px;
    line-height: 16px;
}

.nl-footer__message.is-success {
    color: #65D591;
}

.nl-footer__message.is-error {
    color: #FF8B8B;
}

.nl-footer__nav {
    width: 54px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 2px;
}

.nl-footer__nav a {
    color: #AFBCD5;
    font-family: var(--nl-font, "Plus Jakarta Sans", sans-serif);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.2px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nl-footer__nav a:hover {
    color: #FFFFFF;
    transform: translateX(2px);
}

.nl-footer__bottom-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nl-footer__rule {
    width: 100%;
    border-top: 1px solid rgba(234, 234, 234, 0.22);
}

.nl-footer__bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.nl-footer__copyright,
.nl-footer__legal a {
    margin: 0;
    color: #7C7C7C;
    font-family: var(--nl-font, "Plus Jakarta Sans", sans-serif);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.nl-footer__legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nl-footer__legal a {
    transition: color 0.2s ease;
}

.nl-footer__legal a:hover {
    color: #AFBCD5;
}

.nl-footer__dot {
    width: 2px;
    height: 2px;
    border-radius: 999px;
    background: #7C7C7C;
}

@media (max-width: 1200px) {
    .nl-footer {
        padding: 48px 40px 20px;
    }

    .nl-footer__top {
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 42px;
    }

    .nl-footer__nav {
        width: auto;
        min-width: 170px;
    }
}

@media (max-width: 860px) {
    .nl-footer {
        padding: 40px 18px 20px;
    }

    .nl-footer__inner {
        gap: 32px;
    }

    .nl-footer__brand-col {
        width: 100%;
        gap: 56px;
    }

    .nl-footer__subscribe {
        width: 100%;
    }

    .nl-footer__form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .nl-footer__submit {
        width: 100%;
    }

    .nl-footer__nav {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 24px;
    }

    .nl-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .nl-footer__nav {
        grid-template-columns: 1fr;
    }
}
