/* ============================================================
   INSIGHT — styl publiczny (Marymoncka)
   ============================================================ */

/* ── Zmienne ─────────────────────────────────────────────── */
:root {
    --clr-primary:      #6B8F71;
    --clr-primary-dk:   #527358;
    --clr-primary-lt:   #eef4ef;
    --clr-footer-bg:    #2c3628;
    --clr-accent:       #C4956A;
    --clr-accent-dk:    #a87a52;
    --clr-text:         #3f3f3f;
    --clr-text-light:   #6b6b6b;
    --clr-surface:      #ffffff;
    --clr-surface-t:    rgba(255,255,255,0.96);
    --clr-bg:           #f7f5f0;
    --clr-border:       rgba(0,0,0,0.08);
    --clr-shadow:       rgba(0,0,0,0.10);

    --font:    'Poppins', sans-serif;
    --radius:  12px;
    --radius-lg: 20px;
    --container: 1160px;
    --nav-h:   90px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Body & background ───────────────────────────────────── */
body {
    font-family: var(--font);
    font-stretch: semi-expanded;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    color: var(--clr-text);
    background-color: #d6d0c4;
    background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.20)), var(--bg-image, none);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

-webkit-user-select: none;

.nonselectable {
    -webkit-user-select: none;
    -moz-user-select:    none;
    -ms-user-select:     none;
    user-select:         none;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--clr-text);
}
h1 { font-size: clamp(2rem,   5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw,  1.4rem); }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--clr-primary); text-decoration: none; }
a:hover { color: var(--clr-primary-dk); }

img { max-width: 100%; height: auto; display: block; }

/* ── Container ───────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .18s, color .18s, border-color .18s, transform .12s;
    text-decoration: none;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}
.btn-primary:hover {
    background: var(--clr-primary-dk);
    border-color: var(--clr-primary-dk);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}
.btn-outline:hover {
    background: var(--clr-primary);
    color: #fff;
}

.btn-accent {
    background: var(--clr-accent);
    color: #fff;
    border-color: var(--clr-accent);
}
.btn-accent:hover {
    background: var(--clr-accent-dk);
    border-color: var(--clr-accent-dk);
    color: #fff;
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* ── Navigation ──────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: var(--clr-surface-t);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled {
    border-bottom-color: var(--clr-border);
    box-shadow: 0 2px 16px var(--clr-shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 24px;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img {
    width: 45%;
    height: auto;
    display: block;
}
.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--clr-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--clr-text);
    text-decoration: none;
    transition: color .15s, background .15s;
}
.nav-link:hover { background: var(--clr-primary-lt); color: var(--clr-primary); }
.nav-link.active { color: var(--clr-primary); font-weight: 600; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    padding: 6px;
    background: none; border: none; cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

/* ── Sections ────────────────────────────────────────────── */
.page-content { padding-top: var(--nav-h); }

.section {
    padding: 16px 0;
    background: transparent;
}
/* Backwards-compat — stare klasy teraz przezroczyste */
.section-white,
.section-tinted { background: transparent; backdrop-filter: none; }

/* Box wewnątrz sekcji */
.section-inner {
    background: rgba(255,255,255,0.90);
    border-radius: 20px;
    padding: 56px 48px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
    font-size: 17px;
    color: var(--clr-text-light);
    max-width: 600px;
    margin: 0 auto;
}
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 10px;
}

/* ── Page header (podstrony) ─────────────────────────────── */
.page-header {
    padding: 16px 0;
    background: transparent;
    border-bottom: none;
}
.page-header .section-inner {
    padding: 36px 48px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 16px 0;
    background: transparent;
}
.hero .container { width: 100%; }
.hero .section-inner {
    width: 100%;
    padding: calc(var(--nav-h) + 48px) 48px 56px;
}
.hero-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 48px;
}
.hero-content {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-visual {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-icon {
    width: 280px;
    height: auto;
    opacity: 0.85;
    display: block;
}
.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 16px;
}
.hero h1 { margin-bottom: 20px; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.hero-lead {
    font-size: 18px;
    color: var(--clr-text-light);
    margin-bottom: 36px;
    line-height: 1.7;
}

/* Hero USP list */
.hero-usps {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-usps li {
    font-size: 16px;
    color: var(--clr-text);
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.hero-usps li::before {
    content: '֍';
    color: var(--clr-primary);
    font-size: 15px;
    flex-shrink: 0;
}

/* CTA block (reusable) */
.cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 28px;
}
.cta-block.centered {
    align-items: center;
    text-align: center;
}
.cta-btn-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.cta-btn-label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}
.cta-btn-subtitle {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: .02em;
}
.cta-paragraph {
    font-size: 14px;
    color: var(--clr-text-light);
    line-height: 1.65;
    max-width: 480px;
    margin: 0;
}

.hero-secondary-action { margin-top: 4px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Kim jesteśmy ───────────────────────────────────────── */
.kim-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 56px;
    align-items: center;
}
.kim-layout-noimg {
    grid-template-columns: 1fr;
    max-width: 780px;
    margin: 0 auto;
}
.kim-image-wrap {
    flex-shrink: 0;
}
.kim-image {
    width: 100%;
    max-width: 380px;
    max-height: 380px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px var(--clr-shadow);
    display: block;
}
@media (max-width: 860px) {
    .kim-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .kim-image {
        max-width: 100%;
        max-height: 280px;
    }
}

/* ── Rich text grid ─────────────────────────────────────── */
.rich-text-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.rich-text-grid > * {
    background: var(--clr-surface);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: 0 2px 12px var(--clr-shadow);
}

/* ── Rich text (TinyMCE output) ─────────────────────────── */
.rich-text { line-height: 1.75; }
.rich-text h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; }
.rich-text h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.rich-text p  { margin-bottom: 1em; }
.rich-text ul, .rich-text ol { padding-left: 1.5em; margin-bottom: 1em; }
.rich-text li { margin-bottom: .4em; }
.rich-text blockquote {
    border-left: 3px solid var(--clr-primary);
    padding: 8px 0 8px 20px;
    margin: 1.2em 0;
    color: var(--clr-text-light);
    font-style: italic;
}
.rich-text strong { font-weight: 600; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 20px var(--clr-shadow);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.13); }

.problem h3 {
    font-size: 15px;
}

.problem p {
    font-size: 12px;
}

/* ── Team grid ───────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

.therapist-card { color: inherit; display: flex; flex-direction: column; }
.therapist-card .card-photo-link {
    display: block;
    padding: 20px 20px 0;
}
.therapist-card .card-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
}
.therapist-card .card-photo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
    background: var(--clr-primary-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--clr-primary);
}
.therapist-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.therapist-card .card-name-link { text-decoration: none; color: inherit; }
.therapist-card .card-name-link:hover .card-name { color: var(--clr-primary); }
.therapist-card .card-name {
    font-size: 16px;
    font-weight: 600;
    transition: color .2s;
}
.therapist-card .card-bio-sm {
    font-size: 13px;
    color: var(--clr-text-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.therapist-card .card-booking-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ── Therapist list (team page) ──────────────────────────── */
.therapist-list { display: flex; flex-direction: column; }
.therapist-separator {
    border: none;
    border-top: 2px solid var(--clr-border);
    margin: 48px 0;
    opacity: 0.6;
}
.therapist-list-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}
.therapist-list-photo-link {
    display: block;
    flex-shrink: 0;
}
.therapist-list-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
    object-position: top;
    display: block;
    transition: opacity .2s;
}
.therapist-list-photo-link:hover .therapist-list-photo { opacity: .88; }
.therapist-list-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
    background: var(--clr-primary-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--clr-primary);
}
.therapist-list-body { display: flex; flex-direction: column; gap: 16px; }
.therapist-list-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--clr-text);
}
.therapist-list-bio { font-size: 15px; line-height: 1.7; margin: 0; }
.therapist-list-bio p:first-child { margin-top: 0; }
.therapist-list-bio p:last-child  { margin-bottom: 0; }
.therapist-list-tags { margin-top: 4px; }
.therapist-list-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

@media (max-width: 700px) {
    .therapist-list-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .therapist-list-photo,
    .therapist-list-photo-placeholder {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }
    .therapist-list-body { align-items: center; text-align: center; }
    .therapist-list-actions { justify-content: center; }
    .therapist-separator { margin: 36px 0; }
}

/* ── Therapist profile ───────────────────────────────────── */
.profile-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}
.profile-photo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
    object-position: top;
    display: block;
}
.profile-photo-placeholder {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
    background: var(--clr-primary-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--clr-primary);
}
.profile-name { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.profile-title { color: var(--clr-primary); font-weight: 500; margin-bottom: 24px; }
.profile-layout .rich-text { font-size: 15px; line-height: 1.75; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    background: var(--clr-primary-lt);
    color: var(--clr-primary);
    border: 1px solid rgba(107,143,113,0.25);
}
.tag-section { margin-bottom: 24px; }
.tag-section h4 { margin-bottom: 10px; color: var(--clr-text-light); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.spec-group { margin-bottom: 14px; }
.spec-group-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-text-light);
    margin-bottom: 6px;
}

.booking-box {
    background: var(--clr-primary-lt);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 32px;
    text-align: center;
}
.booking-box p { font-size: 14px; color: var(--clr-text-light); margin-bottom: 16px; }

/* ── Articles ────────────────────────────────────────────── */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.article-card { text-decoration: none; color: inherit; display: block; }
.article-card .card-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.article-card .card-img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--clr-primary-lt);
}
.article-card .card-body { padding: 22px; }
.article-card .card-date { font-size: 12px; color: var(--clr-text-light); margin-bottom: 8px; }
.article-card .card-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; line-height: 1.35; }
.article-card .card-lead { font-size: 12px; color: var(--clr-text-light); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

.article-single-header { margin-bottom: 40px; }
.article-single-header .article-date { font-size: 13px; color: var(--clr-text-light); margin-bottom: 12px; }
.article-single-header h1 { margin-bottom: 16px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.article-single-header .article-lead {
    font-size: 18px; color: var(--clr-text-light); font-style: italic; line-height: 1.65;
    border-left: 3px solid var(--clr-primary); padding-left: 20px;
}
.article-hero-img {
    display: block;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: var(--radius-lg);
    margin: 0 auto 40px;
}

/* ── Article therapist cards ─────────────────────────────── */
.article-therapists-heading { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.article-therapists-list { display: flex; flex-direction: column; gap: 16px; }
.article-therapist-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    background: var(--clr-bg);
}
.article-therapist-photo-link { flex-shrink: 0; }
.article-therapist-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid #fff;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    display: block;
}
.article-therapist-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--clr-primary-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--clr-primary);
    border: 2px solid #fff;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
}
.article-therapist-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; align-items: flex-start; }
.article-therapist-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-text);
    text-decoration: none;
}
.article-therapist-name:hover { color: var(--clr-primary); }
.article-therapist-bio {
    font-size: 13px;
    color: var(--clr-text-light);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Book cards ──────────────────────────────────────────── */
.article-books-heading { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.article-books-list { display: flex; flex-direction: column; gap: 16px; }
.article-book-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    background: var(--clr-surface);
}
.article-book-cover-wrap { flex-shrink: 0; }
.article-book-cover {
    width: 70px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.article-book-cover-empty {
    width: 70px;
    height: 100px;
    background: var(--clr-bg);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.article-book-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
}
.article-book-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.article-book-authors { font-size: 13px; color: var(--clr-text-light); }
.article-book-desc {
    font-size: 13px;
    color: var(--clr-text-light);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Cennik ──────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
}
.pricing-card {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: 0 2px 16px var(--clr-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.pricing-icon { font-size: 32px; line-height: 1; margin-bottom: 4px; }
.pricing-name { font-size: 15px; font-weight: 600; min-height: 3.47em; display: flex; align-items: center; justify-content: center; }
.pricing-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1.1;
}
.pricing-desc {
    font-size: 13px;
    color: var(--clr-text-light);
    line-height: 1.55;
    margin: 0;
}

/* ── Audio w artykule ───────────────────────────────────── */
.article-audio-list { display: flex; flex-direction: column; gap: 20px; }
.article-audio-card { display: flex; gap: 20px; align-items: flex-start; }
.article-audio-cover-wrap { flex-shrink: 0; }
.article-audio-cover { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-md); display: block; }
.article-audio-cover-empty { width: 80px; height: 80px; background: var(--clr-primary-lt); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.article-audio-body { flex: 1; min-width: 0; }
.article-audio-title { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.article-audio-author { font-size: 13px; color: var(--clr-text-light); margin-bottom: 6px; }
.article-audio-desc { font-size: 14px; color: var(--clr-text-light); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-audio-player { width: 100%; max-width: 480px; display: block; margin-bottom: 10px; }
.article-audio-preview-label { font-size: 12px; color: var(--clr-text-light); margin-bottom: 4px; }
.article-audio-buy { margin-top: 8px; }
@media (max-width: 480px) {
    .article-audio-card { flex-direction: column; }
    .article-audio-cover, .article-audio-cover-empty { width: 60px; height: 60px; }
}

/* ── Bloki elastyczne ────────────────────────────────────── */
.fbox-title { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
/* text */
.fbox-text { max-width: 780px; margin: 0 auto; }
/* side-by-side */
.fbox-side { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: center; }
.fbox-side--right { grid-template-columns: 3fr 2fr; }
.fbox-side--right .fbox-side-img { order: 2; }
.fbox-side--right .fbox-side-body { order: 1; }
.fbox-side-img img { width: 100%; border-radius: var(--radius-lg); display: block; }
/* banner */
.fbox-banner-img { margin: 20px 0; }
.fbox-banner-img img { width: 100%; border-radius: var(--radius-lg); display: block; max-height: 420px; object-fit: cover; }
@media (max-width: 640px) {
    .fbox-side, .fbox-side--right { grid-template-columns: 1fr; gap: 24px; }
    .fbox-side--right .fbox-side-img { order: 0; }
    .fbox-side--right .fbox-side-body { order: 0; }
}

/* ── Artykuły na stronie głównej ─────────────────────────── */
.home-articles-list { display: flex; flex-direction: column; gap: 14px; }
.home-article-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px;
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px var(--clr-shadow);
    text-decoration: none;
    color: inherit;
    transition: box-shadow .18s, transform .18s;
}
.home-article-card:hover {
    box-shadow: 0 6px 24px var(--clr-shadow);
    transform: translateY(-2px);
}
.home-article-img-wrap { flex-shrink: 0; }
.home-article-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
}
.home-article-img-empty {
    width: 110px;
    height: 110px;
    background: var(--clr-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.home-article-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}
.home-article-date { font-size: 12px; color: var(--clr-muted); }
.home-article-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--clr-text);
}
.home-article-lead {
    font-size: 13px;
    color: var(--clr-text-light);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 560px) {
    .home-article-img, .home-article-img-empty { width: 80px; height: 80px; }
    .home-article-title { font-size: 14px; }
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-content .rich-text { max-width: 800px; margin: 0 auto; }

/* ── Contact section ─────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-card {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 2px 20px var(--clr-shadow);
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-icon { font-size: 20px; line-height: 1.4; flex-shrink: 0; }
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--clr-text-light); margin-bottom: 3px; }
.contact-value { font-size: 15px; font-weight: 500; }
.contact-value a { color: inherit; }
.contact-value a:hover { color: var(--clr-primary); }

.directions-box {
    background: var(--clr-primary-lt);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-line;
}

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: none; }

/* ── CTA strip ───────────────────────────────────────────── */
.cta-strip {
    text-align: center;
    padding: 80px 0;
}
.cta-strip h2 { margin-bottom: 16px; }
.cta-strip p { font-size: 17px; color: var(--clr-text-light); margin-bottom: 32px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--clr-footer-bg);
    color: rgba(255,255,255,0.80);
    padding-top: 60px;
    font-size: 14px;
    line-height: 1.75;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.footer-company { font-weight: 500; color: rgba(255,255,255,0.90); margin-bottom: 4px; }
.footer-heading { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.50); margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a, .site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-links a:hover, .site-footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: rgba(255,255,255,0.85); }

/* ── Misc ────────────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--clr-text-light); margin-bottom: 12px; }
.breadcrumb a { color: var(--clr-text-light); }
.breadcrumb a:hover { color: var(--clr-primary); }

.empty-state { text-align: center; padding: 64px 0; color: var(--clr-text-light); }
.empty-state h3 { margin-bottom: 8px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .profile-layout { grid-template-columns: 1fr; }
    .profile-photo, .profile-photo-placeholder { width: 200px; height: 200px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    :root { --nav-h: 80px; }
    .section { padding: 10px 0; }
    .section-inner { padding: 32px 20px; border-radius: 14px; }
    .page-header .section-inner { padding: 24px 20px; }
    .hero .section-inner { padding: calc(var(--nav-h) + 32px) 20px 40px; }
    .contact-card { padding: 20px; overflow-wrap: break-word; word-break: break-word; }
    .map-wrap { width: 100%; }
    .map-wrap iframe { height: 260px; }
    .hero-visual { display: none; }
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: var(--clr-surface);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 20px;
        border-bottom: 1px solid var(--clr-border);
        box-shadow: 0 8px 24px var(--clr-shadow);
        gap: 2px;
    }
    .site-nav.open { display: flex; }
    .nav-link { padding: 12px 16px; border-radius: 8px; }
    .nav-cta { text-align: center; margin: 8px 0 0; border-radius: 50px; }
    .hero { min-height: 85svh; }
    .footer-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .contact-form-row { grid-template-columns: 1fr; }
}

/* ── Formularz kontaktowy ─────────────────────────────────── */
.contact-form-wrap {
    max-width: 680px;
}
.contact-form-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--clr-text);
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.contact-form-group {
    margin-bottom: 18px;
}
.contact-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--clr-text);
}
.cf-required { color: var(--clr-accent); }
.contact-form-group input[type="text"],
.contact-form-group input[type="email"],
.contact-form-group input[type="tel"],
.contact-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--clr-text);
    background: var(--clr-surface);
    transition: border-color .15s;
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
}
.contact-form-group textarea { resize: vertical; min-height: 120px; }
.cf-rodo { margin-top: 4px; }
.cf-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--clr-text-light);
    cursor: pointer;
}
.cf-checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--clr-primary);
    cursor: pointer;
}
.cf-alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 16px;
}
.cf-alert-error {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #f5c6c6;
}

/* ── Modal sukcesu ────────────────────────────────────────── */
.cf-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.cf-modal-box {
    position: relative;
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.cf-modal-icon { font-size: 2.5rem; margin-bottom: 12px; }
.cf-modal-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.cf-modal-text  { color: var(--clr-text-light); margin-bottom: 28px; }

/* ============================================================
   BOOKING WIZARD
   ============================================================ */

.booking-wizard {
    max-width: 640px;
    margin: 90px auto 0;
    padding: 32px 32px 48px;
    min-height: 800px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    box-shadow: 0 2px 20px var(--clr-shadow);
}

/* ── Progress dots ─────────────────────────────────────────── */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    gap: 0;
}
.bp-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: #e5e7eb;
    color: #9ca3af;
    transition: background .2s, color .2s;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.bp-dot.active {
    background: var(--clr-primary);
    color: #fff;
    box-shadow: 0 0 0 4px var(--clr-primary-lt);
}
.bp-dot.done {
    background: var(--clr-primary-lt);
    color: var(--clr-primary);
}
.bp-dot.skipped {
    background: #e5e7eb;
    color: #d1d5db;
    opacity: 0.45;
    text-decoration: line-through;
}
.bp-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    max-width: 80px;
}

/* ── Step visibility ───────────────────────────────────────── */
.booking-step { display: none; }
.booking-step.active { display: block; }

/* ── Typography ────────────────────────────────────────────── */
.booking-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 20px;
}
.booking-subtitle {
    font-size: 1rem;
    color: var(--clr-text-light);
    margin-bottom: 20px;
}
.booking-section-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-text);
    margin: 24px 0 12px;
}

/* ── Service cards ─────────────────────────────────────────── */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-card {
    border: 2px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, background .18s;
    background: var(--clr-surface);
}
.service-card:hover {
    border-color: var(--clr-primary);
    background: var(--clr-primary-lt);
}
.service-card.selected {
    border-color: var(--clr-primary);
    background: var(--clr-primary-lt);
    box-shadow: 0 0 0 3px rgba(107,143,113,.15);
}
.service-card-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-text);
    margin-bottom: 4px;
}
.service-card-desc {
    font-size: 0.875rem;
    color: var(--clr-text-light);
    margin-bottom: 6px;
}
.service-card-duration {
    font-size: 0.8rem;
    color: var(--clr-primary);
    font-weight: 600;
}

/* ── Gabinet options (pills) ───────────────────────────────── */
.gabinet-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.gabinet-option {
    padding: 9px 20px;
    border-radius: 999px;
    border: 2px solid var(--clr-border);
    font-size: 0.9rem;
    cursor: pointer;
    background: var(--clr-surface);
    color: var(--clr-text);
    transition: border-color .15s, background .15s, color .15s;
    user-select: none;
}
.gabinet-option:hover {
    border-color: var(--clr-primary);
    background: var(--clr-primary-lt);
}
.gabinet-option.selected {
    border-color: var(--clr-primary);
    background: var(--clr-primary);
    color: #fff;
}
.gabinet-option.locked {
    opacity: 0.32;
    pointer-events: none;
    cursor: default;
}

/* ── Therapist mode cards ──────────────────────────────────── */
.therapist-mode-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
@media (min-width: 480px) {
    .therapist-mode-options { flex-direction: row; }
}
.therapist-mode-card {
    flex: 1;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    background: var(--clr-surface);
    transition: border-color .18s, background .18s;
}
.therapist-mode-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--clr-text);
}
.therapist-mode-card p {
    font-size: 0.82rem;
    color: var(--clr-text-light);
    margin: 0;
}
.therapist-mode-card:hover,
.therapist-mode-card.selected {
    border-color: var(--clr-primary);
    background: var(--clr-primary-lt);
}

/* ── Therapist list (step 2) ───────────────────────────────── */
.therapist-list-step2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    max-height: 300px;
    overflow-y: auto;
}
.therapist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--clr-surface);
    transition: border-color .15s, background .15s;
}
.therapist-item:hover,
.therapist-item.selected {
    border-color: var(--clr-primary);
    background: var(--clr-primary-lt);
}
.therapist-item-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.therapist-item-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--clr-text);
}

/* ── Day strip ─────────────────────────────────────────────── */
.day-strip-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    padding-bottom: 4px;
}
.day-strip {
    display: flex;
    gap: 8px;
    min-width: max-content;
    padding: 4px 2px;
}
.day-btn {
    padding: 8px 14px;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius);
    background: var(--clr-surface);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    color: var(--clr-text);
    transition: border-color .15s, background .15s, color .15s;
    font-family: var(--font);
}
.day-btn:hover {
    border-color: var(--clr-primary);
    background: var(--clr-primary-lt);
}
.day-btn.active {
    border-color: var(--clr-primary);
    background: var(--clr-primary);
    color: #fff;
}

/* ── Slot grid ─────────────────────────────────────────────── */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
@media (min-width: 400px) {
    .slot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 540px) {
    .slot-grid { grid-template-columns: repeat(4, 1fr); }
}
.slot-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--clr-surface);
    transition: border-color .15s, background .15s, box-shadow .15s;
    text-align: center;
}
.slot-tile:hover {
    border-color: var(--clr-primary);
    background: var(--clr-primary-lt);
    box-shadow: 0 2px 8px rgba(107,143,113,.15);
}
.slot-tile.selected {
    border-color: var(--clr-primary);
    background: var(--clr-primary);
    color: #fff;
}
.slot-tile.selected .slot-name { color: rgba(255,255,255,.85); }
.slot-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1;
    margin-bottom: 4px;
}
.slot-tile.selected .slot-time { color: #fff; }
.slot-name {
    font-size: 0.72rem;
    color: var(--clr-text-light);
    line-height: 1.3;
    word-break: break-word;
}

/* ── Booking form ──────────────────────────────────────────── */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}
.booking-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 420px) {
    .booking-form-row { grid-template-columns: 1fr 1fr; }
}
.booking-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.booking-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
}
.booking-field input,
.booking-field textarea {
    padding: 10px 14px;
    border: 1.5px solid var(--clr-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font);
    color: var(--clr-text);
    background: var(--clr-surface);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}
.booking-field input:focus,
.booking-field textarea:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(107,143,113,.15);
}
.booking-field textarea { resize: vertical; min-height: 80px; }

/* ── RODO checkbox ─────────────────────────────────────────── */
.booking-rodo {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--clr-text-light);
    line-height: 1.5;
}
.booking-rodo input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--clr-primary);
    width: 16px;
    height: 16px;
}
.booking-rodo a { color: var(--clr-primary); text-decoration: underline; }

/* ── Navigation row ────────────────────────────────────────── */
.booking-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    gap: 12px;
}
.booking-nav-back {
    background: none;
    border: none;
    color: var(--clr-text-light);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 0;
    font-family: var(--font);
    transition: color .15s;
}
.booking-nav-back:hover { color: var(--clr-primary); }

/* ── Summary card ──────────────────────────────────────────── */
.booking-summary {
    background: #f9fafb;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
}
.booking-summary-rows { display: flex; flex-direction: column; gap: 8px; }
.booking-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
}
.booking-summary-label { color: var(--clr-text-light); flex-shrink: 0; }
.booking-summary-value { font-weight: 600; color: var(--clr-text); text-align: right; }

/* ── Success screen ────────────────────────────────────────── */
.booking-success {
    text-align: center;
    padding: 20px 0;
}
.booking-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
}

/* ── Submit button states ──────────────────────────────────── */
.btn .btn-spinner { display: none; }
.btn.loading .btn-label { display: none; }
.btn.loading .btn-spinner { display: inline; }
