/* ============================================
   BRAT-PIT - BIURO RACHUNKOWE
   Stylesheet v1.0
   ============================================ */

/* ============================================
   1. ZMIENNE CSS - KOLORY
   Te wartosci mozesz latwo zmieniac
   ============================================ */
   :root {
    /* Kolor glowny - pomaranczowy */
    --color-primary: #f59e0b;
    --color-primary-dark: #d97706;
    
    /* Kolory tla */
    --color-bg-main: #f5f5f0;
    --color-bg-alt: #e8e4df;
    
    /* Kolory tekstow */
    --color-text-dark: #1a1a1a;
    --color-text-gray: #4a4a4a;

        /* aliasy dla sekcji KSeF i nowych komponentów */
    --primary: var(--color-primary);
    --text-dark: var(--color-text-dark);
    --text-secondary: var(--color-text-gray);
    --border: #e5e7eb;
    --bg-light: #fff7ed;
}


/* ============================================
   2. RESET & PODSTAWY
   ============================================ */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg-main);
    color: var(--color-text-dark);
    line-height: 1.6;
}


/* ============================================
   3. NARZEDZIA POMOCNICZE
   ============================================ */

/* Kontener glowny */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

/* Pomaranczowa belka akcentujaca */
.accent-bar { 
    width: 3rem; 
    height: 0.25rem; 
    background: var(--color-primary); 
    margin-bottom: 1.5rem; 
}

/* Link do pominiecia nawigacji (dostepnosc) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: #000;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 700;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Widoczny focus dla dostepnosci */
:focus-visible { 
    outline: 3px solid var(--color-primary); 
    outline-offset: 2px; 
}


/* ============================================
   4. TYPOGRAFIA
   ============================================ */

/* Naglowek H1 - glowny tytul strony */
h1 { 
    font-size: 3rem; 
    font-weight: 900; 
    line-height: 1.2; 
    margin-bottom: 1.5rem; 
}

/* Naglowek H2 - tytuly sekcji */
h2 { 
    font-size: 2.5rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    margin-bottom: 2rem; 
}

/* Naglowek H3 - podtytuly */
h3 { 
    font-size: 1.5rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    margin-bottom: 1rem; 
}


/* ============================================
   5. NAWIGACJA
   ============================================ */

/* Glowna nawigacja - fixed na gorze */
nav { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: white; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

/* Kontener nawigacji */
.nav-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 3rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 80px; 
}

/* Logo */
.logo { 
    font-size: 1.875rem; 
    font-weight: 900; 
    text-decoration: none; 
    color: var(--color-text-dark); 
}

.logo span { 
    color: var(--color-primary); 
}

/* Przycisk hamburger menu (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Ikona hamburgera */
.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-text-dark);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--color-text-dark);
    transition: transform 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Animacja hamburgera gdy menu jest otwarte */
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Lista linkow nawigacji */
.nav-links { 
    display: flex; 
    gap: 2rem; 
    align-items: center; 
    list-style: none; 
}

.nav-links a { 
    text-decoration: none; 
    font-size: 0.875rem; 
    font-weight: 600; 
    letter-spacing: 0.05em; 
    color: var(--color-text-dark); 
    transition: color 0.3s; 
}

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

/* Przycisk zmiany jezyka */
.lang-btn { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem 1rem; 
    background: var(--color-primary); 
    color: #000; 
    border: none; 
    border-radius: 0.5rem; 
    font-weight: 700; 
    font-size: 0.875rem; 
    cursor: pointer; 
    transition: background 0.3s; 
}

.lang-btn:hover { 
    background: var(--color-primary-dark); 
}


/* ============================================
   6. PRZYCISKI
   ============================================ */

/* Przycisk glowny (pomaranczowy) */
.btn-primary { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 1rem 2rem; 
    background: var(--color-primary); 
    color: #000; 
    text-decoration: none; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.875rem; 
    letter-spacing: 0.05em; 
    border-radius: 0.5rem; 
    transition: all 0.3s; 
}

.btn-primary:hover { 
    background: var(--color-primary-dark); 
    transform: scale(1.05); 
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3); 
}

/* Przycisk secondary (z obramowaniem) */
.btn-secondary { 
    display: inline-block; 
    padding: 1rem 2rem; 
    border: 2px solid #000; 
    color: #000; 
    text-decoration: none; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.875rem; 
    letter-spacing: 0.05em; 
    border-radius: 0.5rem; 
    transition: all 0.3s; 
}

.btn-secondary:hover { 
    background: #000; 
    color: #fff; 
}


/* ============================================
   7. SEKCJE OGOLNE
   ============================================ */
section { 
    padding: 5rem 1.5rem; 
}


/* ============================================
   8. SEKCJA HERO (Naglowek strony)
   ============================================ */
#hero { 
    padding-top: 8rem; 
    background: linear-gradient(135deg, var(--color-bg-main) 0%, var(--color-bg-alt) 50%, var(--color-bg-main) 100%); 
    position: relative; 
    overflow: hidden; 
}

.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    align-items: center; 
}

.hero-text p { 
    font-size: 1.25rem; 
    color: var(--color-text-gray); 
    margin-bottom: 2rem; 
    line-height: 1.8; 
}

/* Wyrozni box w hero */
.hero-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--color-primary);
    margin-bottom: 2rem;
}

.hero-highlight p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
}

/* Przyciski CTA */
.cta-buttons { 
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap; 
}

/* Obrazek w hero */
.hero-image img { 
    width: 100%; 
    height: auto; 
    border-radius: 0.5rem; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.2); 
    transition: transform 0.5s; 
}

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

/* Animacja sieci w tle */
.network-animation { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0.1; 
    pointer-events: none; 
}


/* ============================================
   9. SEKCJA O NAS
   ============================================ */
#about { 
    background: white; 
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    align-items: center; 
}

.about-text p { 
    font-size: 1.125rem; 
    color: var(--color-text-gray); 
    margin-bottom: 1rem; 
    line-height: 1.8; 
}

/* Box z cytatem */
.quote-box { 
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%); 
    padding: 2rem; 
    border-radius: 0.5rem; 
    border-left: 4px solid var(--color-primary); 
}

.quote-box blockquote { 
    font-size: 1.5rem; 
    font-style: italic; 
    color: var(--color-text-dark); 
    margin-bottom: 1rem; 
}

.quote-box p { 
    color: #6b7280; 
    font-weight: 600; 
}

.about-image { 
    margin-top: 1.5rem; 
}

.about-image img { 
    width: 100%; 
    height: auto; 
    border-radius: 0.5rem; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    transition: box-shadow 0.3s; 
}

.about-image img:hover { 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
}


/* ============================================
   10. SEKCJA FILOZOFIA
   ============================================ */
#philosophy {
    background: var(--color-bg-alt);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-lead {
    text-align: center;
    margin-bottom: 3rem;
}

.philosophy-lead h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: none;
}

.philosophy-lead p {
    font-size: 1.25rem;
    color: var(--color-text-gray);
    line-height: 1.8;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.philosophy-card svg {
    width: 3rem;
    height: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.philosophy-card h4 {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.philosophy-card p {
    color: var(--color-text-gray);
    line-height: 1.8;
}


/* ============================================
   11. SEKCJA TECHNOLOGIA
   ============================================ */
#technology {
    background: white;
}

.tech-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tech-content h2 {
    text-transform: none;
    font-size: 2.5rem;
}

.tech-content p {
    font-size: 1.25rem;
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.tech-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 2px solid var(--color-primary);
}

.tech-highlight p {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin: 0;
}


/* ============================================
   12. SEKCJA USLUGI
   ============================================ */
#offer { 
    background: var(--color-bg-alt); 
}

.offer-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.offer-intro p {
    font-size: 1.25rem;
    color: var(--color-text-gray);
    line-height: 1.8;
}

.offer-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; 
}

.offer-card { 
    background: white; 
    border-left: 4px solid var(--color-primary); 
    padding: 2rem; 
    border-radius: 0.5rem; 
    transition: all 0.3s; 
}

.offer-card:hover { 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    transform: translateY(-5px);
}

.offer-card svg { 
    width: 2.5rem; 
    height: 2.5rem; 
    color: var(--color-primary); 
    margin-bottom: 1rem; 
}

.offer-card h3 { 
    font-size: 1.5rem; 
}

.offer-card .lead { 
    font-size: 1.125rem; 
    color: var(--color-text-gray); 
    margin-bottom: 1.5rem; 
    line-height: 1.8; 
}

.offer-card ul { 
    list-style: none; 
}

.offer-card li { 
    display: flex; 
    gap: 0.75rem; 
    margin-bottom: 0.75rem; 
    color: var(--color-text-gray); 
    line-height: 1.8; 
}

/* Pomaranczowa kropka przed kazdym punktem */
.offer-card li::before { 
    content: ""; 
    width: 0.5rem; 
    height: 0.5rem; 
    background: var(--color-primary); 
    border-radius: 50%; 
    flex-shrink: 0; 
    margin-top: 0.5rem; 
}


/* ============================================
   13. SEKCJA JAK DZIALAMY
   ============================================ */
#process { 
    background: white; 
}

.process-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-gray);
    margin-bottom: 3rem;
}

.process-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem; 
    margin-bottom: 3rem; 
}

.process-card { 
    background: var(--color-bg-alt); 
    padding: 1.5rem; 
    border-radius: 0.5rem; 
    transition: all 0.3s; 
}

.process-card:hover { 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    transform: translateY(-5px);
}

/* Duzy numer kroku */
.process-number { 
    font-size: 4rem; 
    font-weight: 900; 
    color: var(--color-primary); 
    opacity: 0.2; 
    margin-bottom: 1rem; 
}

.process-card h3 { 
    font-size: 1.25rem; 
}

.process-card p { 
    color: var(--color-text-gray); 
    line-height: 1.8; 
}

/* Motto na koncu procesu */
.process-motto {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-radius: 0.5rem;
}

.process-motto p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-dark);
    margin: 0;
}


/* ============================================
   14. SEKCJA STATYSTYKI
   ============================================ */
#stats {
    background: var(--color-bg-alt);
}

.stats-box { 
    background: linear-gradient(135deg, white 0%, #f9fafb 100%); 
    padding: 3rem; 
    border-radius: 0.5rem; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}

.stats-lead {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 2rem; 
    margin-top: 2rem; 
}

.stat { 
    text-align: center; 
}

/* Duza liczba statystyki */
.stat-number { 
    font-size: 3rem; 
    font-weight: 900; 
    color: var(--color-primary); 
    margin-bottom: 0.5rem; 
    transition: transform 0.3s; 
}

.stat:hover .stat-number { 
    transform: scale(1.1); 
}

.stat-label { 
    color: var(--color-text-gray); 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.875rem; 
    letter-spacing: 0.05em; 
}


/* ============================================
   15. SEKCJA ZALETY
   ============================================ */
#advantages {
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-card {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.advantage-card svg {
    width: 3rem;
    height: 3rem;
    color: var(--color-primary);
    margin: 0 auto 1rem;
}

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ============================================
   16. SEKCJA KONTAKT
   ============================================ */
#contact { 
    background: var(--color-bg-alt); 
}

.contact-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
}

.contact-info { 
    background: white; 
    padding: 2rem; 
    border-radius: 0.5rem; 
}

.contact-info h4 { 
    font-size: 1.25rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    margin-bottom: 1rem; 
}

.contact-info p { 
    color: var(--color-text-gray); 
    line-height: 1.8; 
    margin-bottom: 1.5rem; 
}

/* Pojedynczy element kontaktu */
.contact-item { 
    display: flex; 
    gap: 0.75rem; 
    margin-bottom: 1.5rem; 
}

.contact-item svg { 
    width: 1.25rem; 
    height: 1.25rem; 
    color: var(--color-primary); 
    flex-shrink: 0; 
    margin-top: 0.25rem; 
}

.contact-item-label { 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.875rem; 
    letter-spacing: 0.05em; 
}

.contact-item-value { 
    color: var(--color-text-gray); 
}

.contact-item-value a {
    color: var(--color-text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-value a:hover {
    color: var(--color-primary);
}

.contact-image img { 
    width: 100%; 
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}


/* ============================================
   17. STOPKA (FOOTER)
   ============================================ */
footer { 
    background: #1a1a1a; 
    color: white; 
    padding: 3rem 1.5rem; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 2rem; 
    margin-bottom: 2rem; 
}

.footer-brand { 
    font-size: 1.875rem; 
    font-weight: 900; 
    margin-bottom: 1rem; 
}

.footer-brand span { 
    color: var(--color-primary); 
}

.footer-desc { 
    color: #9ca3af; 
    line-height: 1.8; 
}

.footer-title { 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    margin-bottom: 1rem; 
}

.footer-links { 
    list-style: none; 
}

.footer-links li { 
    margin-bottom: 0.5rem; 
}

.footer-links a { 
    color: #9ca3af; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.footer-links a:hover { 
    color: var(--color-primary); 
}

.footer-bottom { 
    padding-top: 2rem; 
    border-top: 1px solid #374151; 
    text-align: center; 
    color: #6b7280; 
    font-size: 0.875rem; 
}


/* ============================================
   18. RESPONSYWNOSC - TABLET
   ============================================ */
@media (max-width: 968px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   19. RESPONSYWNOSC - MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Nawigacja mobile */
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none;
        gap: 1.5rem;
    }

    .nav-links.is-open {
        display: flex;
    }

    /* Wszystkie sekcje na jedna kolumne */
    .hero-grid, 
    .about-grid, 
    .offer-grid, 
    .process-grid, 
    .contact-grid, 
    .footer-grid,
    .advantages-grid,
    .stats-grid { 
        grid-template-columns: 1fr; 
    }

    /* Mniejsze naglowki na mobile */
    h1 { 
        font-size: 2rem; 
    }

    h2 { 
        font-size: 2rem; 
    }
    
    /* Obrazek kontaktu na mobile */
    .contact-image {
        height: 300px;
    }
}


/* ============================================
   SEKCJA KSEF - STYLE
   ============================================ */

.ksef-section {
    margin-top: 4rem;
}

.ksef-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.ksef-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.ksef-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.ksef-option {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.ksef-option:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
    transform: translateY(-4px);
}

.ksef-option-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.ksef-option-header svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.ksef-option-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.ksef-option-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.ksef-option-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.ksef-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.ksef-feature:hover {
    background: #fff5e6;
}

.ksef-feature svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.ksef-feature strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.ksef-feature p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.ksef-steps {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    margin: 1.5rem 0;
}

.ksef-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.ksef-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.ksef-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.ksef-pros, .ksef-cons {
    padding: 1.5rem;
    border-radius: 8px;
}

.ksef-pros {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.ksef-cons {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.ksef-pros h5, .ksef-cons h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
}

.ksef-pros h5 {
    color: #166534;
}

.ksef-cons h5 {
    color: #991b1b;
}

.ksef-pros ul, .ksef-cons ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ksef-pros li, .ksef-cons li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.ksef-pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.ksef-cons li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

.ksef-option-target {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    font-weight: 500;
    color: var(--text-dark);
}

/* Sekcja porównania */
.ksef-comparison {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.ksef-comparison h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.ksef-comparison-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--border);
}

.comparison-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.comparison-item ul {
    list-style: none;
    padding-left: 0;
}

.comparison-item li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.comparison-item li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.comparison-item strong {
    color: var(--primary);
    font-weight: 600;
}

/* Sekcja CTA */
.ksef-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
    border-radius: 12px;
    margin: 3rem 0;
}

.ksef-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.ksef-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1rem;
}

.ksef-cta-respect {
    font-weight: 600;
    color: var(--text-dark);
}

.ksef-cta .btn-primary {
    margin-top: 2rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Responsywność dla KSeF */
@media (max-width: 768px) {
    .ksef-options {
        grid-template-columns: 1fr;
    }
    
    .ksef-pros-cons {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .ksef-comparison {
        padding: 2rem 1rem;
    }
    
    .ksef-option {
        padding: 1.5rem;
    }
}


  /* Minimalny dropdown tylko dla języków – bez zmian w main.css */
  .lang-switcher { position: relative; }
  .lang-switcher .lang-menu {
    position: absolute; right: 0; top: 100%;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 0.5rem;
    margin-top: 0.5rem; padding: 0.25rem; list-style: none; min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: none; z-index: 1002;
  }
  .lang-switcher.open .lang-menu { display: block; }
  .lang-switcher .lang-menu li {
    padding: 0.5rem 0.75rem; cursor: pointer; border-radius: 0.375rem;
    font-size: 0.9rem; color: #1a1a1a;
  }
  .lang-switcher .lang-menu li[aria-selected="true"] { font-weight: 700; }
  .lang-switcher .lang-menu li:hover { background: #f9fafb; }

    /* --- WSPÓLNE, DELIKATNIE ZAOKRĄGLONE OBRAZKI BANEROWE --- */
    .offer-banner,
    .process-banner,
    .hero-image img,
    .about-image img,
    .contact-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;              /* łagodne zaokrąglenie */
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10); /* spójny cień jak na górze strony */
    }

    /* Dodatkowo: delikatne podbicie efektu w hero (zachowując istniejącą animację) */
    .hero-image img:hover {
    transform: scale(1.05);
    }

    /* Klasa pomocnicza do szybkiego użycia w HTML, gdyby była potrzebna */
    .img-rounded {
    border-radius: 0.5rem;
    }

    .logo img {
        display: block;
        height: 80px;
        width: auto;
        transition: transform .25s ease;
      }
      .logo:hover img {
        transform: scale(1.03);
      }

/* ============================================
   KONIEC STYLOW
   ============================================ */