/* --- ZMIENNE KOLORYSTYCZNE (Dopasowane do zdjęcia) --- */
:root {
    --primary: #73be0f;
    --primary-dark: #64a40f;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --bg-badge: #eef7e1;
}

p {
    font-size: 18px;
}

/* --- SEKCJA HERO --- */
.hero-section {
    position: relative;
    margin: 80px auto 100px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Dwie kolumny obok siebie */
    gap: 80px;
    align-items: center;
}

.hero-text-block {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 46px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Przyciski */
.hero-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.brand-btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 16px 32px;
    transition: all 0.3s ease;
}

.brand-btn-gradient:hover {
    box-shadow: 0 10px 25px -5px rgba(100, 164, 15, 0.4);
    transform: translateY(-2px) scale(1.02) !important;
    color: #fff !important;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

/* Kontener obrazka */
.hero-image-block {
    position: relative;
    padding: 40px 0;
}

.hero-image-wrapper {
    aspect-ratio: 4/3;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pływające kafelki (Glass Cards) */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 14px 28px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 20;
}

/* Dokładne pozycjonowanie na krawędziach obrazka */
.float-left {
    top: 15%;
    left: -40px;
}

.float-right {
    bottom: 15%;
    right: -20px;
}

/* Układ tekstów wewnątrz kafelka */
.card-text-wrapper {
    display: flex;
    flex-direction: column;
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
}

.bg-green-icon {
    background-color: var(--primary-dark);
}

.card-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    color: #777777;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.card-value {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #2c3e2e;
    line-height: 1.1;
}

/* --- RESPONSYWNOŚĆ (Dla telefonów) --- */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-buttons-group {
        justify-content: center;
    }
    .float-left {
        left: 10px;
    }
    .float-right {
        right: 10px;
    }
}

/* --- SEKCJA WARTOŚCI (VALUES) --- */
.values-section {
    background-color: #f9f9f9;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
}

.text-center-wrapper {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1c1c;
    margin-bottom: 16px;
}

.title-underline {
    height: 4px;
    width: 64px;
    background-color: var(--primary, #73be0f);
    margin: 0 auto;
    border-radius: 9999px;
}

.grid-three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(232, 232, 232, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

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

.value-icon-box {
    width: 56px;
    height: 56px;
    background-color: rgba(115, 190, 15, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

/* Stylizacja ikon Font Awesome typu "fa" */
.fa-icon-size {
    font-size: 24px !important;
    color: var(--primary, #73be0f);
    transition: color 0.3s ease;
}

/* Efekt hover dla całej karty - zmiana tła i koloru ikony */
.value-card:hover .value-icon-box {
    background-color: var(--primary, #73be0f);
}

.value-card:hover .fa-icon-size {
    color: #ffffff !important; /* Ikona staje się biała na zielonym tle */
}

.card-title-md {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1c1c;
    margin-bottom: 14px;
}

.card-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 992px) {
    .grid-three-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .section-title {
        font-size: 30px;
    }
    .value-card {
        padding: 32px;
    }
}


/* --- SEKCJA SPECJALIZACJI (NASZE KOMPETENCJE) --- */
.specialization-section {
    padding-top: 100px;
    padding-bottom: 100px;
    margin: 0 auto;
}

.section-flex-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 64px;
    gap: 24px;
}

.text-accent-label {
    color: var(--primary, #73be0f);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.section-title.text-left {
    text-align: left;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0;
}

/* Domyślny układ mobilny (jedna kolumna) */
.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.spec-list-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    border-radius: 24px;
    background-color: #ffffff;
    border: 1px solid rgba(232, 232, 232, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtelny efekt hover na całą kartę */
.spec-list-item:hover {
    border-color: rgba(115, 190, 15, 0.4);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.shrink-0-box {
    flex-shrink: 0;
}

.icon-circle-glass {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(115, 190, 15, 0.08);
    border: 1px solid rgba(115, 190, 15, 0.15);
    transition: all 0.3s ease;
}

/* Klasa sterująca ikonami Font Awesome */
.fa-spec-icon {
    font-size: 20px !important;
    color: var(--primary, #73be0f);
    transition: all 0.3s ease;
}

/* Zmiana wyglądu ikony po najechaniu na kartę */
.spec-list-item:hover .icon-circle-glass {
    background: var(--primary, #73be0f);
    border-color: var(--primary, #73be0f);
}

.spec-list-item:hover .fa-spec-icon {
    color: #ffffff !important;
}

.spec-item-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1c1c;
    margin-bottom: 10px;
    margin-top: 2px;
}

.spec-item-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted, #555555);
    margin: 0;
}

/* --- INTEGRACJA Z TWOIMI MEDIA QUERIES (Desktop od 768px) --- */
@media (min-width: 768px) {
    .section-flex-header {
        flex-direction: row;
        align-items: flex-end;
        gap: 48px;
    }
    
    .grid-two-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* --- INTEGRACJA Z TWOIMI MEDIA QUERIES (Desktop do 350px) --- */
@media (max-width: 350px) {
    .spec-list-item {
        gap: 15px;
        padding: 15px;
    }
    
    .icon-circle-glass {
        width: 27px;
        height: 27px;
    }
    
    .fa-spec-icon {
        font-size: 10px !important;
    }
}

/* --- SEKCJA OSI CZASU (HOW WE WORK) --- */
.how-we-work-section {
    padding-top: var(--section-padding-lg, 100px);
    padding-bottom: var(--section-padding-lg, 100px);
    background-color: #f3f3f4; /* Dopasowane do tła Twojego CTA */
    position: relative;
}

.timeline-relative-container {
    position: relative;
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 20px 0;
}

/* KRESA PIONOWA: Domyślnie ukryta na mobile, pojawia się na desktopie */
.timeline-line {
    display: none;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, #73be0f 15%, #73be0f 85%, transparent);
    z-index: 1;
}

.timeline-steps-gap {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Odstęp między krokami na mobile */
    position: relative;
}

/* Wiersz pojedynczego kroku - domyślnie na mobile jeden pod drugim */
.timeline-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 100%;
    padding-left: 40px; /* Przestrzeń na pseudo-kropkę mobilną */
}

/* Tekst kroku */
.timeline-text-side {
    width: 100%;
    text-align: left;
}

.step-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1c1c;
    margin-bottom: 12px;
}

.step-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

/* Mobilna kropka procesu (zastępuje duże kółko z desktopu) */
.timeline-center-badge {
    position: absolute;
    left: 0;
    top: 4px;
    z-index: 10;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary, #73be0f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(115, 190, 15, 0.3);
}

.fa-timeline-sm {
    font-size: 10px !important; /* Mniejsza ikonka na mobile */
}

/* Ukrywamy szklane karty dekoracyjne na smartfonach, żeby nie robić ścisku */
.side-hide-mobile {
    display: none;
}


/* --- REWOLUCJA DESKTOPOWA: Od 768px w górę --- */
@media (min-width: 768px) {
    .timeline-line {
        display: block; /* Pokazuje pionową linię */
    }

    .timeline-steps-gap {
        gap: 80px; /* Większy odstęp między krokami na desktopie */
    }

    .timeline-row {
        flex-direction: row; /* Układ poziomy: Tekst | Kółko | Karta */
        align-items: center;
        padding-left: 0;
    }

    /* Klucz: Każda strona zajmuje dokładnie połowę szerokości */
    .timeline-text-side {
        width: 50%;
        position: relative;
        box-sizing: border-box;
    }

    .timeline-card-side {
        width: 50%;
        display: block !important; /* Pokazuje karty boczna na desktopie */
        box-sizing: border-box;
    }

    /* Centrowanie dużego kółka idealnie na linii */
    .timeline-center-badge {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 48px;
        height: 48px;
    }

    .fa-timeline-sm {
        font-size: 16px !important; /* Większa ikona w dużym kółku */
    }

    /* KROK PARZYSTY (1 i 3): Tekst po lewej (wyrównany do prawej), Karta po prawej */
    .row-left {
        flex-direction: row;
    }
    
    .row-left .timeline-text-side {
        text-align: right;
        padding-right: 50px; /* Oddech od linii środkowej */
    }

    .row-left .timeline-card-side {
        padding-left: 50px; /* Oddech karty od linii środkowej */
    }

    /* KROK NIEPARZYSTY (2): Tekst po prawej (wyrównany do lewej), Karta po lewej */
    .row-right {
        flex-direction: row-reverse; /* Odwrócenie kolejności HTML */
    }

    .row-right .timeline-text-side {
        text-align: left;
        padding-left: 50px;
    }

    .row-right .timeline-card-side {
        padding-right: 50px;
    }

    /* Wygląd szklanej karty bocznej */
    .glass-card {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        padding: 24px;
        border-radius: 20px;
        max-width: 280px;
        display: inline-block;
        box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    /* Wyrównanie samych kontenerów kart */
    .side-text-right {
        text-align: right; /* Karta po lewej stronie wyrównuje się do prawej krawędzi swojego bloku */
    }
    
    .badge-card-text {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 700;
        color: var(--primary, #73be0f);
        margin: 0;
    }
}

/* --- SEKCJA KORZYŚCI (BENEFITS) --- */
.benefits-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a1c1c;
    padding: 100px 0px;
    text-align: center;
}

.benefits-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Nagłówki */
.benefits-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64a40f;
    display: block;
    margin-bottom: 16px;
}

.benefits-title {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 80px 0;
    color: #1a1c1c;
}

/* Siatka / Grid trójkolumnowy */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

/* Subtelne uniesienie karty na hover */
.benefit-item:hover {
    transform: translateY(-5px);
}

/* Okrągłe tło dla ikon */
.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #f0f4e8; /* Lekki odcień zieleni pasujący do brandu */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

/* Formatowanie ikony Font Awesome */
.fa-benefit-icon {
    font-size: 28px !important;
    color: #3d6a00;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* EFEKT HOVER: Dynamiczna zmiana kolorów po najechaniu na kafelek */
.benefit-item:hover .benefit-icon-wrapper {
    background-color: #64a40f; /* Tło zmienia się na mocną zieleń */
    box-shadow: 0 10px 20px -5px rgba(100, 164, 15, 0.3);
}

.benefit-item:hover .fa-benefit-icon {
    color: #ffffff !important; /* Ikona staje się biała */
}

/* Teksty wewnątrz kolumn */
.benefit-heading {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #1a1c1c;
}

.benefit-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
    max-width: 340px;
}

/* RWD - przełączenie na 3 kolumny od ekranów tabletowych/desktopowych */
@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 80px 20px;
    }
    .benefits-title {
        font-size: 32px;
        margin-bottom: 48px;
    }
}

/* --- SEKCJA Call To Action (CTA) --- */
.cta-section {
    padding-top: var(--section-padding-lg, 100px);
    padding-bottom: var(--section-padding-lg, 100px);
    padding-left: var(--margin-mobile, 20px);
    padding-right: var(--margin-mobile, 20px);
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.cta-box-radial {
    background: radial-gradient(circle at top right, rgba(115, 190, 15, 0.12), transparent 45%), 
                radial-gradient(circle at bottom left, rgba(100, 164, 15, 0.06), transparent 45%),
                #f3f3f4;
    padding: 40px 24px;
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(232, 232, 232, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

/* Ozdobna plama światła w tle */
.cta-blur-decorative {
    position: absolute;
    top: 0;
    right: 0;
    width: 256px;
    height: 256px;
    background-color: rgba(100, 164, 15, 0.15);
    filter: blur(80px);
    -webkit-filter: blur(80px);
    border-radius: 50%;
    margin-right: -128px;
    margin-top: -128px;
    pointer-events: none;
}

.cta-inner-content {
    position: relative;
    z-index: 10;
}

.cta-title-spacing {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1c1c;
    margin-top: 0;
    margin-bottom: 20px;
}

.cta-description-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 40px;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

/* Główny przycisk w sekcji CTA */
.btn-cta-main {
    padding: 18px 40px;
    font-size: 16px;
    box-shadow: 0 15px 30px -10px rgba(100, 164, 15, 0.3);
}

/* --- RESPONSYWNOŚĆ (Dostosowanie do Twoich Media Queries) --- */
@media (min-width: 768px) {
    .cta-section {
        padding-left: var(--gutter, 32px);
        padding-right: var(--gutter, 32px);
    }
    
    .cta-box-radial { 
        padding: 80px 40px; 
    }
    
    .cta-title-spacing {
        font-size: 42px;
    }
    
    .cta-description-text {
        font-size: 18px;
    }
    
    .btn-cta-main {
        padding: 20px 48px;
        font-size: 17px;
    }
}