/*
 * Bliska Psychologia — Strona O nas
 * Plik: generatepress_child/assets/bp-onas.css
 * Ładowany warunkowo: bp_is_about_page() w functions.php
 * Scope: .bp-onas-page (nie koliduje z GP ani pozostałymi stylami projektu)
 */

/* ─── Reset i kontener ──────────────────────────────────────────────────── */

.bp-onas-page {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: hidden;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #1B2E38;
    -webkit-font-smoothing: antialiased;
}

.bp-onas-page *,
.bp-onas-page *::before,
.bp-onas-page *::after {
    box-sizing: border-box;
}

.bp-onas-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.bp-onas-container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typografia bazowa ─────────────────────────────────────────────────── */

.bp-onas-page h1,
.bp-onas-page h2,
.bp-onas-page h3 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.bp-onas-page p { margin: 0 0 1em 0; }

.bp-onas-page a {
    color: #2A6070;
    text-decoration: none;
    transition: color 0.2s ease;
}
.bp-onas-page a:hover { color: #2A6070; }

.bp-onas-page a:focus-visible,
.bp-onas-page summary:focus-visible {
    outline: 3px solid rgba(106,175,188,0.75);
    outline-offset: 4px;
    border-radius: 6px;
}

/* ─── Sekcje ────────────────────────────────────────────────────────────── */

.bp-onas-section { padding: 64px 0; }

@media (max-width: 768px) {
    .bp-onas-section { padding: 48px 0; }
}

.bp-onas-section--navy    { background: #1B3A4B; color: #fff; }
.bp-onas-section--cream   { background: #F4F1EC; }
.bp-onas-section--white   { background: #FDFCFA; }
.bp-onas-section--teal-bg { background: #EBF4F6; }

.bp-onas-section--navy a       { color: #6AAFBC; }
.bp-onas-section--navy a:hover { color: #fff; }

/* ─── Wspólne elementy typografii sekcji ────────────────────────────────── */

.bp-onas-label {
    display: inline-block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #2A6070;
    margin-bottom: 12px;
}
.bp-onas-section--navy .bp-onas-label { color: #6AAFBC; }

.bp-onas-h2 {
    font-size: 30px;
    margin-bottom: 18px;
    color: #1B3A4B;
}
.bp-onas-section--navy .bp-onas-h2 { color: #fff; }

@media (max-width: 768px) {
    .bp-onas-h2 {
        font-size: 25px;
        line-height: 1.24;
        margin-bottom: 14px;
    }
}

.bp-onas-lead {
    font-size: 17px;
    line-height: 1.72;
    color: #4A5C66;
    max-width: 650px;
}
.bp-onas-section--navy .bp-onas-lead { color: rgba(255,255,255,0.78); }

.bp-onas-accent-line {
    width: 36px;
    height: 3px;
    background: #3D7E8F;
    border-radius: 2px;
    margin-bottom: 16px;
}

/* ─── Przyciski ─────────────────────────────────────────────────────────── */

.bp-onas-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
    line-height: 1.2;
}

.bp-onas-btn:focus-visible {
    outline: 3px solid rgba(106,175,188,0.8);
    outline-offset: 3px;
}

@media (max-width: 520px) {
    .bp-onas-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 18px;
        min-height: 46px;
    }
}

/* Primary — teal wypełniony */
.bp-onas-btn--primary,
.bp-onas-page a.bp-onas-btn--primary {
    background: #3D7E8F;
    border-color: #3D7E8F;
    color: #fff;
}
.bp-onas-btn--primary:hover,
.bp-onas-page a.bp-onas-btn--primary:hover {
    background: #2A6070;
    border-color: #2A6070;
    color: #fff;
}

/* Outline biały — na ciemnym tle */
.bp-onas-btn--outline-white,
.bp-onas-page a.bp-onas-btn--outline-white {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.bp-onas-btn--outline-white:hover,
.bp-onas-page a.bp-onas-btn--outline-white:hover {
    border-color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* Outline teal — na jasnym tle */
.bp-onas-btn--outline,
.bp-onas-page a.bp-onas-btn--outline {
    background: transparent;
    border-color: #2A6070;
    color: #2A6070;
}
.bp-onas-btn--outline:hover,
.bp-onas-page a.bp-onas-btn--outline:hover {
    background: #2A6070;
    color: #fff;
}

/* ─────────────────────────────────────────────────────────────────────────
   1. HERO
───────────────────────────────────────────────────────────────────────── */

.bp-onas-hero {
    padding: 62px 0 48px;
    text-align: center;
}

.bp-onas-hero h1 {
    font-size: 42px;
    color: #fff;
    max-width: 740px;
    margin: 0 auto 20px;
    line-height: 1.18;
}

.bp-onas-hero .bp-onas-lead {
    color: rgba(255,255,255,0.82);
    max-width: 580px;
    margin: 0 auto 28px;
    font-size: 17px;
}

.bp-onas-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.bp-onas-hero-microcopy {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.5;
}

/* Trust bar */
.bp-onas-hero-trust {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.bp-onas-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    font-size: 13.5px;
    color: rgba(255,255,255,0.86);
    font-weight: 500;
    letter-spacing: 0;
}

.bp-onas-hero-trust-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #6AAFBC;
    opacity: 1;
}

@media (max-width: 600px) {
    .bp-onas-hero {
        padding: 44px 0 38px;
    }

    .bp-onas-hero h1 {
        font-size: 30px;
        line-height: 1.13;
        margin-bottom: 16px;
    }

    .bp-onas-hero .bp-onas-lead {
        font-size: 16px;
        line-height: 1.62;
        margin-bottom: 22px;
    }

    .bp-onas-hero-ctas {
        gap: 10px;
        margin-bottom: 12px;
    }

    .bp-onas-hero-trust {
        justify-content: flex-start;
        gap: 8px;
        margin-top: 20px;
        padding-top: 18px;
    }

    .bp-onas-hero-trust-item {
        font-size: 12.5px;
        padding: 6px 9px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   2. MISJA / PROBLEM
───────────────────────────────────────────────────────────────────────── */

.bp-onas-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 28px;
}

@media (max-width: 768px) {
    .bp-onas-mission-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.bp-onas-mission-col {
    min-height: 100%;
    padding: 28px;
    border: 1px solid #E8E4DC;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(27,58,75,0.04);
}

@media (max-width: 768px) {
    .bp-onas-mission-col {
        padding: 22px;
    }
}

.bp-onas-mission-col h3 {
    font-size: 19px;
    color: #1B3A4B;
    margin-bottom: 12px;
}

.bp-onas-mission-col p {
    color: #4A5C66;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.bp-onas-mission-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.bp-onas-mission-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 9px;
    font-size: 16px;
    color: #4A5C66;
    line-height: 1.65;
}

.bp-onas-mission-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3D7E8F;
    opacity: 0.65;
}

/* ─────────────────────────────────────────────────────────────────────────
   3. JAK TO DZIAŁA — CZTERY KROKI
───────────────────────────────────────────────────────────────────────── */

.bp-onas-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .bp-onas-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .bp-onas-steps { grid-template-columns: 1fr; }
}

.bp-onas-step {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 24px 22px 22px;
    border: 1px solid #E8E4DC;
    box-shadow: 0 12px 30px rgba(27,58,75,0.045);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.bp-onas-step:hover {
    border-color: #3D7E8F;
    box-shadow: 0 16px 34px rgba(27,58,75,0.08);
    transform: translateY(-2px);
}

.bp-onas-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #F0F7F9;
    border: 1px solid #C8DDE5;
    color: #2A6070;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.bp-onas-step h3 {
    font-size: 17px;
    color: #1B3A4B;
    margin-bottom: 12px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
}

.bp-onas-step p {
    font-size: 15px;
    color: #4A5C66;
    margin: 0;
    line-height: 1.68;
}

/* Strzałka łącząca kroki na desktopie */
@media (min-width: 901px) {
    .bp-onas-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 41px;
        right: -12px;
        width: 8px;
        height: 8px;
        border-top: 1.5px solid #3D7E8F;
        border-right: 1.5px solid #3D7E8F;
        transform: rotate(45deg);
        opacity: 0.28;
    }
}

.bp-onas-steps-note {
    margin-top: 32px;
    font-size: 15px;
    color: #4A5C66;
    max-width: 540px;
    line-height: 1.68;
}

.bp-onas-text-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #2A6070;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.bp-onas-text-link:hover { color: #2A6070; }

/* ─────────────────────────────────────────────────────────────────────────
   4. KTO ZA TYM STOI — FOUNDER
───────────────────────────────────────────────────────────────────────── */

.bp-onas-founder-grid {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 44px;
    align-items: start;
    margin-top: 34px;
}

@media (max-width: 768px) {
    .bp-onas-founder-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
}

.bp-onas-founder-photo {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    background: #F4F1EC;
    display: block;
    box-shadow: 0 18px 40px rgba(27,58,75,0.12);
}

.bp-onas-founder-media {
    position: relative;
    margin: 0;
    padding: 10px;
    border: 1px solid #E8E4DC;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #F8F4EE 100%);
}

.bp-onas-founder-media::after {
    content: '';
    position: absolute;
    inset: auto 24px -8px 24px;
    height: 8px;
    border-radius: 999px;
    background: rgba(61,126,143,0.14);
}

@media (max-width: 768px) {
    .bp-onas-founder-media {
        max-width: 220px;
        margin: 0 auto;
    }

    .bp-onas-founder-photo {
        margin: 0 auto;
        max-width: 200px;
    }
}

.bp-onas-founder-name {
    font-size: 26px;
    color: #1B3A4B;
    margin-bottom: 6px;
}

.bp-onas-founder-title-text {
    font-size: 15px;
    color: #2A6070;
    font-weight: 600;
    margin-bottom: 6px;
}

.bp-onas-founder-license {
    font-size: 13px;
    color: #7A8B95;
    margin-bottom: 20px;
}

/* Chipy kompetencji — lekki styl */
.bp-onas-founder-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

@media (max-width: 768px) {
    .bp-onas-founder-meta { justify-content: center; }
}

.bp-onas-founder-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    border-radius: 6px;
    background: #F0F7F9;
    border: 1px solid #C8DDE5;
    color: #3D5560;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.bp-onas-founder-chip strong {
    font-weight: 600;
    color: #1B3A4B;
}

.bp-onas-founder-bio {
    margin-bottom: 0;
}

.bp-onas-founder-bio p {
    color: #4A5C66;
    font-size: 16px;
    line-height: 1.78;
    margin-bottom: 16px;
}

.bp-onas-founder-quote {
    margin: 28px 0 0;
    padding: 22px 24px 22px 28px;
    background: #F0F7F9;
    border-radius: 8px;
    border: 1px solid #C8DDE5;
    border-left: 4px solid #3D7E8F;
    font-style: italic;
    color: #1B3A4B;
    font-size: 15px;
    line-height: 1.72;
}

.bp-onas-founder-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.bp-onas-founder-link {
    color: #2A6070;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 768px) {
    .bp-onas-founder-actions {
        justify-content: center;
        gap: 12px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   5. JAK DBAMY O RZETELNOŚĆ
───────────────────────────────────────────────────────────────────────── */

.bp-onas-expertise-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 36px;
}

@media (max-width: 600px) {
    .bp-onas-expertise-points { grid-template-columns: 1fr; }
}

.bp-onas-expertise-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    min-height: 100%;
    padding: 20px;
    border: 1px solid rgba(61,126,143,0.14);
    border-radius: 8px;
    background: rgba(255,255,255,0.55);
}

.bp-onas-expertise-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #C8E6EE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-onas-expertise-icon svg {
    width: 18px;
    height: 18px;
    color: #2A6070;
}

.bp-onas-expertise-text h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1B3A4B;
    margin-bottom: 8px;
}

.bp-onas-expertise-text p {
    font-size: 15px;
    color: #4A5C66;
    margin: 0;
    line-height: 1.68;
}

/* ─────────────────────────────────────────────────────────────────────────
   6. JAK PRACUJEMY
───────────────────────────────────────────────────────────────────────── */

.bp-onas-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.bp-onas-value-card {
    min-height: 100%;
    padding: 24px 22px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.055);
    transition: background 0.22s ease, border-color 0.22s ease;
}

.bp-onas-value-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(143,207,219,0.34);
}

.bp-onas-value-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(143,207,219,0.12);
    color: #8FCFDB;
}

.bp-onas-value-icon svg {
    width: 21px;
    height: 21px;
}

.bp-onas-value-card h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.bp-onas-value-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    margin: 0;
    line-height: 1.68;
}

/* ─────────────────────────────────────────────────────────────────────────
   7. FAQ
───────────────────────────────────────────────────────────────────────── */

.bp-onas-faq-list {
    margin-top: 36px;
    border-top: 1px solid #E8E4DC;
}

.bp-onas-faq-item {
    border-bottom: 1px solid #E8E4DC;
}

.bp-onas-faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 20px 4px;
    cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1B3A4B;
    line-height: 1.45;
    user-select: none;
    outline: none;
    transition: color 0.18s ease;
}

.bp-onas-faq-item summary::-webkit-details-marker { display: none; }
.bp-onas-faq-item summary:hover { color: #3D7E8F; }

.bp-onas-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #EBF4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
}

.bp-onas-faq-item[open] .bp-onas-faq-icon {
    background: #3D7E8F;
}

.bp-onas-faq-icon svg {
    width: 14px;
    height: 14px;
    color: #3D7E8F;
    transition: transform 0.22s ease, color 0.18s ease;
}

.bp-onas-faq-item[open] .bp-onas-faq-icon svg {
    transform: rotate(45deg);
    color: #fff;
}

.bp-onas-faq-body {
    padding: 4px 40px 24px 4px;
    font-size: 16px;
    color: #3D5560;
    line-height: 1.72;
    max-width: 700px;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   8. FINAL CTA
───────────────────────────────────────────────────────────────────────── */

.bp-onas-cta-section {
    text-align: center;
    padding: 58px 0 62px;
}

.bp-onas-cta-section .bp-onas-h2 {
    max-width: 520px;
    margin: 0 auto 16px;
}

.bp-onas-cta-section .bp-onas-lead {
    margin: 0 auto 32px;
    text-align: center;
}

.bp-onas-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.bp-onas-cta-microcopy {
    margin-top: 16px;
    font-size: 13px;
    color: #4A5C66;
    line-height: 1.6;
}

@media (max-width: 520px) {
    .bp-onas-section {
        padding: 40px 0;
    }

    .bp-onas-container,
    .bp-onas-container--narrow {
        padding: 0 18px;
    }

    .bp-onas-steps {
        gap: 12px;
        margin-top: 24px;
    }

    .bp-onas-step {
        padding: 20px 18px;
    }

    .bp-onas-steps-note {
        margin-top: 22px;
    }

    .bp-onas-expertise-point {
        padding: 18px;
    }

    .bp-onas-value-card {
        padding: 22px 18px;
    }

    .bp-onas-faq-body {
        padding-right: 4px;
        font-size: 15px;
    }

    .bp-onas-cta-section {
        padding: 44px 0 48px;
    }
}
