/* ==========================================================================
   Premium UI, Fonts & Variables (Mobile-First Setup)
   ========================================================================== */
:root {
    --bg-main: #F9FAFB; 
    --bg-white: #FFFFFF;
    --text-main: #111111;      
    --text-muted: #52525B;    
    --border: #E4E4E7;
    --border-dark: #D4D4D8;
    
    --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    --radius: 6px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Kontakt w czasie awarii SMTP oraz czytelniejsze elementy interfejsu. */
#contact-form[hidden] { display: none !important; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }
.contact-actions .btn { flex: 1 1 12rem; min-height: 48px; white-space: normal; }
.contact-address { overflow-wrap: anywhere; }
.contact-checklist { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.contact-checklist li { margin-bottom: 0.75rem; line-height: 1.65; }
.contact-scope { padding-top: 1rem; border-top: 1px solid #E4E4E7; }
.contact-service-notice h3 { font-size: 1.4rem; }
.contact-service-notice h4 { margin-top: 1.5rem; }
.contact-service-notice a:not(.btn), .target-footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

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

:focus-visible {
    outline: 3px solid #2563EB;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3000;
    padding: 0.75rem 1rem;
    background: var(--text-main);
    color: var(--bg-white);
    border-radius: var(--radius);
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

body {
    font-family: var(--font);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow-x: hidden; 
}

.section-padding { padding: 4rem 0; }
.bg-white { background-color: var(--bg-white); }
.text-center { text-align: center; }

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1.15;
}

h1 { font-size: clamp(2rem, 8vw, 3.25rem); margin-bottom: 1.25rem; word-break: break-word; }
h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); margin-bottom: 1.25rem; word-break: break-word; }

/* Wspólny wymiar dla H3 we wszystkich kartach informacyjnych */
h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.step-card h3, .zasada-item h3 { font-size: 1rem; margin-bottom: 0.5rem; }

h4 { font-size: 1rem; margin-bottom: 0.5rem; }
p { color: var(--text-muted); max-width: 700px; font-size: 1.063rem; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #71717A;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header { margin-bottom: 3rem; max-width: 650px; margin-inline: auto; }
.section-header:not(.text-center) { margin-inline: 0; }
.full-center-text { text-align: center !important; width: 100% !important; display: block; margin-inline: auto; }

.cit { display: none; } 

/* ==========================================================================
   Top Bar & Navbar
   ========================================================================== */
.top-bar {
    background-color: var(--text-main);
    color: var(--bg-white);
    font-size: 0.813rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1001;
}
.top-bar-content { display: flex; justify-content: center; gap: 1rem; align-items: center; flex-wrap: wrap; text-align: center;}
.top-bar a { color: var(--bg-white); text-decoration: none; transition: opacity 0.2s; }
.top-bar a:hover { opacity: 0.8; }
.top-bar strong { font-weight: 600; letter-spacing: 0.02em; }

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    height: 72px;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; overflow: visible; }

.logo { display: flex; align-items: center; text-decoration: none; margin-right: 1rem; }
.logo svg { height: 24px; width: auto; display: block; }

.nav-links { display: none; } 
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.mobile-menu-toggle {
    display: block; background: none; border: none; width: 44px; height: 44px; position: relative; cursor: pointer; padding: 0; margin-right: -10px;
}
.hamburger, .hamburger::before, .hamburger::after {
    content: ''; display: block; width: 24px; height: 2px; background: var(--text-main); position: absolute; transition: 0.3s;
}
.hamburger { top: 21px; left: 10px; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.mobile-menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); top: 0; }

.nav-links.open {
    display: flex;
    position: fixed;
    top: var(--mobile-menu-top, 72px);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--mobile-menu-top, 72px));
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    border-top: 1px solid var(--border);
    overflow-y: auto;
}
.nav-links.open a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main) !important;
    text-decoration: none;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.navbar-desktop-cta { display: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: flex; align-items: center; justify-content: center;
    padding: 0.85rem 1.5rem; font-size: 0.938rem; font-weight: 500;
    border-radius: var(--radius); text-decoration: none; transition: var(--transition);
    border: 1px solid transparent; width: 100%; text-align: center; cursor: pointer;
}
.btn-primary { background-color: var(--text-main); color: var(--bg-white); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.btn-primary:hover { background-color: #27272A; box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.btn-dark { background-color: transparent; color: var(--text-main); border-color: var(--border-dark); }
.btn-dark:hover { background-color: #FAFAFA; border-color: var(--text-main); }
.btn-outline { border: 1px solid var(--border); color: var(--text-main); background: var(--bg-white); padding: 0.6rem 1.2rem; font-size: 0.875rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.btn-outline:hover { border-color: var(--border-dark); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: 3rem; padding-bottom: 3rem; }
.hero-grid { display: flex; flex-direction: column; gap: 2rem; }

.author-tag {
    display: inline-block; padding: 0.35rem 0.875rem; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: 20px; font-size: 0.813rem;
    margin-bottom: 1.5rem; color: var(--text-muted); font-weight: 500;
}
.hero-sub { margin-bottom: 2rem; max-width: 600px; font-size: 1.063rem; line-height: 1.6;}
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.hero-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid var(--border); padding-top: 1.5rem; margin: 0; }
.hero-benefits li { font-size: 0.875rem; font-weight: 500; color: var(--text-main); display: flex; align-items: center; gap: 0.75rem; }
.hero-benefits svg { color: var(--text-muted); flex-shrink: 0; }

.author-image-wrapper { 
    width: 100%; 
    aspect-ratio: 1/1; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0,0,0,0.02); 
    background-color: var(--bg-white);
}
.author-photo { width: 100%; height: 100%; object-fit: cover; display: block;}

/* ==========================================================================
   W Czym Mogę Pomóc
   ========================================================================== */
.rola-grid { display: flex; flex-direction: column; gap: 2rem; }
.lead-text { font-size: 1.063rem; font-weight: 500; color: var(--text-main); margin-bottom: 1.5rem; border-left: 2px solid var(--text-main); padding-left: 1rem; }
.rola-services { display: flex; flex-direction: column; gap: 1rem; }
.usluga-card { background: var(--bg-main); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: flex-start; height: 100%; }

/* ==========================================================================
   Kroki Współpracy
   ========================================================================== */
.steps-grid { display: flex; flex-direction: column; gap: 1rem; }
.step-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.02); height: 100%; display: flex; flex-direction: column; }
.step-num { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--bg-main); border: 1px solid var(--border-dark); color: var(--text-main); border-radius: 50%; font-weight: 600; font-size: 0.813rem; margin-bottom: 1rem; }

/* ==========================================================================
   Zasady
   ========================================================================== */
.zasady-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.zasada-item { background: var(--bg-main); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); height: 100%; display: flex; flex-direction: column; }
.zasada-icon { color: var(--text-main); margin-bottom: 1rem; display: flex; align-items: center; height: 24px; opacity: 0.8; }

/* ==========================================================================
   Warsztat Analityczny
   ========================================================================== */
.workspace-grid { display: flex; flex-direction: column; gap: 2.5rem; }

.doc-label { font-size: 0.813rem; font-weight: 500; color: #71717A; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 0.05em; }

.paper-doc {
    background-color: #FEFDF9;
    border: 1px solid #E5E4E2;
    border-radius: 2px;
    padding: 1.5rem;
    box-shadow: 2px 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.03);
    font-family: var(--font-mono);
    font-size: 0.688rem; 
    color: #333;
    position: relative;
    cursor: zoom-in;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.doc-protocol { transform: rotate(-1deg); }
.doc-estimate { transform: rotate(1.5deg); }
.paper-doc:hover { transform: translateY(-2px) rotate(0deg); box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 10; }

.doc-header { font-weight: 700; font-size: 0.75rem; border-bottom: 1px solid #D4D4D8; padding-bottom: 0.5rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.25rem; color: #111; }
.doc-sub { font-weight: 400; color: #666; font-size: 0.65rem; }
.badge-anon { background: #E4E4E7; color: #52525B; padding: 0.1rem 0.3rem; border-radius: 2px; font-size: 0.55rem; font-weight: 400; margin-left: auto; }

.doc-table { display: flex; flex-direction: column; width: 100%; }
.t-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid #F4F4F5; position: relative; gap: 0.5rem;}
.t-row:last-child { border-bottom: none; }
.t-head { font-weight: 600; color: #71717A; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid #D4D4D8; }
.t-col { flex: 1; word-break: break-word;}
.t-col.center { text-align: center; flex: 0.3; }
.t-col.right { text-align: right; white-space: nowrap;}

.estimate-section { margin-bottom: 1rem; }
.estimate-section strong { display: block; font-size: 0.7rem; color: #111; margin-bottom: 0.25rem; }
.estimate-section.total { margin-top: 1.5rem; border-top: 1px solid #D4D4D8; padding-top: 0.5rem; }

.handwritten-annotation {
    font-family: var(--font);
    font-style: italic;
    font-size: 0.65rem;
    color: #1E3A8A; 
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-2deg);
    padding: 0;
    margin: 0;
    background: none;
    white-space: nowrap;
}
.line-arrow { padding-left: 20px; }
.line-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 1px;
    background: #1E3A8A;
}

.blur-text { filter: blur(3.5px); opacity: 0.4; user-select: none; }
.highlight-row { background-color: rgba(253, 224, 71, 0.2); }
.sticky-note {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #FEF08A;
    padding: 0.4rem 0.6rem;
    font-size: 0.6rem;
    font-family: var(--font);
    font-style: italic;
    color: #451A03;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
    transform: rotate(3deg);
    border-radius: 1px;
    z-index: 5;
}
.doc-page-num { font-size: 0.55rem; color: #A1A1AA; position: absolute; bottom: 0.5rem; right: 1.5rem; }
.doc-footer { margin-top: 2rem; border-top: 1px dashed #E4E4E7; padding-top: 1rem; }

.checklist-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.02); height: 100%; display: flex; flex-direction: column;}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0;}
.check-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--text-main); }
.check-list svg { width: 16px; height: 16px; color: var(--text-main); flex-shrink: 0; margin-top: 2px; opacity: 0.7; }

.process-flow-wrapper { display: flex; align-items: center; justify-content: flex-start; margin-top: 2rem; overflow-x: auto; padding-bottom: 1.5rem; gap: 0.5rem; scrollbar-width: none; padding-right: 1.5rem; }
.process-flow-wrapper::-webkit-scrollbar { display: none; }
.process-node { font-size: 0.813rem; font-weight: 500; padding: 0.5rem 1rem; background: var(--bg-white); border: 1px solid var(--border-dark); border-radius: 20px; white-space: nowrap; color: var(--text-muted); }
.process-node.highlight-node { background: var(--text-main); color: var(--bg-white); border-color: var(--text-main); font-weight: 600; }
.process-connector { flex-shrink: 0; width: 15px; height: 1px; background: var(--border-dark); }

.lightbox { position: fixed; inset: 0; background: rgba(24, 24, 27, 0.6); backdrop-filter: blur(4px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; padding: 1rem; }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-content { background: var(--bg-main); border-radius: 8px; padding: 2.5rem 1rem 1rem 1rem; max-width: 800px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 24px 48px rgba(0,0,0,0.15); }
.close-btn { position: absolute; top: 0.5rem; right: 1rem; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--text-muted); line-height: 1; }
.lightbox-content .real-document { box-shadow: none; border: none; padding: 0; background: none;}

/* ==========================================================================
   Przykładowe Sprawy
   ========================================================================== */
.cases-grid { display: flex; flex-direction: column; gap: 1rem; }
.case-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-start; box-shadow: 0 2px 8px rgba(0,0,0,0.02); height: 100%; }
.case-company { font-size: 0.75rem; font-weight: 600; color: #71717A; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.case-problem { font-size: 0.938rem; margin-bottom: 1rem; line-height: 1.5; color: var(--text-main); }
.case-action { font-size: 0.938rem; line-height: 1.5; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 1rem; margin-top: auto; }

/* ==========================================================================
   Cennik
   ========================================================================== */
.pricing-list-wrapper { display: flex; flex-direction: column; gap: 1.25rem; max-width: 850px; margin: 0 auto; }
.pricing-item { background: var(--bg-main); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; position: relative; height: 100%; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;}
.pricing-item:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); border-color: var(--border-dark); z-index: 2;}

.pricing-item.featured-pricing { background: var(--bg-white); border-color: var(--text-main); box-shadow: 0 8px 24px rgba(0,0,0,0.04); margin-top: 0.5rem; }
.pricing-item.featured-pricing:hover { border-color: var(--text-main); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }

.pricing-info h3 { font-size: 1.063rem; margin-bottom: 0.25rem; }
.pricing-effect { font-size: 0.813rem; color: var(--text-main); font-weight: 500; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin:0; padding:0;}
.pricing-features li { font-size: 0.875rem; position: relative; padding-left: 1rem; color: var(--text-muted); }
.pricing-features li::before { content: '•'; position: absolute; left: 0; color: var(--border-dark); }
.pricing-price { font-size: 1.5rem; font-weight: 700; border-top: 1px solid var(--border); width: 100%; padding-top: 1rem; white-space: nowrap; margin-top: auto;}

.pricing-badge {
    position: absolute;
    top: -11px;
    left: 20px;
    background: var(--text-main);
    color: var(--bg-white);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    padding: 0.2rem 0.75rem;
    border-radius: 4px;
}

.pricing-note {
    font-size: 0.813rem;
    color: var(--border-dark); 
    margin-top: 3.5rem;
}

/* ==========================================================================
   Czy ta usługa jest dla mnie?
   ========================================================================== */
.target-audience { padding-bottom: 0; }
.target-grid { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2rem; }
.target-col { background: var(--bg-main); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.target-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; }
.target-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.938rem; color: var(--text-main); }
.target-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.cross-list li { color: var(--text-muted); }
.target-footer { font-size: 0.875rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; line-height: 1.6; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-max-width { max-width: 760px; margin: 0 auto; }
.faq-groups-container { display: flex; flex-direction: column; gap: 3rem; }
.faq-group { display: flex; flex-direction: column; gap: 1rem; }
.faq-category { font-size: 0.875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; margin-bottom: 0; font-weight: 600;}

.accordion { border-top: none; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header { width: 100%; background: none; border: none; padding: 1.25rem 0; font-family: var(--font); font-size: 0.938rem; font-weight: 600; text-align: left; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header::after { content: '+'; font-weight: 300; font-size: 1.25rem; }
.accordion-header.active::after { content: '−'; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-content p { padding-bottom: 1.25rem; font-size: 0.938rem; }

/* ==========================================================================
   Kontakt (Formularz)
   ========================================================================== */
.contact-layout { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start;}
.contact-intro { width: 100%; }
.contact-calm-box { background: var(--bg-main); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem;}
.contact-direct-data { background: var(--bg-main); padding: 1.5rem; border: 1px solid var(--border); border-radius: 8px; }

.contact-calm-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0;}
.contact-calm-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--text-main); }
.contact-calm-list svg { width: 16px; height: 16px; color: var(--text-main); flex-shrink: 0; margin-top: 2px; opacity: 0.7; }

.phone-huge { display: block; font-size: 1.5rem; font-weight: 700; color: var(--text-main); text-decoration: none; }
.email-huge { display: block; font-size: 1rem; font-weight: 500; color: var(--text-main); text-decoration: none; }

.contact-form-wrapper { background: var(--bg-white); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.02); width: 100%;}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.813rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-main); }
.form-fieldset { border: 0; padding: 0; min-width: 0; }
.form-fieldset legend { display: block; font-size: 0.813rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-main); }
.form-select, input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; padding: 0.85rem 1rem; font-family: var(--font); font-size: 0.938rem; border: 1px solid var(--border-dark); border-radius: 6px; background: var(--bg-white); -webkit-appearance: none; transition: border-color 0.2s; }
.form-select:focus, input:focus, textarea:focus { outline: none; border-color: var(--text-main); }
.form-select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }
.checkbox-group { margin-top: 1.5rem; margin-bottom: 1.5rem;}
.form-group .checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; cursor: pointer; }
.checkbox-text { font-size: 0.813rem; line-height: 1.4; color: var(--text-muted); }
.checkbox-text a { color: var(--text-main); text-underline-offset: 2px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.radio-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.radio-pill { cursor: pointer; margin: 0; }
.radio-pill input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.radio-pill span { display: block; padding: 0.6rem 1rem; border: 1px solid var(--border-dark); border-radius: 20px; font-size: 0.875rem; transition: all 0.2s; background: var(--bg-white); color: var(--text-main); font-weight: 500;}
.radio-pill input:checked + span { background: var(--text-main); color: var(--bg-white); border-color: var(--text-main); }
.radio-pill input:focus-visible + span { outline: 3px solid #2563EB; outline-offset: 2px; }
.radio-pill:hover span { border-color: var(--text-main); }

/* ==========================================================================
   Stopka 
   ========================================================================== */
.footer { padding: 3rem 0; border-top: 1px solid var(--border); background-color: var(--bg-main); }
.footer-container { display: flex; flex-direction: column; }

.footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem;}
.footer-logo-block { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo-block .logo svg { height: 24px; width: auto; display: block; opacity: 0.8; margin: 0;}
.footer-tagline { font-size: 0.813rem; color: var(--text-muted); margin: 0;}

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.813rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-main); }
.privacy-settings-link {
    appearance: none;
    border: 0;
    padding: 0;
    background: none;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.813rem;
    cursor: pointer;
}
.privacy-settings-link:hover { color: var(--text-main); }

.footer-bottom { display: flex; flex-direction: column; gap: 1rem; }
.footer-copyright { font-size: 0.813rem; color: var(--text-muted); margin: 0;}
.footer-legal { color: #A1A1AA; font-size: 0.75rem; max-width: 500px; margin: 0; line-height: 1.5;}

.privacy-banner[hidden] { display: none; }
.privacy-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 2500;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border-dark);
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.1);
}
.privacy-banner-inner {
    width: min(1140px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.privacy-banner h2 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.privacy-banner p { font-size: 0.875rem; margin: 0; }
.privacy-banner a { color: var(--text-main); }
.privacy-actions { display: flex; flex-direction: column; gap: 0.75rem; }

.legal-page { padding: 4rem 0 6rem; background: var(--bg-white); }
.legal-content { max-width: 820px; overflow: visible; }
.legal-content h1 { margin-bottom: 0.75rem; }
.legal-content h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; }
.legal-content p, .legal-content li { font-size: 1rem; line-height: 1.75; }
.legal-content ul { padding-left: 1.4rem; color: var(--text-muted); }
.legal-content li + li { margin-top: 0.5rem; }
.legal-content a { color: var(--text-main); text-underline-offset: 2px; }
.legal-updated { font-size: 0.875rem !important; color: var(--text-muted); }
.legal-back-link { color: var(--text-main); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.legal-back-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.guide-page { padding: 4rem 0 6rem; background: var(--bg-white); }
.guide-index, .article-content { max-width: 820px; overflow: visible; }
.guide-lead { max-width: 760px; font-size: 1.15rem; line-height: 1.7; }
.article-list { margin-top: 3rem; }
.article-card { padding: 2rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-main); }
.article-card h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.article-card h2 a, .text-link { color: var(--text-main); text-decoration: none; }
.article-card h2 a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-meta { font-size: 0.813rem; color: #71717A; margin-bottom: 1rem; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; font-size: 0.875rem; }
.breadcrumbs a { color: var(--text-muted); }
.article-content > h1 { margin-bottom: 1.5rem; }
.article-content > h2 { font-size: 1.55rem; margin: 3.25rem 0 1rem; }
.article-content > p, .article-content > ul { max-width: 760px; }
.article-content > p { line-height: 1.8; }
.article-content a { color: var(--text-main); text-underline-offset: 3px; }
.article-summary, .article-cta { margin: 3rem 0; padding: 2rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-main); }
.article-summary h2, .article-cta h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.article-summary ul, .article-checklist { padding-left: 1.25rem; color: var(--text-muted); }
.article-summary li, .article-checklist li { margin-bottom: 0.75rem; line-height: 1.65; }
.article-cta .btn { margin-top: 1.5rem; }
.article-disclaimer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.875rem !important; }


/* ==========================================================================
   DESKTOP OPTIMIZATIONS (Min-width: 992px)
   ========================================================================== */
@media (min-width: 992px) {
    .container { overflow-x: visible; }
    .section-padding { padding: 8rem 0; } 
    
    .navbar { height: 72px; }
    .logo svg { height: 26px; } 
    .logo { margin-right: 4rem; } 
    
    /* Zmodyfikowana nawigacja - efekt lewitujących kafelków */
    .nav-links { 
        display: flex; 
        gap: 0.5rem; 
        margin-right: auto; 
        position: static; 
        height: auto; 
        width: auto; 
        background: none; 
        flex-direction: row; 
        border: none; 
        padding: 0; 
    }
    
    .nav-links a { 
        font-size: 0.875rem; 
        font-weight: 500; 
        color: var(--text-muted) !important; 
        text-decoration: none; 
        padding: 0.4rem 1rem; 
        border-radius: 8px;
        border: 1px solid transparent;
        background-color: transparent;
        width: auto;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    }
    
    .nav-links a:hover { 
        color: var(--text-main) !important; 
        background-color: var(--bg-white);
        border-color: var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
        transform: translateY(-2px);
    }
    
    .navbar-desktop-cta { display: inline-flex; }
    .mobile-menu-toggle { display: none; }
    
    .btn { width: auto; padding: 0.85rem 1.75rem; display: inline-flex;}

    /* Hero */
    .hero { padding-top: 6rem; padding-bottom: 6rem; }
    .hero-grid { flex-direction: row; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6rem; align-items: center; }
    .hero-visual { order: 0; margin: 0; }
    .hero-actions { flex-direction: row; gap: 1rem; }
    .hero-benefits { flex-direction: row; gap: 2rem; padding-top: 2rem; margin-top: 1rem; }
    .hero-benefits li { gap: 0.5rem; font-size: 0.875rem; }
    .author-image-wrapper { aspect-ratio: 4/5; }

    /* Siatki */
    .rola-grid { flex-direction: row; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
    .rola-services { display: grid; grid-template-columns: 1fr; gap: 1rem; height: 100%; }
    
    .steps-grid { flex-direction: row; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .zasady-grid { flex-direction: row; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
    .cases-grid { flex-direction: row; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    
    .target-grid { flex-direction: row; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }

    .contact-layout { flex-direction: row; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: flex-start; }
    .form-grid { flex-direction: row; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .phone-huge { font-size: 1.75rem; }
    .radio-group { flex-direction: row; gap: 1.5rem; } 

    /* Układ dokumentów */
    .workspace-grid { flex-direction: row; display: grid; grid-template-columns: 1fr 1fr 340px; gap: 2rem; align-items: center; }
    .paper-doc { font-size: 0.75rem; padding: 2rem; }
    .doc-header { flex-direction: row; align-items: center; justify-content: space-between;}
    .handwritten-annotation { right: -60px; font-size: 0.7rem; }
    
    /* Cennik */
    .pricing-item { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem 2.5rem; }
    .pricing-info { flex: 1; padding-right: 3rem; }
    .pricing-price { width: auto; border-top: none; border-left: 1px solid var(--border); padding-top: 0; padding-left: 3rem; min-width: 180px; font-size: 1.75rem; text-align: right; margin-top: 0;}
    .pricing-note { font-size: 0.813rem; }
    
    /* Stopka Desktop */
    .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
    .footer-bottom { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 2rem;}
    .footer-legal { text-align: right; margin-left: auto; }
    .footer-links { justify-content: flex-end; }
    
    .process-flow-wrapper { justify-content: center; }
    
    .lightbox-content { padding: 2.5rem; }
    .lightbox-content .paper-doc { font-size: 0.875rem;}

    .privacy-banner-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
    .privacy-actions { flex-direction: row; flex-shrink: 0; }
}
