
/* Raleway wczytuje juz motyw - powtorny import bylby zbednym zapytaniem. */

/* ── reset / scope ─────────────────────────────────── */
.jb-ndf * { box-sizing: border-box; }
.jb-ndf { font-family: 'Raleway', sans-serif; color: #1d2327; line-height: 2; }

/* ── kolory ─────────────────────────────────────────── */
.jb-ndf {
    --jb-navy:   #0e234f;
    --jb-gold:   #6c77f4;
    --jb-light:  #f4f6f9;
    --jb-border: #dde3ed;
}

/* ── HERO ────────────────────────────────────────────── */
.jb-ndf .jb-hero {
    background: var(--jb-navy);
    color: #fff;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.jb-ndf .jb-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(14,35,79,.92) 40%, rgba(14,35,79,.70));
    z-index: 0;
}
.jb-ndf .jb-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.jb-ndf .jb-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 72px;
    font-weight: 600;
    margin: 0 0 18px;
    letter-spacing: -.5px;
    text-transform: none;
}
.jb-ndf .jb-hero p {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 2;
    opacity: .88;
    margin: 0 0 32px;
}
.jb-ndf .jb-btn {
    display: inline-block;
    padding: 14px 34px;
    background: var(--jb-gold);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: .5px;
    text-transform: uppercase;
    border: 2px solid var(--jb-gold);
    transition: background .2s, color .2s;
}
.jb-ndf .jb-btn:hover {
    background: transparent;
    color: var(--jb-gold);
}
.jb-ndf .jb-btn--outline {
    background: transparent;
    color: var(--jb-navy);
    border-color: var(--jb-navy);
}
.jb-ndf .jb-btn--outline:hover {
    background: var(--jb-navy);
    color: #fff;
}

/* ── SECTION wrapper ────────────────────────────────── */
.jb-ndf .jb-section {
    padding: 64px 24px;
}
.jb-ndf .jb-section--alt {
    background: var(--jb-light);
}
.jb-ndf .jb-section--dark {
    background: var(--jb-navy);
    color: #fff;
}
.jb-ndf .jb-container {
    max-width: 1080px;
    margin: 0 auto;
}
.jb-ndf .jb-section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--jb-navy);
    text-align: center;
    margin: 0 0 10px;
    text-transform: none;
    letter-spacing: .5px;
}
.jb-ndf .jb-section--dark .jb-section-title { color: #fff; }
.jb-ndf .jb-section-subtitle {
    font-family: 'Raleway', sans-serif;
    text-align: center;
    color: #666;
    font-size: 15px;
    line-height: 2;
    margin: 0 0 44px;
}
.jb-ndf .jb-section--dark .jb-section-subtitle { color: rgba(255,255,255,.7); }
.jb-ndf .jb-title-bar {
    width: 52px; height: 4px;
    background: var(--jb-gold);
    margin: 10px auto 14px;
}

/* ── KARTY 3-kolumnowe ───────────────────────────────── */
.jb-ndf .jb-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.jb-ndf .jb-card {
    background: #fff;
    border: 1px solid var(--jb-border);
    padding: 36px 28px 32px;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
}
.jb-ndf .jb-section--alt .jb-card { background: #fff; }
.jb-ndf .jb-card:hover {
    box-shadow: 0 8px 28px rgba(14,35,79,.13);
    transform: translateY(-4px);
}
.jb-ndf .jb-card-icon {
    width: 64px; height: 64px;
    background: var(--jb-navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.jb-ndf .jb-card-icon svg { width: 30px; height: 30px; fill: #fff; }
.jb-ndf .jb-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 17px; font-weight: 700;
    color: var(--jb-navy);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.jb-ndf .jb-card p {
    font-family: 'Raleway', sans-serif;
    font-size: 14px; color: #555;
    line-height: 2;
    margin: 0;
}

/* ── CONCIERGE ───────────────────────────────────────── */
.jb-ndf .jb-section--concierge .jb-card-icon {
    background: var(--jb-gold);
}
.jb-ndf .jb-section--concierge .jb-card:hover .jb-card-icon {
    background: var(--jb-navy);
    transition: background .2s;
}
.jb-ndf .jb-concierge-note {
    max-width: 760px;
    margin: 40px auto 0;
    text-align: center;
    background: rgba(108,119,244,.08);
    border: 1px dashed var(--jb-gold);
    padding: 22px 28px;
    font-size: 14px;
    line-height: 2;
    color: #444;
}
.jb-ndf .jb-concierge-note strong { color: var(--jb-navy); }

/* ── DWIE KOLUMNY (korzyści) ─────────────────────────── */
.jb-ndf .jb-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 720px) {
    .jb-ndf .jb-two-col { grid-template-columns: 1fr; gap: 32px; }
}
.jb-ndf .jb-two-col img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.jb-ndf .jb-two-col .jb-img-placeholder {
    width: 100%; height: 380px;
    background: var(--jb-navy);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.3);
    font-size: 13px;
}

/* ── LISTA KORZYŚCI ──────────────────────────────────── */
.jb-ndf .jb-benefits {
    list-style: none;
    margin: 0; padding: 0;
}
.jb-ndf .jb-benefits li {
    font-family: 'Raleway', sans-serif;
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--jb-border);
    font-size: 15px;
    line-height: 2;
    color: #333;
}
.jb-ndf .jb-benefits li:last-child { border-bottom: none; }
.jb-ndf .jb-benefits li::before {
    content: '✓';
    width: 22px; height: 22px;
    background: var(--jb-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── KROKI (jak wygląda współpraca) ──────────────────── */
.jb-ndf .jb-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.jb-ndf .jb-step {
    text-align: center;
    padding: 28px 20px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    position: relative;
}
.jb-ndf .jb-step-num {
    font-size: 42px; font-weight: 800;
    color: var(--jb-gold);
    line-height: 1;
    margin-bottom: 12px;
}
.jb-ndf .jb-step h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 15px; font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    text-transform: uppercase;
}
.jb-ndf .jb-step p {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    line-height: 2;
    color: rgba(255,255,255,.7);
    margin: 0;
}

/* ── TESTIMONIALE ─────────────────────────────────────── */
.jb-ndf .jb-testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}
.jb-ndf .jb-testi {
    font-family: 'Raleway', sans-serif;
    background: #fff;
    border-left: 4px solid var(--jb-gold);
    padding: 24px 22px;
    font-size: 14px;
    color: #444;
    line-height: 2;
}
.jb-ndf .jb-testi-author {
    display: flex; align-items: center; gap: 10px;
    margin-top: 16px;
}
.jb-ndf .jb-testi-author strong { font-size: 13px; color: var(--jb-navy); display: block; }
.jb-ndf .jb-testi-author span   { font-size: 12px; color: #888; }
.jb-ndf .jb-testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--jb-navy);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 14px;
    flex-shrink: 0;
}

/* ── CTA ─────────────────────────────────────────────── */
.jb-ndf .jb-cta {
    background: var(--jb-gold);
    color: #fff;
    text-align: center;
    padding: 60px 24px;
}
.jb-ndf .jb-cta h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 48px;
    font-weight: 600;
    margin: 0 0 12px;
    text-transform: none;
}
.jb-ndf .jb-cta p  { font-family: 'Raleway', sans-serif; line-height: 2; margin: 0 0 28px; font-size: 16px; opacity: .9; }
.jb-ndf .jb-cta .jb-btn {
    background: var(--jb-navy);
    border-color: var(--jb-navy);
    color: #fff;
}
.jb-ndf .jb-cta .jb-btn:hover {
    background: #fff;
    color: var(--jb-navy);
    border-color: #fff;
}

/* ── PASEK ZDJĘĆ ────────────────────────────────────── */
.jb-ndf .jb-photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 300px;
    overflow: hidden;
    gap: 3px;
}
.jb-ndf .jb-photo-strip img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.jb-ndf .jb-photo-strip img:hover { transform: scale(1.04); }

/* ── responsive fixes ────────────────────────────────── */
@media (max-width: 900px) {
    .jb-ndf .jb-hero h1 { font-size: clamp(32px, 8vw, 72px); }
    .jb-ndf .jb-section-title { font-size: clamp(22px, 5vw, 48px); }
    .jb-ndf .jb-cta h2 { font-size: clamp(22px, 5vw, 48px); }
}
@media (max-width: 600px) {
    .jb-ndf .jb-hero  { padding: 52px 20px; }
    .jb-ndf .jb-section { padding: 44px 16px; }
    .jb-ndf .jb-steps { grid-template-columns: 1fr 1fr; }
    .jb-ndf .jb-photo-strip { grid-template-columns: 1fr; height: auto; }
    .jb-ndf .jb-photo-strip img { height: 220px; }
}

/* ── zgodnosc z motywem ────────────────────────────────
   Blok liczyl na to, ze naglowki dziedzicza kolor po sekcji. Nasz motyw nadaje
   naglowkom wlasny kolor, wiec na ciemnym tle tytul bylby granatem na granacie. */
.jb-ndf .jb-hero h1,
.jb-ndf .jb-hero p,
.jb-ndf .jb-cta h2,
.jb-ndf .jb-cta p { color: #fff; }
.jb-ndf .jb-card h3,
.jb-ndf .jb-section-title { color: var(--jb-navy); }
