:root {
    --primary-color: #2c3e50; /* Granatowy */
    --accent-color: #e67e22; /* Pomarańczowy */
    --light-bg: #f8f9fa;
    --success-green: #27ae60;
    --danger-red: #c0392b;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    padding-top: 76px; /* Miejsce na fixed menu */
}

h1, h2, h3, h4, .btn {
    font-family: 'Montserrat', sans-serif;
}

/* Nawigacja */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-link {
    font-weight: 600;
    color: #ecf0f1 !important;
    margin-right: 15px;
}
.nav-link:hover {
    color: var(--accent-color) !important;
}
.btn-nav-cta {
    background-color: var(--accent-color);
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px !important;
    transition: 0.3s;
}
.btn-nav-cta:hover {
    background-color: #d35400;
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('https://images.unsplash.com/photo-1632759145351-1d592919f522?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-cta {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-cta:hover {
    background-color: #d35400;
    color: white;
    transform: scale(1.05);
}

/* Sekcje */
.section-padding { padding: 80px 0; }
.bg-light-grey { background-color: #f9f9f9; }

/* Case Study (Przykład Audytu) */
.comparison-box {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}
.comparison-header {
    padding: 20px;
    text-align: center;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}
.header-bad { background-color: #95a5a6; } /* Szary dla oferty konkurencji */
.header-audit { background-color: var(--primary-color); } /* Granat dla nas */

.comparison-body { padding: 30px; }
.price-tag {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
.alert-custom {
    border-left: 5px solid var(--danger-red);
    background-color: #fff5f5;
    padding: 15px;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Formularz */
.audit-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    /* Bardziej miękki cień */
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
    border-top: 5px solid var(--accent-color);
}

/* Footer Fix */
footer {
    background-color: var(--primary-color);
    color: #ecf0f1; /* Jasny szary, prawie biały */
    padding: 50px 0 20px 0;
}

footer h5 {
    color: white;
    font-weight: 700;
}

/* Nadpisujemy Bootstrapowe klasy text-muted w stopce */
footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: var(--accent-color);
    padding-left: 5px; /* Efekt przesunięcia przy najechaniu */
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* RWD */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .nav-link { padding: 10px 0; }
    .btn-nav-cta { text-align: center; display: block; width: 100%; margin-top: 10px; }
}

/* Stylizacja a'la raport błędów */
.report-alert {
    background-color: #fff5f5; /* Bardzo jasny czerowny */
    border-left: 5px solid var(--danger-red);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0; /* Zaokrąglenie tylko z prawej */
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}

.report-alert:hover {
    transform: translateX(5px); /* Lekki ruch w prawo po najechaniu */
    background-color: #fff0f0;
}

.report-alert-title {
    color: var(--danger-red);
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
}

/* --- Formularz Krok po Kroku (Wizard) --- */
.step-container {
    display: none; /* Domyślnie ukryte */
    animation: fadeIn 0.5s;
}
.step-container.active {
    display: block; /* Pokaż aktywny */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Kafelki wyboru (Radio buttons jako karty) */
.option-card {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}
.option-card:hover {
    border-color: #bdc3c7;
    background-color: #f9f9f9;
}
.option-input:checked + .option-card {
    border-color: var(--accent-color);
    background-color: #fffaf0; /* Jasny pomarańcz */
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.2);
}
.option-input {
    display: none; /* Ukrywamy standardowe kółko radio */
}

/* Pasek postępu (Kropki) */
.progress-steps {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.step-dot {
    width: 12px;
    height: 12px;
    background-color: #eee;
    border-radius: 50%;
    margin: 0 5px;
    transition: 0.3s;
}
.step-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}
.step-dot.completed {
    background-color: var(--primary-color);
}

/* Mapa w formularzu */
#map {
    height: 300px;
    width: 100%;
    border-radius: 10px;
    z-index: 1;
}

/* --- Poprawki Formularza i UI --- */

/* Czerwona gwiazdka przy polach wymaganych */
.required-star {
    color: var(--danger-red);
    font-weight: bold;
    margin-left: 4px;
}

/* Nowy styl przycisku Wstecz */
.btn-back-custom {
    background-color: transparent;
    color: #7f8c8d; /* Szary wyjściowy */
    border: 2px solid #e0e0e0;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-back-custom:hover {
    background-color: #fff5f5; /* Bardzo jasny czerwony */
    border-color: #fab1a0; /* Jasny czerwony obrys */
    color: var(--danger-red);
}

/* Fix dla tła (bugujące się linie) */
#formularz {
    background-color: var(--primary-color) !important; /* Pewny kolor tła */
    background-image: none !important; /* Wywalamy wszelkie obrazki tła */
    position: relative;
    overflow: hidden; /* Kluczowe: ucina wszystko co wystaje/buguje się */
    z-index: 1;
    /* Hack naprawiający migotanie i linie na niektórych monitorach: */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    border-top: 1px solid rgba(255,255,255,0.05); /* Delikatna linia odcinająca od góry */
}

/* Opcjonalnie: Jeśli chcesz tło "blueprint" bez błędów, użyjemy SVG w CSS (ale na razie wyłączmy, żeby naprawić błąd) */