/*
Theme Name: Alicja Wojtaszewska PRO HEALTH v12
Author: ADSCode.pl
Description: High-end medical theme inspired by Medib/FRSC.
Version: 12.2 (Animated Hero)
*/

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --primary: #bc2a8d;       /* Fuksja - Akcja/Highlight */
    --primary-dark: #9d2275;
    --secondary: #19a3b1;     /* Turkus - Medyczny/Zaufanie */
    --secondary-dark: #13828d;
    --secondary-light: #e0f7fa;
    
    --dark: #0f172a;          /* Głęboki granat/czarny */
    --gray-text: #475569;     /* Slate Gray dla tekstu */
    --light-bg: #f8fafc;      /* Bardzo jasne tło */
    --white: #ffffff;

    /* Spacing & Layout */
    --container-width: 1240px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-float: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--gray-text);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--dark); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }

.container { width: 90%; max-width: var(--container-width); margin: 0 auto; }
.text-center { text-align: center; }

/* =========================================
   2. TYPOGRAPHY UTILS
   ========================================= */
/* Zmiana koloru plakietki OFERTA na prześwitujący róż */
.section-services .section-subtitle {
    /* Prześwitująca Fuksja (Twoje Primary: 188, 42, 141) z przezroczystością 0.25 */
    background: #bc2a8d; 
    
    /* Biały tekst dla maksymalnego kontrastu na turkusowym tle */
    color: #fff; 
    
    /* Dodatkowy detal: delikatna różowa ramka */
    border: 1px solid rgba(188, 42, 141, 0.4); 
    
    /* Zachowanie stylów bazowych */
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.section-lead {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-text);
}
/* =========================================
   MOBILE HEADER (WHITE BACKGROUND THEME)
   ========================================= */

:root {
    /* Upewnijmy się, że zmienne są dostępne */
    --c-navy: #0f172a;       /* Ciemny Granat (Tekst/Ikony) */
    --c-teal: #19a3b1;       /* Turkus (Akcent) */
    --c-pink: #bc2a8d;       /* Fuksja (Hover) */
    --c-white: #ffffff;      /* Tło */
}

/* --- 1. USTAWIENIA NAGŁÓWKA NA BIAŁYM TLE --- */
.site-header {
    background-color: var(--c-white); /* ZAWSZE Białe tło */
    width: 100%;
    position: fixed;
    top: 0; left: 0; z-index: 999;
    padding: 15px 0;
    transition: all 0.3s ease;
    /* Delikatny cień, żeby odciąć biały nagłówek od białej treści */
    box-shadow: 0 4px 20px -5px rgba(0,0,0,0.05); 
}

/* Stan Sticky (gdy przewijamy) - mocniejszy cień */
.site-header.is-sticky {
    padding: 10px 0; /* Lekkie zmniejszenie paska */
    box-shadow: 0 4px 25px -5px rgba(0,0,0,0.1); 
}

/* --- 2. UKRYWANIE ELEMENTÓW DESKTOP NA MOBILE --- */
@media (max-width: 992px) {
    .desktop-nav { display: none !important; }
    .header-actions .contact-btn { display: none !important; }
    .header-actions .desk-only { display: none !important; }
    
    /* Wyrównanie: Logo po lewej, Hamburger po prawej */
    .header-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
/* =========================================
   PROFESSIONAL ANIMATED HAMBURGER
   ========================================= */

/* 1. Kontener Przycisku */
.mobile-toggle {
    display: none; /* Na desktopie ukryty */
    position: relative;
    width: 50px; 
    height: 50px; /* Duże pole dotyku */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2002; /* Musi być nad overlayem i szufladą */
    margin-right: -10px; /* Wyrównanie optyczne do krawędzi */
}

/* Pokaż tylko na mobile */
@media (max-width: 992px) {
    .mobile-toggle { display: block; }
}

/* 2. Stylizacja Kresek (Span) */
.mobile-toggle span {
    position: absolute;
    left: 10px; /* Wycentrowanie poziome wewnątrz przycisku 50px */
    height: 3px; /* Grubość kreski */
    border-radius: 3px;
    background-color: var(--c-navy); /* Domyślny kolor: Granat */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Płynna animacja */
}

/* 3. Pozycje wyjściowe (Hamburger "schodki") */

/* Górna kreska */
.mobile-toggle span:nth-child(1) {
    top: 15px;
    width: 30px;
}

/* Środkowa kreska (Turkusowy akcent) */
.mobile-toggle span:nth-child(2) {
    top: 23px; /* Dokładny środek */
    width: 22px; /* Krótsza */
    background-color: var(--c-teal);
}

/* Dolna kreska */
.mobile-toggle span:nth-child(3) {
    top: 31px;
    width: 30px;
}

/* --- INTERAKCJA I ANIMACJA --- */

/* Hover: Wszystkie kreski równe i Fuksjowe */
.mobile-toggle:hover span {
    width: 30px;
    background-color: var(--c-pink);
}

/* STAN AKTYWNY (Zamiana w "X") */
/* Klasa .is-active jest dodawana przez JavaScript */

/* Górna kreska: obraca się o 45st i przesuwa na środek */
.mobile-toggle.is-active span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
    background-color: var(--c-navy); /* Lub var(--c-pink) jeśli wolisz */
}

/* Środkowa kreska: znika */
.mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px); /* Efekt wylatywania w bok */
}

/* Dolna kreska: obraca się o -45st i przesuwa na środek */
.mobile-toggle.is-active span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
    background-color: var(--c-navy);
}

/* --- DOPASOWANIE LOGO NA BIAŁYM TLE --- */
@media (max-width: 992px) {
    .brand-logo img {
        height: 45px; /* Optymalna wielkość na mobile */
        width: auto;
    }
    
    /* Jeśli logo jest tekstowe - musi być ciemne */
    .text-logo {
        color: var(--c-navy) !important;
    }
}
/* =========================================
   4. HERO SLIDER - PRO VERSION (FIXED)
   ========================================= */
.hero-slider-section {
    position: relative;
    height: 90vh; 
    min-height: 700px;
    max-height: 1080px;
    background: #0f172a; /* Kolor tła widoczny, jeśli zdjęcie się nie załaduje */
    overflow: hidden;
}

/* FIX: Dodano brakującą klasę .swiper, aby przejęła wysokość rodzica */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* --- TŁO I ZOOM EFFECT --- */
.slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; /* Dla pewności */
    height: 100%; /* Dla pewności */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

/* --- PROFESJONALNY GRADIENT --- */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    background: linear-gradient(
        90deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(15, 23, 42, 0.85) 35%, 
        rgba(15, 23, 42, 0.4) 60%, 
        rgba(15, 23, 42, 0.1) 100%
    );
    pointer-events: none; /* Kliknięcia przechodzą przez gradient */
}

/* --- UKŁAD TREŚCI --- */
.hero-content-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 20;
    color: #fff;
    padding-bottom: 40px;
}

/* --- TYPOGRAFIA --- */
.hero-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid var(--primary);
    line-height: 1;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    max-width: 90%;
    font-weight: 400;
}

/* --- PRZYCISK HERO --- */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 10px 10px 30px;
    background: #fff;
    color: var(--dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-hero .icon-circle {
    width: 45px; height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(188, 42, 141, 0.3);
}

.btn-hero:hover .icon-circle {
    transform: rotate(-45deg);
    background: var(--dark);
}

/* --- ANIMACJA WJAZDU --- */
.hero-tag, .hero-content h1, .hero-content p, .hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.swiper-slide-active .hero-tag,
.swiper-slide-active .hero-content h1,
.swiper-slide-active .hero-content p,
.swiper-slide-active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .hero-tag { transition-delay: 0.2s; }
.swiper-slide-active .hero-content h1 { transition-delay: 0.4s; }
.swiper-slide-active .hero-content p { transition-delay: 0.6s; }
.swiper-slide-active .hero-buttons { transition-delay: 0.8s; }

/* Kontener nawigacji - rozciągamy go na cały ekran, żeby łatwiej pozycjonować */
.swiper-nav-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    pointer-events: none; /* Kliknięcia przechodzą przez puste miejsca */
}

/* Kropki (Paginacja) - przesuwamy wyżej, nad kafelki */
.swiper-pagination {
    position: absolute !important;
    bottom: 120px !important; /* Wyżej, żeby nie wchodziło pod kafelki */
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    display: flex;
    gap: 8px;
    z-index: 21;
    pointer-events: auto;
}

.swiper-pagination-bullet {
    width: 50px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    opacity: 1;
    margin: 0 !important;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.swiper-pagination-bullet-active {
    background: var(--primary); /* Fuksja */
    width: 80px;
}

/* --- STRZAŁKI (PO BOKACH) --- */
.swiper-button-prev, .swiper-button-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    margin: 0 !important;
    width: 60px; 
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 30;
    pointer-events: auto; /* Włączamy klikanie */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Pozycje lewa/prawa z odstępem */
.swiper-button-prev {
    left: 30px;
}

.swiper-button-next {
    right: 30px;
}

/* Ikony strzałek */
.swiper-button-prev::after, .swiper-button-next::after {
    font-size: 1.2rem;
    font-weight: 900;
}

/* Efekt Hover */
.swiper-button-prev:hover, .swiper-button-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1); /* Lekkie powiększenie */
    box-shadow: 0 0 20px rgba(188, 42, 141, 0.4);
}

/* Responsywność - na tabletach/mobile chowamy strzałki, zostają kropki */
@media (max-width: 992px) {
    .swiper-button-prev, .swiper-button-next {
        display: none !important;
    }
    .swiper-pagination {
        bottom: 100px !important; /* Dostosowanie dla mobile */
    }
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 992px) {
    .hero-overlay {
        background: linear-gradient(
            0deg, 
            rgba(15, 23, 42, 1) 0%, 
            rgba(15, 23, 42, 0.8) 60%, 
            rgba(15, 23, 42, 0.4) 100%
        );
    }
    .hero-content { text-align: center; margin: 0 auto; padding-top: 100px; }
    .hero-tag { border-left: none; border-bottom: 3px solid var(--primary); padding: 0 0 5px 0; }

}
/* =========================================
   5. FLOATING FEATURES (Medib Style)
   ========================================= */
.features-floating {
    position: relative;
    z-index: 10;
    margin-top: -80px; /* Nachodzi na Hero */
    margin-bottom: 80px;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* Karty połączone */
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    overflow: hidden;
}

.feature-card {
    padding: 40px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-right: 1px solid #f1f5f9;
    transition: 0.3s;
    background: #fff;
}
.feature-card:last-child { border-right: none; }
.feature-card:hover { background: #fdfdfd; }

.feature-card .icon-box {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.feature-card p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--gray-text); }

/* Środkowa karta wyróżniona */
.feature-card.highlight {
    background: var(--secondary);
    color: #fff;
}
.feature-card.highlight .icon-box { color: #fff; }
.feature-card.highlight h3 { color: #fff; }
.feature-card.highlight p { color: rgba(255,255,255,0.9); }

/* =========================================
   6. ABOUT SECTION (Split)
   ========================================= */
.section-about { padding: 80px 0; background: #fff; overflow: hidden; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Image Wrapper */
.about-visual { position: relative; }
.image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.image-wrapper img { width: 100%; transition: 0.5s; }
.about-visual:hover img { transform: scale(1.02); }

.experience-badge {
    position: absolute;
    bottom: 30px; left: -30px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    display: flex; align-items: center; gap: 15px;
    z-index: 3;
}
.experience-badge i { font-size: 2rem; color: var(--primary); }
.experience-badge strong { display: block; color: var(--dark); font-size: 1.1rem; }
.experience-badge span { color: var(--gray-text); font-size: 0.9rem; }

/* Content */
.about-content h2 { font-size: 2.5rem; margin-bottom: 25px; }
.typography-body p { margin-bottom: 20px; font-size: 1.05rem; }

.benefits-list { margin: 30px 0; display: grid; gap: 15px; }
.benefits-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--dark); }
.benefits-list i { color: var(--secondary); }

.link-styled {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(188, 42, 141, 0.2);
}
.link-styled:hover { color: var(--primary-dark); border-bottom-color: var(--primary); }
/* =========================================
   7. SERVICES SECTION - TEAL BACKGROUND STYLE
   ========================================= */
.section-services {
    padding: 120px 0;
    /* Tło: Gradient Secondary (#19a3b1 -> #13828d) dla głębi */
    background: linear-gradient(135deg, #19a3b1 0%, #13828d 100%);
    position: relative;
    z-index: 1;
    color: #fff; /* Domyślny kolor tekstu w sekcji (dla nagłówków) */
}

/* Ozdobny element w tle (opcjonalny, delikatny wzór) */
.section-services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

/* --- NAGŁÓWEK SEKCJI --- */
.section-header {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: #fff; 
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2); /* Półprzezroczyste białe tło */
    padding: 6px 14px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: #fff; /* Biały tytuł */
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Linia pod nagłówkiem */
.header-line {
    width: 70px;
    height: 4px;
    background: #bc2a8d;
    margin: 0 auto 30px auto;
    border-radius: 4px;
    opacity: 0.8;
}

.section-lead {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9); /* Biały z lekką przezroczystością */
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
}

/* --- SIATKA (GRID) --- */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* --- KARTA USŁUGI (WHITE CARD) --- */
.service-card {
    background: #ffffff; /* Biała karta */
    border-radius: 20px;
    padding: 45px 35px;
    
    /* Brak obrysu, sam cień */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    
    /* Flexbox do wyrównania */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    flex: 1 1 340px;
    max-width: 400px;
    width: 100%;
    
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Akcent na dole karty (Fuksja dla kontrastu z turkusem) */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    height: 4px;
    background: var(--primary); /* Fuksja */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

/* Kontener treści */
.card-content {
    margin-bottom: 30px;
}

/* --- IKONA --- */
.icon-wrapper {
    width: 72px;
    height: 72px;
    margin-bottom: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Tło: Bardzo jasny turkus */
    background-color: rgba(25, 163, 177, 0.1);
    
    /* Ikona: Turkus */
    color: #19a3b1;
    font-size: 2rem;
    
    transition: all 0.4s ease;
}

/* Typografia wewnątrz karty (ciemna, bo tło białe) */
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a; /* Ciemny granat */
    margin-bottom: 15px;
    transition: color 0.3s;
}

.service-card p {
    font-size: 1rem;
    color: #64748b; /* Szary */
    line-height: 1.65;
    margin: 0;
}

/* --- STOPKA KARTY (LINK) --- */
.card-footer {
    padding-top: 25px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #94a3b8; /* Szary */
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-details i {
    color: var(--primary); /* Fuksja jako akcent strzałki */
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

/* =========================================
   INTERAKCJA (HOVER EFFECTS)
   ========================================= */

.service-card:hover {
    transform: translateY(-12px);
    /* Mocniejszy cień przy uniesieniu */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Pasek na dole się wysuwa */
.service-card:hover::after {
    transform: scaleX(1);
}

/* Ikona zmienia się na gradient Primary (Fuksja) lub Secondary */
.service-card:hover .icon-wrapper {
    background-color: var(--primary); /* Fuksja */
    color: #ffffff; /* Biała ikona */
    box-shadow: 0 10px 20px rgba(188, 42, 141, 0.3);
}

/* Tytuł */
.service-card:hover h3 {
    color: var(--primary); /* Fuksja */
}

/* Link */
.service-card:hover .btn-details {
    color: #0f172a; /* Ciemny kolor dla czytelności */
}

/* Strzałka */
.service-card:hover .btn-details i {
    transform: translateX(6px);
    color: var(--primary);
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .section-services { padding: 80px 0; }
    .section-header h2 { font-size: 2rem; }
    .service-card { 
        max-width: 100%; 
        padding: 35px 25px;
    }
}
/* =========================================
   8. EFFECTS SECTION (ORBIT STYLE - DARK)
   ========================================= */
.section-effects-orbit {
    padding: 100px 0;
    background-color: #0f172a; /* Ciemny Granat (zgodny z motywem) */
    background-image: radial-gradient(at center center, #1e293b 0%, #0f172a 70%); /* Delikatny gradient tła */
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.orbit-wrapper {
    display: flex;
    justify-content: center;
    align-items: center; /* Centrujemy w pionie */
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* --- KOLUMNY BOCZNE --- */
.orbit-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px; /* Odstęp między kafelkami */
    flex: 1; /* Zajmują po równo miejsca po bokach */
}

/* --- KAFELKI (GLASS EFFECT) --- */
.orbit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Styl "Glass" jak na zdjęciu */
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 50px; /* Pigułka */
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    cursor: default;
    max-width: 100%;
}

.orbit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary); /* Turkus po najechaniu */
    transform: scale(1.02);
}

.orbit-text {
    font-size: 0.9rem;
    color: #cbd5e1; /* Jasny szary */
    line-height: 1.3;
    font-weight: 500;
}

/* Ikona w kółeczku */
.orbit-icon {
    width: 32px; height: 32px;
    background: rgba(25, 163, 177, 0.15); /* Półprzezroczysty turkus */
    color: var(--secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(25, 163, 177, 0.1);
}

/* --- SPECYFIKA LEWEJ I PRAWEJ STRONY --- */

/* Lewa strona: Tekst <--- Ikona (wyrównanie do prawej) */
.left-side { align-items: flex-end; }
.left-side .orbit-item { 
    text-align: right; 
    justify-content: flex-end;
}

/* Prawa strona: Ikona ---> Tekst (wyrównanie do lewej) */
.right-side { align-items: flex-start; }
.right-side .orbit-item { 
    text-align: left; 
    justify-content: flex-start;
}

/* ZYGZAK (Aby nie było idealnie prosto - efekt organiczny) */
/* Przesuwamy co drugi element bliżej środka */
.left-side .orbit-item:nth-child(even) { margin-right: 30px; }
.right-side .orbit-item:nth-child(even) { margin-left: 30px; }

/* --- CENTRUM (SŁOŃCE) --- */
.orbit-center {
    flex: 1.4; /* Środek jest szerszy */
    min-width: 350px;
    max-width: 550px;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

/* Poświata za tekstem */
.center-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(188, 42, 141, 0.15) 0%, rgba(15, 23, 42, 0) 70%); /* Fuksjowa poświata */
    z-index: -1;
    pointer-events: none;
}

.orbit-center h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.orbit-center p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

/* --- ANIMACJA LEWITACJI --- */
@keyframes floatEffect {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.floating-item {
    animation: floatEffect 5s ease-in-out infinite;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 1100px) {
    .orbit-wrapper { flex-direction: column; gap: 50px; }
    
    .orbit-center { order: -1; padding: 0; } /* Tekst idzie na górę */
    
    .orbit-column { 
        width: 100%; 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center;
        gap: 15px;
    }
    
    /* Na mobile resetujemy zygzak i kierunki */
    .left-side, .right-side { align-items: center; }
    .left-side .orbit-item, .right-side .orbit-item {
        margin: 0;
        flex-direction: row; /* Zawsze ikona po lewej na mobile dla czytelności */
        text-align: left;
        justify-content: flex-start;
    }
    /* Dla lewej kolumny na mobile musimy "odwrócić" kolejność w HTML (tekst był pierwszy) 
       więc używamy flex-direction row, ale ikona musi wskoczyć na początek wizualnie.
       Najprościej: na mobile zostawić ikonę po prawej lub zmienić w CSS.
       Tutaj wymuszam standard: ikona -> tekst */
    .left-side .orbit-item { flex-direction: row-reverse; } 
}

/* =========================================
   9. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .features-wrapper { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; background: transparent; gap: 20px; }
    .feature-card { border: none; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
    .features-floating { margin-top: 0; padding: 40px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .experience-badge { left: 50%; transform: translateX(-50%); bottom: -25px; width: 80%; justify-content: center; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .main-nav, .header-actions { display: none; } /* Mobile toggle to be implemented via JS */
    .mobile-toggle { display: block; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .hero-modern { padding: 120px 0 60px; text-align: center; }
    .hero-buttons { justify-content: center; }
    
    .effects-wrapper { flex-direction: column; text-align: center; }
    .effects-tags { justify-content: center; }
}


/* =========================================
   14. PROFESSIONAL FOOTER (Dark Theme)
   ========================================= */

/* --- Pre-Footer CTA --- */
.pre-footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #8e24aa 100%); /* Gradient Fuksji */
    padding: 50px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-text h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.cta-text p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 1.1rem;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* --- Main Footer --- */
.site-footer {
    background-color: var(--dark); /* Ciemny granat z index.php */
    color: #94a3b8; /* Slate Gray */
    padding-top: 80px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
}

/* Headings */
.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--secondary); /* Turkusowy pasek */
    line-height: 1.2;
}

/* Col 1: Brand */
.footer-logo {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-logo span { color: var(--secondary); font-size: 0.75rem; display: block; letter-spacing: 2px; }
.footer-logo img { max-height: 45px; filter: brightness(0) invert(1); } /* Logo na biało */

.brand-desc { line-height: 1.6; margin-bottom: 25px; max-width: 300px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

/* Col 2: Links */
.links-col ul li { margin-bottom: 12px; }
.links-col a {
    color: #94a3b8;
    display: flex; align-items: center; gap: 8px;
    transition: 0.3s;
}
.links-col a i { font-size: 0.7rem; color: var(--secondary); transition: 0.3s; }
.links-col a:hover { color: #fff; padding-left: 5px; }
.more-link { font-size: 0.85rem; font-style: italic; opacity: 0.7; }

/* Col 3: Hours */
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hours-list li strong { color: #fff; }
.hours-list li .closed { color: #ef4444; }

/* Col 4: Contact */
.contact-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
}
.contact-box .icon {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 2px;
}
.contact-box small { display: block; font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-box strong, .contact-box a { color: #fff; font-size: 1rem; }
.contact-box a:hover { color: var(--secondary); }

/* Bottom Bar */
.footer-bottom {
    background-color: #020617; /* Bardzo ciemne tło */
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}
.bottom-flex { display: flex; justify-content: space-between; align-items: center; opacity: 0.7; }
.bottom-flex strong { color: #fff; }
.credits a { color: var(--secondary); font-weight: 600; }

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .cta-wrapper { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col { text-align: center; }
    .footer-col h4 { border-left: none; border-bottom: 2px solid var(--secondary); padding-left: 0; padding-bottom: 10px; display: inline-block; }
    .social-links { justify-content: center; }
    .contact-box { text-align: left; }
    .bottom-flex { flex-direction: column; gap: 10px; text-align: center; }
}


/* =========================================
   15. PROFESSIONAL HEADER (Top Bar + Sticky)
   ========================================= */

/* --- Top Bar (Pasek nad menu) --- */
.top-bar {
    background-color: var(--dark); /* Ciemny granat */
    color: #fff;
    font-size: 0.85rem;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info { display: flex; gap: 20px; }
.top-info span, .top-info a {
    display: flex; align-items: center; gap: 8px;
    color: #e2e8f0; text-decoration: none; transition: 0.3s;
}
.top-info a:hover { color: var(--secondary); }
.top-info i { color: var(--secondary); font-size: 0.8rem; }

.top-socials { display: flex; align-items: center; gap: 15px; }
.top-socials span { opacity: 0.7; font-size: 0.8rem; }
.top-socials a { color: #fff; transition: 0.3s; font-size: 0.9rem; }
.top-socials a:hover { color: var(--primary); }

/* --- Main Header --- */
.site-header {
    background: #fff;
    height: 90px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0); /* Domyślnie brak cienia */
}

/* Stan Sticky (po przewinięciu) */
.site-header.is-sticky {
    height: 70px; /* Zmniejszenie wysokości */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.brand-logo { text-decoration: none; line-height: 1; }
.text-logo {
    font-family: var(--font-main);
    font-weight: 800;
    color: var(--dark);
    font-size: 1.4rem;
    text-transform: uppercase;
}
.text-logo span {
    display: block;
    color: var(--secondary);
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
}
.brand-logo img { height: 80px; transition: 0.3s; }
.site-header.is-sticky .brand-logo img { height: 40px; }

/* Desktop Navigation */
.nav-list {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-list a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 10px 0;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary);
    transition: 0.3s;
}
.nav-list a:hover { color: var(--primary); }
.nav-list a:hover::after { width: 100%; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 25px; }

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
}
.icon-pulse {
    width: 40px; height: 40px;
    background: rgba(25, 163, 177, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
    animation: pulse 2s infinite;
}
.contact-btn:hover .icon-pulse { background: var(--secondary); color: #fff; }
.contact-btn .text { display: flex; flex-direction: column; line-height: 1.2; }
.contact-btn small { font-size: 0.75rem; color: var(--gray-text); text-transform: uppercase; }
.contact-btn strong { font-size: 1rem; font-weight: 700; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(25, 163, 177, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(25, 163, 177, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 163, 177, 0); }
}

/* =========================================
   PROFESSIONAL MOBILE DRAWER (UI/UX FIXED)
   ========================================= */

/* --- 1. KONTENER SZUFLADY --- */
.mobile-menu-drawer {
    position: fixed;
    top: 0; right: -100%; /* Domyślnie schowane */
    width: 300px; /* Optymalna szerokość na smartfony */
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15); /* Cień rzucany na stronę */
    transition: right 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Płynna animacja */
    z-index: 2001;
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    right: 0; /* Wysunięcie */
}

/* Overlay (tło przyciemniające) */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6); /* Ciemny granat z przezroczystością */
    z-index: 2000;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px); /* Nowoczesne rozmycie tła */
}

.mobile-menu-overlay.active {
    opacity: 1; visibility: visible;
}

/* --- 2. NAGŁÓWEK SZUFLADY (MENU + X) --- */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    flex-shrink: 0; /* Nie zmniejszaj nagłówka */
}

.drawer-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--c-navy);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.close-drawer {
    background: none; border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--c-gray);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.close-drawer:hover { color: var(--c-pink); }

/* --- 3. LISTA NAWIGACJI (SCROLLOWALNA) --- */
.drawer-content {
    flex: 1; /* Zajmuje całą wolną przestrzeń */
    overflow-y: auto; /* Przewijanie jeśli menu jest długie */
    display: flex; flex-direction: column;
    padding: 0; /* Reset paddingu */
}

.mobile-nav-list {
    list-style: none; padding: 0; margin: 0;
    width: 100%;
}

/* Elementy Główne (Rodzice) */
.mobile-nav-list > li {
    border-bottom: 1px solid #f8fafc;
    position: relative;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 16px 60px 16px 25px; /* Prawy padding duży na przycisk strzałki */
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-navy);
    text-decoration: none;
    transition: all 0.2s;
}

/* Aktywny element / Hover */
.mobile-nav-list > li > a:hover,
.mobile-nav-list > li.current-menu-item > a {
    color: var(--c-teal);
    background: rgba(25, 163, 177, 0.03);
    padding-left: 30px; /* Lekkie przesunięcie w prawo */
}

/* Wskaźnik aktywnego elementu (Pasek po lewej) */
.mobile-nav-list > li.current-menu-item > a::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
    background: var(--c-teal);
}

/* --- 4. SUBMENU (ZAGNIEŻDŻENIE) --- */
.mobile-nav-list .sub-menu {
    /* Logika ukrywania/pokazywania jest na samym dole Twojego pliku CSS (sekcja Accordion) - to zadziała poprawnie */
    list-style: none; padding: 0; margin: 0;
    background: #f8fafc; /* Bardzo jasne tło dla odróżnienia */
    box-shadow: inset 0 4px 6px -4px rgba(0,0,0,0.05); /* Wewnętrzny cień */
}

.mobile-nav-list .sub-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.mobile-nav-list .sub-menu li a {
    display: block;
    padding: 12px 25px 12px 40px; /* Większe wcięcie z lewej (Hierarchia) */
    font-size: 0.95rem; /* Nieco mniejszy font */
    color: #475569; /* Jaśniejszy kolor tekstu */
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-list .sub-menu li a:hover {
    color: var(--c-pink);
    background: #fff;
}

/* Dodanie kropki przy submenu */
.mobile-nav-list .sub-menu li a::before {
    content: '•'; 
    color: var(--c-teal);
    margin-right: 8px;
    font-size: 1.2em;
    line-height: 0;
    position: relative; top: 2px;
}

/* --- 5. PANEL KONTAKTOWY (STOPKA MENU) --- */
.drawer-contact {
    margin-top: auto; /* Wypycha sekcję na sam dół */
    background: #f8fafc; /* Jasne tło oddzielające */
    padding: 25px;
    border-top: 1px solid #e2e8f0;
}

/* Przycisk "Zadzwoń teraz" */
.drawer-contact .btn {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--c-pink); color: #fff;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(188, 42, 141, 0.2);
    margin-bottom: 20px;
    text-decoration: none;
    border: none;
}

/* Dane adresowe */
.drawer-contact p {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    color: var(--c-gray);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.drawer-contact p i {
    color: var(--c-teal);
    font-size: 1.1rem;
    margin-top: 2px;
    width: 20px; text-align: center;
}

body.no-scroll { overflow: hidden; }
/* --- Responsywność Header --- */
@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .top-bar { display: none; } /* Ukrywamy top bar na mobile dla oszczędności miejsca */
    .desk-only { display: none; }
    .header-actions { gap: 20px; }
    .contact-btn .text { display: none; } /* Na mobile tylko ikona telefonu */
    .site-header { height: 70px; }
    .site-header.is-sticky { height: 60px; }
}


/* =========================================
   BUTTON STYLES (BTN)
   ========================================= */

/* 1. Styl Bazowy (.btn) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Odstęp między tekstem a ikoną */
    font-family: var(--font-main);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    line-height: 1.2;
    white-space: nowrap; /* Zapobiega łamaniu tekstu */
}

/* 2. Wariant Kolorystyczny (.btn-primary) */
.btn-primary {
    background-color: var(--primary); /* Fuksja */
    color: #fff;
    box-shadow: 0 4px 10px rgba(188, 42, 141, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(188, 42, 141, 0.3);
    color: #fff;
}

/* 3. Rozmiar Mały (.btn-sm) */
.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 50px; /* Pill shape */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 4. Widoczność (.desk-only) */
/* Ukrywamy na urządzeniach węższych niż 992px (tablety i telefony) */
@media (max-width: 992px) {
    .desk-only {
        display: none !important;
    }
}

/* =========================================
   10. REVIEWS SECTION (SOCIAL PROOF)
   ========================================= */
.section-reviews {
    padding: 100px 0;
    background-color: #fff; /* Czysta biel dla kontrastu z ciemną sekcją wyżej */
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Karta Opinii */
.review-card {
    background: #f8fafc; /* Bardzo jasny szary */
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
}

.review-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
    border-color: rgba(188, 42, 141, 0.1); /* Delikatna ramka fuksji */
}

/* Ikona cytatu w tle */
.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: rgba(188, 42, 141, 0.05); /* Bardzo blada fuksja */
    transition: 0.3s;
}

.review-card:hover .quote-icon {
    color: rgba(188, 42, 141, 0.15);
    transform: scale(1.1);
}

/* Gwiazdki */
.review-stars {
    color: #fbbf24; /* Złoty kolor gwiazdek */
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    gap: 3px;
}

/* Treść opinii */
.review-text {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

/* Autor */
.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Avatar (Inicjał) */
.author-avatar {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #8e24aa 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(188, 42, 141, 0.2);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.2;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--secondary); /* Turkus - wskazanie problemu */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer sekcji */
.reviews-footer {
    margin-top: 40px;
}

.btn-text-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    padding-bottom: 2px;
    border-bottom: 2px solid rgba(188, 42, 141, 0.2);
    transition: 0.3s;
}

.btn-text-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

/* Mobile */
@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card { padding: 30px 20px; }
}

/* =========================================
   11. FAQ SECTION (ACCORDION) - PINK HOVER STYLE
   ========================================= */
.section-faq {
    padding: 100px 0;
    background-color: #f1f5f9; /* Jasne tło */
    position: relative;
    z-index: 1;
}

/* --- NAGŁÓWEK SEKCJI FAQ --- */
.section-faq .section-header { margin-bottom: 60px; }

.section-faq .section-subtitle {
    background: rgba(25, 163, 177, 0.1); 
    color: #19a3b1; 
    border: 1px solid rgba(25, 163, 177, 0.2);
    font-weight: 800; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 2.5px; margin-bottom: 15px; display: inline-block;
    padding: 6px 14px; border-radius: 4px;
}

.section-faq h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: #0f172a; font-weight: 800; margin-bottom: 25px; line-height: 1.1;
    text-shadow: none;
}

.section-faq .header-line {
    width: 60px; height: 4px; background: #bc2a8d; margin: 0 auto 30px auto; border-radius: 4px;
}

.section-faq .section-lead {
    max-width: 650px; margin: 0 auto; color: #64748b; font-size: 1.15rem; line-height: 1.7; font-weight: 400;
}

/* --- ACCORDION ITEMS --- */
.faq-wrapper {
    max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden; /* Ważne, żeby pasek na dole nie wystawał poza zaokrąglenia */
    position: relative; /* Dla pozycjonowania paska ::after */
    
    /* Subtelny cień i ramka */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- NOWOŚĆ: Różowy pasek na dole (jak w usługach) --- */
.faq-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    height: 3px;
    background: var(--primary); /* Fuksja (#bc2a8d) */
    transform: scaleX(0); /* Domyślnie ukryty */
    transform-origin: center; /* Rozszerza się od środka */
    transition: transform 0.3s ease;
    z-index: 5;
}

/* --- EFEKTY HOVER (NAJECHANIE) --- */
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(188, 42, 141, 0.1); /* Różowa poświata */
    border-color: rgba(188, 42, 141, 0.3); /* Różowa ramka */
}

/* Pokazanie paska na dole */
.faq-item:hover::after {
    transform: scaleX(1);
}

/* Zmiana koloru tytułu na różowy */
.faq-item:hover h3 {
    color: var(--primary);
}

/* Zmiana ikony na różową */
.faq-item:hover .faq-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg); /* Lekki obrót dla dynamiki */
}

/* --- STAN ACTIVE (OTWARTY) --- */
/* Gdy otwarty, ale NIE najechany -> Turkus (Informacja) */
.faq-item.active {
    border-color: #19a3b1;
    box-shadow: 0 10px 25px -5px rgba(25, 163, 177, 0.15);
}

.faq-item.active h3 { color: #19a3b1; }
.faq-item.active .faq-icon {
    background: #19a3b1; color: #fff; transform: rotate(45deg); /* X */
}

/* Gdy otwarty I najechany -> Przejmuje Różowy (Akcja) */
.faq-item.active:hover {
    border-color: var(--primary);
}
.faq-item.active:hover h3 { color: var(--primary); }
.faq-item.active:hover .faq-icon {
    background: var(--primary);
}


/* --- ELEMENTY WEWNĘTRZNE --- */
.faq-header {
    padding: 20px 25px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; background: #fff;
    transition: background-color 0.3s;
}

.faq-header h3 {
    margin: 0; font-size: 1.1rem; font-weight: 700; color: #1e293b;
    padding-right: 20px; transition: color 0.3s;
}

.faq-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(25, 163, 177, 0.1); color: #19a3b1;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; font-size: 0.9rem; flex-shrink: 0;
}

.faq-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: #f8fafc;
}

.faq-content {
    padding: 10px 25px 30px 25px; color: #475569;
    line-height: 1.7; font-size: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .faq-header { padding: 15px 20px; }
    .faq-header h3 { font-size: 1rem; }
    .faq-content { padding: 0 20px 25px 20px; }
}

/* ==========================================================================
   12. SERVICE PAGE TEMPLATE (PROFESSIONAL MEDICAL STYLE)
   ========================================================================== */

/* --- 1. ZMIENNE KOLORYSTYCZNE (Lokalne dla tej sekcji) --- */
.service-page-wrapper {
    --sp-bg: #f8fafc;           /* Tło całej strony (Slate 50) */
    --sp-white: #ffffff;        /* Czysta biel kart */
    --sp-text: #334155;         /* Główny tekst (Slate 700) */
    --sp-heading: #0f172a;      /* Nagłówki (Slate 900) */
    --sp-primary: #bc2a8d;      /* Fuksja (Akcent / Buttony) */
    --sp-secondary: #19a3b1;    /* Turkus (Ikony / Detale) */
    --sp-border: #e2e8f0;       /* Delikatne obramowania */
    --sp-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08); /* Cień Premium */
    
    background-color: var(--sp-bg);
    overflow-x: hidden; /* Zabezpieczenie przed poziomym przewijaniem */
    padding-bottom: 100px;
}

/* ==========================================================================
   2. HERO SECTION - PREMIUM CARD STYLE
   ========================================================================== */
.premium-service-hero {
    position: relative;
    min-height: 550px; /* Wysokość sekcji startowej */
    display: flex;
    align-items: center;
    margin-top: -80px; /* Kompensacja dla menu (jeśli jest fixed/transparent) */
    padding-top: 80px;
    margin-bottom: 80px;
}

/* Warstwa Tła (Zdjęcie z Parallax) */
.hero-bg-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed; /* Efekt paralaksy */
    z-index: 0;
}

/* Gradient Przyciemniający (Turkus -> Ciemny Granat) */
.hero-gradient-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(25, 163, 177, 0.3) 100%);
    z-index: 1;
    backdrop-filter: blur(2px); /* Delikatne rozmycie tła */
}

/* Layout wewnątrz Hero */
.hero-layout {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

/* --- KARTA GŁÓWNA W HERO (Lewitująca) --- */
.hero-card-content {
    background: var(--sp-white);
    max-width: 650px;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    
    /* Animacja wejścia */
    opacity: 0;
    transform: translateY(30px);
    animation: spSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spSlideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Breadcrumbs (Okruszki) */
.hero-breadcrumbs {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 8px;
}
.hero-breadcrumbs a { color: #64748b; text-decoration: none; transition: 0.3s; }
.hero-breadcrumbs a:hover { color: var(--sp-secondary); }
.hero-breadcrumbs .sep { color: #cbd5e1; font-size: 0.7rem; }
.hero-breadcrumbs .current { color: var(--sp-secondary); }

/* Tytuł */
.hero-card-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--sp-heading);
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -0.02em;
}

/* Ozdobna linia pod tytułem */
.title-decoration {
    width: 80px; height: 5px;
    background: linear-gradient(90deg, var(--sp-secondary) 0%, var(--sp-primary) 100%);
    border-radius: 10px;
    margin-bottom: 35px;
}

/* --- META PILLS (Tagi Cena/Czas) --- */
.meta-pills {
    display: flex; gap: 15px; flex-wrap: wrap;
}

.meta-pill {
    display: flex; align-items: center; gap: 12px;
    background: #f1f5f9;
    padding: 8px 20px 8px 8px;
    border-radius: 50px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.meta-pill:hover {
    background: #fff;
    border-color: var(--sp-secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.icon-circle {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
    flex-shrink: 0;
}

.meta-pill.duration .icon-circle { background: var(--sp-secondary); }
.meta-pill.price .icon-circle { background: var(--sp-primary); }

.meta-text { display: flex; flex-direction: column; line-height: 1.1; }
.meta-text .label { font-size: 0.7rem; text-transform: uppercase; color: #64748b; font-weight: 700; }
.meta-text .value { font-size: 1rem; font-weight: 800; color: var(--sp-heading); }



/* =========================================
   PROFESSIONAL MENU STYLES
   ========================================= */

/* 1. KONTENER GŁÓWNY */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px; /* Odstęp między menu a przyciskiem "Umów wizytę" */
}

/* 2. GŁÓWNA LISTA (UL) */
.nav-list {
    display: flex;
    align-items: center;
    gap: 5px; /* Odstęp między linkami */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Elementy listy (LI) */
.nav-list > li {
    position: relative; /* Kluczowe dla pozycjonowania submenu */
    padding: 5px 0; /* Zwiększa pole bezpiecznego ruchu myszką */
}

/* 3. LINKI GŁÓWNE (A) */
.nav-list > li > a {
    text-decoration: none;
    color: #334155; /* Ciemny szary (Slate 700) */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hover i Aktywny Link */
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-parent > a {
    color: #19a3b1; /* Turkus */
    background-color: rgba(25, 163, 177, 0.08); /* Bardzo jasne turkusowe tło */
}



/* 5. SUBMENU (Rozwijana lista) */
.nav-list .sub-menu {
    position: absolute;
    top: 100%; /* Dokładnie pod elementem rodzicem */
    left: 0;
    min-width: 250px; /* Szerokość submenu */
    background: #ffffff;
    list-style: none;
    margin: 0;
    padding: 10px;
    
    /* Styl wizualny */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    
    /* Ukrywanie i Animacja */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
}

/* Pokazywanie Submenu */
.nav-list li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Styl linków w Submenu */
.nav-list .sub-menu li a {
    display: block;
    padding: 12px 15px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

/* Hover w Submenu */
.nav-list .sub-menu li a:hover {
    background-color: #f8fafc; /* Bardzo jasny szary */
    color: #19a3b1; /* Turkus */
    padding-left: 20px; /* Efekt przesunięcia tekstu */
}

/* Opcjonalnie: Mały trójkącik nad submenu */
.nav-list .sub-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-left: 1px solid rgba(0,0,0,0.04);
}


/* =========================================
   PROFESSIONAL MEDICAL SERVICE TEMPLATE
   ========================================= */

:root {
    /* Paleta Kolorów "Pro Health" */
    --c-teal: #19a3b1;       /* Turkus - Główny */
    --c-teal-dark: #13828d;
    --c-pink: #bc2a8d;       /* Fuksja - Akcja */
    --c-pink-hover: #a61d7a;
    --c-navy: #0f172a;       /* Ciemny Granat - Tekst */
    --c-gray: #64748b;       /* Szary - Opisy */
    --c-bg: #f8fafc;         /* Tło strony (Slate 50) */
    --c-white: #ffffff;
    --shadow-card: 0 10px 30px -5px rgba(0,0,0,0.06); /* Miękki cień */
    --radius: 16px;          /* Spójne zaokrąglenie */
}

.pro-service-container {
    background-color: var(--c-bg);
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.pro-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    margin-top: -80px; /* Kompensacja menu */
    padding-top: 80px;
    margin-bottom: 60px;
    color: #fff;
}

.pro-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Profesjonalny Gradient: Ciemny Granat -> Przezroczysty Turkus */
    background: linear-gradient(90deg, rgba(15,23,42,0.92) 0%, rgba(25,163,177,0.5) 100%);
}

.pro-hero-content {
    position: relative; z-index: 5; max-width: 800px;
}

/* Breadcrumbs */
.pro-breadcrumbs {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 15px; opacity: 0.9; font-weight: 600;
}
.pro-breadcrumbs a { color: #fff; text-decoration: none; transition: 0.3s; }
.pro-breadcrumbs a:hover { color: var(--c-teal); }
.pro-breadcrumbs i { font-size: 0.7rem; margin: 0 8px; opacity: 0.6; }
.pro-breadcrumbs .curr { color: var(--c-teal); }

.pro-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800; line-height: 1.1; margin: 0 0 15px 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color:#fff;
}

.pro-lead {
    font-size: 1.15rem; line-height: 1.6; opacity: 0.95; max-width: 650px; font-weight: 300;
}

.mobile-meta {
    display: none; gap: 10px; margin-top: 20px;
}
.mobile-meta span {
    background: rgba(255,255,255,0.15); backdrop-filter: blur(5px);
    padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
}

/* --- GRID LAYOUT --- */
.py-content { padding-bottom: 100px; }

.pro-grid {
    display: grid;
    grid-template-columns: 1fr 380px; /* Układ 2-kolumnowy */
    gap: 50px;
    align-items: start;
}

/* --- UNIWERSALNY STYL KARTY --- */
.pro-card {
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.03);
}

/* --- LEWA KOLUMNA (CONTENT) --- */
.content-card { padding: 50px; margin-bottom: 50px; }

/* Typografia Treści */
.typography h2 {
    font-size: 1.8rem; color: var(--c-navy); font-weight: 700;
    margin: 40px 0 20px 0; position: relative; padding-left: 20px;
}
.typography h2::before {
    content: ''; position: absolute; left: 0; top: 6px; height: 80%; width: 4px;
    background: var(--c-teal); border-radius: 4px;
}
.typography p { font-size: 1.05rem; line-height: 1.8; color: var(--c-gray); margin-bottom: 20px; }
.typography ul { list-style: none; padding: 0; margin: 25px 0; }
.typography ul li {
    position: relative; padding-left: 35px; margin-bottom: 12px;
    color: var(--c-navy); font-weight: 500;
}
.typography ul li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 4px; color: var(--c-pink);
    font-size: 0.9rem;
}

/* --- LINKOWANIE WEWNĘTRZNE --- */
.section-heading { font-size: 1.3rem; color: var(--c-navy); margin-bottom: 20px; font-weight: 700; }
.related-services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.related-item {
    display: flex; align-items: center; gap: 15px;
    background: #fff; border: 1px solid #e2e8f0;
    padding: 20px; border-radius: 12px; text-decoration: none;
    transition: all 0.3s ease;
}
.related-item:hover {
    border-color: var(--c-teal); transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.rel-icon-box {
    width: 45px; height: 45px; background: rgba(25,163,177,0.1);
    color: var(--c-teal); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.rel-text h4 { margin: 0 0 4px 0; font-size: 1rem; color: var(--c-navy); }
.rel-text span { font-size: 0.8rem; color: var(--c-gray); }

/* --- PRAWA KOLUMNA (SIDEBAR) --- */
.sticky-container {
    position: sticky; top: 110px;
    display: flex; flex-direction: column; gap: 25px;
}

/* Karta Rezerwacji */
.booking-widget { padding: 30px; text-align: center; overflow: hidden; }

.widget-header { margin-bottom: 25px; }
.widget-header i {
    font-size: 2.2rem; color: var(--c-teal); margin-bottom: 15px; display: block;
    background: rgba(25,163,177,0.1); width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin: 0 auto 15px auto;
}
.widget-header h3 { font-size: 1.4rem; color: var(--c-navy); margin: 0; font-weight: 700; }

.list-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.95rem;
}
.list-row:last-child { border-bottom: none; }
.list-row .lbl { color: var(--c-gray); display: flex; align-items: center; gap: 8px; }
.list-row .val { font-weight: 700; color: var(--c-navy); }
.list-row .val.price { color: var(--c-pink); font-size: 1.1rem; }

.btn-book {
    display: flex; align-items: center; justify-content: center; width: 100%;
    margin-top: 25px; padding: 15px;
    background: var(--c-pink); color: #fff;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    text-decoration: none; border-radius: 8px;
    transition: 0.3s; box-shadow: 0 5px 15px rgba(188,42,141,0.25);
}
.btn-book:hover {
    background: var(--c-pink-hover); transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(188,42,141,0.35);
}

.security-note {
    margin-top: 15px; font-size: 0.75rem; color: #10b981;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: #ecfdf5; padding: 8px; border-radius: 6px;
}

/* Karta Kontaktu */
.contact-mini { padding: 25px; text-align: center; }
.contact-mini h4 { margin: 0 0 5px 0; font-size: 1.1rem; color: var(--c-navy); }
.contact-mini p { font-size: 0.9rem; color: var(--c-gray); margin-bottom: 15px; }
.phone-row {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1.3rem; font-weight: 800; color: var(--c-teal);
    text-decoration: none; transition: 0.3s;
}
.phone-row:hover { color: var(--c-pink); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .pro-grid { grid-template-columns: 1fr; gap: 40px; }
    .sticky-container { position: static; }
    .content-card { padding: 30px; }
    .mobile-meta { display: flex; }
    .pro-hero { height: 350px; }
}

@media (max-width: 600px) {
    .related-services { grid-template-columns: 1fr; }
    .pro-hero h1 { font-size: 2.2rem; }
}

/* =========================================
   MOBILE ACCORDION MENU (ROZWIJANE)
   ========================================= */

/* 1. Domyślnie ukryj sub-menu */
.mobile-nav-list .sub-menu {
    display: none; /* Ukryte na start */
    background: #f8fafc; /* Jasne tło dla podmenu */
    border-top: 1px solid #e2e8f0;
    box-shadow: inset 0 4px 6px -4px rgba(0,0,0,0.05);
}

/* 2. Klasa, którą doda JS po kliknięciu - pokazuje menu */
.mobile-nav-list .menu-item-has-children.open > .sub-menu {
    display: block; /* Pokaż */
    animation: slideDown 0.3s ease-out; /* Delikatny wjazd */
}

/* 3. Stylizacja przycisku "Strzałki" (Toggler) */
.submenu-toggler {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px; /* Szeroka strefa dotyku */
    height: 56px; /* Wysokość elementu li */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--c-teal); /* Kolor turkusowy */
    transition: background 0.2s;
    border-left: 1px solid transparent;
}

/* Ikona w środku przycisku */
.submenu-toggler i {
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stan aktywny (Po rozwinięciu) */
.mobile-nav-list .menu-item-has-children.open > .submenu-toggler {
    background: rgba(25, 163, 177, 0.05); /* Delikatne tło aktywne */
    border-left: 1px solid #f1f5f9;
}

/* Obrót strzałki */
.mobile-nav-list .menu-item-has-children.open > .submenu-toggler i {
    transform: rotate(180deg);
    color: var(--c-pink); /* Zmiana koloru na fuksję przy otwarciu */
}

/* Poprawka dla linku rodzica, żeby tekst nie wchodził pod strzałkę */
.mobile-nav-list .menu-item-has-children > a {
    padding-right: 60px; /* Miejsce na przycisk */
}

/* Animacja wjazdu */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Klasa .open dodawana przez JS pokazuje submenu */
.mobile-nav-list .menu-item-has-children.open > .sub-menu {
    display: block;
    animation: slideDown 0.3s ease-out;
}

/* Obrót strzałki */
.mobile-nav-list .menu-item-has-children.open > .submenu-toggler i {
    transform: rotate(180deg);
    color: var(--c-pink);
}

/* =========================================
   MOBILE HERO FIX - FINAL (Rozwiązanie nakładania się)
   ========================================= */

@media (max-width: 992px) {
    
    /* 1. Zdejmujemy sztywną wysokość z sekcji głównej */
    .hero-slider-section {
        height: auto !important;       /* Wysokość dostosowana do treści */
        min-height: 100vh;             /* Ale nie mniej niż cały ekran */
        padding: 0;
        overflow: visible;             /* Pozwól treści oddychać */
    }

    /* 2. Slajd też musi się rozciągać */
    .swiper-slide {
        height: auto !important;
        min-height: 100vh;
        display: flex;                 /* Używamy flexboxa do układu */
        align-items: center;           /* Centrujemy w pionie */
    }

    /* 3. Tło (zdjęcie) musi pokrywać całość, nawet jak tekst jest długi */
    .slide-bg {
        position: absolute;            /* Tło zostaje absolute */
        height: 100%;
        width: 100%;
    }

    /* 4. KLUCZOWA ZMIANA: Wrapper treści */
    /* Zmieniamy z absolute na relative. To naprawia nakładanie się! */
    .hero-content-wrapper {
        position: relative !important; 
        width: 100%;
        height: auto !important;
        
        /* Marginesy wewnętrzne:
           120px góra (żeby nie weszło pod menu)
           20px boki
           100px dół (miejsce na kropki nawigacji i dolną krawędź) */
        padding: 120px 20px 100px 20px; 
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 10;
    }

    /* 5. Stylizacja treści */
    .hero-content {
        padding: 0;
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    /* Zmniejszamy czcionki, żeby się mieściły */
    .hero-content h1 {
        font-size: 2.2rem !important; 
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem !important;
        line-height: 1.5;
        margin-bottom: 35px;
        opacity: 0.9;
    }

    /* 6. Naprawa przycisku */
    .hero-buttons {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .btn-hero {
        width: 100%;             /* Przycisk na pełną szerokość wygląda lepiej na mobile */
        max-width: 350px;        /* ...ale bez przesady */
        justify-content: center; /* Wyśrodkowanie tekstu i ikony */
        margin-top: 0;           /* Reset marginesów */
    }

    /* 7. Przesunięcie kropek (paginacji) */
    .swiper-pagination {
        bottom: 30px !important; /* Przyklejamy do samego dołu */
        width: 100% !important;
    }
}

/* =========================================
   PREMIUM CONTACT PAGE STYLES
   ========================================= */

.contact-pro-wrapper {
    background-color: #f8fafc; /* Bardzo jasne tło pod formularzem */
    overflow-x: hidden;
}

/* --- 1. HEADER HERO (TŁO) --- */
.contact-header-bg {
    position: relative;
    height: 450px; /* Wysokość tła */
    background-color: var(--c-navy); /* Ciemny granat jako fallback */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -90px; /* Wchodzi pod menu */
    padding-top: 90px;
    padding-bottom: 60px; /* Miejsce na karty */
    color: #fff;
}

.header-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Profesjonalny gradient */
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(25,163,177,0.7) 100%);
}

.page-title {
    font-size: 3.5rem; font-weight: 800; margin-bottom: 10px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color:#fff;
}

.page-subtitle {
    font-size: 1.2rem; opacity: 0.9; font-weight: 300; max-width: 600px; margin: 0 auto 20px auto;
}

.breadcrumbs-white {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7;
}
.breadcrumbs-white a { color: #fff; text-decoration: none; }
.breadcrumbs-white .sep { margin: 0 8px; }


/* --- 2. LEWITUJĄCE KARTY (GRID) --- */
.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -80px; /* KLUCZOWE: Wsunięcie na Hero */
    margin-bottom: 80px;
}

.c-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); /* Miękki cień premium */
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.c-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Wyróżniona karta (Środkowa lub pierwsza) */
.c-card.highlight {
    border-bottom-color: var(--c-pink); /* Fuksja na dole */
}
.c-card.highlight .c-icon {
    background: var(--c-pink);
    color: #fff;
    box-shadow: 0 10px 20px rgba(188, 42, 141, 0.3);
}

.c-icon {
    width: 70px; height: 70px;
    background: #f1f5f9;
    color: var(--c-navy);
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px auto;
    transition: 0.3s;
}

.c-card:hover .c-icon {
    transform: scale(1.1) rotate(-5deg);
}

.c-content h3 { font-size: 1.3rem; font-weight: 700; color: var(--c-navy); margin-bottom: 10px; }
.c-content p { color: var(--c-gray); margin-bottom: 15px; font-size: 0.95rem; }
.c-content .sub-info { display: block; font-size: 0.85rem; color: #94a3b8; margin-top: 15px; line-height: 1.5; }

/* Linki w kartach */
.c-phone-link {
    display: block; font-size: 1.5rem; font-weight: 800; color: var(--c-navy); text-decoration: none; margin-bottom: 10px;
}
.c-phone-link:hover { color: var(--c-pink); }

.c-wa-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: #25D366; font-weight: 600; font-size: 0.9rem; text-decoration: none;
    background: rgba(37, 211, 102, 0.1); padding: 8px 16px; border-radius: 50px;
    transition: 0.3s;
}
.c-wa-link:hover { background: #25D366; color: #fff; }

.c-email-link {
    font-weight: 600; color: var(--c-teal); font-size: 1.1rem; text-decoration: none;
}
.c-link-action {
    display: inline-block; margin-top: 10px; color: var(--c-teal); font-size: 0.9rem; font-weight: 600; text-decoration: none;
}


/* --- 3. SEKCJA GŁÓWNA (FORM + MAPA) --- */
.contact-main-section {
    padding-bottom: 100px;
}

.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; /* Karty sklejone lub z małym odstępem */
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* Formularz */
.form-wrapper-pro {
    padding: 60px;
}

.form-head { margin-bottom: 30px; }
.form-head .tag {
    display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--c-teal); background: rgba(25, 163, 177, 0.1); padding: 5px 12px; border-radius: 4px; margin-bottom: 15px; font-weight: 700;
}
.form-head h2 { font-size: 2.2rem; color: var(--c-navy); margin-bottom: 10px; }
.form-head p { color: var(--c-gray); }

/* Mapa */
.map-wrapper-pro {
    position: relative;
    min-height: 500px;
    background: #e2e8f0;
}

.map-wrapper-pro iframe {
    filter: grayscale(100%); /* Profesjonalny, stonowany wygląd */
    transition: filter 0.5s;
}
.map-wrapper-pro:hover iframe { filter: grayscale(0%); }

/* Wizytówka na mapie */
.map-card-info {
    position: absolute;
    bottom: 30px; left: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; gap: 5px;
    min-width: 200px;
}
.map-card-info strong { color: var(--c-navy); font-size: 1.1rem; }
.map-card-info a { color: var(--c-pink); font-size: 0.9rem; font-weight: 700; text-decoration: none; margin-top: 5px; }


/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .contact-cards-row { grid-template-columns: 1fr; gap: 20px; margin-top: 0; margin-bottom: 40px; }
    .contact-header-bg { height: auto; padding: 120px 0 60px 0; }
    .page-title { font-size: 2.5rem; }
    
    .contact-split-layout { grid-template-columns: 1fr; border-radius: 16px; }
    .map-wrapper-pro { height: 400px; min-height: auto; }
    .form-wrapper-pro { padding: 40px 20px; }
}



/* =========================================
   FIX: CZYTELNOŚĆ NAGŁÓWKA KONTAKTU
   ========================================= */

/* 1. Wymuszenie bieli dla tytułu */
.contact-header-bg .page-title {
    color: #ffffff !important; /* !important nadpisuje globalny ciemny kolor */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Mocniejszy cień dla lepszego kontrastu */
    position: relative;
    z-index: 20; /* Pewność, że tekst jest nad tłem */
}

/* 2. Wymuszenie bieli dla podtytułu (jeśli też jest słabo widoczny) */
.contact-header-bg .page-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 20;
}

/* 3. Wzmocnienie przyciemnienia tła (Overlay) */
/* Jeśli zdjęcie pod spodem jest jasne, to zagwarantuje czytelność */
.header-overlay {
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.95) 0%,   /* Ciemny granat (prawie czarny) */
        rgba(25, 163, 177, 0.75) 100% /* Turkus z większym kryciem */
    ) !important;
    opacity: 1 !important; /* Pełna widoczność gradientu */
    z-index: 0; /* Musi być pod tekstem (tekst ma z-index 10 w HTML) */
}


/* 2. Zabezpieczenie, aby tekst był NA PEWNO nad tłem */
.contact-header-bg .container {
    position: relative;
    z-index: 10;
}

/* 3. Wyraźny Tytuł "Kontakt" */
.contact-header-bg .page-title {
    color: #ffffff !important;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.7); /* Mocny cień, żeby "odbić" tekst od tła */
    font-weight: 800;
}

/* 4. Wyraźny Podtytuł */
.contact-header-bg .page-subtitle {
    color: #ffffff !important;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* 5. Naprawa Breadcrumbs (START / KONTAKT) - widzę na zdjęciu, że są ciemne/szare */
.breadcrumbs-white, 
.breadcrumbs-white a,
.breadcrumbs-white span,
.breadcrumbs-white .sep {
    color: rgba(255, 255, 255, 0.85) !important; /* Wymuszona biel */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.breadcrumbs-white a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* =========================================
   PROFESSIONAL FORM STYLES (CF7)
   ========================================= */

/* --- 1. Układ Siatki (Grid) --- */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie równe kolumny */
    gap: 20px; /* Odstęp między kolumnami */
}

/* Odstępy między wierszami */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

/* --- 2. Etykiety (Labels) --- */
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a; /* Ciemny granat */
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* --- 3. Pola Formularza (Input, Select, Textarea) --- */
.wpcf7-form-control-wrap {
    display: block; /* Naprawia układ błędów walidacji */
}

.wpcf7-text, 
.wpcf7-textarea, 
.wpcf7-select,
.wpcf7-tel,
.wpcf7-email {
    width: 100%;
    padding: 14px 18px;
    background-color: #f8fafc; /* Bardzo jasne tło */
    border: 1px solid #e2e8f0; /* Delikatna ramka */
    border-radius: 10px;       /* Nowoczesne zaokrąglenie */
    font-size: 1rem;
    color: #334155;            /* Kolor wpisywanego tekstu */
    transition: all 0.3s ease;
    font-family: inherit;      /* Dziedziczenie czcionki strony */
    outline: none;
}

/* Styl dla pola wyboru (Select) */
.wpcf7-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    appearance: none; /* Ukrywa domyślną strzałkę przeglądarki */
    -webkit-appearance: none;
}

/* --- 4. Stan Aktywny (Focus) --- */
/* Po kliknięciu w pole zmienia się na Turkus */
.wpcf7-text:focus, 
.wpcf7-textarea:focus, 
.wpcf7-select:focus,
.wpcf7-tel:focus,
.wpcf7-email:focus {
    background-color: #ffffff;
    border-color: #19a3b1; /* Twój kolor Turkusowy */
    box-shadow: 0 0 0 4px rgba(25, 163, 177, 0.1); /* Turkusowa poświata */
}

/* Styl dla pola wiadomości */
.wpcf7-textarea {
    height: 150px;
    resize: vertical; /* Pozwala zmieniać wysokość, ale nie szerokość */
}

/* --- 5. Przycisk Wysyłania (Submit) --- */
.form-submit-row {
    margin-top: 10px;
    text-align: right; /* Przycisk po prawej stronie (lub center) */
}

.wpcf7-submit {
    background-color: #bc2a8d; /* Fuksja */
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 40px;
    border: none;
    border-radius: 50px; /* Pigułka */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 42, 141, 0.3); /* Cień pod przyciskiem */
}

.wpcf7-submit:hover {
    background-color: #9d2275; /* Ciemniejsza fuksja */
    transform: translateY(-3px); /* Lekkie uniesienie */
    box-shadow: 0 8px 25px rgba(188, 42, 141, 0.4);
}

/* --- 6. Komunikaty Błędów (Walidacja) --- */
.wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #ef4444; /* Czerwony */
    margin-top: 6px;
    display: block;
}

/* --- 7. Responsywność (Mobile) --- */
@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr; /* Jedna kolumna na telefonie */
        gap: 0;
    }
    
    .wpcf7-submit {
        width: 100%; /* Przycisk na całą szerokość na mobile */
        text-align: center;
    }
    
    .form-submit-row {
        text-align: center;
    }
}

/* =========================================
   ABOUT ME PAGE & CERTIFICATES
   ========================================= */

.about-pro-wrapper {
    background: #fff;
}

/* --- HERO (Poprawki dla białego tekstu) --- */
.about-hero {
    height: 400px;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
    margin-top: -90px; padding-top: 90px;
    position: relative;
}
.about-hero .page-title {
    color: #fff !important; font-size: 3rem; margin-bottom: 10px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.white-text a, .white-text span, .white-text i {
    color: rgba(255,255,255,0.9) !important;
}

/* --- BIO SECTION --- */
.section-bio {
    padding: 100px 0;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bio-role {
    color: var(--c-teal);
    font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 25px;
}

.bio-text {
    font-size: 1.05rem; line-height: 1.8; color: var(--c-gray);
    margin-bottom: 30px;
}
.bio-text p { margin-bottom: 15px; }

/* Obrazek BIO */
.bio-image-wrapper {
    position: relative;
    border-radius: 20px;
}

.bio-main-img {
    width: 100%; border-radius: 20px;
    box-shadow: 20px 20px 0px rgba(25, 163, 177, 0.1); /* Ozdobny cień */
}

.exp-badge {
    position: absolute;
    bottom: 30px; left: -30px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 15px;
    border-left: 4px solid var(--c-pink);
}
.exp-badge strong { font-size: 2.5rem; color: var(--c-navy); line-height: 1; }
.exp-badge span { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; color: var(--c-gray); line-height: 1.2; }
/* =========================================
   CERTYFIKATY (PODZIAŁ PION/POZIOM)
   ========================================= */

.section-certs {
    padding: 80px 0 120px 0;
    background: #f8fafc; /* Jasne tło */
}

/* Tytuły grup (Dyplomy / Szkolenia) */
.certs-group-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #19a3b1; /* Turkus */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 40px 0 30px 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

/* Kontener Siatki */
.certs-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

/* 1. SIATKA DLA PIONOWYCH (Węższe kolumny) */
.certs-grid-vertical {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* 2. SIATKA DLA POZIOMYCH (Szersze kolumny) */
.certs-grid-horizontal {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Pojedynczy element */
.cert-item {
    display: flex; 
    flex-direction: column;
    /* Usuwamy białe tło z całego elementu, skupiamy się na ramce obrazka */
    background: transparent; 
}

/* --- Ramka obrazka (Wspólne style) --- */
.cert-img-box {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

/* WARIANT PIONOWY (Proporcja A4 Pion) */
.cert-img-box.is-vertical {
    aspect-ratio: 1 / 1.41; 
}

/* WARIANT POZIOMY (Proporcja A4 Poziom) */
.cert-img-box.is-horizontal {
    aspect-ratio: 1.41 / 1; 
}

/* Tło dla plików PDF bez miniatury */
.cert-img-box.is-pdf-file {
    background-color: #f1f5f9;
}

/* Obrazek wewnątrz ramki */
.cert-img-box img {
    width: 100%; 
    height: 100%;
    object-fit: contain; /* KLUCZOWE: Cały obrazek widoczny */
    padding: 10px;       /* Margines wewnątrz ramki (passe-partout) */
    transition: transform 0.5s ease;
}

/* Hover Effects */
.cert-item:hover .cert-img-box {
    border-color: #19a3b1; /* Turkusowa ramka */
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.cert-item:hover img {
    transform: scale(1.05); /* Lekki zoom zdjęcia */
}

/* Overlay (Lupa) */
.cert-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.5); /* Ciemny granat półprzezroczysty */
    opacity: 0; 
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center; 
    z-index: 2;
}
.cert-item:hover .cert-overlay { opacity: 1; }
.cert-overlay i { color: #fff; font-size: 2rem; }

/* Link na całość */
.cert-link {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5;
}

/* Tytuł pod certyfikatem */
.cert-caption {
    margin-top: 12px;
    font-size: 0.9rem; 
    font-weight: 600; 
    color: #0f172a; /* Granat */
    text-align: center;
    line-height: 1.4;
}

/* --- PDF STYLING --- */

/* Badge PDF (mała etykieta w rogu zdjęcia) */
.pdf-badge {
    position: absolute; bottom: 8px; right: 8px;
    background: #e11d48; color: #fff; 
    font-size: 0.65rem; font-weight: 700;
    padding: 3px 6px; border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 3;
}

/* Ikona PDF (gdy brak podglądu) */
.pdf-preview-icon {
    text-align: center; color: #64748b;
}
.pdf-preview-icon i {
    font-size: 3rem; margin-bottom: 5px; color: #e11d48; display: block;
}
.pdf-preview-icon span {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .bio-grid { grid-template-columns: 1fr; gap: 40px; }
    .bio-image-wrapper { order: -1; max-width: 500px; margin: 0 auto; }
    .exp-badge { left: 50%; transform: translateX(-50%); bottom: -20px; width: 80%; justify-content: center; }
    
    /* Na mobile jedna kolumna dla obu typów */
    .certs-grid-vertical, .certs-grid-horizontal {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}
/* =========================================
   FIX: HERO TITLE VISIBILITY (O MNIE)
   ========================================= */

/* 1. Naprawa głównego tytułu (H1) */
.pro-hero .page-title,
.about-hero .page-title {
    color: #ffffff !important;       /* Wymuś idealną biel */
    opacity: 1 !important;           /* Usuń wszelką przezroczystość */
    
    /* Dodaj cień, żeby tekst był czytelny nawet na jasnych elementach zdjęcia */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); 
    
    /* Zabezpieczenie: wyciągnij tekst na wierzch (nad overlay) */
    position: relative;
    z-index: 20; 
}

/* 2. Naprawa ścieżki (Start > O mnie) */
.pro-breadcrumbs,
.pro-breadcrumbs a,
.pro-breadcrumbs span,
.pro-breadcrumbs i {
    color: rgba(255, 255, 255, 0.95) !important; /* Prawie biały */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);   /* Lekki cień */
    text-decoration: none;
}

/* Efekt po najechaniu na link w breadcrumbs */
.pro-breadcrumbs a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* =========================================
   FIX: CZYTELNOŚĆ TYLKO DLA SEKCJI CERTYFIKATÓW
   ========================================= */

/* 1. Reset i ustawienia kontenera */
.cert-header-fix {
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}

/* 2. Mały napis (Edukacja) - wymuszony kolor */
.cert-header-fix .section-subtitle {
    display: block;
    color: #19a3b1 !important; /* Turkusowy */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* 3. Tytuł H2 - Ciemny kolor (Granat) */
.cert-header-fix h2 {
    color: #0f172a !important; /* Ciemny Granat */
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: none !important; /* Usuwamy ewentualne cienie z innych sekcji */
}

/* 4. Linia oddzielająca */
.cert-header-fix .header-line {
    width: 60px;
    height: 3px;
    background-color: #bc2a8d !important; /* Fuksja */
    margin: 0 auto 20px auto;
    border-radius: 2px;
    opacity: 1 !important;
}

/* 5. Opis pod tytułem */
.cert-header-fix .section-lead {
    color: #475569 !important; /* Ciemny szary */
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: none !important;
}

/* Stylizacja list w sekcji O Mnie */
.custom-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #475569;
    line-height: 1.6;
}

.custom-list li::before {
    content: "•";
    color: #bc2a8d; /* Fuksja */
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

.custom-list li strong {
    color: #0f172a; /* Ciemny granat */
}

/* =========================================
   ABOUT PAGE UX & LAYOUT STYLES
   ========================================= */

/* Ogólne odstępy */
.py-large { padding: 80px 0; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Kolory tła */
.bg-light { background-color: #f8fafc; }
.bg-dark { background-color: var(--c-navy); color: #fff; }
.text-white { color: #fff !important; }
.bg-pink { background-color: var(--c-pink) !important; }

/* --- SEKCJA INTRO --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--c-navy);
    line-height: 1.6;
    border-left: 4px solid var(--c-pink);
    padding-left: 20px;
    margin-bottom: 20px;
}
.bio-role {
    color: var(--c-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

/* =========================================
   FIX: CENTROWANIE KAFELKÓW (FLEXBOX)
   ========================================= */

.skills-grid {
    display: flex;            /* Zmieniamy Grid na Flex */
    flex-wrap: wrap;          /* Pozwalamy kafelkom spadać do nowej linii */
    justify-content: center;  /* KLUCZOWE: Wyśrodkowanie wszystkiego (również ostatniego rzędu) */
    gap: 30px;                /* Odstępy między kafelkami */
}

.skill-card {
    /* Elastyczność kafelka: */
    flex-grow: 1;             /* Może się rozciągać */
    flex-shrink: 1;           /* Może się kurczyć */
    flex-basis: 300px;        /* Bazowa szerokość (minimalna) */
    
    /* Ograniczenia, żeby kafelki w ostatnim rzędzie nie były gigantyczne: */
    max-width: 380px;         
    width: 100%;              /* Dla pewności na mobile */

    /* Wygląd kafelka (bez zmian) */
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9; /* Delikatna ramka dla elegancji */
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: rgba(25, 163, 177, 0.3); /* Lekkie podświetlenie ramki */
}

/* Responsywność: Na telefonach kafelki na całą szerokość */
@media (max-width: 600px) {
    .skill-card {
        max-width: 100%;
    }
}

.skill-icon {
    font-size: 2rem;
    color: var(--c-teal);
    margin-bottom: 15px;
}
.skill-card h3 {
    font-size: 1.1rem;
    color: var(--c-navy);
    margin-bottom: 10px;
    font-weight: 700;
}
.skill-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* --- LISTA "W CZYM POMAGAM" (Check List) --- */
.help-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.check-list {
    list-style: none; padding: 0; margin-top: 20px;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #334155;
}
.check-list li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute; left: 0; top: 2px;
    color: var(--c-teal);
}
.quote-box {
    background: var(--c-navy);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    text-align: center;
}
.quote-box i { font-size: 2rem; opacity: 0.3; margin-bottom: 15px; display: block; }
.quote-box p { font-size: 1.1rem; font-style: italic; margin-bottom: 15px; line-height: 1.6; }
.quote-author { font-size: 0.9rem; font-weight: 700; color: var(--c-pink); text-transform: uppercase; }

/* --- WARTOŚCI (Grid na ciemnym tle) --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.value-item {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}
.v-icon {
    font-size: 2rem; color: var(--c-pink); margin-bottom: 15px;
}
.value-item h4 { font-size: 1.1rem; margin-bottom: 10px; color: #fff; }
.value-item p { font-size: 0.9rem; opacity: 0.8; line-height: 1.5; }

/* --- LISTA "DLACZEGO WARTO" --- */
.why-list-wrapper {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    text-align: left;
    margin-bottom: 40px;
}
.why-list {
    list-style: none; padding: 0; margin: 0;
}
.why-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.why-list li::before {
    content: "•"; color: var(--c-pink);
    font-size: 1.5rem; position: absolute; left: 0; top: -5px;
}

/* --- FINALNY BOX CTA --- */
.final-cta-box {
    max-width: 600px; margin: 0 auto;
}
.final-cta-box p {
    font-size: 1.1rem; color: var(--c-navy); font-weight: 500; margin-bottom: 20px;
}
.btn-main {
    background: var(--c-pink); color: #fff;
    padding: 15px 40px; border-radius: 50px;
    text-decoration: none; font-weight: 700;
    transition: 0.3s; display: inline-block;
}
.btn-main:hover { background: #9d2275; transform: translateY(-3px); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .intro-grid, .help-layout { grid-template-columns: 1fr; }
    .intro-image-col { order: -1; text-align: center; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .values-grid { grid-template-columns: 1fr; }
}

/* =========================================
   FIX: NAPRAWA UCIEKAJĄCEGO BOXA (10+ LAT)
   ========================================= */

/* 1. Ustawienie ramki zdjęcia jako punktu odniesienia */
.image-frame {
    position: relative !important; /* Kluczowe: trzyma badge "przy sobie" */
    display: inline-block;         /* Ramka dopasowuje się do wielkości zdjęcia */
    max-width: 100%;               /* Zabezpieczenie na mobile */
}

/* 2. Stylizacja i pozycja boxa */
.exp-badge {
    position: absolute;
    bottom: 40px;       /* Wysokość od dołu zdjęcia */
    left: -40px;        /* Lekkie wysunięcie w lewo (efekt "overlap") */
    
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* Profesjonalny cień */
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid #bc2a8d; /* Pasek w kolorze fuksji */
    z-index: 10;        /* Musi być na wierzchu */
}

/* Styl tekstu wewnątrz boxa */
.exp-badge strong {
    font-size: 2.5rem;
    color: #0f172a; /* Ciemny granat */
    line-height: 1;
    font-weight: 800;
}

.exp-badge span {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b; /* Szary */
    line-height: 1.2;
    display: block;
}

/* 3. Wersja mobilna (żeby nie uciekało poza ekran na telefonie) */
@media (max-width: 992px) {
    .image-frame {
        display: block;
        margin: 0 auto; /* Centrowanie zdjęcia */
    }

    .exp-badge {
        left: 50%;
        transform: translateX(-50%); /* Wyśrodkowanie boxa */
        bottom: -30px;               /* Wchodzi lekko pod zdjęcie */
        width: max-content;          /* Szerokość dopasowana do treści */
        padding: 15px 25px;
    }
    
    .exp-badge strong { font-size: 2rem; }
}

/* =========================================
   FIX: OBRACANIE POZIOMYCH CERTYFIKATÓW
   ========================================= */

/* 1. Obrót zdjęcia w certyfikatach poziomych o 90 stopni */
.cert-img-box.is-horizontal img {
    /* Jeśli certyfikat jest "do góry nogami", zmień na -90deg */
    
    /* Opcjonalnie: lekkie powiększenie, aby po obrocie lepiej wypełniał ramkę */
    min-width: 145%; 
    min-height: 145%;
    padding: 60px;
}

@media (max-width: 768px) {
    .cert-img-box.is-horizontal img {
        padding: 30px;
    }
}

/* =========================================
   FIX: MENU MOBILNE (SZUFLADA)
   ========================================= */

/* 1. Wygląd szuflady (domyślnie schowana) */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -300px; /* Schowana poza prawą krawędź ekranu */
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1002; /* Musi być nad overlayem */
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* 2. Wygląd szuflady GDY JEST AKTYWNA */
.mobile-menu-drawer.active {
    right: 0; /* Wjazd na ekran */
}

/* 3. Tło przyciemniające (Overlay) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6); /* Ciemny granat półprzezroczysty */
    z-index: 1001; /* Pod szufladą, ale nad stroną */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 4. Nagłówek wewnątrz szuflady */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.drawer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
}

.close-drawer {
    background: none;
    border: none;
    font-size: 2rem;
    color: #0f172a;
    cursor: pointer;
    line-height: 1;
}

/* 5. Lista linków w menu mobilnym */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Wypycha kontakt na dół */
}

.mobile-nav-list li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-list li a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-list li a:hover {
    color: #bc2a8d; /* Fuksja */
    padding-left: 5px; /* Lekkie przesunięcie */
}

/* 6. Kontakt na dole szuflady */
.drawer-contact {
    margin-top: auto; /* Dopychanie do dołu */
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.drawer-contact .btn {
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.drawer-contact p {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin: 0;
}

/* 7. Blokada scrollowania strony gdy menu otwarte */
body.no-scroll {
    overflow: hidden;
}

/* =========================================
   SEO FOOTER (City Links) - WERSJA PREMIUM
   ========================================= */

/* 1. Główny kontener sekcji */
.clm-seo-footer {
    padding: 60px 0 40px 0; /* Więcej oddechu */
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Bardzo dyskretna linia w ciemnej stopce */
    background-color: transparent; /* Zakładam, że tło dziedziczy z .site-footer */
    font-family: 'Inter', sans-serif;
}

/* 2. Siatka (Grid) - kolumny */
.clm-seo-grid {
    display: grid;
    /* Szersze kolumny: min. 260px, max 1fr, co daje ładny układ 3-4 kolumn na PC */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px 30px; /* Duże odstępy, żeby sekcje na siebie nie nachodziły */
    transition: all 0.4s ease-in-out;
}

/* 3. Pojedyncza kolumna (np. Akupunktura Master Tung) */
.clm-seo-column {
    display: flex;
    flex-direction: column;
}

/* Nagłówek grupy (H4) */
.clm-seo-column h4 {
    font-size: 1.15rem; /* Zwiększony rozmiar */
    font-weight: 700;
    color: #e2e8f0; /* Jasny szary - duży kontrast na ciemnym tle */
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Półprzezroczysta linia */
    position: relative;
    letter-spacing: 0.5px; /* Lepsza czytelność wielkich liter */
    text-transform: uppercase; /* Bardziej profesjonalny wygląd kategorii */
}

/* Akcent turkusowy pod tytułem (grubszy i bardziej widoczny) */
.clm-seo-column h4::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Nadpisuje linię border-bottom */
    left: 0;
    width: 60px; /* Szerszy akcent */
    height: 3px; /* Grubszy akcent */
    background-color: #19a3b1; /* Twój Turkus */
}

/* 4. Lista i linki */
.clm-seo-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Zwiększony odstęp między poszczególnymi miastami */
}

.clm-seo-column li {
    margin: 0;
    padding: 0;
}

.clm-seo-column a {
    text-decoration: none;
    font-size: 0.95rem; /* Było 0.85, powiększono do ok. 15px */
    font-weight: 400; /* Normalna waga, aby nie "krzyczały" */
    color: #94a3b8; /* Jasny szary-niebieski, dobrze widoczny na granacie */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}

/* Punktory przed linkiem */
.clm-seo-column a::before {
    content: "•"; /* Kropka, ale nałożymy na nią stylizację */
    color: rgba(255, 255, 255, 0.2);
    margin-right: 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

/* Efekt najechania myszką (Hover) */
.clm-seo-column a:hover {
    color: #ffffff; /* Link staje się czysto biały */
    transform: translateX(5px); /* Wyraźniejsze przesunięcie w prawo */
}

.clm-seo-column a:hover::before {
    color: #19a3b1; /* Punktor zmienia kolor na Turkusowy */
}

/* 5. Kontener i przycisk "Pokaż więcej / Zwiń" */
.clm-seo-toggle {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Odcięcie przycisku */
}

.clm-toggle-btn {
    background-color: rgba(255, 255, 255, 0.05); /* Bardzo delikatne, półprzezroczyste tło */
    color: #e2e8f0; /* Jasny tekst */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 35px; /* Większy, łatwiejszy do kliknięcia przycisk */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px; /* Delikatne zaokrąglenie (zgodne z buttonami na zdjęciu) */
    transition: all 0.3s ease;
    outline: none;
    letter-spacing: 0.5px;
}

.clm-toggle-btn:hover {
    background-color: #19a3b1; /* Turkusowe tło na hover */
    color: #ffffff;
    border-color: #19a3b1;
    box-shadow: 0 5px 15px rgba(25, 163, 177, 0.3); /* Poświata przycisku */
    transform: translateY(-2px);
}

/* Klasa dla stanu "rozwiniętego" (jeśli używasz JS do ukrywania) */
.clm-seo-grid.is-hidden {
    display: none;
}

/* =========================================
   RESPONSYWNOŚĆ (Mobile i Tablety)
   ========================================= */
@media (max-width: 992px) {
    .clm-seo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Ciasniejsza siatka na tabletach */
    }
}

@media (max-width: 768px) {
    .clm-seo-footer {
        padding: 40px 15px 20px 15px;
    }
    
    .clm-seo-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
        gap: 35px;
    }
    
    .clm-seo-column a {
        padding: 6px 0; /* Większy obszar klikalny dla palca na mobile */
        font-size: 1rem; /* Ciut większa czcionka na telefonie */
    }
}

/* =========================================
   SEO FOOTER - PREMIUM LAYOUT & TOGGLE
   ========================================= */

/* 1. Kontener główny - ograniczenie szerokości dla profesjonalnego wyglądu */
.clm-seo-footer {
    width: 100%;
    max-width: 1400px; /* Optymalna szerokość "Wide" */
    margin: 60px auto 0 auto;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    font-family: 'Inter', sans-serif;
}

/* 2. Siatka z animacją wysokości */
.clm-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px 30px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    
    /* Stan domyślny (zwinięty) */
    max-height: 250px; /* Wysokość ok. 1.5 rzędu */
    position: relative;
}

/* Stan rozwinięty (klasa dodawana przez JS) */
.clm-seo-grid.expanded {
    max-height: 2500px; /* Wartość wyższa niż przewidywana treść */
}

/* 3. Stylizacja kolumn i nagłówków */
.clm-seo-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0; /* Jasny szary/biały */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(25, 163, 177, 0.3); /* Subtelny turkus */
    position: relative;
}

.clm-seo-column h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #19a3b1; /* Twój Turkus */
}

/* 4. Lista linków */
.clm-seo-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clm-seo-column li {
    margin-bottom: 10px;
}

.clm-seo-column a {
    text-decoration: none;
    font-size: 0.9rem;
    color: #94a3b8; /* Zgaszony kolor dla botów i UX */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}

/* Kropka przed linkiem */
.clm-seo-column a::before {
    content: "•";
    color: rgba(25, 163, 177, 0.4);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Hover na linki */
.clm-seo-column a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.clm-seo-column a:hover::before {
    color: #bc2a8d; /* Fuksja przy najeździe */
}

/* 5. Przycisk "Zwiń / Rozwiń" */
.clm-seo-toggle {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.clm-toggle-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 35px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.clm-toggle-btn:hover {
    background-color: #19a3b1;
    border-color: #19a3b1;
    color: #fff;
    box-shadow: 0 5px 20px rgba(25, 163, 177, 0.4);
    transform: translateY(-2px);
}

/* 6. Efekt zanikania (tylko gdy sekcja jest ZWINIĘTA) */
.clm-seo-grid:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #0f172a); /* Kolor tła Twojej stopki */
    pointer-events: none;
}

/* =========================================
   RESPONSYWNOŚĆ
   ========================================= */
@media (max-width: 1024px) {
    .clm-seo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clm-seo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    .clm-seo-footer {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .clm-seo-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SEO CITY PAGES (Lokalne Landing Page)
   ========================================= */

/* 1. Globalne ustawienia sekcji */
.local-seo-content {
    background-color: #ffffff;
}

.py-large { 
    padding: 80px 0; 
}
.mb-50 { 
    margin-bottom: 50px; 
}
.max-800 { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 20px; /* Zabezpieczenie na mobile */
}

/* 2. Typografia - Nagłówki i Teksty */
.local-seo-content .typography p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569; /* Ciemnoszary */
    margin-bottom: 25px;
}

.local-seo-content .typography h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a; /* Granat */
    margin-top: 55px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.local-seo-content .typography strong {
    color: #0f172a;
    font-weight: 700;
}

/* 3. Główny Nagłówek (H1) */
.seo-header .section-subtitle {
    display: block;
    color: #19a3b1; /* Turkus */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.seo-header .page-title {
    font-size: 2.8rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.seo-header .header-line {
    width: 60px;
    height: 4px;
    background-color: #bc2a8d; /* Fuksja */
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.seo-header .lead-text {
    font-size: 1.25rem;
    color: #334155;
    line-height: 1.6;
    font-weight: 400;
}

/* 4. Customowa Lista z Ikonami FontAwesome */
.local-seo-content .custom-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.local-seo-content .custom-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
}

.local-seo-content .custom-list li::before {
    content: '\f00c'; /* Ikona Checkmark */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: #19a3b1; /* Turkus */
    font-size: 1.1rem;
}

/* 5. Box CTA na końcu wpisu */
.final-cta-box {
    background-color: #f8fafc !important; /* Wymuszenie tła */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.final-cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.final-cta-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

/* 6. Główny przycisk akcji (Pill Button) */
.btn-main {
    display: inline-block;
    background-color: #bc2a8d; /* Fuksja */
    color: #ffffff !important;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 42, 141, 0.3);
    margin-top: 10px;
}

.btn-main:hover {
    background-color: #9d2275; /* Ciemniejsza fuksja */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(188, 42, 141, 0.4);
}

/* 7. Responsywność (Mobile) */
@media (max-width: 768px) {
    .py-large { 
        padding: 50px 0; 
    }
    .seo-header .page-title {
        font-size: 2.2rem;
    }
    .seo-header .lead-text {
        font-size: 1.1rem;
    }
    .local-seo-content .typography h2 {
        font-size: 1.5rem;
        margin-top: 40px;
    }
    .final-cta-box {
        padding: 30px 20px !important;
    }
}