/* ======================================================= */
/* CENTRUM ODDŁUŻANIA – WERSJA Z MAKSYMALNĄ ZWARTOŚCIĄ RWD */
/* ======================================================= */

/* ZMIANA 1: KONDENSACJA STRONY (GWARANTOWANA) */
html {
    /* Ustawienie bazowego rozmiaru czcionki na 80% domyślnego (16px * 0.8 = 12.8px) */
    font-size: 80% !important; /* Gwarancja nadpisania */
}

:root {
    --navy-900: #0F172A;
    --navy-800: #1E293B;
    --gold-600: #D97706;
    --gold-500: #F59E0B;
    --gold-400: #FBBF24;
    --gold-300: #FDE68A;
    --gold-glow: rgba(245,158,11,0.28);
    --gold-glow-strong: rgba(245,158,11,0.45);
    --white: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --border: rgba(15,23,42,0.08);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.75;
    color: var(--text);
    background:#FAFAFA;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,.logo { font-family:'Playfair Display',Georgia,serif;
font-weight:800; line-height:1.2; color:var(--navy-900); }

.container { width:min(90%,1280px); margin:0 auto; padding:0 20px; }

/* ====================== PRZYCISKI ====================== */
.btn {
    display:inline-flex;
    align-items:center; justify-content:center; gap:12px;
    padding:1.25rem 2.5rem; /* Użycie rem dla lepszego skalowania */
    border:none; border-radius:1rem; font-weight:700; font-size:1.1rem;
    text-decoration:none;
    cursor:pointer; transition:all .4s cubic-bezier(.4,0,.2,1);
    box-shadow:0 12px 40px var(--gold-glow); position:relative; overflow:hidden;
}
.btn-primary { background:linear-gradient(135deg,var(--gold-600),var(--gold-400)); color:#000; }
.btn-primary:hover { transform:translateY(-6px);
box-shadow:0 24px 60px var(--gold-glow-strong); }
.big-btn { font-size:1.45rem; padding:1.75rem 4rem; }

/* ====================== HEADER - Z-INDEX ====================== */
.site-header {
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(16px);
    padding:1.75rem 0;
    position:sticky;
    top:0;
    z-index:9999; /* Wysoki Z-index, ale mniejszy niż popup */
    border-bottom:1px solid rgba(15,23,42,0.08);
}
.header-content {
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap: nowrap;
}
.logo {
    font-size:2.2rem;
    letter-spacing:-1.8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-right: 30px;
}
.logo i { font-size: 3rem; }

.main-nav {
    display: flex;
    gap: 1.4rem; /* Skalowane odstępy */
    align-items: center;
    flex-wrap: nowrap;
}
.main-nav a {
    font-size:1.15rem;
    color:var(--muted);
    font-weight:600;
    text-decoration:none;
    transition:color .3s;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color:var(--gold-500); }

.btn-nav-highlight {
    background:linear-gradient(135deg,var(--gold-600),var(--gold-400));
    color:#000!important;
    padding:0.75rem 1.75rem!important;
    border-radius:50px;
    font-size:1.05rem!important;
    font-weight:700;
    box-shadow:0 10px 35px var(--gold-glow);
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-nav-highlight:hover { transform:translateY(-5px);
    box-shadow:0 20px 50px var(--gold-glow-strong);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--navy-900);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 10000;
    transition: all 0.3s;
}

.menu-toggle.active {
    color: var(--gold-400);
}

.menu-toggle.active i:before {
    content: "ea9c";
}


/* ====================== HERO ====================== */
.hero {
    position:relative;
    height:94vh;
    min-height:720px;
    overflow:hidden;
    display:flex;
    align-items:center;
}
.hero-relief-image { position:absolute; inset:0;
    background:url('relief-bg.png') center/cover no-repeat; z-index:1;
}
#hero-overlay { position:absolute; inset:0; background:url('papers-bg.png') center/cover no-repeat; z-index:2; cursor:pointer;
    transition:opacity 2.4s ease-out,transform 2s ease-out;
}
#hero-overlay.hidden { opacity:0; transform:scale(1.08);
}
.hero-content-wrapper { position: relative; z-index: 3; width: 100%;
}
.hero-content-wrapper .container {
    background:rgba(15,23,42,.86); backdrop-filter:blur(18px);
    padding:6.25rem 4.375rem; border-radius:2.25rem; max-width:1080px;
    border:1px solid rgba(255,255,255,.18); text-align:center;
}
.hero-content-wrapper h1 { font-size:4.8rem;
    color:var(--white); margin-bottom:2.25rem; letter-spacing:-2.2px; text-shadow:0 4px 20px rgba(0,0,0,.6);
}
.subheadline { font-size:1.55rem; color:rgba(255,255,255,.95); max-width:860px; margin:0 auto 3.125rem; }
.trust-signals { display:flex; justify-content:center; gap:1.5rem;
    flex-wrap:wrap; margin:3.5rem 0 2.5rem;
}
.trust-signals span { background:rgba(255,255,255,.15); padding:0.875rem 1.875rem; border-radius:50px; border:1px solid rgba(255,255,255,.22); backdrop-filter:blur(8px); color:var(--white);
}

/* ====================== SEKCJE ====================== */
section { padding:10rem 0; /* Zmniejszony padding */
}
h2 {
    font-size:3.6rem; text-align:center;
    margin:0 auto 6.875rem auto; /* Zmniejszony margines */
    max-width:1000px;
    position:relative; color:var(--navy-900);
}
h2::after {
    content:'';
    position:absolute; bottom:-1.75rem; left:50%; transform:translateX(-50%);
    width:10rem; height:0.375rem; background:var(--gold-500); border-radius:3px;
}

/* ====================== PROBLEMY ====================== */
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(18.75rem,1fr)); gap:3.125rem; max-width:1200px; margin:0 auto;
}
.card { background:white; padding:4.25rem 3rem; border-radius:2.25rem; text-align:center;
    box-shadow:0 25px 70px rgba(15,23,42,.12); transition:all .5s; border:1px solid var(--border); }
.card:hover { transform:translateY(-1.25rem);
    box-shadow:0 40px 100px rgba(15,23,42,.2); }
.icon-box { width:6.5rem; height:6.5rem;
    margin:0 auto 2.75rem; background:linear-gradient(135deg,var(--gold-600),var(--gold-400)); color:#000; border-radius:1.75rem; display:flex; align-items:center; justify-content:center; font-size:3.2rem;
    box-shadow:0 12px 30px var(--gold-glow);
}

/* ====================== PORÓWNANIE ====================== */
.comparison-section { background:linear-gradient(to bottom,#ffffff,#f8fafc); }
.comparison-wrapper { display:flex; gap:3.75rem; flex-wrap:wrap; justify-content:center; max-width:1200px;
    margin:0 auto; }
.comparison-card { flex:1;
    min-width:23.75rem; border-radius:2.5rem; overflow:hidden; box-shadow:0 30px 90px rgba(15,23,42,.18); transition:all .5s; }
.comparison-card:hover { transform:translateY(-1.125rem); }

.komornik { background:#FFFBFD;
    border:3px solid #FCA5A5; color:#7F1D1D;
}
.syndyk { background:linear-gradient(135deg,var(--navy-900),var(--navy-800)); color:var(--white); border:3px solid var(--gold-500); position:relative; }

.syndyk::before {
    content:''; position:absolute; inset:-3px;
    background:linear-gradient(45deg,var(--gold-500),transparent 40%,var(--gold-500));
    border-radius:2.5rem; z-index:-1;
}

.syndyk .card-header,
.syndyk .card-header i,
.syndyk h3 { color:var(--white)!important;
}

.card-header { padding:3.25rem 2.5rem 2.5rem; text-align:center; font-size:2rem; display:flex; align-items:center;
    justify-content:center; gap:1.25rem;
}
.komornik .card-header { color:#DC2626;
}

.comparison-card ul { padding:0 3.125rem 3.125rem; list-style:none;
}
.comparison-card li {
    padding:1.125rem 0; font-size:1.2rem; position:relative; padding-left:3.875rem;
    min-height:3.125rem; display:flex;
    align-items:center;
}

/* ZMIANA 3: POPRAWIONE IKONY W SEKACJI KOMORNIK VS UPADŁOŚĆ (wymaga załadowania RemixIcon) */
.komornik li::before {
    content: "\ea7e"; /* Poprawny kod dla ri-close-circle-fill (Czerwony krzyżyk - Negatyw) */
    font-family:"RemixIcon";
    color:#EF4444;
    font-size:2rem;
    position:absolute;
    left:0;
}
.syndyk li::before   {
    content: "\e900"; /* Poprawny kod dla ri-check-line (Złoty/Zielony check - Pozytyw) */
    font-family:"RemixIcon";
    color:var(--gold-400);
    font-size:2rem;
    position:absolute;
    left:0;
}

.highlight-badge {
    position:absolute;
    top:1.75rem; right:-3.125rem; background:var(--gold-500);
    color:#000;
    padding:0.875rem 5rem; font-weight:900; font-size:1rem; transform:rotate(14deg);
    box-shadow:0 8px 20px rgba(0,0,0,.3);
}

/* ====================== PROCES ====================== */
.process-section { 
    background: var(--navy-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 11.25rem 0 12.5rem; 
}
.parallax-bg { 
    position: absolute; 
    inset: 0; 
    opacity: .42; 
}
.process-image { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.process-content { 
    position: relative; 
    z-index: 2;
}
.process-title {
    font-size: 4.8rem!important;
    text-align: center;
    margin: 0 auto 2.5rem auto;
    max-width: 1100px;
    background: linear-gradient(90deg, #fff, var(--gold-300), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(251,191,36,.4);
}
.process-subtitle { 
    font-size: 1.45rem; 
    text-align: center; 
    opacity: .92; 
    max-width: 800px; 
    margin: 0 auto 7.5rem auto; 
}

.timeline { 
    position: relative; 
    max-width: 1100px; 
    margin: 0 auto; 
}
/* ZMNIEJSZONA SZEROKOŚĆ LINII, ABY NIE ZASŁANIAŁA TEKSTU */
.timeline-line { 
    position: absolute; 
    left: 50%;
    top: 0;
    width: 0.1875rem; /* Zmniejszono o połowę z 0.375rem */
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold-500), transparent);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 3px; 
    opacity: 0.7; /* Dodana subtelna przezroczystość */
}

.step {
    position: relative;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(16px);
    padding: 4rem 3.5rem;
    border-radius: 2.5rem;
    margin: 8.75rem 0;
    transition: all .5s;
    border: 1px solid rgba(255,255,255,.12);

    /* PRZESUNIĘCIE KROKÓW NA BOKI, ABY LINIA CZASU BYŁA W ŚRODKU */
    width: 45%; 
}
.step:nth-child(odd) {
    /* Kroki nieparzyste - po lewej */
    margin-left: 0;
    margin-right: auto;
}
.step:nth-child(even) {
    /* Kroki parzyste - po prawej */
    margin-right: 0;
    margin-left: auto;
}

.step:hover { 
    background: rgba(255,255,255,.22); 
    transform: translateY(-0.75rem); 
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.step-number {
    position: absolute;
    top: -2.75rem;
    /* Zmiana pozycjonowania dla numeru kroku (w celu centrowania go na linii) */
    left: calc(50% + 50%); /* Domyślnie z lewej dla parzystych i prawej dla nieparzystych */
    transform: translateX(-50%);
    width: 6.25rem;
    height: 6.25rem;
    background: var(--gold-500);
    color: #000;
    font-size: 2.6rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 10px solid var(--navy-900);
    box-shadow: 0 20px 60px var(--gold-glow-strong);
    z-index: 3;
}
/* Korekta pozycjonowania numeru dla kroków po lewej stronie */
.step:nth-child(odd) .step-number {
    left: 100%; /* Ustawienie na końcu bloku po lewej */
    transform: translateX(-50%);
}
/* Korekta pozycjonowania numeru dla kroków po prawej stronie */
.step:nth-child(even) .step-number {
    left: 0; /* Ustawienie na początku bloku po prawej */
    transform: translateX(-50%);
}

.step h3 {
    text-align: center;
    color: var(--white)!important;
    text-shadow: 0 2px 10px rgba(0,0,0,.6);
    margin-bottom: 1.5rem; /* Dodany margines pod nagłówkiem kroku */
}
.step p { 
    text-align: center;
    font-size: 1.25rem; /* Zwiększono z 1.15rem na 1.25rem */
    line-height: 1.65; /* Lekko zwiększony odstęp między wierszami */
    color: var(--white)!important; 
    text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

/* ====================== FAQ ====================== */
.faq-section h2 { margin-bottom:7.5rem; }
.accordion { max-width:1000px; margin:0 auto; }
.accordion-item { background:white; border-radius:1.75rem; overflow:hidden; margin-bottom:2rem;
    box-shadow:0 20px 60px rgba(15,23,42,.1); }
.accordion-header {
    width:100%; padding:2rem 3rem; background:white; border:none; text-align:left;
    font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:700; cursor:pointer;
    display:flex; justify-content:space-between; align-items:center; transition:all .3s;
}
.accordion-header::after { content:'+'; font-size:2.4rem; font-weight:300; color:var(--gold-500); }
.accordion-header.active::after { content:'−'; }
.accordion-header:hover,.accordion-header.active { background:#fbfbfc; color:var(--gold-600);
}
.accordion-content { max-height:0; overflow:hidden; transition:max-height .6s ease,padding .6s ease; background:#fbfbfc; padding:0 3rem; }
.accordion-content p { padding:2.5rem 0; color:var(--muted); font-size:1.1rem;
}

/* ====================== FOOTER ====================== */
.site-footer {
    background:var(--navy-900); color:rgba(255,255,255,.9);
    padding:6.25rem 0 3.125rem !important;
    text-align:center;
}
.site-footer h2 { color:var(--white);
    margin-bottom:2.25rem; font-size:3.8rem;
}
.footer-cta { margin:4.375rem 0 3.75rem; }
.legal-note { padding-top: 2.5rem; opacity: 0.7;
}

/* ====================== PRZYPIĘTY PANEL CTA (Dolny Mini Pasek) ====================== */
.minimal-cta-bar {
    position:fixed;
    bottom:0; left:0; right:0;
    background:linear-gradient(135deg,var(--navy-900),var(--navy-800));
    color:white;
    padding:0.75rem 0;
    z-index:997;
    border-top:0.25rem solid var(--gold-500);
    box-shadow:0 -10px 30px rgba(0,0,0,.4);
    display: flex;
}
.minimal-cta-content { display:flex;
    justify-content:space-between; align-items:center; gap:1rem; font-size:0.95rem;
}
.minimal-phone {
    background:var(--gold-500); color:#000; padding:0.625rem 1.5rem; border-radius:50px; font-weight:700;
    font-size:1.1rem; text-decoration:none; display:flex; align-items:center;
    gap:0.5rem;
    transition:all .3s;
    white-space: nowrap;
}
.minimal-phone:hover { background:var(--gold-400); transform:translateY(-2px);
}
.minimal-cta-nav { display: flex; gap: 1.25rem; }
.minimal-cta-nav a {
    color: var(--white, #fff);
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    white-space: nowrap;
}
.minimal-cta-nav a:hover { opacity: 1;
}

/* ====================== Quick contact widget (DESKTOP) ====================== */
/* ZMIANA 3: POPUP - NAJWYŻSZY Z-INDEX (GWARANTOWANE NAD HEADEREM) */
.quick-contact-widget {
    position:fixed;
    bottom:5.625rem; /* Powyżej minimal-cta-bar */
    right:1rem;
    z-index: 999999999;
    /* Super wysoki Z-INDEX */
}

.quick-contact-trigger {
    width:4.25rem;
    height:4.25rem;
    background:linear-gradient(135deg,var(--gold-500),var(--gold-400));
    color:#000; border:none; border-radius:50%;
    box-shadow:0 12px 40px rgba(245,158,11,.5);
    cursor:pointer;
    display:flex;
    flex-direction:column; align-items:center; justify-content:center;
    font-size:2.4rem;
    animation:pulse 4s infinite;
    transition:all .3s;
}
@keyframes pulse { 0%,100%{box-shadow:0 12px 40px rgba(245,158,11,.5)} 50%{box-shadow:0 12px 60px rgba(245,158,11,.8)} }

.quick-contact-panel {
    position:absolute;
    bottom:5rem;
    /* Odległość od przycisku/krawędzi */
    right:0;
    width:28rem; /* Zmniejszona szerokość: 320px */
    background:white;
    border-radius:1.5rem;
    padding:2rem;
    box-shadow:0 30px 80px rgba(15,23,42,.25);
    transform:translateY(1.25rem);
    opacity:0;
    visibility:hidden;
    transition:all .4s cubic-bezier(.4,0,.2,1);
    z-index: 999999999;
    /* Tak samo wysoki Z-INDEX */
    
    /* KLUCZOWA POPRAWKA: Wymuszenie układu kolumnowego z wysoką specyficznością */
    display: flex !important;
    flex-direction: column !important; 
}
.quick-contact-panel.active { transform:translateY(0); opacity:1; visibility:visible;
}
.quick-close { position:absolute; top:0.875rem; right:1.125rem; background:none; border:none; font-size:1.75rem; color:#94a3b8; cursor:pointer;
}
.quick-contact-panel h3 { font-family:'Playfair Display',serif;
    font-size:1.75rem; margin-bottom:0.5rem; color:#0F172A;
}
/* ZMIANA 2: Zmniejszenie przycisków i ustawienie w kolumnie (stacked) */
.quick-btn {
    display:flex;
    align-items:center;
    gap:1rem;
    padding:0.9rem 1.125rem; /* ZMNIEJSZENIE PRZYCISKU */
    width: 100%; /* Gwarancja pełnej szerokości */
    background:#f8fafc;
    border-radius:1rem;
    text-decoration:none;
    color:#1e293b;
    font-weight:600;
    border:1px solid #e2e8f0;
    transition:all .3s;
    margin-bottom:0.6rem;
    /* Usunięto 'flex-basis', bo kontener nadrzędny wymusza teraz kolumnę */
}
.quick-btn:hover { background:#fffbeb; border-color:var(--gold-500); transform:translateY(-3px); }
.quick-btn i {
    font-size:1.5rem; /* ZMNIEJSZENIE IKONY */
    width:2.5rem; /* ZMNIEJSZENIE ROZMIARU TŁA IKONY */
    height:2.5rem; /* ZMNIEJSZENIE ROZMIARU TŁA IKONY */
    border-radius:0.6rem;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
}
.quick-btn.whatsapp i { background:#25D366;
}
.quick-btn.phone i { background:#3b82f6;
}
.no-wrap { white-space: nowrap; }
.quick-form { margin-top: 1.5rem;
}
.quick-form input {
    width:100%;
    padding:0.875rem 1.25rem; margin-bottom:0.75rem; border:1px solid #e2e8f0; border-radius:0.75rem;
    font-size:1rem; outline:none; transition:border-color .3s;
}
.quick-form input:focus { border-color:var(--gold-500);
}
.quick-form button[type="submit"] {
    width:100%; background:var(--gold-500); color:#000; padding:1rem 1.25rem; border:none; border-radius:0.75rem;
    font-weight:700; font-size:1.1rem; cursor:pointer;
    margin-top:1.25rem; transition:background .3s;
}
.quick-form button[type="submit"]:hover { background:var(--gold-400); }
.form-info { font-size: 0.85rem; color: #94a3b8; margin-top: 0.625rem; text-align: center;
}

/* Checkbox (Zgoda) */
.consent-checkbox {
    display: flex; align-items: flex-start; margin-bottom: 0.625rem; cursor: pointer;
    font-size: 0.85rem;
}
.consent-checkbox input {
    opacity: 0; position: absolute; cursor: pointer;
}
.consent-checkbox .checkmark {
    height: 1.25rem;
    width: 1.25rem; background-color: #eee; border-radius: 4px;
    border: 1px solid #ccc; flex-shrink: 0; margin-right: 0.625rem;
}
.consent-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}
.consent-checkbox input:checked ~ .checkmark {
    background-color: var(--gold-500);
    border-color: var(--gold-500);
}
.consent-checkbox .checkmark:after {
    content: ""; position: absolute; display: none;
    left: 7px; top: 3px; width: 5px;
    height: 10px; border: solid #000;
    border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.consent-checkbox input:checked ~ .checkmark:after {
    display: block;
}


/* ====================== COOKIE BANNER ====================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-900);
    color: white;
    padding: 1.25rem 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(.175,.885,.32,1.27);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-top: 0.25rem solid var(--gold-500);
}
.cookie-consent.show {
    transform: translateY(0);
}
.cookie-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.875rem;
}
.cookie-text h4 {
    color: var(--gold-400);
    font-size: 1.4rem;
    margin-bottom: 0.3125rem;
}
.cookie-text p {
    font-size: 0.95rem;
    opacity: 0.9;
}
.cookie-details-btn {
    background: none;
    border: 1px solid rgba(255,255,255,.5);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    margin-bottom: 0.625rem;
}
.cookie-details-btn:hover {
    background: rgba(255,255,255,.1);
}
.cookie-details-panel-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: 30%;
    min-width: 15.625rem;
}
.cookie-details-panel {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.625rem;
    padding: 1.25rem;
    background: var(--navy-800);
    border-radius: 0.75rem;
    display: none;
    width: 18.75rem;
    border: 1px solid var(--gold-500);
}
.cookie-details-panel.show { display:block; }
.cookie-details-panel p { margin-bottom: 0.5rem; line-height: 1.5;
    font-size: 0.9rem;
}
.cookie-details-panel p strong { color: var(--gold-400); font-weight: 700;
}
.cookie-actions { display:flex; gap:0.9375rem; flex-basis: 35%; min-width: 18.75rem;
}
.cookie-actions .btn-primary { padding:0.75rem 1.5rem; font-size:1rem; flex-grow: 1; white-space: nowrap; }
.btn-ghost { background:none; border:2px solid rgba(255,255,255,.5); color:white;
    padding:0.75rem 1.5rem; border-radius:0.75rem;
    cursor:pointer; font-weight: 600; transition: all 0.3s; }
.btn-ghost:hover { background:rgba(255,255,255,.1);
}

/* ====================== PEŁNA RESPONSYWNOŚĆ (RWD) ====================== */

/* 1. EKRANY 992px - 1200px (duże tablety / małe desktopy) */
@media (max-width: 1200px) {
    .header-content { flex-wrap: nowrap;
    }
}

/* 2. EKRANY 768px - 992px (tablety) */
@media (max-width: 992px) {
    /* KLUCZOWA POPRAWKA SPECYFICZNOŚCI DLA H1 HERO */
    .hero-content-wrapper h1 { font-size: 3.8rem;
    }
    h2 { font-size: 3rem; margin-bottom: 5rem; }
    section { padding: 7.5rem 0;
    }
    .hero-content-wrapper .container { padding: 3.75rem 2.5rem; }
    .subheadline { font-size: 1.3rem; margin-bottom: 1.875rem;
    }
    .btn-primary { padding: 0.875rem 1.875rem; font-size: 1rem; }
    .trust-signals { gap: 0.9375rem;
    }
    .trust-signals span { font-size: 0.9rem; padding: 0.625rem 1.25rem; }
    .comparison-card { min-width: 20rem;
    }
    .comparison-card li { font-size: 1.1rem; }
    .process-title { font-size: 3.4rem !important;
    }
    .process-subtitle { font-size: 1.2rem; }
    .step { padding: 2.5rem 1.875rem; margin: 6.25rem 0;
    }
    .accordion-content p { padding: 1.875rem 0; }
    .accordion-header { font-size: 1.3rem;
    }

    /* MENU MOBILNE */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--navy-900);
        z-index: 9998;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(.68,-0.55,.265,1.55), visibility 0s 0.4s;
        padding-top: 6.25rem;
        visibility: hidden;
        display: flex;
        overflow-y: auto;
    }
    .main-nav.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.4s cubic-bezier(.68,-0.55,.265,1.55);
    }
    
    .menu-toggle {
        display: block;
    }

    .main-nav a {
        margin: 1.25rem 0;
        font-size: 1.6rem;
        color: var(--white);
        opacity: 0.8;
        display: block;
        text-align: center;
        width: 100%;
    }
    .btn-nav-highlight {
        margin-top: 1.875rem !important; font-size: 1.1rem !important;
        padding: 0.875rem 1.875rem !important;
        box-shadow: none !important; background: var(--gold-500) !important;
        border-radius: 0.75rem !important; color: #000 !important;
    }
    
    /* MODAL KONTAKTOWY (RWD) */
    .quick-contact-widget {
        position: fixed;
        inset: 0; background: rgba(15, 23, 42, 0.9); z-index: 999999999;
        pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .4s ease;
    }
    .quick-contact-widget.active { opacity: 1; visibility: visible; pointer-events: auto;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        padding-top: 0;
    }
    .quick-contact-trigger { display: none; }
    .quick-contact-panel { position: relative;
        bottom: auto;
        right: auto; transform: translateY(0); opacity: 1; visibility: visible; width: min(90%, 28.125rem);
    }
}
/* 3. EKRANY PONIŻEJ 768px (smartfony) */
@media (max-width: 768px) {
    /* ZMIANA 1: Zmniejszenie nagłówka na urządzeniach mobilnych (o połowę) */
    .site-header {
        padding: 0.75rem 0; /* Zmniejszenie paddingu górnego i dolnego */
    }
    .logo {
        font-size: 1.1rem; /* Zmniejszenie rozmiaru czcionki logo (ponad połowę z 2.2rem) */
        letter-spacing: -0.5px;
        margin-right: 15px;
    }
    .logo i {
        font-size: 1.5rem; /* Zmniejszenie ikony logo (o połowę z 3rem) */
    }
    .header-content {
        gap: 10px; /* Ewentualne zmniejszenie odstępu */
    }

    /* KLUCZOWA ZMIANA H1 - ostateczne, mocne zmniejszenie + WYSOKA SPECYFICZNOŚĆ */
    .hero-content-wrapper h1 { font-size: 2.7rem;
    letter-spacing: -1px; margin-bottom: 1.25rem;
    }
    .hero { height: auto; min-height: 34.375rem; padding-top: 2.5rem; padding-bottom: 2.5rem;
    }
    .hero-content-wrapper .container { padding: 2.5rem 1.25rem; margin-top: 0; }
    h2 { font-size: 2.8rem;
    margin-bottom: 3.75rem;
    }
    section { padding: 5rem 0; }
    .subheadline { font-size: 1.2rem;
    }
    .trust-signals { flex-direction: column; align-items: center;
    }
    .trust-signals span { width: 100%; text-align: center; }
    .card { padding: 2.5rem 1.875rem; border-radius: 1.25rem;
    }
    .icon-box { margin-bottom: 0.9375rem; width: 5rem; height: 5rem; font-size: 2.5rem; }
    .comparison-wrapper { flex-direction: column; gap: 1.5625rem;
    }
    .comparison-card { min-width: 100%;
    }
    .comparison-card li { padding-left: 3rem; min-height: 2.5rem; font-size: 1.1rem;
    }
    .komornik li::before, .syndyk li::before {
        font-size: 1.5rem; top: 0.5rem;
    }
    .card-header { font-size: 1.8rem;
    }
    .card-header i { font-size: 2.8rem;
    }
    .process-title { font-size: 2.8rem !important;
    }
    .process-subtitle { margin-bottom: 5rem;
    }
    .timeline-line { display: none;
    }
    .step { width: 90%; margin: 3.125rem auto;
    }
    .step-number { position: static; transform: none; margin-bottom: 0.9375rem;
        border: none; box-shadow: none; font-size: 2rem; width: auto; height: auto;
        background: none; color: var(--gold-500); display: block; text-align: center;
    }
    .step-number:after { content: "."; font-weight: 900;
        font-size: 2rem;
    }
    .step h3 { text-align: center; font-size: 1.5rem;
    }
    .accordion-header { font-size: 1.2rem; padding: 1.5rem 1.875rem;
    }
    .accordion-content { padding: 0 1.875rem;
    }
    .accordion-content p { padding: 1.5rem 0;
    }
    .site-footer { padding: 3.75rem 0 2.5rem !important;
    }
    .site-footer h2 { font-size: 2.4rem;
    }
    .footer-cta { margin: 2.5rem 0 1.875rem;
    }
    .minimal-cta-content { flex-direction: column; align-items: center; gap: 0.5rem;
    }
    .minimal-cta-text { text-align: center;
    }
    .minimal-cta-text p { margin: 0; line-height: 1.3; }
    .minimal-cta-nav { display: none; }
    .minimal-phone { flex-grow: 1; text-align: center;
    }
    .cookie-inner { flex-direction: column; align-items: flex-start; }
    .cookie-actions { width: 100%; flex-basis: auto; min-width: auto;
    }
    .cookie-details-panel-wrapper { width: 100%; min-width: 100%; align-items: flex-start; }
    .cookie-details-panel { bottom: auto; top: 100%; left: 0; transform: translateX(0);
    width: 100%; }
}
/* ======================================================= */
/* 5. STYLE DLA BLOGA (blog.html) - ULEPSZONE */
/* ======================================================= */

/* Zmienne (jeśli nie są zdefiniowane wcześniej) */
:root {
    --navy-900: #1C2D48;
    --gold-500: #FACC15;
    --gold-300: #FDE68A; /* Jaśniejszy złoty */
    --white: #ffffff;
    --border: #E5E7EB;
    --text-muted: #6B7280; /* Nowy kolor dla tekstu (muted) */
    --red-alert: #DC2626;
}

/* === HERO SECTION (Niezmienione, bo były poprawne) === */
.page-hero {
    background: var(--navy-900);
    padding: 7.5rem 0 5rem;
    text-align: center;
}
.page-title {
    font-size: 3.8rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-weight: 800; /* Uwydatniamy tytuł */
}
.page-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}
.search-bar {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.875rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.search-bar input {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    color: var(--white);
    outline: none;
}
.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.search-bar button {
    background: var(--gold-500);
    color: var(--navy-900); /* Zmienione na kolor tła nagłówka dla kontrastu */
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s;
}
.search-bar button:hover {
    background: #FBBF24; /* Delikatnie jaśniejszy złoty hover */
}

/* === KATEGORIE I SIATKA WPISÓW === */
.blog-grid-section {
    padding: 5rem 0;
    background: #f8fafc;
}
.category-filter {
    display: flex;
    justify-content: center;
    gap: 0.9375rem;
    margin-bottom: 3.75rem;
    flex-wrap: wrap;
}
.category-filter a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    border: 2px solid var(--border);
    transition: all 0.3s;
    white-space: nowrap;
}
.category-filter a:hover,
.category-filter a.active {
    background: var(--gold-500); /* Zmienione na 500 dla mocniejszego efektu */
    border-color: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 4px 10px rgba(250, 204, 21, 0.4);
}

.blog-grid {
    display: grid;
    /* Nowa, lepsza konfiguracja minmax */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem; /* Zmniejszony gap dla lepszego zagęszczenia */
    max-width: 1280px; /* Nieco większy kontener */
    margin: 0 auto;
}

/* === KARTA WPISU (Post Card) === */
.post-card {
    background: var(--white);
    border-radius: 1.5rem; /* Większy promień dla łagodniejszego wyglądu */
    overflow: hidden;
    /* Mocniejszy, ale bardziej subtelny cień */
    box-shadow: 0 10px 30px rgba(28, 45, 72, 0.1); 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Upewniamy się, że cały link nie ma podkreślenia */
    color: inherit;
}
.post-card:hover {
    transform: translateY(-0.75rem); /* Większe uniesienie przy hoverze */
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2); /* Mocniejszy cień na hoverze */
}
.post-card img {
    width: 100%;
    height: 14rem; /* Nieco wyższa miniatura */
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
}
.post-card:hover img {
    transform: scale(1.08); /* Mocniejsze powiększenie obrazu */
}

.post-content-wrapper {
    padding: 1.875rem;
    flex-grow: 1;
}
.post-card .category-tag {
    display: inline-block;
    background: var(--gold-300);
    color: var(--navy-900);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.9375rem;
    text-transform: uppercase; /* Dodana poprawa */
}
.post-card h3 {
    font-size: 1.5rem; /* Nieco większy tytuł */
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--navy-900);
    font-weight: 800;
}
.post-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem; /* Zwiększony odstęp */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ograniczenie opisu do 3 linii */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === NOWA SEKCJA: STOPKA KARTY Z META DANYMI === */
.post-footer {
    padding: 1rem 1.875rem 1.5rem; /* Zostawiamy większy padding na dole */
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-meta-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}
.post-meta-item i {
    color: var(--gold-500); /* Ikony w kolorze złotym */
    font-size: 1.1rem;
}


.post-card .read-more {
    color: var(--navy-900); /* Zmienione na navy-900 dla lepszego kontrastu z tłem */
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.post-card .read-more i {
    color: var(--gold-500);
    transition: transform 0.3s;
}

.post-card .read-more:hover {
    color: var(--gold-700);
}
.post-card .read-more:hover i {
    transform: translateX(5px);
}


/* === PAGINACJA (Nieco ulepszona) === */
.pagination {
    margin-top: 5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0.625rem; /* Mniejszy odstęp między elementami */
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem; /* Nieco większy przycisk */
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--border); /* Cieńsza ramka */
    text-decoration: none;
    color: var(--navy-900);
    font-weight: 700;
    transition: all 0.3s;
}
.pagination a:hover:not(.current) {
    background: var(--bg-light); /* Użycie jasnego tła */
    border-color: var(--gold-500);
    transform: translateY(-2px);
}
.pagination a.current {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
    pointer-events: none; /* Wyłącza klikanie na aktywny element */
}
/* ======================================================= */
/* 6. STYLE DLA POJEDYNCZEGO WPISU (single-post.html) */
/* ======================================================= */
.single-post-page { padding: 5rem 0;
    background: #ffffff; }
.post-container { display: grid; grid-template-columns: 3fr 1fr; /* Treść 3/4, Sidebar 1/4 */ gap: 3.75rem; max-width: 1300px;
}
/* TREŚĆ WPISU */
.post-content { max-width: 850px; margin: 0 auto; }
.post-header { margin-bottom: 2.5rem;
}
.back-link { color: var(--gold-500); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 1.25rem;
}
.post-meta-details { display: flex; gap: 1.25rem; color: var(--muted); font-size: 0.95rem; margin-bottom: 0.625rem; }
.post-meta-details span i { font-size: 1rem;
    margin-right: 5px; }
.post-content h1 { font-size: 3.2rem; margin-bottom: 1.25rem; line-height: 1.2; }
.post-excerpt { font-size: 1.35rem; color: var(--navy-800);
    font-weight: 500; margin-bottom: 2.5rem; }
.post-content p { margin-bottom: 1.5rem; }
.post-content a { color: var(--gold-600); font-weight: 600; text-decoration: none; transition: color 0.3s;
}
.post-content a:hover { color: var(--gold-500); }
.post-content ul { list-style: none; margin-bottom: 1.5rem; padding-left: 1.5rem;
}
.post-content ul li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem;
}
.post-content ul li::before { content: "\e900"; /* ri-check-line */ font-family: "RemixIcon";
    color: var(--gold-500); position: absolute; left: 0; font-size: 1rem; line-height: 1.6;
}
.post-content h2 { font-size: 2.4rem !important; margin-top: 2.5rem; margin-bottom: 1.5rem; text-align: left;
}
.post-content h2::after { display: none; }
.post-content img { max-width: 100%; height: auto; border-radius: 0.875rem; margin: 2.5rem 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.post-content blockquote { border-left: 4px solid var(--gold-500); padding: 0.5rem 1.5rem;
    margin: 2.5rem 0; background: #f8fafc; font-style: italic; font-size: 1.2rem; color: var(--navy-800); }
.post-footer { display: flex; justify-content: space-between;
    align-items: center; margin-top: 3.75rem; padding-top: 1.875rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.author-box { display: flex; align-items: center;
    gap: 1.25rem; flex: 1; }
.author-box img { width: 3.75rem; height: 3.75rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-500);
}
.author-box strong { display: block; font-size: 1.1rem; margin-bottom: 5px; }
.share-options span { font-weight: 600; margin-right: 0.9375rem;
}
.share-options a { font-size: 1.8rem; color: var(--navy-900); margin-right: 0.625rem; transition: color 0.3s; }
.share-options a:hover { color: var(--gold-500);
}
/* ======================================================= */
/* BOCZNY PANEL KONTAKTOWY (SIDEBAR CTA) - ULEPSZONY STYL */
/* ======================================================= */
.sidebar-cta { position: sticky;
    top: 7.5rem; align-self: flex-start; width: 100%; z-index: 10; }
.cta-panel-desktop { background: var(--navy-900); padding: 1.875rem; border-radius: 1.25rem; color: var(--white);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.2); border: 1px solid var(--gold-500); animation: sidebarGlow 4s infinite alternate;
}
@keyframes sidebarGlow { 0% { box-shadow: 0 0 0px var(--gold-glow), 0 15px 40px rgba(15, 23, 42, 0.3);
} 100% { box-shadow: 0 0 12px var(--gold-500), 0 15px 40px rgba(15, 23, 42, 0.5);
} }
.cta-panel-desktop h3 { font-size: 1.5rem; margin-bottom: 0.625rem; color: var(--white); }
.cta-panel-desktop p { font-size: 0.95rem; opacity: 0.8; margin-bottom: 1.25rem; }
.cta-panel-desktop input { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white); padding: 0.75rem 1rem; border-radius: 0.625rem; margin-bottom: 0.625rem; font-size: 1rem; width: 100%; outline: none; transition: border-color 0.3s;
}
.cta-panel-desktop input::placeholder { color: rgba(255, 255, 255, 0.5); }
.cta-panel-desktop input:focus { border-color: var(--gold-500); }
.cta-panel-desktop button[type="submit"] { width: 100%; padding: 0.75rem 1rem;
    background: var(--gold-500); color: #000; border: none; border-radius: 0.625rem; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.3s; margin-top: 1rem;
}
.cta-panel-desktop button[type="submit"]:hover { background: var(--gold-400); }
.consent-checkbox-sidebar {
    display: flex; align-items: flex-start; margin-bottom: 0.625rem; cursor: pointer;
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.7);
}
.consent-checkbox-sidebar input { opacity: 0; position: absolute; cursor: pointer;
}
.consent-checkbox-sidebar .checkmark { height: 1rem; width: 1rem; background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.3); flex-shrink: 0; margin-right: 0.5rem;
}
.consent-checkbox-sidebar:hover input ~ .checkmark { background-color: rgba(255, 255, 255, 0.2);
}
.consent-checkbox-sidebar input:checked ~ .checkmark { background-color: var(--gold-500); border-color: var(--gold-500); }
.consent-checkbox-sidebar .checkmark:after { content: ""; position: absolute; display: none; left: 4px;
    top: 1px; width: 4px; height: 8px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.consent-checkbox-sidebar input:checked ~ .checkmark:after { display: block; }

/* ================================================================= */
/* ZMIENIONY KONTAKT ALTERNATYWNY - NOWE, KOLOROWE PRZYCISKI PREMIUM */
/* ================================================================= */
.contact-alternatives-subtle {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    /* Dodałem tekst informacyjny, jeśli jest używany */
    text-align: center; 
}
.contact-alternatives-subtle p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    color: var(--gold-300);
}

/* Nowy, atrakcyjny styl dla przycisków alternatywnych */
.cta-alt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 0.625rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    width: 100%;
    /* Neutralne tło, aby kolorystyka była na ikonie */
    background: var(--navy-800); 
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-alt-btn:hover {
    transform: translateY(-2px);
    background: var(--navy-900);
    border-color: var(--gold-500);
    box-shadow: inset 0 0 0 2px var(--gold-500), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.cta-alt-btn i {
    font-size: 1.5rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000; /* Kolor ikony na czarny */
    
    /* Dodatkowy cień do ikon, aby się wyróżniały */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* WhatsApp - Styl Ikon */
.cta-alt-btn.whatsapp i {
    background: #25D366; /* Jasny Zielony WhatsApp */
}

/* Telefon - Styl Ikon */
.cta-alt-btn.phone i {
    background: #3B82F6; /* Jasny Niebieski Telefon */
}
/* ================================================================= */
/* KONIEC ZMIAN W KONTAKCIE ALTERNATYWNYM */
/* ================================================================= */

/* RWD DLA SINGLE POST */
@media (max-width: 1100px) {
    .post-container {
        /* Układ dwukolumnowy utrzymany, np. dla tabletów w orientacji poziomej */
        grid-template-columns: 2fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .post-container {
        /* Przechodzimy na układ jednokolumnowy */
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    /*
     * KLUCZOWA POPRAWKA:
     * Artykuł (.post-content) musi mieć order: 1, aby był na górze.
     * Formularz (.sidebar-cta) musi mieć order: 2, aby był pod artykułem.
     */
    .post-content {
        order: 1; /* Artykuł jest PIERWSZY */
    }
    .sidebar-cta {
        position: static;
        order: 2; /* Formularz jest DRUGI */
        margin-top: 0;
        margin-bottom: 2.5rem;
        /* LINIA KORYGUJĄCA: Wymusza wyświetlanie, jeśli domyślnie było ukryte */
        display: block !important; 
    }
    /* Jeśli istnieje klasa, która ukrywa panel na małych ekranach: */
    .cta-panel-desktop {
        display: block !important;
    }
    .post-content h1 { 
        /* Zmniejszenie rozmiaru h1 dla lepszej estetyki na mniejszych ekranach */
        font-size: 2.8rem; 
    }
}

@media (max-width: 768px) {
    .page-title { font-size: 2.2rem; }
    .search-bar { flex-direction: column; }
    .search-bar input { padding: 0.9375rem; margin-bottom: 0.625rem; }
    .search-bar button { width: 100%; padding: 0.9375rem; }
    .blog-grid { gap: 1.875rem; }
    .post-card img { height: 9.375rem; }
    .post-card h3 { font-size: 1.3rem; }
    .post-card p { font-size: 0.9rem; }
    .sidebar-cta { 
        /* Przywróć to, jeśli sidebar ma być całkowicie ukryty na bardzo małych ekranach.
           Jeśli ma być widoczny, usuń lub zakomentuj tę linię. */
        /* display: none; */ 
    }
}


/* STYLIZACJA ZDJĘCIA ARTYKUŁU (16:9, ZAOKRĄGLENIA, WINIETOWANIE) */
.featured-image-wrapper {
    position: relative;
    /* 16:9 Aspect Ratio (9 / 16 * 100) */
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 0.75rem; /* Zaokrąglone rogi */
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.featured-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Obrazek wypełnia cały kontener bez własnych zaokrągleń */
    border-radius: 0;
}

/* Efekt winietowania */
.featured-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Subtelny gradient od krawędzi do środka */
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1; /* Nad obrazkiem */
}

/* ZMIANA KOLEJNOŚCI DLA URZĄDZEŃ MOBILNYCH (max-width: 992px) - Powtórzenie dla jasności, z poprawionym rozmiarem h1 */
@media (max-width: 992px) {
    .post-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .post-content {
        order: 1; /* Artykuł jako pierwszy */
    }
    .sidebar-cta {
        position: static;
        order: 2; /* Formularz jako drugi (po artykule) */
        margin-top: 0;
        margin-bottom: 2.5rem;
    }
    .post-content h1 { font-size: 2.2rem; } /* Zmniejszenie czcionki dla 992px+ */
}


/* Zwiększenie czcionki i odstępów w treści artykułu (.article-body) */

.article-body h3 {
    /* Zwiększony odstęp pod nagłówkiem */
    margin-bottom: 1.25rem;
    /* Zwiększony odstęp nad nagłówkiem (o ile nie jest pierwszym elementem) */
    margin-top: 2rem;
    /* Domyślny rozmiar czcionki nagłówka */
    font-size: 1.75rem;
}

.article-body p,
.article-body ul li {
    /* Większa czcionka dla lepszej czytelności */
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-body p {
    /* Standardowy odstęp pod akapitem */
    margin-bottom: 1.5rem;
}

.article-body ul {
    /* Odstęp po liście */
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/* Wymuszamy wyświetlanie i stylizację nawigacji w dolnym pasku na urządzeniach mobilnych */
@media (max-width: 768px) {
    /* Poprawka: usunąłem powtórzone reguły dla post-content h1 i sidebar-cta, 
       które mogły kolidować z definicjami w 992px. 
       Wprowadzam tylko korekty dla dolnego paska CTA.
    */
    .minimal-cta-content {
        /* Przełączamy układ na kolumnowy, aby linki pojawiły się na dole */
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 0;
    }
    
    .minimal-cta-nav {
        /* Wymuszamy wyświetlanie (jeśli było ustawione na display: none) */
        display: flex !important;
        /* Stylizowanie paska z linkami */
        justify-content: space-around;
        padding: 0.5rem 0;
        /* Linia oddzielająca linki od głównego CTA (Zadzwoń) */
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Stylizacja samych linków */
    .minimal-cta-nav a {
        color: var(--white);
        font-size: 0.75rem;
        opacity: 0.9;
        text-decoration: none;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
        transition: opacity 0.2s;
    }

    .minimal-cta-nav a:hover {
        opacity: 1;
    }
}