/* ============================================================ KRUELIA — NOWY SYSTEM PODSTRON (np-*) Wczytywane WYŁĄCZNIE na nowych podstronach (patrz functions.php, kruelia_np_enqueue_assets). Nie ma wpływu na stronę główną (SPA), która nadal korzysta wyłącznie z style.css + assets/js/app.js. Paleta: biel + granat + subtelny błękit (bez gradientów). Typografia: Poppins wszędzie (nagłówki i UI). ============================================================ */
:root {
    --np-white: #FFFFFF;
    --np-navy: #13233A;
    --np-darknavy: #0B1728;
    --np-blue: #9FC9E5;
    --np-lightblue: #F2F7FA;
    --np-gray: #E7ECF1;
    --np-navy-70: rgba(19, 35, 58, 0.7);
    --np-navy-50: rgba(19, 35, 58, 0.5);
    --np-navy-30: rgba(19, 35, 58, 0.3);
    --np-navy-15: rgba(19, 35, 58, 0.15);
    --np-serif: 'Poppins', system-ui, -apple-system, sans-serif;
    --np-sans: 'Poppins', system-ui, -apple-system, sans-serif;
    --np-max: 1240px;
}

/* ---------------- reset / base ---------------- */
.np {
    background: var(--np-white);
    color: var(--np-navy);
}

.np * {
    box-sizing: border-box;
}

.np img {
    max-width: 100%;
    display: block;
}

.np h1,
.np h2,
.np h3,
.np h4 {
    font-family: var(--np-serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--np-navy);
}

.np p {
    font-family: var(--np-sans);
    line-height: 1.75;
    color: var(--np-navy-70);
    margin: 0;
    font-weight: 300;
}

.np a {
    color: inherit;
}

.np button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

.np ul,
.np ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.np-shell {
    padding-top: 96px;
}

.np-container {
    max-width: var(--np-max);
    margin: 0 auto;
    padding: 0 28px;
}

@media (max-width:640px) {
    .np-container {
        padding: 0 20px;
    }
}

/* ---------------- eyebrow / kicker ---------------- */
.np-eyebrow {
    font-family: var(--np-sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--np-navy-50);
    line-height: 1.8;
}

.np-eyebrow strong {
    color: var(--np-blue);
    font-weight: 600;
}

/* ---------------- hero ---------------- */
.np-hero {
    padding: 64px 0 96px 0;
    border-bottom: 1px solid var(--np-gray);
    position: relative;
    overflow: hidden;
}

.np-hero__ticket-field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    color: var(--np-navy);
    pointer-events: none;
    z-index: 0;
}

.np-hero__grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 64px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.np-hero__title {
    font-size: clamp(38px, 6vw, 84px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.015em;
    max-width: 16ch;
}

.np-hero__lead {
    font-size: clamp(15px, 1.6vw, 18px);
    max-width: 46ch;
    margin-top: 28px;
    font-weight: 300;
}

.np-hero__side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.np-hero__note {
    font-family: var(--np-sans);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--np-navy-70);
    border-left: 2px solid var(--np-blue);
    padding: 4px 0 4px 20px;
}

@media (max-width:900px) {
    .np-hero {
        padding: 48px 0 64px 0;
    }

    .np-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---------------- reveal-on-scroll ---------------- */
.np-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.np-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------- numbered sections ---------------- */
.np-section {
    padding: 88px 0;
    border-bottom: 1px solid var(--np-gray);
}

.np-section--tight {
    padding: 64px 0;
}

.np-section--tinted {
    background: var(--np-lightblue);
}

.np-section__grid {
    display: grid;
    grid-template-columns: 1fr 10fr;
    gap: 40px;
    align-items: start;
}

.np-section__num {
    font-family: var(--np-serif);
    font-size: 15px;
    color: var(--np-blue);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-top: 6px;
}

.np-section__label {
    font-family: var(--np-sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--np-navy-50);
    margin-bottom: 18px;
}

.np-section__title {
    font-size: clamp(26px, 3.4vw, 42px);
    max-width: 22ch;
    line-height: 1.2;
}

.np-section__body {
    max-width: 62ch;
    margin-top: 20px;
    font-size: 16px;
}

@media (max-width:760px) {
    .np-section {
        padding: 56px 0;
    }

    .np-section__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ---------------- big statement ---------------- */
.np-statement {
    font-size: clamp(28px, 4.6vw, 58px);
    line-height: 1.28;
    max-width: 22ch;
    font-weight: 400;
}

.np-statement em {
    font-style: italic;
    color: var(--np-blue);
}

/* ---------------- thin divider ---------------- */
.np-line {
    height: 1px;
    background: var(--np-gray);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.np-line__fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--np-navy);
    transition: width 1s cubic-bezier(.2, .7, .2, 1);
}

.np-line.is-visible .np-line__fill {
    width: 100%;
}

/* ---------------- editorial index list (O NAS style) ---------------- */
.np-index {}

.np-index__row {
    display: flex;
    align-items: baseline;
    gap: 28px;
    padding: 30px 0;
    border-top: 1px solid var(--np-gray);
    transition: padding-left .35s cubic-bezier(.2, .7, .2, 1);
}

.np-index:last-child .np-index__row:last-child,
.np-index__row:last-child {
    border-bottom: 1px solid var(--np-gray);
}

.np-index__row:hover {
    padding-left: 14px;
}

.np-index__num {
    font-family: var(--np-serif);
    font-size: 14px;
    color: var(--np-navy-30);
    flex-shrink: 0;
    width: 32px;
}

.np-index__title {
    font-size: clamp(19px, 2.4vw, 26px);
    flex: 1;
}

.np-index__note {
    font-family: var(--np-sans);
    font-size: 14px;
    color: var(--np-navy-50);
    max-width: 34ch;
    font-weight: 300;
}

@media (max-width:760px) {
    .np-index__row {
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .np-index__note {
        order: 3;
        width: 100%;
        max-width: none;
    }
}

/* ---------------- numbered value list (MISJA) ---------------- */
.np-values {}

.np-values__item {
    display: grid;
    grid-template-columns: 1fr 10fr;
    gap: 40px;
    padding: 38px 0;
    border-top: 1px solid var(--np-gray);
}

.np-values__item:last-child {
    border-bottom: 1px solid var(--np-gray);
}

.np-values__num {
    font-family: var(--np-serif);
    font-size: 34px;
    color: var(--np-blue);
    font-weight: 400;
}

.np-values__title {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--np-sans);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: var(--np-navy);
}

.np-values__body {
    max-width: 56ch;
}

@media (max-width:760px) {
    .np-values__item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ---------------- scale / slider (ZASADY WSPARCIA) ---------------- */
.np-scale {
    padding: 48px 0 20px 0;
}

.np-scale__value {
    font-family: var(--np-serif);
    font-size: clamp(64px, 13vw, 168px);
    line-height: 1;
    color: var(--np-navy);
    font-weight: 400;
    text-align: center;
}

.np-scale__desc {
    font-family: var(--np-serif);
    font-style: italic;
    font-size: clamp(18px, 2.4vw, 26px);
    text-align: center;
    color: var(--np-navy-70);
    margin-top: 22px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-scale__track-wrap {
    max-width: 560px;
    margin: 44px auto 0 auto;
}

.np-scale input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 1px;
    background: var(--np-navy);
    outline: none;
    cursor: pointer;
    margin: 0;
}

.np-scale input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--np-navy);
    border: 3px solid var(--np-white);
    box-shadow: 0 0 0 1px var(--np-navy);
    cursor: pointer;
}

.np-scale input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--np-navy);
    border: 3px solid var(--np-white);
    box-shadow: 0 0 0 1px var(--np-navy);
    cursor: pointer;
}

.np-scale__labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--np-sans);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--np-navy-50);
    margin-top: 12px;
}

.np-scale__caption {
    font-family: var(--np-sans);
    font-size: 12.5px;
    color: var(--np-navy-50);
    text-align: center;
    max-width: 44ch;
    margin: 36px auto 0 auto;
    line-height: 1.6;
}

/* ---------------- accordion ---------------- */
.np-accordion {
    border-top: 1px solid var(--np-navy-15);
}

.np-accordion__item {
    border-bottom: 1px solid var(--np-navy-15);
}

.np-accordion__head {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 26px 0;
    text-align: left;
}

.np-accordion__head-left {
    display: flex;
    align-items: baseline;
    gap: 22px;
}

.np-accordion__num {
    font-family: var(--np-sans);
    font-size: 12px;
    color: var(--np-blue);
    flex-shrink: 0;
}

.np-accordion__q {
    font-family: var(--np-serif);
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 400;
}

.np-accordion__icon {
    font-family: var(--np-sans);
    font-size: 20px;
    font-weight: 300;
    color: var(--np-navy-50);
    flex-shrink: 0;
    transition: transform .3s ease;
}

.np-accordion__item.is-open .np-accordion__icon {
    transform: rotate(45deg);
}

.np-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.2, .7, .2, 1);
}

.np-accordion__panel-inner {
    padding: 0 0 28px 0;
    max-width: 60ch;
}

.np-accordion__panel-inner p {
    font-size: 15px;
}

/* ---------------- functional tile grid (SPECJALIŚCI) ---------------- */
.np-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--np-gray);
    border: 1px solid var(--np-gray);
}

.np-tile {
    background: var(--np-white);
    padding: 36px;
}

.np-tile__num {
    font-family: var(--np-serif);
    font-size: 22px;
    color: var(--np-navy-30);
    display: block;
    margin-bottom: 14px;
}

.np-tile__title {
    font-family: var(--np-sans);
    font-weight: 700;
    font-size: 15px;
    color: var(--np-navy);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.np-tile__body {
    font-size: 14.5px;
}

@media (max-width:760px) {
    .np-tiles {
        grid-template-columns: 1fr;
    }
}

/* ---------------- step process (WOLONTARIUSZE) ---------------- */
.np-steps {
    position: relative;
    padding-left: 64px;
}

.np-steps__line {
    position: absolute;
    left: 24px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--np-gray);
}

.np-steps__item {
    position: relative;
    padding-bottom: 52px;
}

.np-steps__item:last-child {
    padding-bottom: 0;
}

.np-steps__dot {
    position: absolute;
    left: -64px;
    top: 2px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--np-navy-15);
    background: var(--np-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--np-sans);
    font-size: 12px;
    color: var(--np-navy-50);
}

.np-steps__title {
    font-size: 22px;
    margin-bottom: 8px;
}

.np-steps__body {
    max-width: 56ch;
}

@media (max-width:640px) {
    .np-steps {
        padding-left: 48px;
    }

    .np-steps__line {
        left: 16px;
    }

    .np-steps__dot {
        left: -48px;
        width: 36px;
        height: 36px;
        font-size: 11px;
    }
}

/* ---------------- fundraiser progress (MIĘDZYSTACJA) ---------------- */
.np-progress-block {}

.np-progress-block__numbers {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.np-progress-block__raised {
    font-family: var(--np-serif);
    font-size: clamp(28px, 4vw, 40px);
    color: var(--np-navy);
}

.np-progress-block__raised span {
    font-size: 15px;
    color: var(--np-navy-50);
    font-family: var(--np-sans);
    margin-left: 6px;
}

.np-progress-block__pct {
    font-family: var(--np-sans);
    font-size: 13px;
    color: var(--np-navy-50);
}

.np-progress-block__track {
    height: 6px;
    background: var(--np-gray);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.np-progress-block__fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--np-navy);
}

.np-progress-block__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-family: var(--np-sans);
    font-size: 13px;
    color: var(--np-navy-50);
}

/* ---------------- document system (DOKUMENTY) ---------------- */
.np-docs__group {
    margin-bottom: 8px;
}

.np-docs__group-title {
    font-family: var(--np-sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--np-navy-50);
    padding: 22px 0 10px 0;
}

.np-doc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--np-gray);
}

.np-docs__group:last-child .np-doc:last-child {
    border-bottom: 1px solid var(--np-gray);
}

.np-doc__name {
    font-family: var(--np-serif);
    font-size: 18px;
}

.np-doc__status {
    font-family: var(--np-sans);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--np-navy-50);
    flex-shrink: 0;
}

.np-doc__status--ready {
    color: var(--np-navy);
}

.np-doc__status--ready::after {
    content: "→";
    margin-left: 6px;
}

/* ---------------- quote block ---------------- */
.np-quote {
    background: var(--np-navy);
    color: var(--np-white);
    padding: 80px 28px;
    text-align: center;
}

.np-quote__inner {
    max-width: 30ch;
    margin: 0 auto;
}

.np-quote p {
    font-family: var(--np-serif);
    font-style: italic;
    color: var(--np-white);
    font-size: clamp(22px, 3.2vw, 34px);
    line-height: 1.5;
    font-weight: 400;
}

/* ---------------- CTA row ---------------- */
.np-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.np-btn {
    display: inline-block;
    font-family: var(--np-sans);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 30px;
    border: 1px solid var(--np-navy);
    transition: background .3s ease, color .3s ease;
}

.np-btn--solid {
    background: var(--np-navy);
    color: var(--np-white);
}

.np-btn--solid:hover {
    background: transparent;
    color: var(--np-navy);
}

.np-btn--outline {
    color: var(--np-navy);
}

.np-btn--outline:hover {
    background: var(--np-navy);
    color: var(--np-white);
}

/* ---------------- crisis numbers block (DLA OSÓB W KRYZYSIE) ---------------- */
.np-urgent {
    background: var(--np-lightblue);
    border-left: 2px solid var(--np-navy);
    padding: 32px 34px;
    margin-bottom: 12px;
}

.np-urgent h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.np-urgent__numbers li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid rgba(19, 35, 58, 0.1);
    font-family: var(--np-sans);
    font-size: 14.5px;
}

.np-urgent__numbers li:last-child {
    padding-bottom: 0;
}

.np-urgent__numbers strong {
    font-family: var(--np-serif);
    font-size: 17px;
    min-width: 96px;
}

/* ---------------- form ---------------- */
.np-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
}

.np-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-family: var(--np-sans);
    font-size: 12.5px;
    color: var(--np-navy-50);
}

.np-form input,
.np-form select,
.np-form textarea {
    border: 1px solid var(--np-gray);
    padding: 13px 14px;
    font-family: var(--np-sans);
    font-size: 14.5px;
    color: var(--np-navy);
    background: var(--np-white);
}

.np-form input:focus,
.np-form select:focus,
.np-form textarea:focus {
    outline: none;
    border-color: var(--np-navy);
}

.np-form__consent {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px !important;
}

.np-form__consent input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.np-form__sent {
    font-family: var(--np-sans);
    font-size: 15px;
    color: var(--np-navy);
}

/* ---------------- footer (ported to PHP, reuses existing footer classes from style.css) ---------------- */
.np+.footer {
    margin-top: 0;
}