.specialty-accordion { display: grid; gap: 14px; }
.spec-acc-item { border: 1px solid var(--gray); border-radius: 14px; background: #fff; box-shadow: 0 6px 16px var(--shadow); overflow: hidden; }
.spec-acc-toggle { width: 100%; display: grid; grid-template-columns: 56px 1fr 20px; align-items: center; gap: 14px; padding: 16px 18px; background: transparent; border: 0; text-align: left; cursor: pointer; }
.spec-acc-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--gradient-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 6px 14px rgba(6,79,61,.25); }
.spec-acc-toggle span { font-weight: 700; color: var(--primary-dark); }
.spec-acc-toggle i.fas { color: #6b7b7a; transition: transform .3s ease; }
.spec-acc-item.active .spec-acc-toggle i.fas { transform: rotate(180deg); }
.spec-acc-content { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.spec-acc-item.active .spec-acc-content { padding: 0 18px 16px; max-height: 600px; }

/* Scroll-snap w trybie mobilnym – przewijane bloki jak karuzela */
/* Accordion styles moved to mobile-first base */
/* ===== ZMIENNE KOLORYSTYCZNE ===== */
/* Znak szczególny - pasy wychodzące z prawej strony */
body {
    position: relative;
    /* Bez isolation: isolate - pozwala body::after (paskom) być widoczne */
}

body::after {
    content: '';
    position: fixed;
    top: 50%;
    right: 0px;
    width: 250px;
    height: 350px;
    pointer-events: none !important;
    z-index: 1 !important; /* WARSTWA 1: Paski dekoracyjne - widoczne na tle body i przez przezroczyste tła sekcji */
    background-image: url('../images/pasy w tle.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.4 !important; /* Widoczne na wszystkich tłach */
    transform: translateY(-50%);
}

/* WARSTWA 2: Sekcje z tłem - dla page-banner i service-section (przezroczyste tło) bez isolation, dla innych z isolation */
.page-banner,
.service-section {
    position: relative;
    z-index: 2;
    /* Bez isolation: isolate - pozwala paskom być widoczne przez przezroczyste tło */
}

.team-section,
.target-groups-section,
.google-reviews-section,
.contact-section,
.about-section,
.specialists-services-section,
.cta-section,
.pricing-section,
.faq-section,
.voucher-info-section,
.vouchers-section,
.contact-main-section,
.map-section,
.appointment-section,
.cart-section,
.voucher-selection-section,
.payment-section,
.success-section,
.privacy-policy-section,
.footer,
.service-benefits {
    position: relative;
    z-index: 2;
    isolation: isolate; /* Tworzy nowy stacking context - tło sekcji zakrywa paski */
    /* Upewniamy się, że kreski są nad tłem */
    overflow: visible;
}

/* Karty zespołu i grupy docelowe mają wyższy z-index */
.team-card,
.target-group-card,
.review-card,
.specialty-item,
.spec-sticky-card {
    position: relative;
    z-index: 3; /* Nad paskami (z-index: 1) i tłem sekcji - w kontekście sekcji */
    background: #ffffff;
}

/* Responsywność dla znaku szczególnego - mobile-first */
/* Domyślnie ukryte na bardzo małych ekranach */
@media (max-width: 480px) {
    body::after {
        display: none;
    }
}

/* Większe ekrany - pokazujemy paski */
@media (min-width: 481px) {
    body::after {
        width: clamp(180px, 15vw, 250px);
        height: clamp(250px, 25vh, 350px);
        right: clamp(-50px, -5vw, 0px);
        opacity: 0.15;
    }
}

@media (min-width: 769px) {
    body::after {
        opacity: 0.4;
        right: 0px;
    }
}

:root {
    /* Kolory */
    --primary: #064F3D;
    --primary-dark: #0B1A17;
    --primary-light: #3a9b85;
    --secondary: #ffffff;
    --secondary-light: #f8f9fa;
    --accent: #f8f9fa;
    --accent-dark: #e9ecef;
    --text-dark: #0B1A17;
    --text-light: #ffffff;
    --text-muted: #4a5568;
    --text-accent: #2d3748;
    --gray-light: #f8f9fa;
    --gray: #e9ecef;
    --gray-dark: #495057;
    --success: #267764;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #064F3D 0%, #1a3d35 100%);
    --gradient-secondary: linear-gradient(135deg, #1a3d35 0%, #2d4a42 100%);
    --gradient-black: linear-gradient(180deg, #0B1A17 0%, #1a2f2a 100%);
    
    /* Typografia - mobile-first z clamp() */
    --font-size-base: clamp(0.9375rem, 0.85rem + 0.4vw, 1rem); /* 15px - 16px */
    --font-size-h1: clamp(1.75rem, 1.2rem + 2.5vw, 3.5rem); /* 28px - 56px */
    --font-size-h2: clamp(1.4rem, 1.1rem + 1.5vw, 2.8rem); /* 22px - 45px */
    --font-size-h3: clamp(1.2rem, 1rem + 1vw, 1.8rem); /* 19px - 29px */
    --font-size-h4: clamp(1.1rem, 0.95rem + 0.75vw, 1.4rem); /* 17px - 22px */
    --font-size-small: clamp(0.875rem, 0.8rem + 0.4vw, 0.9375rem); /* 14px - 15px */
    --font-size-large: clamp(1.125rem, 1rem + 0.6vw, 1.3rem); /* 18px - 21px */
    
    /* Spacing - mobile-first */
    --spacing-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem); /* 8px - 12px */
    --spacing-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1rem); /* 12px - 16px */
    --spacing-md: clamp(1rem, 0.8rem + 1vw, 1.5rem); /* 16px - 24px */
    --spacing-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); /* 24px - 40px */
    --spacing-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem); /* 32px - 64px */
    --spacing-xxl: clamp(3rem, 2rem + 5vw, 6rem); /* 48px - 96px */
    
    /* Container */
    --container-padding: clamp(0.75rem, 2vw, 1.25rem); /* 12px - 20px */
    --container-max-width: 1200px;
    
    /* Touch targets - min 44px zgodnie z WCAG */
    --touch-target-min: 2.75rem; /* 44px */
    
    /* Breakpoints */
    --bp-xs: 320px;
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
    --bp-xxl: 1440px;
}

/* ===== PODSTAWOWE STYLE - MOBILE FIRST ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base dla rem */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: var(--font-size-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== LAYOUT - MOBILE FIRST ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

section {
    padding: var(--spacing-xxl) 0;
    width: 100%;
    max-width: 100vw;
}

/* Cieniutka zielona linia nad sekcjami – jak w index.html (pełna szerokość) */
/* Tylko bezpośrednie dzieci main/body, bez zagnieżdżonych sekcji */
main > section, body > section { 
    position: relative; 
    overflow: visible; /* Upewniamy się, że kreski są widoczne */
    /* Upewniamy się, że kreski są nad tłem - nie używamy isolation dla sekcji głównych */
    /* z-index ustawiany indywidualnie dla każdej sekcji powyżej */
}

/* Kreski dla sekcji - ale wyłączamy dla sekcji, które mają wewnątrz elementy z własnymi kreskami */
main > section::before, 
body > section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 1px;
    width: 100vw;
    max-width: 100vw;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    transform: translateX(-50%);
    pointer-events: none !important; /* Upewniamy się, że kreski nie blokują kliknięć */
    z-index: 1; /* Niski z-index - kreski nie mogą zakrywać navbaru */
    display: block;
}

/* Wyłączamy kreskę dla sekcji, które nie powinny mieć kresek na górze */
/* 1. Page banner - to banner na początku strony */
body > section.page-banner::before {
    display: none !important;
    content: none !important;
}

/* 2. Sekcja z .specialists-section lub .service-benefits (mają własne kreski) */
body > section#fizjoterapia::before,
body > section:has(.specialists-section)::before,
body > section:has(.service-benefits)::before {
    display: none !important;
    content: none !important;
}

/* Wyłączamy kreski dla zagnieżdżonych sekcji (np. .spec-section wewnątrz .service-section) */
section section::before,
.spec-section::before {
    display: none !important;
    content: none !important;
}

/* ===== TYPOGRAFIA ===== */
/* Style dla nagłówków - hierarchia tekstu */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--primary-light);
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: var(--font-size-h1);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--font-size-h2);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    position: relative;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--font-size-h3);
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h4 {
    font-size: var(--font-size-h4);
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

/* Usunięcie kresek pod nagłówkami */
h2::after { content: none !important; display: none !important; }

/* Opis sekcji - podtytuły pod nagłówkami */
.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 25;
}

/* ===== KOMPONENTY UI - MOBILE FIRST ===== */
/* Ujednolicone style przycisków - wszystkie przyciski mają spójny wygląd */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    padding: clamp(0.875rem, 0.75rem + 0.6vw, 1rem) clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
    border-radius: clamp(0.5rem, 0.4rem + 0.5vw, 0.625rem);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: var(--touch-target-min); /* 44px zgodnie z WCAG */
    min-width: var(--touch-target-min);
    box-shadow: 0 4px 15px rgba(6, 79, 61, 0.15);
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.3px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: 2px;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 79, 61, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-large {
    padding: clamp(1rem, 0.875rem + 0.625vw, 1.125rem) clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);
    font-size: var(--font-size-large);
    min-height: clamp(3rem, 2.75rem + 1.25vw, 3.5rem); /* 48px - 56px */
    border-radius: clamp(0.625rem, 0.5rem + 0.625vw, 0.75rem);
}

/* Pulsowanie dla głównego CTA */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== NAWIGACJA ===== */
/* Navbar styles are handled by navbar-unified.css */

/* ===== PAGE BANNER - MOBILE FIRST ===== */
.page-banner {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, rgba(6, 79, 61, 0.92) 0%, rgba(26, 61, 53, 0.92) 100%);
    position: relative;
    overflow: visible;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: var(--spacing-xl);
    width: 100%;
    max-width: 100vw;
}

/* Subtelne tło z wzorem */
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0; /* Za kontentem, ale paski (z-index: 1) są nad tym tłem */
}

.page-banner .container {
    position: relative;
    display: flex;
    flex-direction: column; /* Mobile first - kolumna */
    align-items: center;
    gap: var(--spacing-xl);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    z-index: 3;
    width: 100%;
}

.page-banner h1 {
    color: #ffffff !important;
    font-size: var(--font-size-h1);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    position: relative;
    text-align: center;
}

.page-banner p {
    color: #ffffff !important;
    font-size: var(--font-size-large);
    max-width: 100%;
    margin: var(--spacing-md) auto 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.page-banner .hero-content {
    flex: 1;
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 0;
    order: 1;
}

.page-banner .hero-content h1 {
    color: #ffffff !important;
    font-size: var(--font-size-h1);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    position: relative;
    text-align: center;
}

.page-banner .hero-content p {
    color: #ffffff !important;
    font-size: var(--font-size-large);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    text-align: center;
}

/* Przyciski w hero sekcji - jak na index */
.page-banner .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 100%;
}

.page-banner .hero-btn-fullwidth {
    width: 83%; /* Desktop - szerokość jak ustawiłeś */
    max-width: 100%;
}

/* Mobile - pełna szerokość */
@media (max-width: 767px) {
    .page-banner .hero-btn-fullwidth {
        width: 100%;
        max-width: 100%;
    }
}

.page-banner .hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
}

.banner-description {
    font-size: var(--font-size-large);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: #ffffff !important;
}

.page-banner .hero-image {
    flex: 1;
    max-width: 100%;
    width: 100%;
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    order: 2;
}

.page-banner .hero-image img {
    width: 100%;
    max-width: clamp(200px, 50vw, 500px);
    height: auto;
    max-height: clamp(250px, 60vh, 500px);
    object-fit: contain;
    position: relative;
    transition: transform 0.3s ease;
    border-radius: clamp(0.75rem, 0.6rem + 0.75vw, 0.9375rem);
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
    padding: 0 !important;
    z-index: 10;
}

.page-banner .hero-image img:hover {
    transform: scale(1.05);
}

/* ===== SEKCJA USŁUG - MOBILE FIRST ===== */
.service-section {
    padding: var(--spacing-xxl) 0;
    background-color: transparent;
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 100vw;
}

.service-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: linear-gradient(90deg, transparent 0%, rgba(6, 79, 61, 0.3) 50%, transparent 100%);
    z-index: 10;
}

.service-section.alt-bg {
    position: relative;
    /* z-index jest już zdefiniowany w grupie sekcji powyżej */
}

.service-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.service-header h2 {
    font-size: var(--font-size-h2);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.service-header h2:after { content: none !important; display: none !important; }

.service-content {
    display: flex;
    flex-direction: column; /* Mobile first - kolumna */
    flex-wrap: wrap;
    align-items: flex-start; /* Mobile - wyrównanie do lewej */
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    color: var(--primary-dark);
    width: 100%;
}

/* ===== ROZBUDOWANE SPECJALIZACJE (bez nudy) ===== */
.specialties-list { display: grid; grid-template-columns: 1fr; gap: 28px; }
.specialty-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--gray); border-radius: 16px; padding: 24px; box-shadow: 0 6px 18px var(--shadow); }
.specialty-item.alt { background: linear-gradient(180deg, #ffffff 0%, #f9fbfa 100%); }
.spec-icon { width: 120px; height: 120px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--gradient-primary); color: #fff; font-size: 42px; box-shadow: 0 8px 20px rgba(6,79,61,.25); }
.spec-content h3 { margin: 0 0 8px 0; color: var(--primary-dark); font-size: 1.4rem; }
.spec-content p { margin: 0 0 10px 0; color: #555; }
.spec-bullets { margin: 0 0 12px 18px; padding: 0; }
.spec-bullets li { margin: 6px 0; color: #36454f; }
.btn-small { padding: 10px 16px; font-size: .95rem; border-radius: 999px; }

/* Specialty items - mobile-first (już jedna kolumna w bazie) */

/* ===== NOWOCZESNA KARUZELA SPECJALIZACJI - MOBILE FIRST ===== */
/* Mobile first - jedna kolumna, każda sekcja ma własną mini-kartę */
.spec-sticky { 
    display: grid; 
    grid-template-columns: 1fr; /* Mobile first - jedna kolumna */
    gap: var(--spacing-xl); 
    align-items: start; 
    width: 100%;
}

.spec-sticky-left { 
    position: relative; /* Mobile first - relative */
    top: auto; 
    height: auto; 
    width: 100%;
    order: 1; /* Karta na górze na mobile */
    display: block; /* Mobile - pokazujemy */
}

/* Na mobile - ukryj główną sticky card (zostanie zastąpiona mini-kartami w sekcjach) */
@media (max-width: 1023px) {
    .spec-sticky-left {
        display: none; /* Ukryj główną kartę sticky na mobile */
    }
}

.spec-sticky-card { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); 
    color: #fff; 
    border-radius: clamp(1rem, 0.8rem + 1vw, 1.25rem); 
    padding: clamp(1.25rem, 1rem + 1.25vw, 1.75rem); 
    box-shadow: 0 12px 35px rgba(0,0,0,.25); 
    position: relative; 
    overflow: hidden; 
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.spec-sticky-card { 
    transition: opacity .25s ease, transform .25s ease; 
}

.spec-sticky-card.switching { 
    opacity: .7; 
    transform: translateY(4px); 
}

.spec-sticky-card::after { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: conic-gradient(from 0deg at 50% 50%, transparent 0, rgba(255,255,255,.08) 70deg, transparent 120deg); 
    opacity: .35; 
    pointer-events: none; 
    animation: rotate 25s linear infinite; 
}

.spec-sticky-icon { 
    width: clamp(3.5rem, 3rem + 2.5vw, 4.5rem); 
    height: clamp(3.5rem, 3rem + 2.5vw, 4.5rem); 
    border-radius: clamp(0.75rem, 0.6rem + 0.75vw, 1rem); 
    background: rgba(255,255,255,.15); 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 1.875rem); 
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); 
    margin-bottom: var(--spacing-sm); 
}

.spec-sticky-card h3 { 
    margin: var(--spacing-sm) 0; 
    font-size: var(--font-size-h3); 
}

.spec-sticky-card p { 
    margin: 0 0 var(--spacing-sm); 
    opacity: .95; 
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.spec-sticky-list { 
    margin: 0 0 var(--spacing-sm) clamp(1rem, 0.8rem + 1vw, 1.125rem); 
    padding: 0; 
}

.spec-sticky-list li { 
    margin: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem) 0; 
    color: rgba(255,255,255,.95); 
    font-size: var(--font-size-small);
}

/* Przycisk w lewym sticky – styl spójny z brandem */
.spec-sticky-card .btn { 
    border: 2px solid rgba(255,255,255,.85); 
    color: #fff !important; 
    background: transparent; 
    width: 100%;
    margin-top: var(--spacing-sm);
}

.spec-sticky-card .btn:hover { 
    background: #fff; 
    color: var(--primary) !important; 
    box-shadow: 0 8px 22px rgba(0,0,0,.25); 
    transform: translateY(-1px); 
}

.spec-sticky-card .btn:focus { 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 8px 22px rgba(0,0,0,.25); 
}

.spec-sticky-right { 
    display: grid; 
    gap: var(--spacing-xl); 
    width: 100%;
    order: 2; /* Sekcje poniżej na mobile */
}

.spec-section { 
    background: #fff; 
    border: 1px solid var(--gray); 
    border-radius: clamp(0.75rem, 0.6rem + 0.75vw, 1rem); 
    padding: 0; /* Reset padding - będzie w spec-section-content */
    box-shadow: 0 6px 18px var(--shadow); 
    width: 100%;
    overflow: hidden; /* Dla zaokrąglonych rogów */
}

/* Mini-karta dla każdej sekcji na mobile */
.spec-section-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
    margin: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 0.8rem + 1vw, 1.25rem);
    min-height: auto;
}

/* Dekoracyjne tło dla mini-karty */
.spec-section-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0, rgba(255,255,255,.08) 70deg, transparent 120deg);
    opacity: .35;
    pointer-events: none;
    animation: rotate 25s linear infinite;
}

/* Ikona w mini-karcie */
.spec-section-header-icon {
    width: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    border-radius: clamp(0.75rem, 0.6rem + 0.75vw, 1rem);
    background: rgba(255,255,255,.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.25rem, 1rem + 1.25vw, 1.625rem);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.spec-section-header-icon i {
    color: #fff;
    font-size: inherit;
}

/* Zawartość sekcji */
.spec-section-content {
    padding: clamp(1.125rem, 0.9rem + 1.125vw, 1.625rem);
}

/* Na mobile - dodaj padding-top dla pierwszej sekcji po mini-karcie */
@media (max-width: 1023px) {
    .spec-section-content {
        padding-top: clamp(1.125rem, 0.9rem + 1.125vw, 1.625rem);
    }
}

/* Tytuł i opis w mini-karcie (na mobile) */
.spec-section-header-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.spec-section-header h3 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: var(--font-size-h3);
    color: #fff;
    font-weight: 700;
}

.spec-section-header p {
    margin: 0;
    opacity: .95;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #fff;
}

/* Na desktop - ukryj mini-karty i pokaż normalną zawartość */
@media (min-width: 1024px) {
    .spec-section-header {
        display: none; /* Ukryj header na desktop */
    }
    
    .spec-section-content {
        padding-top: clamp(1.125rem, 0.9rem + 1.125vw, 1.625rem);
    }
    
    .spec-sticky-left {
        display: block; /* Pokaż główną kartę sticky na desktop */
    }
}

.spec-section h4 { 
    margin: 0 0 var(--spacing-sm); 
    color: var(--primary-dark); 
    font-size: var(--font-size-h4);
}

.spec-section p { 
    margin: 0 0 var(--spacing-sm); 
    color: #555; 
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.spec-bullets {
    margin: var(--spacing-sm) 0 var(--spacing-sm) clamp(1rem, 0.8rem + 1vw, 1.125rem);
    padding: 0;
}

.spec-bullets li {
    margin: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem) 0;
    color: #36454f;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* Aktywna sekcja – delikatne podświetlenie i pasek po lewej */
.spec-section.active { 
    border-color: rgba(6,79,61,.35); 
    box-shadow: 0 10px 26px rgba(6,79,61,.18); 
    position: relative; 
}

.spec-section.active::before { 
    content: ''; 
    position: absolute; 
    left: -1px; 
    top: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem); 
    bottom: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem); 
    width: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem); 
    border-radius: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem); 
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%); 
    box-shadow: 0 0 12px rgba(6,79,61,.45); 
}

/* Impuls świetlny na karcie sticky przy zmianie sekcji */
.spec-sticky-card.glow { 
    box-shadow: 0 0 0 0 rgba(255,255,255,.75), 0 12px 35px rgba(0,0,0,.25); 
    animation: glowPulse .8s ease-out 1; 
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7), 0 12px 35px rgba(0,0,0,.25); }
  70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 12px 35px rgba(0,0,0,.25); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 auto; /* Nie rozciąga się */
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center; /* Mobile - wyśrodkowane */
    align-items: flex-start;
}

.service-image img {
    width: auto;
    max-width: 100%; /* Mobile - dopasowane do szerokości kontenera */
    height: auto;
    max-height: clamp(250px, 50vh, 400px); /* Mniejsze na mobile */
    border-radius: clamp(0.5rem, 0.4rem + 0.5vw, 0.625rem);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain; /* Zamiast cover - żeby logo się nie obcinało */
}

.service-text {
    flex: 1;
    width: 100%;
    max-width: 100%;
}

.lead-text {
    font-size: var(--font-size-large);
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.service-list li i {
    color: var(--primary);
    margin-right: var(--spacing-sm);
    font-size: var(--font-size-large);
    flex-shrink: 0;
}

.service-cta {
    margin-top: var(--spacing-lg);
}

.service-cta .btn {
    width: 100%;
    max-width: 100%;
}

/* ===== SEKCJA SPECJALISTÓW - MOBILE FIRST ===== */
.specialists-section {
    position: relative;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    width: 100%;
}

/* Zielona kreska oddzielająca nad sekcją Nasi Specjaliści */
.specialists-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 1px;
    width: 100vw;
    max-width: 100vw;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    transform: translateX(-50%);
    pointer-events: none !important; /* Upewniamy się, że kreski nie blokują kliknięć */
    z-index: 1; /* Niski z-index - kreski nie mogą zakrywać navbaru */
    display: block;
}

.specialist-profile {
    margin-bottom: var(--spacing-xl);
    background: transparent;
    width: 100%;
}

.specialist-profile-content {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first - jedna kolumna */
    gap: var(--spacing-xl);
    align-items: start;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
    width: 100%;
}

.specialist-profile-content.reverse {
    grid-template-columns: 1fr; /* Mobile first - jedna kolumna */
    direction: ltr; /* Reset direction na mobile */
}

.specialist-profile-content.reverse > * {
    direction: ltr;
}

.specialist-image-wrapper {
    position: relative; /* Mobile first - relative */
    top: auto;
    border-radius: clamp(0.75rem, 0.6rem + 0.75vw, 0.9375rem);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(6, 79, 61, 0.2);
    transition: transform 0.3s ease;
    background: white;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: clamp(280px, 50vh, 600px);
    order: 1; /* Obraz na górze na mobile */
}

.specialist-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(6, 79, 61, 0.3);
}

.specialist-image-wrapper img {
    width: 100%;
    height: 100%;
    min-height: clamp(280px, 50vh, 600px);
    display: block;
    object-fit: cover;
    object-position: center;
}

.specialist-details {
    padding-left: 0;
    width: 100%;
    order: 2; /* Tekst poniżej na mobile */
}

.specialist-details h3 {
    font-size: var(--font-size-h2);
    margin-bottom: var(--spacing-sm);
}

.specialist-title {
    font-size: var(--font-size-large);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.specialist-description {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-lg);
}

.specialist-details h4 {
    font-size: var(--font-size-h4);
    color: var(--primary-dark);
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.specialist-cta {
    margin-top: var(--spacing-lg);
}

.specialist-cta .btn {
    width: 100%;
    max-width: 100%;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.specialty-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.specialty-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 79, 61, 0.3);
}

/* ===== FONT AWESOME ICONS ===== */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 7 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../webfonts/fa-brands-400.woff2") format("woff2");
}

/* Podstawowe style dla Font Awesome */
.fa,
.fas,
.fab,
.far {
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
}

.fab {
    font-family: "Font Awesome 7 Brands" !important;
}

/* Ikony używane na stronie usługi */
.fa-check-circle::before,
.fas.fa-check-circle::before {
    content: "\f058" !important;
}

.fa-user::before,
.fas.fa-user::before {
    content: "\f007" !important;
}

.fa-search::before,
.fas.fa-search::before {
    content: "\f002" !important;
}

.fa-hands-helping::before,
.fas.fa-hands-helping::before {
    content: "\f4c4" !important;
}

.fa-book-medical::before,
.fas.fa-book-medical::before {
    content: "\f7e6" !important;
}

.fa-trophy::before,
.fas.fa-trophy::before {
    content: "\f091" !important;
}

.fa-home::before,
.fas.fa-home::before {
    content: "\f015" !important;
}

.fa-lightbulb::before,
.fas.fa-lightbulb::before {
    content: "\f0eb" !important;
}

.fa-bars::before,
.fas.fa-bars::before {
    content: "\f0c9" !important;
}

.fa-times::before,
.fas.fa-times::before {
    content: "\f00d" !important;
}

.fa-facebook::before,
.fab.fa-facebook::before {
    content: "\f09a" !important;
    font-family: "Font Awesome 7 Brands" !important;
}

.fa-instagram::before,
.fab.fa-instagram::before {
    content: "\f16d" !important;
    font-family: "Font Awesome 7 Brands" !important;
}

.fa-tiktok::before,
.fab.fa-tiktok::before {
    content: "\e07b" !important;
    font-family: "Font Awesome 7 Brands" !important;
}

.fa-youtube::before,
.fab.fa-youtube::before {
    content: "\f167" !important;
    font-family: "Font Awesome 7 Brands" !important;
}

.fa-heart-pulse::before,
.fas.fa-heart-pulse::before {
    content: "\e21e" !important;
}

.fa-person-walking::before,
.fas.fa-person-walking::before {
    content: "\f554" !important;
}

.fa-dumbbell::before,
.fas.fa-dumbbell::before {
    content: "\f44b" !important;
}

.fa-shield-heart::before,
.fas.fa-shield-heart::before {
    content: "\f574" !important;
}

.fa-hand-holding-heart::before,
.fas.fa-hand-holding-heart::before {
    content: "\f4be" !important;
}

.fa-droplet::before,
.fas.fa-droplet::before {
    content: "\f043" !important;
}

.fa-brain::before,
.fas.fa-brain::before {
    content: "\f5dc" !important;
}

.fa-bed::before,
.fas.fa-bed::before {
    content: "\f236" !important;
}

.specialist-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8f4f0;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(38, 119, 100, 0.15);
}

.specialist-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f8f6;
}

.specialist-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

.specialist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-info h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.specialist-title {
    color: var(--primary);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.specialist-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-right: 12px;
}

.service-name {
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
}

.service-name small {
    color: #888;
    font-style: italic;
}

/* ===== SEKCJA KORZYŚCI ===== */
.service-benefits {
    position: relative;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    padding-bottom: 40px;
    background: transparent;
    border-radius: 15px;
    z-index: 0;
}

/* Zielona kreska oddzielająca nad sekcją Korzyści z fizjoterapii */
.service-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 1px;
    width: 100vw;
    max-width: 100vw;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    transform: translateX(-50%);
    pointer-events: none !important; /* Upewniamy się, że kreski nie blokują kliknięć */
    z-index: 1; /* Niski z-index - kreski nie mogą zakrywać navbaru */
    display: block;
}

.service-benefits h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
   
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray);
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary-light);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.benefit-icon i,
.benefit-icon i.fas,
.benefit-icon .fas {
    color: white !important;
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1 !important;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.15) rotate(10deg);
    background: var(--gradient-secondary);
}

.benefit-card:hover .benefit-icon i {
    color: white !important;
}

.benefit-card h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== PROCESS STEPS - MOBILE FIRST ===== */
.process-steps { 
    counter-reset: step; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: grid; 
    grid-template-columns: 1fr; /* Mobile first - jedna kolumna */
    gap: var(--spacing-md); 
    width: 100%;
}

.process-steps li { 
    background: #fff; 
    border: 1px solid var(--gray); 
    border-radius: var(--border-radius-lg); 
    padding: var(--spacing-md); 
    box-shadow: 0 5px 15px var(--shadow); 
    width: 100%;
}

.process-steps li h4 { 
    margin: 0 0 var(--spacing-xs) 0; 
    color: var(--primary-dark); 
    font-size: var(--font-size-h4);
}

.process-steps li p { 
    margin: 0; 
    color: #666; 
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* ===== INDICATIONS GRID - MOBILE FIRST ===== */
.indications-grid { 
    display: grid; 
    grid-template-columns: 1fr; /* Mobile first - jedna kolumna */
    gap: var(--spacing-lg); 
    width: 100%;
}

.indications-col { 
    width: 100%;
}

.indications-col h4 { 
    margin: 0 0 var(--spacing-sm) 0; 
    color: var(--primary-dark); 
    font-size: var(--font-size-h4);
}

.note { 
    color: #666; 
    font-size: var(--font-size-small); 
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    text-align: left; /* Mobile - wyrównanie do lewej */
    width: 100%;
    padding: 0;
    line-height: 1.6;
}

/* Indications grid - mobile-first (już jedna kolumna w bazie) */

/* ===== STATS - MOBILE FIRST ===== */
.stats-grid { 
    display: grid; 
    grid-template-columns: 1fr; /* Mobile first - jedna kolumna */
    gap: var(--spacing-md); 
    text-align: center; 
    width: 100%;
}

.stat-item { 
    background: #fff; 
    border: 1px solid var(--gray); 
    border-radius: var(--border-radius-lg); 
    padding: var(--spacing-lg); 
    box-shadow: 0 5px 15px var(--shadow); 
    width: 100%;
}

.stat-item strong { 
    display: block; 
    font-size: var(--font-size-h2); 
    color: var(--primary); 
    margin-bottom: var(--spacing-xs); 
}

.stat-item span { 
    color: #444; 
    font-size: var(--font-size-base);
}
/* Stats grid - mobile-first (już jedna kolumna w bazie) */

/* ===== FAQ (lekka wersja jak w cennik) ===== */
.faq-section { padding: 80px 0; background-color: transparent; color: var(--primary-dark); position: relative; z-index: 2; }
.faq-section h2 { text-align: center;}
.faq-container { max-width: 800px; margin: 40px auto 0; }
.faq-item { background: #fff; border: 1px solid var(--gray); border-radius: var(--border-radius); margin-bottom: 15px; overflow: hidden; box-shadow: 0 3px 10px var(--shadow); }
.faq-question { padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question h3 { margin: 0; font-size: 1.05rem; color: var(--primary-dark); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.active .faq-answer { padding: 0 20px 16px; max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* ===== SEKCJA CTA - MOBILE FIRST ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(6, 79, 61, 0.92) 0%, rgba(26, 61, 53, 0.92) 100%);
    padding: var(--spacing-xxl) var(--container-padding);
    position: relative;
    overflow: visible;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 0.8s both;
    z-index: 0;
    width: 100%;
    max-width: 100vw;
}

/* Linia rozdzielająca CTA od stopki jak w o-nas */
.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.cta-section h2 {
    color: var(--text-light) !important;
    font-size: var(--font-size-h2);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding: 0 var(--container-padding);
}

.cta-section h2:after {
    content: '';
    display: block;
    width: clamp(3rem, 2.5rem + 2.5vw, 5rem);
    height: clamp(0.125rem, 0.1rem + 0.125vw, 0.1875rem);
    background-color: var(--text-light);
    margin: var(--spacing-sm) auto 0;
}

.cta-section p {
    font-size: var(--font-size-large);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--container-padding);
}

.cta-section .btn-primary {
    background-color: var(--primary-dark);
    color: #ffffff !important;
    border: 2px solid var(--primary-dark);
    padding: clamp(1rem, 0.875rem + 0.625vw, 1.375rem) clamp(1.5rem, 1.25rem + 1.25vw, 2.5rem);
    min-width: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 999px;
    box-sizing: border-box;
}

.cta-section .btn-primary:hover {
    background-color: var(--primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 79, 61, 0.3);
}

/* ===== SEKCJA KONTAKT ===== */
.contact-section {
    padding: 80px 0;
    background-color: transparent;
    color: var(--primary-dark);
}

.contact-section h2 {
    margin-bottom: 15px;
    color: var(--primary-dark) !important;
}

.contact-section .section-description {
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

.contact-info {
    width: 100%;
}

.contact-details h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.opening-hours {
    margin-top: 30px;
}

.opening-hours h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.opening-hours p {
    margin-bottom: 8px;
}

.map-container {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cta-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta-box p {
    margin-bottom: 25px;
    max-width: 400px;
}

.cta-box .btn {
    min-width: 200px;
}

/* Footer styles removed — unified in css/footer-unified.css */

/* ===== ANIMACJE SCROLL REVEAL ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Optymalizacja animacji - wyłącz will-change po zakończeniu */
.fade-in.visible,
.slide-in-left.visible,
.scale-in.visible {
    will-change: auto;
}

/* Stare animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSYWNOŚĆ - MEDIA QUERIES (min-width) ===== */
/* Tablet Portrait - 768px i więcej */
@media (min-width: 768px) {
    .page-banner .container {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .page-banner .hero-content {
        flex: 0 0 60%;
        max-width: 60%;
        text-align: left;
        padding-right: var(--spacing-md);
    }
    
    .page-banner .hero-content h1,
    .page-banner .hero-content p {
        text-align: left;
    }
    
    .page-banner .hero-buttons {
        justify-content: flex-start;
    }
    
    
    .page-banner .hero-image {
        flex: 0 0 40%;
        max-width: 40%;
        justify-content: flex-end;
    }
    
    .page-banner .hero-image img {
        max-width: 500px;
        max-height: 500px;
    }
    
    .btn {
        width: auto;
        max-width: none;
    }
    
    .spec-sticky-card .btn {
        width: auto;
        max-width: none;
    }
    
    .specialist-profile-content {
        grid-template-columns: 40% 1fr;
    }
    
    .specialist-image-wrapper {
        order: 1;
    }
    
    .specialist-details {
        order: 2;
        padding-left: var(--spacing-md);
    }
    
    .specialist-profile-content.reverse {
        grid-template-columns: 1fr 40%;
    }
    
    .specialist-profile-content.reverse .specialist-image-wrapper {
        grid-column: 2;
        order: 2;
    }
    
    .specialist-profile-content.reverse .specialist-details {
        grid-column: 1;
        order: 1;
    }
    
    .indications-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Service content - tekst po lewej, logo po prawej */
    .service-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .service-text {
        flex: 1;
        order: 1;
    }
    
    .service-image {
        flex: 0 0 auto;
        order: 2;
        max-width: clamp(350px, 40vw, 600px);
        justify-content: flex-end; /* Logo z prawej */
        width: auto;
    }
    
    .service-image img {
        max-width: 100%;
        max-height: clamp(500px, 75vh, 800px);
    }
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet Landscape / Small Desktop - 1024px i więcej */
@media (min-width: 1024px) {
    /* STICKY DZIAŁA TYLKO OD 1024px */
    .spec-sticky {
        grid-template-columns: 1fr 2fr; /* Desktop - 2 kolumny */
        gap: clamp(2rem, 2.5vw, 2.25rem);
    }
    
    .spec-sticky-left {
        position: sticky !important;
        top: clamp(5rem, 5vh, 6.25rem); /* 80px - 100px */
        height: fit-content;
        order: 1;
    }
    
    .spec-sticky-right {
        order: 2;
    }
    
    .spec-sticky-card {
        margin-bottom: 0;
    }
    
    .specialist-image-wrapper {
        position: sticky !important;
        top: clamp(5rem, 5vh, 6.25rem);
        height: fit-content;
        max-width: clamp(350px, 30vw, 400px);
    }
    
    .specialist-profile-content {
        grid-template-columns: clamp(350px, 30vw, 400px) 1fr;
        gap: clamp(1.75rem, 2vw, 1.875rem);
    }
    
    .specialist-profile-content.reverse {
        grid-template-columns: 1fr clamp(350px, 30vw, 400px);
    }
    
    .specialist-details {
        padding-left: var(--spacing-lg);
    }
}

/* Desktop - 1280px i więcej */
@media (min-width: 1280px) {
    .container {
        max-width: var(--container-max-width);
    }
    
    .page-banner .container {
        max-width: var(--container-max-width);
    }
}

/* Large Desktop - 1440px i więcej */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .page-banner .container {
        max-width: 1400px;
    }
}

/* ===== DODATKOWE KOREKTY DLA MAŁYCH EKRANÓW ===== */
/* Mobile Small - 320px */
@media (max-width: 320px) {
    .container {
        padding: 0 clamp(0.5rem, 1.5vw, 0.75rem);
    }
    
    .page-banner {
        padding: var(--spacing-lg) 0;
    }
    
    .cta-section {
        padding: var(--spacing-lg) var(--container-padding);
    }
    
    .spec-sticky-card {
        padding: var(--spacing-md);
    }
    
    .spec-section {
        padding: var(--spacing-md);
    }
}

/* ===== STARE MEDIA QUERIES (max-width) - USUNIĘTE ===== */
/* Wszystkie style są już w bazie mobile-first, więc stare max-width queries zostały usunięte */

