:root {
    /* KOLORY */
    --psp-primary: #47657b; 
    --psp-secondary: #8299bb; 
    --psp-light: #f4f6f8;
    --psp-text: #2d3436; /* Zmieniłem na głęboki grafit, mniej "czarny" niż #000 */
    --psp-white: #ffffff;

    /* FONTY - ZMIANA */
    --psp-font-heading: 'Libre Baskerville', serif;
    --psp-font-body: 'Lato', sans-serif;
}

.psp-section {
    padding: 80px 0; /* Więcej oddechu = bardziej "premium" */
    font-family: var(--psp-font-body) !important;
    color: var(--psp-text);
    line-height: 1.7; /* Zwiększona interlinia dla lepszej czytelności */
    font-size: 16px;
    font-weight: 400;
}

.psp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Typografia Nagłówków */
.psp-title {
    font-family: var(--psp-font-heading) !important;
    color: var(--psp-primary);
    font-size: 2.8rem; /* Nieco większe */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700; /* Bold dla Baskerville wygląda dostojnie */
    letter-spacing: -0.5px; /* Lekkie ściśnięcie liter jest nowoczesne */
}

/* Responsywność nagłówka */
@media (max-width: 768px) {
    .psp-title {
        font-size: 2rem;
    }
}

.psp-subtitle {
    font-family: var(--psp-font-body); /* Subtitle zostawiamy bezszeryfowy */
    color: var(--psp-secondary);
    text-transform: uppercase;
    letter-spacing: 3px; /* Szerokie litery budują elegancję */
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

/* Teksty akapitów */
.psp-text-content p {
    font-size: 1.05rem; /* Odrobinę większy tekst podstawowy budzi zaufanie */
    color: #4a5568;
    margin-bottom: 1.6em;
}

/* Buttony - Też zmieniamy font na Lato */
.psp-btn {
    display: inline-block;
    font-family: var(--psp-font-body);
    background-color: var(--psp-primary);
    color: var(--psp-white);
    padding: 14px 34px; /* Większy przycisk */
    text-decoration: none;
    border-radius: 2px; /* Mniejsze zaokrąglenie jest bardziej "biznesowe" niż 4px */
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(71, 101, 123, 0.1); /* Delikatny cień */
}

.psp-btn:hover {
    background-color: var(--psp-secondary);
    transform: translateY(-2px); /* Lekkie uniesienie przy najechaniu */
    box-shadow: 0 6px 12px rgba(71, 101, 123, 0.2);
}


/* --- ZAKTUALIZOWANA SEKCJA O NAS (assets/style.css) --- */

.psp-about-grid {
    display: grid;
    /* Zmiana: Dwie równe kolumny, lub 1.2fr dla tekstu i 1fr dla zdjęcia, 
       żeby tekst miał trochę więcej oddechu, a zdjęcie zachowało proporcje */
    grid-template-columns: 1.1fr 1fr; 
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .psp-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Stylizacja tekstu (bez zmian) */
.psp-text-content p {
    margin-bottom: 1.2em;
    font-size: 1.05rem;
    color: #4a4a4a;
}

.psp-benefits-list {
    list-style: none !important;
    padding: 0;
    margin: 25px 0;
}

.psp-benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.psp-benefits-list li::before {
    content: '✓'; 
    position: absolute;
    left: 0;
    top: 0px;
    color: var(--psp-secondary);
    font-weight: bold;
    font-size: 1.2em;
}
.psp-benefits-list li::after {
  display: none !important;
  }

/* --- SLIDESHOW (Bez zoom, oryginalne wymiary zdjęć) --- */

.psp-about-visual-col {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(71, 101, 123, 0.15);
}

.psp-kb-wrapper {
    position: relative;
    width: 100%;
}

.psp-kb-slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: pspSimpleFade 12s linear infinite;
}

.psp-kb-slide:first-child {
    position: relative;
}

.psp-kb-slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* Opóźnienia */
.psp-kb-slide:nth-child(1) { animation-delay: 0s; }
.psp-kb-slide:nth-child(2) { animation-delay: 6s; }

/* Animacja - tylko fade, bez zoom */
@keyframes pspSimpleFade {
    0% {
        opacity: 0;
    }
    8% {
        opacity: 1; 
    }
    50% {
        opacity: 1;
    }
    58% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


/* --- SEKCJA OFERTA (assets/style.css) --- */

.psp-offer-section {
    background-color: var(--psp-white);
}

.psp-offer-grid {
    display: grid;
    /* 3 kolumny na dużych ekranach */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Karta usługi */
.psp-offer-card {
    background: #fff;
    border: 1px solid #eef2f5; /* Bardzo delikatna ramka */
    border-radius: 8px; /* Spójne z zaokrągleniami zdjęć */
    padding: 40px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Efekt Hover - Uniesienie i cień */
.psp-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(71, 101, 123, 0.1);
    border-color: transparent;
}

/* Ikona w karcie */
.psp-card-icon {
    margin-bottom: 25px;
    height: 64px;
    width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.psp-card-icon img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Tytuł karty */
.psp-card-title {
    font-family: var(--psp-font-heading); /* Libre Baskerville */
    font-size: 1.35rem;
    color: var(--psp-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Opis karty */
.psp-card-desc {
    font-size: 0.95rem;
    color: #636e72;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1; /* Wypycha link na dół, żeby były równe */
}

/* Link "Dowiedz się więcej" */
.psp-card-link {
    font-size: 0.9rem;
    color: var(--psp-secondary);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.psp-card-link:hover {
    color: var(--psp-primary);
}

/* Responsywność */
@media (max-width: 992px) {
    .psp-offer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 600px) {
    .psp-offer-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
    
    .psp-offer-card {
        padding: 30px 20px;
        align-items: center; /* Na mobilu centrujemy zawartość karty */
        text-align: center;
    }
}

/* --- SEKCJA GABINETY (INFINITE SLIDER) --- */

/* Główny kontener */
.psp-infinite-gallery {
    width: 100%;
    overflow: hidden; /* Ukrywa to, co wyjeżdża poza ekran */
    background-color: var(--psp-light);
    position: relative;
}

/* Szyna ze zdjęciami */
.psp-gallery-track {
    display: flex;
    width: max-content; /* Szyna jest tak długa jak suma zdjęć */
    /* Animacja przesuwania */
    animation: pspScroll 40s linear infinite;
}

/* Zatrzymanie po najechaniu myszką */
.psp-gallery-track:hover {
    animation-play-state: paused;
}

/* Pojedynczy element (zdjęcie) */
.psp-gallery-item {
    /* USUNIĘTO: width: 30vw; -> To powodowało przycinanie */
    
    height: 50vh; /* Wysokość pozostaje bez zmian (połowa ekranu) */
    width: auto;  /* Szerokość dopasuje się sama do wysokości */
    
    /* NOWOŚĆ: Wymuszenie proporcji zdjęcia 3:2 (2046x1362) */
    aspect-ratio: 3 / 2; 
    
    flex-shrink: 0;
    position: relative;
    margin-right: 4px; /* Opcjonalnie: odstęp między zdjęciami */
}

.psp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zdjęcie wypełnia kafelek bez zniekształceń */
    display: block;
    transition: filter 0.3s;
}

/* Opcjonalny efekt: lekkie przyciemnienie nieaktywnych zdjęć? 
   Możemy to pominąć, ale dodaje głębi. Tutaj zostawiam czyste. */
   
/* DEFINICJA ANIMACJI */
@keyframes pspScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Przesuwamy o -50%, czyli o długość pierwszego zestawu zdjęć.
           Ponieważ mamy zduplikowane zdjęcia, w tym momencie
           pierwsze zdjęcie z DRUGIEJ serii jest dokładnie tam, gdzie
           było pierwsze zdjęcie z PIERWSZEJ serii na początku.
           Przeskok jest niewidoczny dla oka. */
        transform: translateX(-50%);
    }
}

/* --- Responsywność --- */

@media (max-width: 992px) {
    .psp-gallery-item {
        height: 40vh; /* Nieco mniejsze na tabletach */
        width: auto;
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 600px) {
    .psp-gallery-item {
        /* Na telefonie ustawiamy szerokość na 85% ekranu, 
           a wysokość niech wyliczy się sama z proporcji */
        width: 85vw; 
        height: auto; 
        aspect-ratio: 3 / 2;
    }
}

/* --- SEKCJA ZESPÓŁ (Pobierana dynamicznie) --- */

.psp-team-grid {
    display: grid;
    /* 4 osoby w rzędzie na dużym ekranie - pokazuje duży zespół */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

.psp-team-card {
    background-color: var(--psp-white);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.psp-team-card:hover {
    transform: translateY(-5px); /* Lekkie uniesienie */
}

/* Zdjęcie */
.psp-member-photo-wrapper {
    position: relative;
    width: 100%;
    /* Proporcja portretowa 4:5 lub 3:4 wygląda najlepiej dla ludzi */
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    background-color: #eef2f5;
}

.psp-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom zdjęcia przy najechaniu */
.psp-team-card:hover .psp-member-photo {
    transform: scale(1.05);
}

/* Informacje pod zdjęciem */
.psp-member-info {
    padding: 20px 10px;
    text-align: center;
}

.psp-member-name {
    font-family: var(--psp-font-heading); /* Libre Baskerville */
    font-size: 1.1rem;
    color: var(--psp-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.psp-member-role {
    font-size: 0.85rem;
    color: var(--psp-secondary); /* #8299bb */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.psp-member-nurt {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.psp-icon-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--psp-secondary);
    border-radius: 50%;
}

/* Overlay (Przycisk pojawiający się na zdjęciu) */
.psp-member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(71, 101, 123, 0.4); /* Półprzezroczysty primary color */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.psp-team-card:hover .psp-member-overlay {
    opacity: 1;
}

.psp-btn-small {
    padding: 10px 20px;
    font-size: 0.8rem;
    background: white;
    color: var(--psp-primary);
    border-radius: 2px;
}

.psp-btn-small:hover {
    background: var(--psp-primary);
    color: white;
}

/* Responsywność */
@media (max-width: 1200px) {
    .psp-team-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 kolumny tablet poziomo */
    }
}

@media (max-width: 900px) {
    .psp-team-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny tablet pionowo */
    }
}

@media (max-width: 600px) {
    .psp-team-grid {
        grid-template-columns: 1fr; /* 1 kolumna mobile */
        max-width: 320px; /* Ograniczenie szerokości, żeby zdjęcie nie było gigantyczne */
        margin: 0 auto;
    }
}

/* --- SEKCJA ZESPÓŁ (Karta Produktu) --- */

.psp-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.psp-team-card {
    background-color: var(--psp-white);
    border: 1px solid #eef2f5; /* Delikatna ramka */
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column; /* Żeby footer był zawsze na dole */
}

/* Efekt uniesienia karty */
.psp-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(71, 101, 123, 0.15);
    border-color: transparent;
}

/* 1. ZDJĘCIE */
.psp-member-photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* Standard portretowy */
    overflow: hidden;
    background-color: #f4f6f8;
}

.psp-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.psp-team-card:hover .psp-member-photo {
    transform: scale(1.05);
}

/* Link na zdjęciu (Overlay) */
.psp-member-overlay-link {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(71, 101, 123, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.psp-team-card:hover .psp-member-overlay-link {
    opacity: 1;
}

/* 2. BODY (Środek karty) */
.psp-member-body {
    padding: 20px 20px 15px;
    text-align: left; /* Bardziej biznesowo niż centered */
    flex-grow: 1;
}

.psp-member-role {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.psp-member-name {
    margin: 0 0 5px 0;
    font-family: var(--psp-font-heading);
    font-size: 1.2rem;
    line-height: 1.3;
}

.psp-member-name a {
    color: var(--psp-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.psp-member-name a:hover {
    color: var(--psp-secondary);
}

.psp-member-nurt {
    font-size: 0.9rem;
    color: var(--psp-secondary);
    font-weight: 600;
}

/* 3. FOOTER (Metadane z ikonami) */
.psp-member-footer {
    background-color: #fcfcfc; /* Bardzo jasne tło odróżniające */
    border-top: 1px solid #f0f0f0;
    padding: 12px 20px;
    font-size: 0.85rem;
    color: #555;
}

.psp-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.psp-meta-row:last-child {
    margin-bottom: 0;
}

.psp-meta-icon {
    color: var(--psp-secondary); /* Kolor ikon */
    display: flex;
    align-items: center;
}

.psp-meta-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Ucinanie zbyt długiego tekstu */
}

/* Responsywność */
@media (max-width: 1200px) {
    .psp-team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .psp-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .psp-team-grid { 
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* --- ZESPOŁ - POPRAWKI KART (Łamanie tekstu) --- */

/* Stanowisko - Zawsze 1 linia, jak za długie to "..." */
.psp-member-role.psp-clamp-1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Imię i Nazwisko - Max 2 linie. */
/* Ustawiamy min-height, żeby karty były równe nawet jak ktoś ma krótkie nazwisko */
.psp-member-name.psp-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ucinaj po 2 linii */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem; /* Miejsce na 2 linie tekstu */
    margin-bottom: 5px;
}

/* Overlay na zdjęciu (przycisk) */
.psp-member-overlay-trigger {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(71, 101, 123, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer; /* Łapka */
}

.psp-team-card:hover .psp-member-overlay-trigger {
    opacity: 1;
}

/* --- MODAL STYLES (NOWOŚĆ) --- */

/* Tło (Backdrop) */
.psp-modal-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Ciemne tło */
    z-index: 9999;
    display: none; /* Domyślnie ukryty */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.psp-modal-backdrop.active {
    display: flex; /* Pokaż (flex centruje okno) */
    opacity: 1;
}

/* Okno modala */
.psp-modal-content {
    background: white;
    width: 100%;
    max-width: 900px; /* Szerokość okna */
    max-height: 90vh; /* Nie wyższe niż 90% ekranu */
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    position: relative;
    overflow-y: auto; /* Scroll wewnątrz okna jeśli treść długa */
    animation: pspSlideUp 0.4s ease;
}

@keyframes pspSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Grid wewnątrz modala */
.psp-modal-grid {
    display: grid;
    grid-template-columns: 300px 1fr; /* Lewa sztywna, prawa elastyczna */
}

/* Lewa kolumna (Pasek boczny) */
.psp-modal-sidebar {
    background: #f9f9f9;
    padding: 30px;
    border-right: 1px solid #eee;
}

.psp-modal-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* Kwadratowe zdjęcie w modalu */
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Prawa kolumna (Treść) */
.psp-modal-main {
    padding: 40px;
}

.psp-modal-heading {
    font-family: var(--psp-font-heading);
    color: var(--psp-primary);
    border-bottom: 2px solid var(--psp-secondary);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.psp-modal-desc p {
    margin-bottom: 1em;
    line-height: 1.8;
    color: #444;
}

/* Przycisk zamknięcia (X) */
.psp-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s;
}

.psp-modal-close:hover {
    color: var(--psp-primary);
}

/* Responsywność modala */
@media (max-width: 768px) {
    .psp-modal-grid {
        grid-template-columns: 1fr; /* Jedna kolumna na mobilu */
    }
    
    .psp-modal-sidebar {
        padding: 20px;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .psp-modal-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 15px auto;
        border-radius: 50%; /* Na mobilu kółko wygląda ładnie */
    }
    
    .psp-modal-main {
        padding: 20px;
    }
}

/* --- SEKCJA CENNIK I POMOC (Z Ikonami SVG) --- */

.psp-pricing-section {
    background-color: var(--psp-white);
}

.psp-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* LEWA STRONA (INFO BOX) */
.psp-highlight-box {
    display: flex;
    gap: 20px;
    background-color: #f4f6f8;
    padding: 25px;
    border-radius: 6px;
    border-left: 4px solid var(--psp-secondary);
    margin-top: 30px;
    align-items: flex-start;
}

/* Ikona Zegara */
.psp-hb-icon {
    width: 32px;
    height: 32px;
    color: var(--psp-primary); /* #47657b */
    flex-shrink: 0; /* Żeby się nie zgniatała */
}

.psp-hb-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.psp-hb-content strong {
    color: var(--psp-primary);
    display: block;
    margin-bottom: 5px;
}

.psp-hb-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* PRAWA STRONA (CENNIK) */
.psp-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.psp-service-name {
    font-family: var(--psp-font-heading);
    font-size: 1.1rem;
    color: var(--psp-primary);
    margin: 0 0 5px 0;
}

.psp-service-sub {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.psp-price-tag {
    text-align: right;
    min-width: 100px;
}

.psp-amount {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--psp-primary);
}

.psp-duration {
    font-size: 0.8rem;
    color: #999;
}

/* DIAGNOSTYKA BOX */
.psp-diagnosis-box {
    background: #fff;
    border: 1px solid #eef2f5;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-top: 30px;
}

.psp-diag-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--psp-primary);
}

/* Ikona Diagnostyki (Dokument) */
.psp-diag-icon {
    width: 28px;
    height: 28px;
    color: var(--psp-secondary); /* #8299bb */
    display: flex;
}

.psp-diag-header h3 {
    margin: 0;
    font-family: var(--psp-font-heading);
}

.psp-diag-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.psp-diag-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.psp-diag-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 5px;
}

.psp-diag-list li strong {
    background: #fff;
    padding-left: 5px;
    color: var(--psp-primary);
}

.psp-diag-list li span {
    background: #fff;
    padding-right: 5px;
}

.psp-highlight-li {
    color: var(--psp-primary);
    font-weight: 600;
}

/* --- LISTA PROBLEMÓW (GRID) --- */
.psp-help-areas-wrapper {
    background-color: #fcfcfc;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.psp-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 15px 40px;
}

.psp-help-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Ikona "Ptaszka" */
.psp-check-icon {
    width: 20px; /* Mała i zgrabna */
    height: 20px;
    color: var(--psp-secondary); /* Niebieski check */
    margin-top: 2px; /* Wyrównanie optyczne do pierwszej linii tekstu */
    flex-shrink: 0;
}

.psp-help-text {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Responsywność */
@media (max-width: 992px) {
    .psp-pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .psp-help-areas-wrapper {
        padding: 30px 20px;
    }
    .psp-help-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SEKCJA HERO (Typewriter) --- */

.psp-hero-section {
    position: relative;
    width: 100%;
    height: 85vh; /* Wysokość na prawie cały ekran */
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

/* Nakładka kolorystyczna (Brand Color z przezroczystością) */
.psp-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(71, 101, 123, 0.85); /* #47657b na 85% */
    z-index: 1;
}

/* Treść nad nakładką */
.psp-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Główny tytuł */
.psp-hero-title {
    font-family: var(--psp-font-heading); /* Libre Baskerville */
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: #fff; /* Wymuszenie bieli */
}

/* Kontener tekstu pisanego */
.psp-typewriter-wrapper {
    font-size: 1.5rem;
    font-family: var(--psp-font-body); /* Lato */
    font-weight: 300;
    margin-bottom: 40px;
    min-height: 1.6em; /* Rezerwuje miejsce, żeby strona nie skakała */
    color: #eef2f5;
}

/* Kursor migający */
.psp-cursor {
    display: inline-block;
    font-weight: 100;
    color: var(--psp-secondary); /* #8299bb */
    animation: pspBlink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes pspBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Przyciski w Hero */
.psp-hero-buttons {
    display: flex;
    gap: 20px;
}

.psp-btn-hero {
    background-color: var(--psp-secondary); /* Jaśniejszy niebieski na ciemnym tle */
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px; /* Bardziej "miękkie" przyciski w Hero */
}

.psp-btn-hero:hover {
    background-color: #fff;
    color: var(--psp-primary);
}

.psp-btn-outline-white {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.psp-btn-outline-white:hover {
    background: #fff;
    color: var(--psp-primary);
}

/* Responsywność */
@media (max-width: 768px) {
    .psp-hero-title {
        font-size: 2.2rem;
    }
    
    .psp-typewriter-wrapper {
        font-size: 1.1rem;
        min-height: 3em; /* Więcej miejsca na łamanie tekstu mobilnie */
        padding: 0 10px;
    }

    .psp-hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .psp-btn-hero, .psp-btn-outline-white {
        width: 100%;
        text-align: center;
    }
}

/* --- STOPKA (FOOTER) --- */

.psp-footer-section {
    background-color: var(--psp-primary); /* Ciemny granat #47657b */
    color: #ffffff;
    padding: 70px 0 0 0; /* Padding tylko z góry, dół w footer-bottom */
    font-size: 0.95rem;
}

.psp-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 równe kolumny */
    gap: 50px;
    padding-bottom: 70px;
}

.psp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Nagłówki w stopce */
.psp-footer-title {
    font-family: var(--psp-font-heading); /* Libre Baskerville */
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--psp-secondary); /* Akcent pod nagłówkiem */
    padding-bottom: 10px;
    display: inline-block;
    width: fit-content;
}

/* Element listy (Ikona + Tekst) */
.psp-footer-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.psp-footer-icon {
    color: var(--psp-secondary); /* #8299bb - Jasny niebieski dla ikon */
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.psp-footer-text {
    line-height: 1.6;
    color: #eef2f5; /* Złamana biel dla lepszej czytelności */
}

.psp-footer-text strong {
    color: #fff;
    font-weight: 700;
}

/* Drobne notatki (np. piętro) */
.psp-footer-note {
    font-size: 0.85rem;
    opacity: 0.7;
    display: block;
    margin-top: 2px;
}

/* Linki w stopce */
.psp-footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.psp-footer-link:hover {
    color: var(--psp-secondary); /* Hover na jasny niebieski */
}

/* Sekcja NIP/REGON */
.psp-footer-meta {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: -10px; /* Lekkie podciągnięcie do góry */
    padding-left: 39px; /* Wcięcie, żeby równało do tekstu powyżej (ikona ma 24 + gap 15) */
}

.psp-sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* Konto Bankowe */
.psp-footer-bank {
    background: rgba(255, 255, 255, 0.05); /* Bardzo delikatne tło */
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    border-left: 3px solid var(--psp-secondary);
}

.psp-footer-bank strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    opacity: 0.9;
}

.psp-iban {
    font-family: 'Courier New', monospace; /* Monospace dla cyfr bankowych */
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: #fff;
}

/* Dolny pasek Copyright */
.psp-footer-bottom {
    background-color: rgba(0, 0, 0, 0.2); /* Przyciemnienie głównego koloru */
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsywność */
@media (max-width: 992px) {
    .psp-footer-grid {
        grid-template-columns: 1fr; /* Jedna kolumna na mobilu */
        gap: 40px;
    }
    
    .psp-footer-col {
        align-items: center; /* Centrowanie na mobilu */
        text-align: center;
    }
    
    .psp-footer-item {
        flex-direction: column; /* Ikona nad tekstem */
        align-items: center;
    }
    
    .psp-footer-title {
        border-bottom: none; /* Usunięcie linii, bo centrujemy */
        margin-bottom: 15px;
        font-size: 1.4rem;
    }
    
    .psp-footer-meta {
        padding-left: 0; /* Reset wcięcia */
    }
    
    .psp-footer-bank {
        text-align: center;
    }
}

/* --- HEADER (Top Bar + Nav) --- */

/* Resetowanie marginesów body, jeśli motyw tego nie robi */
body { margin-top: 0; padding-top: 0; }

.psp-main-header {
    width: 100%;
    position: sticky; /* Przyklejony do góry */
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* TOP BAR */
.psp-top-bar {
    background-color: var(--psp-primary); /* #47657b */
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.psp-top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.psp-top-item {
    margin-right: 20px;
    opacity: 0.9;
}

.psp-top-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.psp-top-link:hover {
    color: var(--psp-secondary);
}

/* MAIN BAR */
.psp-nav-bar {
    background-color: #ffffff;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.psp-nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.psp-logo img {
    max-height: 50px; /* Ograniczenie wysokości logo */
    width: auto;
}

.psp-text-logo {
    font-family: var(--psp-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--psp-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.psp-text-logo span {
    color: var(--psp-secondary);
}

/* Desktop Menu */
.psp-desktop-menu {
    flex-grow: 1;
    margin: 0 40px;
    text-align: right; /* Menu dosunięte do prawej (przed przyciskiem) */
}

.psp-menu-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 30px;
}

.psp-menu-ul li {
    position: relative;
}

.psp-menu-ul li a {
    text-decoration: none;
    color: var(--psp-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

.psp-menu-ul li a:hover {
    color: var(--psp-secondary);
}

/* Podświetlenie aktywnego elementu (jeśli WP nada klasy) */
.psp-menu-ul li.current-menu-item a {
    color: var(--psp-primary);
}

/* Przycisk w Headerze */
.psp-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.psp-btn-header {
    /* Dziedziczy z .psp-btn, ale możemy tu coś nadpisać */
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Hamburger (Mobile Trigger) */
.psp-hamburger {
    display: none; /* Domyślnie ukryty na desktopie */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.psp-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--psp-primary);
    border-radius: 3px;
}

/* MOBILE MENU & RESPONSIVENESS */
.psp-mobile-menu-drawer {
    position: fixed;
    top: 0; right: -300px; /* Ukryte poza ekranem */
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.psp-mobile-menu-drawer.active {
    right: 0;
}

.psp-mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.psp-mobile-menu-overlay.active {
    display: block;
}

.psp-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.psp-mobile-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--psp-primary);
}

.psp-mobile-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

.psp-mobile-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.psp-mobile-ul li {
    border-bottom: 1px solid #f5f5f5;
}

.psp-mobile-ul li a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/* BREAKPOINTS */
@media (max-width: 992px) {
    .psp-desktop-menu { display: none; } /* Ukryj menu desktopowe */
    .psp-hamburger { display: flex; } /* Pokaż hamburgera */
    .psp-btn-header { display: none; } /* Ukryj przycisk w navbarze (jest w drawerze) */
    
    .hidden-mobile { display: none; } /* Ukryj godziny otwarcia na telefonie */
}

/* --- SEKCJA OPINIE (Styl ZnanyLekarz) --- */

.psp-reviews-section {
    background-color: #f9f9f9; /* Bardzo jasne tło, żeby odróżnić od białych kart */
}

.psp-zl-badge {
    display: inline-block;
    background: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-size: 1rem;
    margin-top: 15px;
}

.psp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.psp-review-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.psp-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Gwiazdki i Data */
.psp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.psp-review-date {
    font-size: 0.8rem;
    color: #999;
}

/* Treść */
.psp-review-body {
    flex-grow: 1; /* Rozciąga treść, żeby stopki były równo */
    margin-bottom: 25px;
}

.psp-review-body p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Autor i Weryfikacja */
.psp-review-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.psp-review-author strong {
    color: #333;
    display: block;
    margin-bottom: 3px;
}

.psp-verified-badge {
    font-size: 0.75rem;
    color: #00b39b; /* Kolor ZnanegoLekarza */
    font-weight: 600;
    display: flex;
    align-items: center;
}

.psp-review-doctor {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #777;
}

.psp-review-doctor span {
    color: var(--psp-primary);
    font-weight: 600;
}

/* Button Outline (Przezroczysty z ramką) */
.psp-btn-outline {
    background: transparent;
    border: 2px solid var(--psp-primary);
    color: var(--psp-primary);
    padding: 12px 30px;
    box-shadow: none;
}

.psp-btn-outline:hover {
    background: var(--psp-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsywność */
@media (max-width: 992px) {
    .psp-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* Na mobilu robimy slider horyzontalny? 
       Możemy po prostu zostawić jedną pod drugą dla czytelności */
}