/* =========================================
   REALIZACJA - GLOBAL
========================================= */

.realizacja-page {
    width: 100%;
}

.realizacja-container {
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}


/* =========================================
   HERO
========================================= */

.realizacja-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}


/* Ciemna warstwa */

.realizacja-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 1) 0%,
        rgba(26, 26, 26, 0.5) 100%
    );
}


/* Kontener nad overlayem */

.realizacja-hero .realizacja-container {
    position: relative;
    z-index: 2;
}


/* Treść hero */

.realizacja-hero-content {
    max-width: 760px;
    padding-top: 30px;
    padding-bottom: 30px;
}


/* =========================================
   HERO - META
========================================= */

.realizacja-hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
}


.realizacja-meta-item {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    color: #fff;
}


/* Górna etykieta */

.realizacja-meta-branza .realizacja-meta-label {
    display: block;
    padding: 8px 12px;
    background: #fff;
    color: #1A1A1A;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    border-radius: 4px 4px 0px 0px;
}


/* Wartość */

.realizacja-meta-branza .realizacja-meta-value {
    display: block;
    padding: 6px 12px;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    border: 1px solid white;
}


.realizacja-meta-rodzaj .realizacja-meta-label {
    display: block;
    padding: 12px 24px;
    background: #008002;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    border-radius: 4px 4px 0px 0px;
}


.realizacja-meta-rodzaj .realizacja-meta-value {
    background: transparent;
    color: #fff;
    border-top: 1px solid #fff;
    padding-top: 15px;
}


/* =========================================
   TYTUŁ
========================================= */

.realizacja-title {
    margin: 30px 0;

    color: #fff;

    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
}


/* =========================================
   OGÓLNE SEKCJE
========================================= */

.realizacja-section {
    width: 100%;
}


.realizacja-content {
    max-width: 800px;
}


/* =========================================
   GALERIA
========================================= */

/*
 * Wspólne ustawienia
 */

.realizacja-gallery {
    background: #f7f7f7;
    padding: 20px;
    margin-top: 30px;
    box-sizing: border-box;
}


/*
 * 1 ZDJĘCIE
 */

.realizacja-gallery-1 {
    display: block;
}


.realizacja-gallery-1 .realizacja-gallery-item {
    width: 100%;
}


.realizacja-gallery-1 .realizacja-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}


/*
 * 2 ZDJĘCIA
 */

.realizacja-gallery-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}


.realizacja-gallery-2 .realizacja-gallery-item {
    min-width: 0;
    height: 400px;
    overflow: hidden;
}


.realizacja-gallery-2 .realizacja-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*
 * 3+ ZDJĘĆ
 */

.realizacja-gallery-masonry {
    column-count: 2;
    column-gap: 20px;
}


.realizacja-gallery-masonry .realizacja-gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;

    break-inside: avoid;
    -webkit-column-break-inside: avoid;

    overflow: hidden;
}


.realizacja-gallery-masonry .realizacja-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}


/* =========================================
   PROBLEM
========================================= */

.realizacja-problem {
    width: 100%;
    background: #F7F7F7;
    padding-top: 70px;
    padding-bottom: 70px;
}


.realizacja-problem h2 {
    margin-top: 0;
}


/* =========================================
   ROZWIĄZANIE
========================================= */

.realizacja-rozwiazanie {
    padding-top: 70px;
    padding-bottom: 70px;
}


/* =========================================
   KORZYŚCI
========================================= */

.realizacja-benefits {
    width: 100%;
    background: #121212E6;
    padding-top: 70px;
    padding-bottom: 70px;
}


/* Nagłówek */

.white_bar {
    color: #fff;
    margin-bottom: 30px;
}


.white_bar h2 {
    margin-top: 0;
    margin-bottom: 0;
}


/* =========================================
   GRID KORZYŚCI
========================================= */

.realizacja-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
}


/* =========================================
   KARTA KORZYŚCI
========================================= */

.realizacja-benefit {
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    background: #f4f4f4;

    padding: 30px;

    border-radius: 10px;

    min-height: 235px;

    color: #1a1a1a;
}


/* =========================================
   IKONA KORZYŚCI
========================================= */

.realizacja-benefit-icon {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 24px;

    margin-bottom: 20px;

    background: #168c3a;
    color: #fff;

    border-radius: 50%;

    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}


/* =========================================
   TYTUŁ KORZYŚCI
========================================= */

.realizacja-benefit h4 {
    margin: 0 0 10px;

    color: #1a1a1a;

    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================
   OPIS KORZYŚCI
========================================= */

.realizacja-benefit-description {
    color: #707070;

    font-size: 15px;
    line-height: 1.55;
}


.realizacja-benefit-description p {
    margin-top: 0;
}


.realizacja-benefit-description p:last-child {
    margin-bottom: 0;
}


/* =========================================
   WYNIKI + TECHNOLOGIA
========================================= */

.realizacja-results {
    width: 100%;
    padding-top: 70px;
    padding-bottom: 70px;
    background: #f7f7f7;
}


.realizacja-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


.realizacja-result-column {
    box-sizing: border-box;
}


/* =========================================
   NAGŁÓWKI WYNIKÓW
========================================= */

.realizacja-result-column h4 {
    margin: 0 0 18px;
    color: #1a1a1a;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}


/* =========================================
   KARTA WYNIKU / TECHNOLOGII
========================================= */

.realizacja-result-card {
    display: flex;
    align-items: flex-start;
	border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-left: 3px solid #008f2d;
    padding: 30px;
    min-height: 215px;
}


/* =========================================
   IKONA WYNIKU
========================================= */

.realizacja-result-icon {
    width: 48px;
    height: 48px;

    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 24px;

    background: #e7f5eb;

    border-radius: 9px;

    color: #008f2d;

    font-size: 25px;
    line-height: 1;
    font-weight: 400;
}


/* =========================================
   TREŚĆ WYNIKU
========================================= */

.realizacja-result-content {
    flex: 1;

    min-width: 0;

    color: #707070;

    font-size: 14px;
    line-height: 1.65;
}


/*
 * Treść z WYSIWYG może zawierać akapity.
 */

.realizacja-result-content p {
    margin-top: 0;
    margin-bottom: 20px;
}


.realizacja-result-content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .realizacja-container {
        padding-left: 15px;
        padding-right: 15px;
    }
	
	.realizacja-container h2 {
		font-size: 28px!important;
	}

    .realizacja-hero {
        min-height: 420px;
    }


    .realizacja-title {
        font-size: 30px;
    }
	


    .realizacja-hero-content {
        max-width: 100%;
    }
	
	.realizacja-problem, .realizacja-rozwiazanie {
		padding-top: 40px;
		padding-bottom: 40px;
	}


    /* =====================================
       KORZYŚCI
    ===================================== */

    .realizacja-benefits {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .realizacja-benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    .realizacja-benefit {
        min-height: auto;
        padding: 25px;
    }


    /* =====================================
       WYNIKI
    ===================================== */

    .realizacja-results {
        padding-top: 30px;
        padding-bottom: 30px;
    }


    .realizacja-results-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .realizacja-result-column > h4 {
        font-size: 23px;
        margin-bottom: 15px;
    }


    .realizacja-result-card {
        padding: 22px;

        min-height: 0;
    }


    .realizacja-result-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;

        margin-right: 18px;

        font-size: 22px;
    }


    /* =====================================
       GALERIA
    ===================================== */

    .realizacja-gallery {
        padding: 15px;
    }


    /*
     * Na telefonie zawsze jedna kolumna.
     */

    .realizacja-gallery-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    .realizacja-gallery-2 .realizacja-gallery-item {
        height: auto;
    }


    .realizacja-gallery-2 .realizacja-gallery-item img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: initial;
    }


    .realizacja-gallery-masonry {
        column-count: 1;
    }


    .realizacja-gallery-masonry .realizacja-gallery-item {
        margin-bottom: 15px;
    }


    .realizacja-gallery-masonry .realizacja-gallery-item img {
        max-height: 400px;
    }

}

/* =========================================
   CTA
========================================= */

.realizacja-cta {
    width: 100%;

    background: #008002;

    padding-top: 65px;
    padding-bottom: 60px;

    color: #fff;
}


.realizacja-cta-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* =========================================
   CTA - TYTUŁ
========================================= */

.realizacja-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    font-weight: 600;
}


/* =========================================
   CTA - OPIS
========================================= */

.realizacja-cta-description {
    max-width: 800px;

    margin-left: auto;
    margin-right: auto;
}


.realizacja-cta-description p {
    margin: 0;

    color: rgba(255, 255, 255, 0.85);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   CTA - PRZYCISK
========================================= */

.realizacja-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 34px;

    min-height: 55px;

    padding: 0 30px;

    box-sizing: border-box;

    background: #fff;
    color: #008002;

    border-radius: 7px;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.realizacja-cta-button span {
    font-size: 18px;
    line-height: 1;
}


.realizacja-cta-button:hover {
    background: #f2f2f2;
    color: #008002;

    transform: translateY(-2px);
}


/* =========================================
   CTA - MOBILE
========================================= */

@media (max-width: 767px) {

    .realizacja-cta {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .realizacja-cta h2 {
        font-size: 28px;
        margin-bottom: 0px;
    }


    .realizacja-cta-description p {
        font-size: 15px;
        line-height: 1.6;
    }


    .realizacja-cta-button {
        width: 100%;
        margin-top: 28px;
        padding-left: 20px;
        padding-right: 20px;
    }

}