/* ZEROWANIE I PODSTAWY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* KOLORY FIRMOWE */
:root {
    --primary-color: #0f2c4c; /* Ciemny granat */
    --accent-color: #007bff;  /* Jaśniejszy niebieski */
    --bg-gray: #f4f4f4;       /* Jasne tło */
    --text-white: #ffffff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* NAGŁÓWEK */
.main-logo {
    height: 120px;
    width: auto;
    display: block;
    filter: invert(1) brightness(100); 
    transition: transform 0.5s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

header {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 { font-size: 1.5rem; }
.dot { color: var(--accent-color); }

nav ul { display: flex; gap: 20px; }
nav ul li a { font-weight: 500; transition: color 0.3s; }
nav ul li a:hover { color: var(--accent-color); }

.lang-switch a {
    border: 1px solid var(--text-white);
    padding: 5px 10px;
    border-radius: 5px;
}

/* SEKCJA HERO */
.hero {
    background: linear-gradient(rgba(15, 44, 76, 0.8), rgba(15, 44, 76, 0.8)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-white);
}

.hero-content { margin: 0 auto; max-width: 700px; }
.hero h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }

.btn-primary {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-primary:hover { background: #0056b3; }

/* SEKCJE OGÓLNE */
.section-padding { padding: 80px 0; }
.section-gray { background: var(--bg-gray); }
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--primary-color);
}

/* O NAS */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* OFERTA */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--text-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.offer-card:hover { transform: translateY(-5px); }
.offer-card .icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; }
.offer-card ul { text-align: left; margin-top: 20px; }
.offer-card ul li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.offer-card ul li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* KONTAKT */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.contact-item i { color: var(--accent-color); width: 25px; }

/* PLACEHOLDERY */
.placeholder-box {
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    border: 2px dashed #999;
    color: #555;
    font-weight: bold;
    border-radius: 8px;
}
/* Jeśli wstawisz zdjęcie mapy, klasa .map-image zadba o wygląd */
.map-image img {
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* STOPKA */
footer {
    background: #222;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}
footer a { color: #fff; text-decoration: underline; }
footer .legal-links { margin-bottom: 10px; }

/* CENNIK */
.pricing-info {
    text-align: center;
    background: #eef4fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-color);
}

.table-responsive { overflow-x: auto; }

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.price-table th, .price-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.price-table th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.price-table tr:nth-child(even) { background-color: #f9f9f9; }
.price-table tr:hover { background-color: #f1f1f1; }

.pricing-notes {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

.legal-disclaimer {
    margin-top: 15px;
    font-style: italic;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* RWD - MOBILNE */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 10px; }
    .about-content, .contact-container { grid-template-columns: 1fr; }
    .hero h2 { font-size: 1.8rem; }
    
    /* Dodajemy odstęp na dole strony, żeby pasek nie zasłaniał stopki */
    body { padding-bottom: 60px; }
}

/* PASEK MOBILNY */
.mobile-sticky-bar { display: none; }

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        font-family: sans-serif;
    }
    
    .sticky-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        font-size: 0.8rem;
        font-weight: 500;
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    
    .sticky-btn i { font-size: 1.2rem; margin-bottom: 5px; }
    
    /* Kolory przycisków */
    .sticky-btn.call { background-color: #2ecc71; } /* Zielony */
    .sticky-btn.email { background-color: #3498db; } /* Niebieski */
    .sticky-btn.map { background-color: #0f2c4c; } /* Granatowy */
}
<section id="kalkulator" class="section-padding calculator-section">
        <div class="container">
            <h2 class="section-title">Sprawdź ile zapłacisz</h2>
            <p style="text-align: center; margin-bottom: 30px;">Użyj suwaka, aby oszacować miesięczny koszt obsługi księgowej.</p>

            <div class="calculator-box">
                <div class="form-group">
                    <label>Status firmy:</label>
                    <div class="radio-group">
                        <label class="radio-option">
                            <input type="radio" name="vatStatus" value="vat" checked onchange="przelicz()"> Płatnik VAT
                        </label>
                        <label class="radio-option">
                            <input type="radio" name="vatStatus" value="zwolniony" onchange="przelicz()"> Zwolniony z VAT (Kleinunternehmer)
                        </label>
                    </div>
                </div>

                <div class="form-group">
                    <label>Ilość dokumentów miesięcznie:</label>
                    <input type="range" id="docRange" min="0" max="6" step="1" value="0" oninput="aktualizujSuwak()">
                    <div class="range-value" id="docDisplay">Do 20 szt.</div>
                </div>

                <div class="form-group">
                    <label>Usługi dodatkowe:</label>
                    <label class="radio-option" style="width: fit-content;">
                        <input type="checkbox" id="checkSiedziba" onchange="przelicz()"> 
                        Siedziba firmy (Adres w biurze)
                    </label>
                </div>

                <div class="form-group">
                    <label>Liczba pracowników (Płace):</label>
                    <div style="display: flex; align-items: center; gap: 10px;">
                        <input type="number" id="numPracownicy" min="0" max="50" value="0" style="padding: 10px; width: 80px; border-radius: 5px; border: 1px solid #ccc;" oninput="przelicz()">
                        <span style="font-size: 0.9rem; color: #666;"> x 15€ / os.</span>
                    </div>
                </div>

                <div class="result-box">
                    <div class="result-title">Szacowany koszt miesięczny (Netto)</div>
                    <div class="result-price" id="finalPrice">70 €</div>
                    <div class="result-note">+ 10€ ryczałt biurowy (wliczony)</div>
                </div>
            </div>
        </div>
    </section>


    /* === STYL KALKULATORA (Nowoczesny Wygląd) === */

/* Tło sekcji */
.calculator-section 
{
    background: linear-gradient(to bottom, #f9f9f9, #eef4fa);
}

/* Białe pudełko kalkulatora */
.calculator-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Miękki cień */
    max-width: 700px;
    margin: 0 auto; /* Wyśrodkowanie na stronie */
    border-top: 6px solid var(--primary-color); /* Granatowy pasek na górze */
}

/* Odstępy między pytaniami */
.form-group {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee; /* Delikatna linia oddzielająca */
    padding-bottom: 20px;
}

.form-group:last-child {
    border-bottom: none;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Stylizacja Suwaka (Range) */
input[type="range"] {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none; /* Reset domyślnego wyglądu */
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: var(--accent-color); /* Niebieska kropka */
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s ease-in-out;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #0056b3; /* Ciemniejszy po najechaniu */
}

.range-value { 
    text-align: center; 
    font-size: 1.3rem; 
    font-weight: bold; 
    color: var(--accent-color); 
    margin-top: 15px;
    background: #eef4fa;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

/* Opcje wyboru (Radio i Checkbox) */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    font-weight: 500;
}

.radio-option:hover {
    background: #e2e6ea;
    border-color: #ccc;
}

/* input[radio] i checkbox - powiększenie */
.radio-option input {
    accent-color: var(--accent-color);
    transform: scale(1.2);
}

/* Pole dla pracowników */
input[type="number"] {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 80px;
    text-align: center;
    font-weight: bold;
}

/* Sekcja Wyniku */
.result-box {
    background: var(--primary-color); /* Granatowe tło */
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(15, 44, 76, 0.3);
}

.result-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.result-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1;
}

.result-note {
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 10px;
}

/* Responsywność dla małych ekranów */
@media (max-width: 600px) {
    .radio-group { flex-direction: column; }
    .calculator-box { padding: 20px; }
    .result-price { font-size: 2.5rem; }
}