:root {
    /* Nowoczesna paleta kolorów: Szałwia, Piasek, Grafit */
    --primary: #4A5D4F;      /* Głęboka, naturalna zieleń */
    --primary-light: #6B8272; 
    --secondary: #D4A373;    /* Ciepły, stonowany pomarańcz/beż */
    --bg-body: #FAFAF8;      /* Złamana biel (nie czysta biel, lżejsza dla oczu) */
    --bg-soft: #F0F2F0;      /* Bardzo jasna szarość/zieleń dla tła sekcji */
    --bg-dark: #2C332E;      /* Ciemny grafit/zieleń */
    --text-main: #2D3436;
    --text-muted: #636E72;
    --white: #ffffff;
    
    /* Cienie - klucz do nowoczesnego wyglądu (Soft Shadow) */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px -15px rgba(0,0,0,0.15);
    
    /* Promienie zaokrągleń */
    --radius-sm: 12px;
    --radius-lg: 24px;
}

/* Reset i Baza */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

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

/* --- Navbar (Glassmorphism) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(250, 250, 248, 0.85); /* Półprzezroczystość */
    backdrop-filter: blur(12px); /* Rozmycie tła pod spodem */
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: 0.3s;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo .dot { color: var(--secondary); font-size: 2rem; line-height: 0; }

.nav-menu { display: flex; gap: 32px; align-items: center; }

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: 0.3s;
}
.nav-link:hover::after { width: 100%; }

.btn-contact {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 93, 79, 0.3);
    color: var(--white);
}
.btn-contact::after { display: none; } /* Usuwa podkreślenie z przycisku */

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 40%;
    z-index: -1;
    border-bottom-left-radius: 100px; /* Organiczny kształt */
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, var(--bg-body) 0%, transparent 20%);
}

.hero-content {
    width: 50%;
    padding-left: 5vw;
}

.hero-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Skalowanie fontu */
    margin-bottom: 24px;
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-buttons { display: flex; gap: 24px; align-items: center; }

.btn-main {
    background: var(--primary);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, background 0.3s;
}
.btn-main:hover {
    transform: translateY(-3px);
    background: var(--primary-light);
}

.btn-text {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-text:hover { gap: 12px; color: var(--secondary); }

/* --- Sekcje Ogólne --- */
.section { padding: 100px 0; }
.bg-soft { background-color: var(--bg-soft); }
.section-header { margin-bottom: 60px; text-align: center; }
.section-label {
    display: block;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.section-title { font-size: 2.5rem; margin-bottom: 20px; }

/* Split Screen */
.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split-screen.reverse .text-block { order: 2; } /* Zmiana kolejności */

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}
.image-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: top center; /* <--- DODAJ TO: centruje zdjęcie do góry, chroniąc głowę przed ucięciem */
}

/* Lista cech z ikonami */
.features-list { margin-top: 30px; }
.features-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}
.icon-circle {
    width: 40px; height: 40px;
    background: #E8ECE9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* --- Karty (Cards) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); /* Tylko delikatny cień, bez obramowania */
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Sekcja Alpaki --- */
.blob-shape {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; /* Organiczny kształt */
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 50% 40% 50%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

.alpaca-tags { margin: 30px 0; }
.alpaca-tags span {
    display: inline-block;
    padding: 8px 16px;
    background: #EFEBE9;
    color: #5D4037;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* --- Cennik --- */
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
    transition: 0.3s;
}

.pricing-card.highlight {
    border: 2px solid var(--secondary);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Wyrównuje tekst i cenę w pionie */
    margin-bottom: 15px;
    color: var(--text-muted);
    gap: 15px; /* Odstęp między nazwą usługi a ceną */
}

.pricing-list span {
    text-align: left;
    line-height: 1.4; /* Poprawia czytelność przy długich nazwach usług */
}

.pricing-list strong {
    color: var(--primary);
    font-size: 1.1rem;
    white-space: nowrap; /* KLUCZOWE: Zapobiega łamaniu ceny (np. "100" i "zł" zawsze razem) */
    text-align: right;
    min-width: max-content; /* Gwarantuje, że cena zajmie tyle miejsca, ile potrzebuje */
}

/* --- Kontakt --- */
.dark-section {
    background: var(--bg-dark);
    color: var(--white);
}
.text-light { color: var(--white); }
.section-subtitle { opacity: 0.8; margin-bottom: 40px; }

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.contact-box { text-align: center; }
.contact-box i { font-size: 1.5rem; color: var(--secondary); margin-bottom: 15px; }

/* Nowoczesny Formularz */
.modern-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05); /* Przezroczyste tło na ciemnym */
    padding: 40px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group { position: relative; margin-bottom: 25px; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.form-group label {
    position: absolute;
    top: 12px; left: 0;
    color: rgba(255,255,255,0.6);
    pointer-events: none;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--secondary); }
.form-group input:focus ~ label, .form-group input:valid ~ label,
.form-group textarea:focus ~ label, .form-group textarea:valid ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--secondary);
}

.full-width { width: 100%; cursor: pointer; border: none; font-size: 1rem; margin-top: 10px;}

/* Footer */
footer { padding: 40px 0; background: #232925; color: #888; font-size: 0.9rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.socials a { color: #888; font-size: 1.2rem; margin-left: 20px; }
.socials a:hover { color: var(--secondary); }

/* --- Mobile / Responsywność --- */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.bar { width: 30px; height: 3px; background: var(--primary); transition: 0.3s; border-radius: 3px; }

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding-top: 0; /* ZMIANA: Usuwamy odpychanie od góry */
        text-align: center;
        min-height: auto; /* ZMIANA: Wysokość dopasuje się do treści, nie wymuszamy 700px */
        padding-bottom: 60px; /* Dodajemy trochę oddechu na dole */
    }
    .hero-bg {
        position: relative;
        width: 100%;
        height: 350px; /* Lekko wyższe zdjęcie na telefonie wygląda lepiej */
        left: 0;
        border-radius: 0; 
        border-bottom-left-radius: 40px; /* Opcjonalnie: zaokrąglenie tylko na dole */
        border-bottom-right-radius: 40px;
        margin-bottom: 40px;
        order: -1;
        
        /* KLUCZOWE POPRAWKI DLA GAPA: */
        margin-top: 0; 
    }
    .hero-content { width: 100%; padding: 0 20px; }
    .hero-buttons { justify-content: center; }
    
    .split-screen, .split-screen.reverse { grid-template-columns: 1fr; gap: 40px; }
    .split-screen.reverse .text-block { order: 1; }
    
    .pricing-card.highlight { transform: none; }
    
    /* Mobile Menu */
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px; right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 50px;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    }
    .nav-menu.active { right: 0; }
}

/* Animacje Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- Style dla strony Aktualności (Dodaj na końcu pliku style.css) --- */

/* Subpage Header */
.page-header {
    padding: 160px 0 80px 0; /* Więcej miejsca od góry przez navbar */
    background: var(--bg-soft);
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 0px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* News Grid layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* News Card Styles */
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-image-wrapper {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Zoom effect on hover */
.news-card:hover .news-image-wrapper img {
    transform: scale(1.08);
}

/* Date Badge styling */
.date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 8px 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--primary);
    line-height: 1.1;
}

.date-badge .day {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}

.date-badge .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
}

/* Content styling */
.news-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.news-meta i { color: var(--secondary); }

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Active link in navbar styling */
.active-link {
    color: var(--primary) !important;
}
.active-link::after {
    width: 100% !important; /* Keep underline visible */
}

/* Responsywność dla Aktualności */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px 0;
        border-radius: 0 0 30px 30px;
    }
    .page-header h1 { font-size: 2.2rem; }
}


.demo-alert {
    background-color: #ff9800; /* Pomarańczowy kolor ostrzegawczy */
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    position: relative; /* Lub fixed, jeśli ma "pływać" przy przewijaniu */
    z-index: 10000;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.demo-alert i {
    margin-right: 8px;
}

/* Style dla checkboxa RODO */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start; /* Wyrównaj do góry jeśli tekst jest długi */
    gap: 12px;
    margin-bottom: 25px;
    text-align: left;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 4px; /* Drobna korekta wyrównania do tekstu */
    accent-color: var(--secondary); /* Kolor zaznaczenia zgodny z motywem */
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    -webkit-appearance: auto; /* Przywraca domyślny wygląd checkboxa systemowego */
    appearance: auto;
}

.checkbox-wrapper label {
    position: static; /* Resetujemy pozycję absolute z głównego stylu formularza */
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: auto;
    line-height: 1.4;
    cursor: pointer;
}

/* --- Interaktywna Sekcja Alpaki --- */

.alpaca-intro {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Kontener na przyciski */
.alpaca-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 20px;
}

/* Styl przycisków imion */
.alpaca-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
    transition: 0.3s all ease;
}

.alpaca-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Aktywny przycisk */
.alpaca-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(74, 93, 79, 0.2);
}

/* Wyświetlanie imienia w opisie */
.alpaca-name-display {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.alpaca-desc-display {
    min-height: 80px; /* Zapobiega skakaniu wysokości przy zmianie tekstu */
    transition: opacity 0.3s ease;
}

/* Tagi cech (te małe pod opisem) */
.alpaca-traits {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.alpaca-traits span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--primary-light);
    background: #E8ECE9;
    padding: 5px 12px;
    border-radius: 8px;
}

/* Klasa pomocnicza do animacji zmiany */
.fade-content {
    opacity: 0;
    transform: translateY(10px);
}
.show-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* --- STYLE DLA PODSTRONY TERAPEUTKA --- */

/* Tagi umiejętności w sekcji BIO */
.skills-tags {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skills-tags span {
    background: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Lista Certyfikatów */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.cert-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary); /* Ozdobny pasek z lewej */
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    background: #FFF8F0;
    padding: 12px;
    border-radius: 12px;
}

.cert-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.cert-issuer {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.cert-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Galeria Gabinetu (Grid) */
.office-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Kolumna lewa 2x szersza */
    grid-template-rows: 250px 300px;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Pierwsze zdjęcie zajmuje całą wysokość lewej kolumny */
.item-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* Responsywność dla galerii */
@media (max-width: 768px) {
    .office-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 250px 200px 200px; /* Wszystkie jedno pod drugim */
    }
    .item-large {
        grid-column: auto;
        grid-row: auto;
    }
}

/* --- FAQ Styles --- */

.modern-faq-container {
    max-width: 800px; /* Węższy kontener dla lepszej czytelności tekstu */
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-family: 'Playfair Display', serif; /* Elegancki font nagłówkowy */
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question.active {
    color: var(--primary);
}

.icon-toggle {
    font-size: 0.9rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-question.active .icon-toggle {
    transform: rotate(45deg); /* Plus zmienia się w X */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Style dla sekcji Call To Action (Zajawka FAQ) --- */
.cta-container {
    display: flex;
    flex-direction: column; /* Układa elementy jeden pod drugim */
    align-items: center;    /* Centruje elementy (np. przycisk) w osi poziomej */
    text-align: center;     /* Centruje tekst */
    max-width: 700px;       /* Ogranicza szerokość tekstu dla czytelności */
    margin: 0 auto;         /* Centruje cały blok na stronie */
}

.cta-container p {
    color: var(--text-muted);
    margin-bottom: 30px;    /* Odstęp między tekstem a przyciskiem */
    line-height: 1.6;
}

/* Upewniamy się, że nagłówek nie ma dziwnych marginesów */
.cta-container h2 {
    margin-bottom: 20px;
}

/* --- Galeria Certyfikatów (JPG) --- */
.cert-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.cert-img-wrapper {
    position: relative;
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
}

.cert-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-img-wrapper img {
    width: 100%;
    height: 260px; /* Zwiększyłem lekko wysokość kafelka */
    object-fit: cover; /* Wypełnia kafelek (przycina nadmiar) */
    object-position: top center; /* KLUCZOWE: Pokazuje zawsze górę dokumentu (nagłówek) */
    border-radius: 4px;
    border: 1px solid #eee;
    transition: transform 0.5s ease;
}
.cert-img-wrapper:hover img {
    transform: scale(1.03); 
}

.cert-caption {
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

/* --- Lightbox (Powiększenie) --- */
.lightbox {
    display: none; /* Domyślnie ukryty */
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Ciemne tło */
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    animation: zoom 0.4s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-family: 'DM Sans', sans-serif;
}

.close-lightbox {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--secondary);
    text-decoration: none;
    cursor: pointer;
}

/* Responsywność Lightboxa */
@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 95%;
    }
}

/* --- Poprawki i naprawa Sekcji Kontakt (WERSJA FINALNA) --- */

/* 0. NAPRAWA NAGŁÓWKÓW: Wyśrodkowanie całej zawartości sekcji */
#kontakt .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ustawia formularz i grid na środku ekranu */
    text-align: center;  /* Wyśrodkowuje napisy "Skontaktuj się" i podtytuł */
}

/* 1. Kontener siatki kontaktowej */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    width: 100%; /* Ważne, żeby grid zajmował szerokość */
}

/* 2. Pojedynczy kafelek kontaktu */
.contact-box {
    flex: 0 1 280px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.contact-box i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.contact-link {
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
    font-size: 1.1rem;
    transition: 0.3s;
}
.contact-link:hover {
    color: var(--secondary);
    opacity: 1;
}

/* 3. Formularz - wyśrodkowanie pudełka, ale tekst w środku do lewej */
.modern-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;       
    text-align: left;     /* KLUCZOWE: Wewnątrz formularza tekst wraca do lewej */
}

.btn-main.full-width {
    width: 100%;
    border: none;
    margin-top: 20px;
    cursor: pointer;
}

/* 4. Checkbox RODO */
.checkbox-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    gap: 15px;
}

.checkbox-wrapper input {
    margin-top: 5px;
}

/* Responsywność */
@media (max-width: 600px) {
    .contact-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .contact-box {
        width: 100%;
        flex: none;
    }
}

/* --- Style dla Polityki Prywatności --- */
.privacy-content {
    max-width: 800px; /* Węższa kolumna tekstu dla lepszej czytelności */
    margin: 0 auto;
    color: var(--text-main);
}

.privacy-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.privacy-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-muted);
}

.privacy-content ul, .privacy-content ol {
    margin-left: 20px;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.privacy-content li {
    margin-bottom: 10px;
    padding-left: 10px;
}