/* === POCZĄTEK style.css - WERSJA FINALNA NA PODSTAWIE USTALEŃ === */
:root {
    --primary-color: #231F20;
    --secondary-color: #F26326;
    --light-bg-color: #F8F9FA;
    --text-color: #333333;
    --white-color: #FFFFFF;
    --border-color: #E0E0E0;
    --font-family: 'Roboto', sans-serif;
    --spacing-unit: 1rem; /* 16px */
    --star-color: #FFC107; /* <<<< DODANE TUTAJ */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* --- Sekcje --- */
section {
    padding: calc(var(--spacing-unit) * 4) 0;
}

/* Jasnoszare tło dla co drugiej sekcji, z wyjątkami */
/* Zaktualizuj ten selektor jeśli sekcja opinii ma być wyjątkiem i nie mieć jasnego tła gdy jest parzysta, np.:
section:nth-child(even):not(#o-nas):not(#faq):not(#opinie-klientow) { */
section:nth-child(even):not(.o-nas-section):not(.faq-section) {
    background-color: var(--light-bg-color);
}


h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.9rem;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: var(--spacing-unit);
}

.section-intro {
    text-align: center;
    max-width: 750px;
    margin: calc(var(--spacing-unit) * -1.5) auto calc(var(--spacing-unit) * 2.5) auto;
    font-size: 1.1rem;
    color: #555;
}

/* --- Hero Section --- */
.logo-strip {
    background-color: var(--white-color);
    padding: var(--spacing-unit) 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    position: sticky; /* Przyklejony pasek logo */
    top: 0;
    z-index: 1000;
}

.logo-strip .logo {
    max-width: 200px;
    height: auto;
    display: inline-block;
}

.hero-section {
    background: linear-gradient(rgba(35, 31, 32, 0.75), rgba(35, 31, 32, 0.75)), url('images/kasy-fiskalne-siedlce-hero.webp') no-repeat center center/cover;
    color: var(--white-color);
    padding: calc(var(--spacing-unit) * 5) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 65vh;
}

.hero-section h1 {
    color: var(--white-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-unit);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.hero-section .subtitle {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto calc(var(--spacing-unit) * 2) auto;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color); /* Pomarańczowy */
    color: var(--white-color) !important; /* Ważne: Biały tekst na przycisku */
    padding: calc(var(--spacing-unit) * 0.8) calc(var(--spacing-unit) * 1.8);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #D9531E; /* Ciemniejszy odcień pomarańczowego */
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* --- Dla Kogo Section --- */
.dla-kogo-section .branze-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 1.8);
    text-align: center;
}

.dla-kogo-section .branza-item {
    background-color: var(--white-color);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dla-kogo-section .branza-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.dla-kogo-section .branza-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-unit);
    /* fill: var(--secondary-color); Zakomentowane - SVG powinny mieć własne kolory lub być jednokolorowe i stylizowane przez CSS */
}

.dla-kogo-section .branza-item p {
    font-weight: 500;
    color: var(--primary-color);
}


/* --- Jak to działa Section --- */
.jak-to-dziala-section .proces-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2);
}

.jak-to-dziala-section .proces-krok {
    background-color: var(--white-color);
    padding: calc(var(--spacing-unit) * 1.8);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jak-to-dziala-section .proces-krok:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.jak-to-dziala-section .numer-kroku {
    width: 55px;
    height: 55px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 auto var(--spacing-unit) auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* --- Oferta Section --- */
.oferta-section .produkty-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2);
}

.oferta-section .produkt-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(35,31,32,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oferta-section .produkt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(35,31,32,0.12);
}

.oferta-section .produkt-img {
    max-width: 90%;
    height: 170px;
    object-fit: contain;
    margin: 0 auto calc(var(--spacing-unit) * 1.2) auto;
}

.oferta-section .produkt-card h3 {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    min-height: 45px;
    color: var(--primary-color);
}

.oferta-section .produkt-card .produkt-opis {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: var(--spacing-unit);
    min-height: 70px; /* Dopasuj do najdłuższego opisu */
    flex-grow: 1; /* Opis zajmuje dostępną przestrzeń */
}

.oferta-section .cena {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: var(--spacing-unit);
    font-size: 1.15rem;
}
.oferta-section .product-button {
    margin-top: calc(var(--spacing-unit) * 0.5); /* Odstęp od ceny */
}

/* --- O Nas Section (.o-nas-section) --- */
.o-nas-section { /* Użycie klasy zamiast ID jeśli nie ma konfliktu z nth-child */
    background-color: var(--white-color) !important; /* Zawsze białe tło */
}
.o-nas-section p {
    text-align: left;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    color: #444;
}

/* --- Dlaczego My Section --- */
.dlaczego-my-section ul {
    list-style: none;
    padding-left: 0;
    max-width: 700px;
    margin: 0 auto;
}

.dlaczego-my-section li {
    background-color: var(--white-color);
    padding: var(--spacing-unit);
    margin-bottom: calc(var(--spacing-unit) * 0.8);
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dlaczego-my-section li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dlaczego-my-section .check-icon {
    color: var(--secondary-color);
    margin-right: calc(var(--spacing-unit) * 0.8);
    font-size: 1.3rem;
}

/* --- FAQ Section (.faq-section) --- */
.faq-section { /* Użycie klasy zamiast ID */
    background-color: var(--white-color) !important; /* Zawsze białe tło */
}

.faq-section .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-unit);
}

.faq-section .faq-item {
    background-color: var(--light-bg-color); /* Lekko szare tło dla odróżnienia */
    padding: calc(var(--spacing-unit) * 1.5);
    margin-bottom: 0; /* Gap jest w gridzie */
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color); /* Akcentujący border */
}

.faq-section .faq-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 0.6);
}
.faq-section .faq-item p {
    color: #555;
}


.opinie-section {
  
}

.opinie-section .opinie-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 1.8);
}

.opinie-section .opinia-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 15px; /* Lekko zwiększone zaokrąglenie dla efektu "chmurki" */
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(35,31,32,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Kluczowe dla pozycjonowania ogonka */
    margin-bottom: calc(var(--spacing-unit) * 2.5); /* Dodatkowy margines na ogonek */
}

.opinie-section .opinia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 18px rgba(35,31,32,0.1);
}

/* OGONEK CHMURKI - WARSTWA ZEWNĘTRZNA (BORDER) */
.opinie-section .opinia-card::before {
    content: "";
    position: absolute;
    bottom: -11px; /* Wysokość ogonka (10px) + grubość jego borderu (1px) */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 11px solid var(--border-color);
    z-index: 0;
}

/* OGONEK CHMURKI - WARSTWA WEWNĘTRZNA (WYPEŁNIENIE) */
.opinie-section .opinia-card::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Wysokość ogonka */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--white-color);
    z-index: 1;
}

.opinie-section .opinia-gwiazdki {
    color: var(--star-color); 
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 0.8);
    text-align: center;
}

.opinie-section .opinia-tresc {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: var(--spacing-unit);
    flex-grow: 1;
    quotes: "„" "”" "‚" "’";
}
.opinie-section .opinia-tresc::before {
    content: open-quote;
    margin-right: 0; 
}
.opinie-section .opinia-tresc::after {
    content: close-quote;
    margin-left: 0; 
}
}

.opinie-section .opinia-autor {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 0.25);
    font-size: 1rem;
}

.opinie-section .opinia-firma {
    font-size: 0.85rem;
    color: #666;
}

/* --- Kontakt Section --- */
.kontakt-section .kontakt-info-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2.5);
    align-items: start;
}

.kontakt-section .kontakt-details {
    text-align: left;
}
.kontakt-section .kontakt-details p {
    margin-bottom: calc(var(--spacing-unit) * 0.8);
    font-size: 1.1rem;
}
.kontakt-section .kontakt-details a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}
.kontakt-section .kontakt-details a:hover {
    text-decoration: underline;
}

.kontakt-section .kontakt-buttons {
    margin-top: var(--spacing-unit);
}


.kontakt-section .map-placeholder iframe {
    border-radius: 8px;
    margin-top:var(--spacing-unit);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.kontakt-section .map-placeholder p {
    text-align: left;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: calc(var(--spacing-unit) * 1.5) 0;
    font-size: 0.9rem;
    margin-top: auto;
}
footer a {
    color: var(--secondary-color);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* --- Animacje przy przewijaniu --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Media Queries --- */
@media (min-width: 600px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section .subtitle {
        font-size: 1.3rem;
    }
    .dla-kogo-section .branze-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .oferta-section .produkty-grid {
       grid-template-columns: repeat(2, 1fr);
    }
     .faq-section .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-unit) * 1.5);
    }
    /* Dodatkowe media query dla opinii, jeśli domyślne dla 768px nie pasuje */
    /* Jeśli używasz breakpointu 600px dla 2 kolumn w opiniach:
    .opinie-section .opinie-grid {
       grid-template-columns: repeat(2, 1fr);
    }
    */
}

@media (min-width: 768px) { /* <<<< DODANE TUTAJ (lub zmodyfikowane jeśli już istniało dla opinii) */
    .opinie-section .opinie-grid {
       grid-template-columns: repeat(2, 1fr);
       gap: calc(var(--spacing-unit) * 2);
    }
}


@media (min-width: 992px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 1.5);
    }
    section {
        padding: calc(var(--spacing-unit) * 5) 0;
    }
    .logo-strip .logo {
        max-width: 240px;
    }
    .hero-section {
        padding: calc(var(--spacing-unit) * 6) 0;
        min-height: 70vh;
    }
     .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section .subtitle {
        font-size: 1.4rem;
    }
    .dla-kogo-section .branze-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .jak-to-dziala-section .proces-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .oferta-section .produkty-grid {
       grid-template-columns: repeat(3, 1fr);
    }
    .kontakt-section .kontakt-info-wrapper {
        grid-template-columns: 1fr 1.2fr; /* Więcej miejsca dla mapy */
        gap: calc(var(--spacing-unit) * 3);
    }
    /* Media query dla 3 kolumn opinii na większych ekranach, jeśli nie było wcześniej */
    /* .opinie-section .opinie-grid {
       grid-template-columns: repeat(3, 1fr);
    } */
}

@media (min-width: 1200px) { /* <<<< DODANE TUTAJ (lub zmodyfikowane jeśli już istniało dla opinii) */
    .opinie-section .opinie-grid {
       grid-template-columns: repeat(3, 1fr);
    }
}
/* === KONIEC style.css - WERSJA FINALNA NA PODSTAWIE USTALEŃ === */