.nsrv_overline {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nsrv-red);
}

.nsrv_link {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.nsrv_link_light {
    color: #fff;
}

.nsrv_about {
    padding: 96px 0;
}

.nsrv_about_in {
    width: min(1200px, 100% - 168px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 100px;
    align-items: center;
}

.nsrv_about_txt h1 .nsrv_overline {
    display: block;
    margin: 0 0 24px;
}

.nsrv_about_txt h1 {
    margin: 0 0 40px;
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
}

.nsrv_about_txt p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 26px;
}

.nsrv_about_txt p:last-child {
    margin-bottom: 0;
}

.nsrv_about_img img {
    display: block;
    width: 100%;
    height: auto;
}

.nsrv_benefits {
    padding: 40px 0 96px;
}

.nsrv_benefits_in {
    width: min(1200px, 100% - 168px);
    margin: 0 auto;
}

.nsrv_benefits h2 {
    margin: 0 0 56px;
    font-size: 32px;
    line-height: 44px;
    font-weight: 700;
}

.nsrv_benefits h2 span {
    color: var(--nsrv-red);
}

.nsrv_benefits_cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.nsrv_benefit h3 {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
}

.nsrv_benefit p {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
}

.nsrv_benefits_note {
    margin: 56px 0 0;
    font-size: 15px;
    line-height: 24px;
}

.nsrv_partners {
    position: relative;
    background: url('/img/nasze-serwisy/cta.jpg') center / cover no-repeat;
    padding: 88px 84px;
}

.nsrv_partners::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.nsrv_partners_in {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    color: #fff;
}

.nsrv_partners h2 {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
}

.nsrv_partners p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
}

.nsrv_partners_btn {
    background: var(--nsrv-red);
    border-radius: 16px;
    padding: 16px 48px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.nsrv_newsletter {
    padding: 96px 0;
}

.nsrv_newsletter_in {
    width: min(1200px, 100% - 168px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 100px;
    align-items: center;
}

.nsrv_newsletter h2 {
    margin: 0 0 24px;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
}

.nsrv_newsletter_txt p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
}

.nsrv_newsletter_row {
    display: flex;
    align-items: stretch;
}

.nsrv_newsletter_row input {
    flex: 1;
    border: 1px solid var(--nsrv-border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 16px 24px;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    outline: none;
}

.nsrv_newsletter_row input::placeholder {
    color: var(--nsrv-gray-500);
}

.nsrv_newsletter_row button {
    border: none;
    border-radius: 0 8px 8px 0;
    background: var(--nsrv-red);
    padding: 16px 40px;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
}

.nsrv_newsletter_rodo {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
}

.nsrv_newsletter_rodo input {
    margin: 2px 0 0;
    accent-color: var(--nsrv-red);
    flex-shrink: 0;
}

.nsrv_newsletter_rodo a {
    color: inherit;
}

@media (max-width: 1380px) {
    .nsrv_about_in {
        grid-template-columns: 1fr 460px;
        gap: 80px;
    }

    .nsrv_newsletter_in {
        gap: 80px;
    }
}

@media (max-width: 1100px) {
    .nsrv_about_in,
    .nsrv_benefits_in,
    .nsrv_newsletter_in {
        width: calc(100% - 96px);
    }

    .nsrv_about {
        padding: 64px 0;
    }

    .nsrv_about_in {
        grid-template-columns: 1fr 400px;
        gap: 48px;
    }

    .nsrv_benefits_cols {
        gap: 32px;
    }

    .nsrv_newsletter_in {
        display: block;
    }

    .nsrv_newsletter_txt {
        margin-bottom: 32px;
    }
}

@media (max-width: 800px) {
    .nsrv_about_in,
    .nsrv_benefits_in,
    .nsrv_newsletter_in {
        width: calc(100% - 64px);
    }

    .nsrv_about {
        padding: 48px 0;
    }

    .nsrv_about_in {
        display: block;
    }

    .nsrv_about_img {
        display: none;
    }

    .nsrv_about_txt h1 {
        margin-bottom: 24px;
        font-size: 32px;
        line-height: 40px;
    }

    .nsrv_benefits {
        padding: 16px 0 64px;
    }

    .nsrv_benefits h2 {
        margin-bottom: 40px;
    }

    .nsrv_benefits_cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nsrv_benefits_note {
        margin-top: 40px;
    }

    .nsrv_partners {
        padding: 88px 32px;
    }

    .nsrv_newsletter {
        padding: 64px 0;
    }
}

@media (max-width: 600px) {
    .nsrv_about_in,
    .nsrv_benefits_in,
    .nsrv_newsletter_in {
        width: calc(100% - 32px);
    }

    .nsrv_about {
        padding: 32px 0;
    }

    .nsrv_about_txt h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .nsrv_benefits h2 {
        margin-bottom: 32px;
        font-size: 28px;
        line-height: 38px;
    }

    .nsrv_partners {
        padding: 64px 16px;
    }

    .nsrv_partners h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .nsrv_newsletter {
        padding: 48px 0;
    }

    .nsrv_newsletter h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .nsrv_newsletter_row input {
        padding: 12px 16px;
    }

    .nsrv_newsletter_row button {
        padding: 12px 24px;
    }
}
