/* Reset body */
body {
    background-color: #f7f7f7;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    position: relative;
    overflow-x: hidden;
}

#header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header #header.header-sticky.bg-light,
header #header.header-sticky {
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}



/* Płynna zmiana tła / cieni */
#header {
    transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}


#header.header-sticky:not(.home) .navbar-brand {
    background-image: url("/wp-content/uploads/2025/05/jega-logo.svg");
    background-repeat: no-repeat;
    background-position: center;
}

#header.header-sticky:not(.home) .navbar-brand img {
    opacity: 0;
}

#navbar .navbar-nav>.menu-item>a {
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

#navbar .navbar-nav>.menu-item>a:hover {
    transform: translateY(-3px);
}

#navbar .navbar-nav>.menu-item>a::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #034eff;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}


#navbar .navbar-nav>.menu-item>a:hover::before {
    transform: scaleY(1);
}

body:not(.home) #navbar .navbar-nav>.menu-item>a::before {
    background-color: #cc7f00;
}

#navbar .navbar-nav>li.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

#navbar .nav-dropdown-toggle {
    border: 0;
    background: transparent;
    color: #111;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

#navbar .nav-dropdown-toggle.dropdown-toggle::after {
    display: none;
}

#navbar .nav-dropdown-toggle:focus,
#navbar .nav-dropdown-toggle:focus-visible {
    outline: none;
    color: #034eff;
}

#navbar .nav-dropdown-toggle:hover {
    color: #034eff;
}

#navbar .nav-dropdown-toggle .nav-dropdown-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.2s ease;
}

#navbar .nav-item.show>.nav-dropdown-toggle .nav-dropdown-icon,
#navbar .nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-icon {
    transform: rotate(180deg);
}

#navbar .nav-dropdown-toggle .nav-dropdown-text {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

#navbar .nav-dropdown-text--collapse {
    display: none;
}

#navbar .nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-text--expand {
    display: none;
}

#navbar .nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-text--collapse {
    display: inline;
}

@media (max-width: 767.98px) {
    #header .navbar .container {
        position: relative;
    }

    #navbar.collapse:not(.show) {
        display: none !important;
    }

    #navbar.collapse.show {
        display: flex !important;
    }

    #navbar {
        background: #fff;
        width: 100%;
        margin-top: 1rem;
        padding: 0.5rem 0;
        box-shadow: none;
        border-radius: 0;
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    #navbar .navbar-nav {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    #navbar .navbar-nav>li {
        width: 100%;
        list-style: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 0;
    }

    #navbar .navbar-nav>li:last-child {
        border-bottom: 0;
    }

    #navbar .navbar-nav>li>a {
        display: block;
        padding: 0.85rem 1.15rem;
        color: #111 !important;
    }

    #navbar .navbar-nav>li>a::before {
        display: none;
    }

    #navbar .navbar-nav>li.dropdown {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    #navbar .navbar-nav>li.dropdown>a {
        flex: 1 1 auto;
    }

    #navbar .navbar-nav>li.dropdown .nav-dropdown-toggle {
        margin-left: auto;
        padding: 0 1rem 0 0;
        font-size: 0.75rem;
    }

    #navbar .dropdown-menu {
        position: relative;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0.35rem 0 0.65rem;
        border: 0;
        box-shadow: none;
        background: #f9fafb;
        flex: 1 0 100%;
        order: 3;
    }

    #navbar .dropdown-menu>li {
        border: 0;
    }

    #navbar .dropdown-menu>li>a {
        padding: 0.6rem 1.15rem 0.6rem 1.75rem;
        color: #111 !important;
    }

    #navbar .navbar-nav>li>a:hover,
    #navbar .navbar-nav>li>a:focus,
    #navbar .dropdown-menu>li>a:hover,
    #navbar .dropdown-menu>li>a:focus {
        color: #034eff !important;
    }
}

@media (min-width: 768px) {
    #navbar .nav-dropdown-toggle {
        font-size: 0;
        margin-left: 0;
    }

    #navbar .nav-dropdown-toggle .nav-dropdown-text {
        display: none !important;
    }

    #navbar .dropdown:hover>.dropdown-menu {
        display: block;
        top: 40px;
    }

    #navbar .dropdown:hover>.nav-dropdown-toggle .nav-dropdown-icon,
    #navbar .dropdown:focus-within>.nav-dropdown-toggle .nav-dropdown-icon {
        transform: rotate(180deg);
    }
}

.py-5 {
    padding-bottom: 5rem !important;
    padding-top: 5rem !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #034eff;
    background: linear-gradient(to bottom right, #034eff, #18409e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 2.2rem;
}

h2.accordion-header  {
    background: transparent;
    -webkit-background-clip:unset;
    -webkit-text-fill-color: unset;
}

h1>span, h2>span, h3>span, h4>span, h5>span, h6>span {
    color: #111;
    font-size: 2rem;
    font-weight: 300;
    display: block;
}

/* Nagłówki z gradientem */
/* h1.gradient, h2.gradient, h3.gradient, h4.gradient, h5.gradient, h6.gradient {
    background: linear-gradient(to bottom right, #034eff, #18409e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
} */

/* Wrapper z liniami */
.grid-lines {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1320px;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
}

/* Linie */
.grid-lines .line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #dedede;
}

/* Pozycjonowanie 4 linii: 0%, 33.33%, 66.66%, 100% */
.grid-lines .line:nth-child(1) {
    left: 0;
}

.grid-lines .line:nth-child(2) {
    left: 33.33%;
}

.grid-lines .line:nth-child(3) {
    left: 66.66%;
}

.grid-lines .line:nth-child(4) {
    left: 100%;
}

section.bg-white {
    position: relative;
}

section.bg-white>.grid-lines {
    z-index: 0;
}

section.bg-white>.container {
    z-index: 1;
    position: relative;
}

/* === HERO SECTION === */
.pre-title,
.hero-pre-title {
    color: #a8a8a8 !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.title,
.hero-title {
    font-size: 60px;
    font-weight: 800 !important;
    margin-bottom: 0px !important;

}

.title {
    font-size: 48px;
    line-height: 58px;
    font-weight: 800;
    background: linear-gradient(to bottom right, #034eff, #18409e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title>div.underline {
    position: relative;
    display: inline-block;
    font-weight: 800;
    background: linear-gradient(to bottom right, #034eff, #18409e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title>div.underline::after {
    content: '';
    width: 94%;
    height: 40px;
    bottom: -15px;
    z-index: -1;
    left: 3%;
    display: inline-block;
    position: absolute;
    background-image: url(/wp-content/uploads/2025/05/underline.webp);
    background-size: contain;
    background-position: 0;
    background-repeat: no-repeat;
}


h3.title {
    font-size: 38px;
    line-height: 48px;
}

.hero-description p {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    background: linear-gradient(to bottom right, #034eff, #18409e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === GLOBAL BUTTON STYLE === */

.btn-primary {
    background-color: #08215e;
    background-image: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background-color: #18409e;
    background-image: none;
    color: #fff;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    z-index: 1;
}

/* Etykiety */
.hero-label {
    position: absolute;
    max-width: 45%;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 10px;
    padding: 10px 15px;
    z-index: 2;
}

.hero-label .label-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.hero-label .label-title {
    font-size: 14px;
    line-height: 14px;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.hero-label .label-text {
    font-size: 12px;
    color: #000;
    line-height: 14px;
}

/* Pozycje */
.hero-label.left-top {
    top: 19%;
    left: 15%;
    transform: translate(-30%, -30%);
}

.hero-label.left-bottom {
    bottom: 15%;
    left: 10%;
    transform: translate(-30%, 30%);
}

.hero-label.right-bottom {
    bottom: 30%;
    right: 10%;
    transform: translate(30%, 30%);
}

.arrow-top {
    position: relative;
}

.arrow-top::before {
    content: '';
    display: block;
    width: 350px;
    height: 150px;
    position: absolute;
    left: 40%;
    top: -80px;
    z-index: 2;
    background-image: url('/wp-content/uploads/2025/05/arrow-1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.arrow-bottom {
    position: relative;
}

.arrow-bottom::after {
    content: '';
    display: block;
    width: 150px;
    height: 350px;
    position: absolute;
    left: 50px;
    bottom: -180px;
    z-index: -1;
    background-image: url('/wp-content/uploads/2025/05/arrow-2.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-bg::after {
    content: '';
    display: block;
    width: 60%;
    height: 225px;
    max-width: 800px;
    position: absolute;
    right: 50px;
    bottom: 0;
    z-index: -1;
    background-image: url('/wp-content/uploads/2025/05/logo-background.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

/* === BLOKOWA SEKCJA === */

.bg-white {
    background-color: #fff;
}

.tekst-blok-szary {
    background-color: #f2f2f2;
    color: #000;
    border-radius: 15px;
    position: relative;
    margin-left: 10%;
    z-index: 1;
    width: 110%;
}

.tekst-blok-szary::after {
    content: '';
    display: block;
    width: 120px;
    height: 120px;
    position: absolute;
    left: 100px;
    bottom: -110px;
    z-index: 2;
    background-image: url('/wp-content/uploads/2025/05/jega-icon-gray.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


.tekst-blok-pomaranczowy {
    background-color: #ec8900;
    color: #fff;
    border-radius: 15px;
    margin-top: -15px;
    margin-left: 50%;
    width: 110%;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.obrazek-absolute {
    position: absolute;
    top: -50px;
    left: 10%;
    width: auto;
    max-width: 100%;
    height: auto;
    z-index: 1;
}

/* === USŁUGI === */

.usluga-blok {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #000;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.usluga-blok:hover {
    background: linear-gradient(to bottom right, #034eff, #18409e);
    color: #fff;
}

.usluga-ikona-gradient {
    background: linear-gradient(to bottom right, #034eff, #18409e);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

.usluga-blok:hover .usluga-ikona-gradient {
    background: #ec8900;
}

.usluga-ikona-gradient img {
    max-width: 90%;
    height: 40px;
}

.usluga-tytul {
    font-size: 18px;
    font-weight: 300;
}

.usluga-tytul strong {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
}

.usluga-blok--cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 25px 75px;
    background: linear-gradient(to bottom right, #18409e, #034eff);
}

.usluga-blok--cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom right, #034eff, #18409e);
    opacity: 0.1;
    transition: opacity .7s ease;
    pointer-events: none;
}

.usluga-blok--cta:hover::before {
    opacity: 1;
}

.usluga-blok--cta {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.usluga-blok--cta-logo {
    max-width: 120px;
    width: 100%;
    position: relative;
    z-index: 3;
    height: auto;
}

.usluga-blok--cta-text {
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
    z-index: 3;
    margin: 0;
}

.usluga-blok--cta-text strong {
    display: inline;
    font-weight: 700;
}

.usluga-opis {
    font-size: 12px;
    font-weight: 400;
}

/* Strzałka */
.usluga-strzalka {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translate(5px, -5px) rotate(-45deg);
}

.usluga-blok:hover .usluga-strzalka {
    opacity: 1;
    transform: translate(0, 0) rotate(-45deg);
    ;
}

/* === CTA MODUŁ === */

.modul-cta {
    background-color: #034eff;
    color: #fff;
}

.modul-cta .pre-title {
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff !important;
}

.cta-title {
    font-size: 40px;
    line-height: 52px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Przyciski CTA */

.btn-cta {
    background-color: #ef9934;
    background-image: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    border-radius: 15px;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #cc7f00;
    /* ciemniejszy od ef9934 */
    background-image: none;
    color: #fff;
}

/* === DLACZEGO MY === */


.dlaczego-box {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
}

.dlaczego-box::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -70px;
    right: -20px;
    width: 100px;
    /* Dodaj konkretną szerokość */
    height: 100px;
    /* I wysokość */
    background-image: url('/wp-content/themes/jega/assets/img/jega-fav-orange.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
}

.dlaczego-item {
    display: flex;
    flex-direction: column;

}

.dlaczego-numer {
    font-size: 72px;
    display: block;
    color: #cccccc;
    margin-bottom: 10px;
    line-height: 80px;
}

.dlaczego-tytul {
    font-size: 18px;
    text-transform: uppercase;
}

.dlaczego-tresc {
    font-size: 14px;
    color: #000;
}

.dlaczego-item:nth-child(3n+1),
.dlaczego-item:nth-child(3n+2) {
    border-right: 1px solid #dedede;
}

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

.cta2-title {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(to bottom right, #034eff, #18409e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 60px;
}

.cta2-content {
    font-size: 2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Przycisk niestandardowy */

.btn-outline-primary-custom {
    font-size: 2.1rem;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border: 2px solid #08215e;
    color: #08215e;
    background-color: transparent;
    background-image: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 50px;
}

.btn-outline-primary-custom:hover {
    background-image: none;
    background-color: #08215e;
    color: #fff;
}


body:not(.home):not(.page-template-page-kontakt) #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body:not(.home):not(.page-template-page-kontakt) #header.bg-light {
    background: transparent !important;
    color: #fff;
}

body:not(.home):not(.page-template-page-kontakt) #header.bg-light.header-sticky {
    background: #fff !important;
    color: #111;
}

body:not(.home):not(.page-template-page-kontakt) #header.bg-light:not(.header-sticky) a {
    color: #fff;
}

/* Dropdown toggle button - biały kolor na ciemnym tle (header nie sticky na podstronach) */
body:not(.home):not(.page-template-page-kontakt) #header.bg-light:not(.header-sticky) .nav-dropdown-toggle {
    color: #fff !important;
}

/* Dropdown toggle button - ciemny kolor gdy header sticky (białe tło) na podstronach */
body:not(.home):not(.page-template-page-kontakt) #header.bg-light.header-sticky .nav-dropdown-toggle {
    color: #111 !important;
}

/* Dropdown toggle button - biały kolor na home i kontakt (ciemne tło) gdy nie sticky */
body.home #header:not(.header-sticky) .nav-dropdown-toggle,
body.page-template-page-kontakt #header:not(.header-sticky) .nav-dropdown-toggle {
    color: #fff !important;
}

/* Dropdown toggle w rozwiniętym menu mobilnym - ciemny tekst na białym tle */
body:not(.home):not(.page-template-page-kontakt) #header.bg-light:not(.header-sticky) .navbar-collapse.show .nav-dropdown-toggle,
body:not(.home):not(.page-template-page-kontakt) #header.bg-light:not(.header-sticky) .navbar-collapse.collapsing .nav-dropdown-toggle,
body.home #header:not(.header-sticky) .navbar-collapse.show .nav-dropdown-toggle,
body.home #header:not(.header-sticky) .navbar-collapse.collapsing .nav-dropdown-toggle,
body.page-template-page-kontakt #header:not(.header-sticky) .navbar-collapse.show .nav-dropdown-toggle,
body.page-template-page-kontakt #header:not(.header-sticky) .navbar-collapse.collapsing .nav-dropdown-toggle {
    color: #111 !important;
}

/* Navbar toggler - usuń border */
.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Navbar toggler (hamburger) - biały TYLKO na podstronach (nie home, nie kontakt) gdy header nie sticky */
body:not(.home):not(.page-template-page-kontakt) #header.bg-light:not(.header-sticky) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#navbar .navbar-nav .dropdown-menu a {
    color: #111 !important;
}

#navbar .navbar-nav .dropdown-menu a.active, #navbar .navbar-nav .dropdown-menu a.dropdown-item:active {
    background-color: #034eff;
    color: #fff !important;
}

.contact__page-header .container,
.services__page-header .container {

    position: relative;
}

.contact__page-header #breadcrumbs,
.contact__page-header #breadcrumbs a {
    color: #6b7280;
    font-size: 0.8rem;
}

.contact-item__link {
    color: #034eff;
}

.contact-item__link:hover {
    color: #cc7f00;
}

.contact__page-header #breadcrumbs a:hover {
    color: #fff;
}

footer .contact-item__link {
    color: #fff;
}

footer .contact-item__link:hover {
    color: #cc7f00;
}

footer .contact__page-header #breadcrumbs a:hover {
    color: #ef9934;
}

footer .text-muted {
    color: #eee !important;
}

.realizacje-hero>.container>.row::after,
.realizacja-hero>.container>.row::after,
.blog-hero>.container>.row::after,
.services__page-header .container::after {
    content: '';
    display: block;
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url('/wp-content/uploads/2025/05/jega-sygnet-orange.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    right: -100px;
    bottom: -150px;
    z-index: 0;
}

.contact__page-header {
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 0px;
}

.services__page-header {
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 30px;
    background: linear-gradient(to bottom right, #034eff, #18409e);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.services__page-header h1 {
    -webkit-text-fill-color: #fff;
    font-weight: bold;
    font-size: 5.5rem;
    line-height: 7rem;
    position: relative;
    z-index: 1;
}

.services__page-header #breadcrumbs {
    position: relative;
    z-index: 1;
}

.realizacja-hero__thumb {
    position: relative;
    z-index: 1;
}

.services__page-header a {
    color: #fff;
}

.services__page-header a:hover {
    color: #ef9934;
}

.services__first_row.arrow-bottom::after {
    left: 5%;
    bottom: -35%;
}

.services__first_row {
    position: relative;
    padding-bottom: 60px !important;
}


.services__steps-counter-title {
    font-size: 3rem;
    line-height: 1.1;
    color: #034eff;
}

.services__steps-counter-content {
    font-size: 1.1rem;
    color: #4b5563;
}

.services__steps-list {
    display: grid;
    gap: 32px;
}

.services__step-card {
    position: relative;
    padding: 15px 15px 0px 30px;
    border: 1px solid #034eff;
    border-radius: 24px;
    background: #fff;
}

.services__step-number {
    position: absolute;
    top: -25px;
    left: -30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #034eff, #1860ff);
    color: #fff;
    font-weight: 300;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}

.services__step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #0f172a;
}

.services__step-text {
    color: #1f2937;
}

.services__counter-wrapper,
.services__counter--wrapper {
    position: relative;
    max-width: 90%;
    margin-left: auto;
    z-index: 1;
}

.services__counter-wrapper::before,
.services__counter--wrapper::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 170px;
    height: 170px;
    background-image: url('/wp-content/themes/jega/assets/img/stats.png');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.services__counter-box {
    background-color: #d7d7d7;
    color: #111;
    border-radius: 32px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.services__counter-pre,
.services__counter-post {
    font-size: 1.125rem;
    letter-spacing: 0.02em;
}

.services__counter-pre {
    margin-bottom: 12px;

}

.services__counter-value {
    font-weight: 700;
    font-size: 12rem;
    line-height: 10rem;
    color: #fff;
    margin-bottom: 0;
}



.services__counter-quote {
    position: absolute;
    right: -100px;
    top: -50px;

    background: linear-gradient(135deg, #ef9934, #ff7f0f);
    color: #fff;
    padding: 24px 28px;
    border-radius: 20px;
    font-weight: 600;
    max-width: 90%;
    box-shadow: 0 20px 40px -32px rgba(239, 153, 52, 0.65);
}

.services__counter-quote p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {

    .services__counter-wrapper,
    .services__counter--wrapper {
        max-width: 100%;
    }

    .services__counter-wrapper::before,
    .services__counter--wrapper::before {
        top: -20px;
        right: -20px;
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 991.98px) {

    .services__counter-wrapper,
    .services__counter--wrapper {
        margin-left: 0;
    }

    .services__counter-quote {
        position: static;
        transform: none;
        margin-top: 24px;
        right: auto;
    }

    .services__counter-wrapper::before,
    .services__counter--wrapper::before {
        top: -16px;
        right: 0;
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 767.98px) {
    .services__step-card {
        padding: 36px 24px 24px;
    }

    .services__step-number {
        left: 24px;
    }

    .services__steps-list {
        gap: 24px;
    }

    .services__counter-box {
        padding: 40px 28px;
    }

    .services__counter-wrapper::before,
    .services__counter--wrapper::before {
        top: -12px;
        right: -4px;
        width: 120px;
        height: 120px;
    }
}

.half-window-right {
    position: absolute;
    right: 0;
    max-width: 47%;
    height: auto;
    width: -webkit-fill-available;
    top: -20px;
    max-height: 600px;

}

.site-footer {
    background: linear-gradient(to bottom right, #034eff, #18409e);
    font-size: 14px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-legal-menu {
    padding-left: 0;
}

.footer-legal-menu li {
    display: inline;
}

.footer-legal-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-legal-menu a:hover {
    text-decoration: underline;
}

.copyright-text {
    font-size: 14px;
    color: #fff;
}

.footer-widget-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-widget .menu a {
    color: #fff;

}

.footer-widget .menu {
    list-style: none;
    padding-left: 5px;
}

.step-circle {
    width: 60px;
    height: 60px;
    border: 3px solid #007bff;
    color: #007bff;
    background-color: #fff;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s;
}

button.nav-link:hover .step-circle {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

button.nav-link.active .step-circle {
    background-color: #ec8900;
    border-color: #ec8900;
    color: #fff;
}

button.nav-link.active .step-title {
    color: #ec8900;
}

.step-title {
    font-weight: 600;
    color: #007bff;
}

.nav-item {
    position: relative;
}

.step-line {
    width: 100%;
    height: 2px;
    border-top: 2px dashed #007bff;
    z-index: -1;
}

.step-line-left {
    width: 50%;
    height: 2px;
    border-top: 2px dashed #007bff;
    z-index: -1;
}

ul.nav li.nav-item button.nav-link {
    margin-right: 0;
    display: inline-block
}

.outline-box {
    padding: 50px;
    background: #fff;
    border-radius: 50px;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 20px;
    /* Odstęp na pseudo-element */
    margin-bottom: 10px;
}

ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 12px;
    height: 5px;
    background-color: #034eff;
    border-radius: 1px;
}

ul.nav li,
.footer-bottom ul li,
header #navbar ul li {
    padding-left: 0;
    margin-bottom: 0;
}

ul.nav li::before,
.footer-bottom ul li::before,
header #navbar ul li::before {
    display: none;
}

ul.nav li.nav-item {
    max-width: 220px;
}

footer ul li::before {
    background-color: #ec8900;
}

.top-30px {
    top: 30px;
}

.outline-box .slick-prev:hover, .outline-box .slick-prev:focus, .outline-box .slick-next:hover, .outline-box .slick-next:focus {

    color: #034eff;
}

.outline-box .slick-arrow {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 30px;
    color: #034eff;
    z-index: 10;
    height: 50px;
    border-radius: 50px;
    background: #fff;
    padding: 15px 5px;
    border: 1px dashed #034eff;
    width: 50px;
}

.outline-box .slick-prev {
    right: 80px;
    top: 50px;
    left: unset;

}

.outline-box .slick-next {
    top: 50px;
    right: 25px;
}

.outline-box .slick-next::before,
.outline-box .slick-prev::before {
    content: '';
}

.outline-box .slick-arrow:hover {
    background-color: #034eff;
    color: #fff;
    border: 1px solid #034eff;
}

h4.header-orange {
    color: #ec8900;
    background: transparent;
    -webkit-background-clip: #ec8900 !important;
    -webkit-text-fill-color: #ec8900 !important;
    font-weight: bold;
    font-size: 1.2rem;

}

.header-before {
    position: relative;
}

.header-before::before {
    content: '';
    display: block;
    position: absolute;
    top: 40px;
    left: -10px;
    transform: translate(-40px, -40px);
    background-image: url('/wp-content/themes/jega/assets/img/jega-fav-orange.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 35px;
    height: 35px;
}

.opinie-slider-section {
    position: relative;
}

.opinie-section-header {
    margin-bottom: 2.5rem;
    row-gap: 1.5rem;
}

.opinie-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    border: 1px solid #034eff;
    color: #034eff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.opinie-all-link:hover,
.opinie-all-link:focus {
    background: #034eff;
    color: #fff;
}

.opinie-all-link span {
    font-size: 1.25rem;
    line-height: 1;
}

.opinie-slider-wrapper {
    position: relative;
}

.slider-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(3, 78, 255, 0.2);
    background: #fff;
    color: #034eff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(13, 38, 59, 0.15);
    transition: all 0.3s ease;
    z-index: 5;
}

.slider-nav-arrow:hover,
.slider-nav-arrow:focus {
    background: #034eff;
    color: #fff;
}

.slider-nav-arrow span {
    font-size: 1.75rem;
    line-height: 1;
}

.slider-nav-arrow.prev-arrow {
    left: -26px;
}

.slider-nav-arrow.next-arrow {
    right: -26px;
}

.opinie-slider-section .slider-nav-arrow.prev-arrow {
    left: -70px;
}

.opinie-slider-section .slider-nav-arrow.next-arrow {
    right: -70px;
}

@media (max-width: 1199.98px) {
    .slider-nav-arrow.prev-arrow {
        left: -10px;
    }

    .slider-nav-arrow.next-arrow {
        right: -10px;
    }
}

@media (max-width: 991.98px) {
    .opinie-section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .slider-nav-arrow {
        width: 44px;
        height: 44px;
    }

    .slider-nav-arrow.prev-arrow {
        left: 8px;
    }

    .slider-nav-arrow.next-arrow {
        right: 8px;
    }

    .opinie-all-link {
        padding: 0.65rem 1.25rem;
    }
}

.opinia-slide {
    background: linear-gradient(45deg, #034eff, #08205d);
    color: #fff;
    height: 100%;
    transition: filter 0.3s ease;
    min-height: 350px;
}

.opinia-slide::after {
    content: '';
    display: block;
    position: absolute;
    width: 120px;
    height: 120px;
    top: -30px;
    right: -10px;
    background-image: url('/wp-content/themes/jega/assets/img/quotes-icon.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.opinia-slide:not(.slick-current) {
    filter: grayscale(100%) brightness(1);
    opacity: 0.4;
}

.opinia-cytat {
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
    padding-right: 150px;
    padding-top: 15px;
    letter-spacing: 1px;
    line-height: 1.9rem;
}

.autor-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-box {
    min-width: 110px;
    min-height: 60px;
}

.opinie-slider-section .slick-slider .slick-list::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(90deg, transparent, #f7f7f7);
}

/* Sekcja 1: cytat + social */
.contact-quote__socials .contact-social {
    text-decoration: none;
}

.contact-quote__socials .contact-social span {
    line-height: 1;
}

/* Sekcja 2: karty kontaktowe */
.contact-card {
    transition: box-shadow .2s ease, transform .2s ease;
    background-color: #fff;
    /* aby ikona była widoczna na jasnym tle */
    background-repeat: no-repeat;
    background-position: right 16px top 16px;
    background-size: 48px auto;
}

.contact-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.contact-card__heading {
    letter-spacing: .02em;
}

.contact-card__link {
    text-decoration: none;
    font-size: 1.1rem !important;
}

/* Sekcja 3: formularz */
.contact-form-wrapper {
    background: #fff;
}

/* --- Styl tylko dla tego szablonu --- */
.onas-wrapper {
    --blue: #0d6efd;
    --blue-600: #0b5ed7;
    --blue-50: #e7f1ff;
}


.white-box {
    background: #fff;
    border-radius: 24px;
    position: relative;
}

.onas-sec1 .white-box::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -70px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: url('/wp-content/uploads/2025/05/jega-icon-red.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
}



.onas-sec1 .title {
    font-weight: 800;
    line-height: 1.15;
}

/* Default page template */
.page-default {
    background-color: #f8f9fb;
}

.page-default__entry {
    background-color: #fff;
    border: 1px solid #f7f7f7;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(13, 38, 59, 0.06);
    padding: clamp(2rem, 4vw, 3.5rem);
    position: relative;
    overflow: hidden;
}

.page-default__entry .edit-link {
    display: inline-block;
    margin-top: 2rem;
}

.onas-sec1 .content p {}

.onas-sec1 .image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.onas-sec1 .highlights .highlight-badge {
    display: inline-block;
    font-size: 5.5rem;
    line-height: 5.5rem;
    font-weight: 700;
    color: #ec8900;
    border-radius: 999px;
    margin-bottom: .5rem;
}

.w-70 {
    max-width: 70%;
    margin: 0px auto;
}

.onas-sec1 .highlights .highlight-desc {
    max-width: 52ch;
    margin: 0 auto;
}

.onas-sec2 .overtitle {
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
    font-weight: 700;
}

.onas-sec2 .title {
    font-weight: 800;
}

.onas-sec2 .items .item-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: .75rem;
}

.onas-trusted .logos {
    display: grid;
    gap: 28px 40px;
    align-items: center;
    justify-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services__faq .faq-title {
    background-color: #fff;
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.services__faq .accordion-item {
    background-color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.services__faq .accordion-button {
    background-color: #fff;
    color: #000;
    font-weight: 600;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}

.services__faq .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #034eff;
}

.services__faq .accordion-button:focus {
    box-shadow: none;
}

.services__faq .accordion-body {
    background-color: #fff;
    color: #000;
    padding: 1.25rem 1.5rem 1.5rem;
}

.services__trusted_row .trusted-logos {
    --bs-gutter-x: 60px;
    --bs-gutter-y: 60px;
}

.services__trusted_row .trusted-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services__trusted_row .trusted-logo-item img {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.services__trusted_row .trusted-logo-item img:hover,
.services__trusted_row .trusted-logo-item img:focus-visible {
    filter: grayscale(0%);
    opacity: 1;
}

/* Blog */
.realizacje-hero,
.realizacja-hero,
.blog-hero {
    position: relative;
    overflow: hidden;

    background: linear-gradient(to bottom right, #034eff, #18409e);
    color: #fff;

}

.blog-hero__title {
    font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
    line-height: 1.1;
    background: unset;
-webkit-background-clip: unset;
-webkit-text-fill-color: unset;
    color: #fff;
}

.blog-hero__description {
    color: #4f5d75;
    max-width: 720px;
}

.blog-hero__search {
    background: #ffffff;
    border: 1px solid rgba(3, 78, 255, 0.12);
    box-shadow: 0 24px 48px rgba(3, 78, 255, 0.08);
    position: relative;
    z-index: 5;
}

.blog-hero__search .input-group-text {
    color: #034eff;
}

.blog-hero__search .form-control {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0;
    font-size: 1rem;
}

.blog-hero__search .form-control:focus {
    outline: none;
    box-shadow: none;
}

.blog-hero__search .btn {
    font-weight: 600;
    box-shadow: none;
}

.blog-hero__filters {}

.blog-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(3, 78, 255, 0.18);
    background: rgba(3, 78, 255, 0.08);
    color: #034eff;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
}

.blog-filter-chip:hover,
.blog-filter-chip:focus {
    background: #034eff;
    color: #ffffff;
    border-color: #034eff;
}

.blog-filter-chip.is-active {
    background: #034eff;
    color: #ffffff;
    border-color: #034eff;
}

.blog-grid {
    margin-top: 0;
}

.blog-card {
    background: #ffffff;
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
}

.blog-card__thumb img {
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.05);
}

.blog-card__body {
    background: #ffffff;
}

.blog-card__category {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    background: rgba(3, 78, 255, 0.12);
    color: #034eff;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-card__category:hover,
.blog-card__category:focus {
    background: #034eff;
    color: #ffffff;
}

.blog-card__excerpt {
    line-height: 1.6;
}

.blog-card__meta {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

.blog-card__meta-item svg {
    color: #034eff;
}

.blog-hero__meta {
    gap: 1rem;
}

.blog-hero__meta-item {
    padding: 5px 10px;
    text-align: center;
}

.blog-hero__meta-item .blog-meta-label {
    display: block;
    font-size: 0.68rem;
    line-height: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a2abb3;
    margin-bottom: 0;
}

.blog-hero__author-card .text-muted {
    color: #a2abb3 !important;
}

.blog-hero__meta-item .blog-meta-value {
    font-weight: 300;
    color: #fff;
}

.blog-hero__meta-item a.blog-meta-value {
    color: #fff;
    text-decoration: none;
}

.blog-hero__meta-item a.blog-meta-value:hover {
    color: #ec8900;
}

.archive.author .blog-hero__search {
    display: none;
}

.single-article__chips .badge {
    background: rgba(3, 78, 255, 0.1);
    color: #034eff;
    font-weight: 600;
}

.single-article__featured {
    position: relative;
}

.single-article__figure img {
    object-fit: cover;
    border-radius: 28px;
}

.single-article__figure-caption {
    color: #6c757d;
}

.single-article__body {
    background: #ffffff;
    border-radius: 32px;
    margin-top: 0 !important;
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.08);
}

.single-article__body>*:first-child {
    margin-top: 0;
}

.single-article__body img {
    border-radius: 20px;
}

.single-article__footer {
    background: #ffffff;
}

.author-card {
    border: 1px solid rgba(3, 78, 255, 0.12);
    box-shadow: 0 24px 48px rgba(3, 78, 255, 0.08);
}

.author-card__bio p:last-child {
    margin-bottom: 0;
}

.blog-nav-card {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.75rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(3, 78, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-nav-card--next {
    align-items: flex-end;
    text-align: right;
}

.blog-nav-card__icon {
    font-size: 1.5rem;
    color: #034eff;
}

.blog-nav-card__label {
    letter-spacing: 0.08em;
}

.blog-nav-card:hover,
.blog-nav-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
}

.blog-empty-state__card {
    border: 1px solid rgba(3, 78, 255, 0.12);
}

.blog-empty-state__icon {
    font-size: 2.5rem;
}

/* Realizacje */

.realizacja-hero__title,
.realizacje-hero__title {
    font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
    line-height: 1.1;
    color: #fff;
background: unset;
-webkit-background-clip: unset;
-webkit-text-fill-color: unset;
}

.realizacje-hero__description {
    color: #4f5d75;
    max-width: 720px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(3, 78, 255, 0.18);
    background: rgba(3, 78, 255, 0.08);
    color: #034eff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.filter-chip:hover,
.filter-chip:focus {
    background: #034eff;
    color: #ffffff;
    border-color: #034eff;
}

.filter-chip.is-active {
    background: #034eff;
    color: #ffffff;
    border-color: #034eff;
}

.realizacja-card {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.realizacja-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.14);
}

.realizacja-card__media {
    position: relative;
    width: 100%;
    height: 100%;
}

.realizacja-card__placeholder {
    background: rgba(0, 0, 0, 0.05);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.realizacja-card__logo {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.realizacja-card__logo-inner {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 160px;
}

.realizacja-card__logo-inner img {
    max-height: 42px;
    width: auto;
}

.realizacja-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    opacity: 0;
    background: linear-gradient(180deg, rgba(3, 78, 255, 0.85) 0%, rgba(3, 78, 255, 0.95) 100%);
    transition: transform 0.35s ease, opacity 0.35s ease;
    padding: 28px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}

.realizacja-card:hover .realizacja-card__overlay {
    transform: translateY(0);
    opacity: 1;
}

.realizacja-card__overlay-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.realizacja-card__meta .badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.realizacja-card__title {
    color: #ffffff;
background: unset;
-webkit-background-clip: unset;
-webkit-text-fill-color: unset;
}

.realizacja-card__icon {
    font-size: 1.75rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.realizacja-card:hover .realizacja-card__icon {
    transform: translateX(8px);
}

.realizacja-project-box {
    background: linear-gradient(135deg, #034eff, #5988ff);
    color: #ffffff;
    box-shadow: 0 24px 48px rgba(3, 78, 255, 0.25);
}

.realizacja-project-box h2 {
       color: #ffffff;
background: unset;
-webkit-background-clip: unset;
-webkit-text-fill-color: unset; 
}

.realizacja-client__card {
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08);
}

.realizacja-section__inner {
    /* background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.08); */
}

.realizacja-gallery {
    display: grid;
    gap: 24px;
}

.realizacja-gallery--grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.realizacja-gallery--full {
    grid-template-columns: 1fr;
}

.realizacja-gallery__item img {
    border-radius: 20px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
}

.realizacja-intro__logo img {
    max-height: 80px;
    width: auto;
}

.realizacja-hero__thumb img {
    transition: transform 0.3s ease;
}

.realizacja-hero__thumb:hover img {
    transform: scale(1.03);
}

.uslugi-sekcja .row .col-md-4 {
    margin-bottom: 25px;
}

@media (max-width: 991.98px) {
    .realizacja-project-box {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .filter-chip {
        padding: 0.4rem 1rem;
    }

    .realizacja-card__overlay {
        padding: 20px;
    }
}

@media (max-width: 991.98px) {
    .blog-hero__search {
        padding: 1.5rem;
    }

    .blog-hero__meta {
        gap: 0.75rem;
    }

    .blog-hero__meta-item {
        min-width: 0;
        width: 100%;
    }

    .blog-nav-card {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .blog-filter-chip {
        padding: 0.4rem 1rem;
    }

    .single-article__body {
        padding: 1.75rem;
    }
}

@media (min-width:576px) {
    .onas-trusted .logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width:992px) {
    .onas-trusted .logos {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 36px 48px;
    }
}

.onas-trusted .logos img {
    max-height: 56px;
    width: auto;
    opacity: .85;
    filter: grayscale(100%);
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.onas-trusted .logos img:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-2px);
}

.onas-cta {
    background: linear-gradient(145deg, var(--blue), var(--blue-600));
    color: #fff;
    border-radius: 20px;
}

.onas-cta .btn-cta {
    background: #fff;
    color: var(--blue);
    font-weight: 700;
    border: none;
}

.onas-cta .btn-cta:hover {
    background: #f3f4f6;
    color: var(--blue-600);
}

/* Drobne ujednolicenia */
.onas-wrapper .lead {
    font-size: 1.125rem;
}

.cf7-grid {
    display: grid;
    gap: 16px;
}

.cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.cf7-col {
    display: block;
}

.cf7-col-full {
    grid-column: 1 / -1;
}

.cf7-consents label, .cf7-consents span.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 form .form-control {
    width: 100%;
}

.wpcf7 form input[type="text"], .wpcf7 form textarea {
    width: 100% !important;
}

.cf7-col p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cf7-row {
        grid-template-columns: 1fr;
    }
}

ul.list-unstyled li {
    padding-left: 0;
}

ul.list-unstyled li::before {
    display: none;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form-wrapper::after {
    content: '';
    display: block;
    position: absolute;
    top: -30px;
    right: -40px;
    width: 100px;
    height: 100px;
    background-image: url('/wp-content/themes/jega/assets/img/jega-fav-orange.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
}

/* Sekcja: Jak działamy */
.jak-dzialamy .jd-image-wrap {
    /* trzymamy proporcję tylko obrazkiem; kontener standardowy bootstrapowy ogarnie szerokość */
    position: relative;
}

.jak-dzialamy .jd-hero-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    /* spójnie z rounded-3 */
}

/* Biały box nasunięty ~30% wysokości obrazka */
.jak-dzialamy .jd-floating-card {
    margin-top: -10%;
    /* overlap */
    position: relative;
    z-index: 2;
}


input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
textarea.form-control {
    width: 100%;
    border: 0px;
    box-shadow: none;
    border-bottom: 1px solid #111;
    border-radius: 0px;
}

textarea {
    height: 120px;
}

label {
    font-size: 0.8rem;
    color: #cc7f00;
    width: 100%;

}

label .wpcf7-list-item-label {
    color: #111;
}


.branze-opinie-slider li button {
    display: none !important;
}

.branze-opinie-slider li.slick-active::before {
    background-color: #cc7f00;
}

.page-id-1820 h1.page-title {
    font-size: 2.5rem;
    line-height: 3.5rem;
}

/* Responsywne korekty overlapu */
@media (max-width: 991.98px) {
    .jak-dzialamy .jd-floating-card {
        margin-top: -22%;
    }
}

@media (max-width: 767.98px) {
    .jak-dzialamy .jd-floating-card {
        margin-top: -15%;
    }
}

@media (max-width: 575.98px) {
    .jak-dzialamy .jd-floating-card {
        margin-top: -10%;
        padding: 1.25rem;
        /* ciaśniej na mobile */
    }
}

/* Wyróżniki — bez tła/ramki, czytelne odstępy */
.jak-dzialamy .jd-feature .jd-bullet {
    font-size: 1.5rem;
    /* większa kropka */
    line-height: 1;
    color: var(--bs-primary);
    /* niebieski z bootstrap/brand */
    display: inline-block;
    transform: translateY(2px);
}

.services__what-we-do-item {
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    background-color: #f8f9fa;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}

.services__what-we-do-icon {
    width: 72px;
    height: 72px;
    border-radius: 1rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(17, 17, 17, 0.08);
}

.services__what-we-do-icon img {
    max-width: 48px;
    max-height: 48px;
    width: auto;
    height: auto;
}

.services__what-we-do-text {
    color: #111;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .services__what-we-do-item {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .services__what-we-do-item {
        padding: 1.25rem 1rem;
    }

    .services__what-we-do-icon {
        width: 60px;
        height: 60px;
        border-radius: 0.75rem;
    }

    .services__what-we-do-icon img {
        max-width: 40px;
        max-height: 40px;
    }
}

.services__fourth-simple-steps {
    counter-reset: services-fourth-step;
}
.services__fourth-simple-steps .services__fourth-simple-step-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.services__fourth-simple-steps .services__fourth-simple-step-header {
    margin-bottom: 15px;
}
.services__fourth-simple-step-content h5 {
    font-weight: 300;
    font-size: 1.2rem;
    color: #007bff;
}
.services__fourth-simple-step-content strong {
    font-weight: bold;
}
.services__fourth-simple-sidebar {
    position: sticky;
    top: 120px;
}

@media (max-width: 991.98px) {
    .services__fourth-simple-sidebar {
        position: static;
        top: auto;
        margin-bottom: 2rem;
    }
}

.services__fourth-simple-step {
    padding: 1.75rem;
    border-radius: 1.5rem;
    background-color: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.04);
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
}

.services__fourth-simple-step-number {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    background-color: #cc7f00;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services__fourth-simple-step-heading {
    color: #111;
}

.services__fourth-simple-step-content {
    color: #555;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .services__fourth-simple-step {
        padding: 1.5rem;
    }

    .services__fourth-simple-sidebar {
        position: static;
        top: auto;
    }

    .services__fourth-simple-step-number {
        width: 46px;
        height: 46px;
        border-radius: 0.9rem;
        font-size: 1rem;
    }
}

/* ====================================
   MARKETING INTERNETOWY - EXPANDABLE TILES
   ==================================== */

.marketing-uslugi-sekcja {
    position: relative;
    overflow: visible;
}

.marketing-uslugi-grid {
    position: relative;
}

.marketing-usluga-col {
    position: relative;
    z-index: 1;
    transition: z-index 0s;
}

.marketing-usluga-col::after {
    content: '';
    display: block;
    height: 0;
    opacity: 0;
    pointer-events: none;

}

.marketing-usluga-col:hover::after {
    height: 280px;
}

.marketing-usluga-blok {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    min-height: 280px;
    overflow: hidden;
    position: relative;
    color: #000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.marketing-usluga-blok .usluga-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    z-index: 2;
    transition: none;
}

.marketing-usluga-blok .usluga-hover-image {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.marketing-usluga-blok .usluga-hover-image img {
    width: 250px;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Hover state for desktop */
@media (min-width: 768px) {
    .marketing-usluga-col:hover {
        z-index: 10;
        transition: z-index 0s 0s;
    }

    .marketing-usluga-col {
        overflow: visible;
    }

    .marketing-usluga-blok {
        height: 100%;
    }

    .marketing-usluga-blok:hover {
        position: absolute !important;
        width: calc(180% - 15px) !important;
        background: linear-gradient(135deg, #ef9934 0%, #e67e22 100%);
        box-shadow: 0 20px 60px rgba(239, 153, 52, 0.4);
        z-index: 10;
        top: 0;
        transition-delay: 0.3s;
    }

    /* Dla ostatniego w wierszu - rozszerzaj w lewo */
    .marketing-usluga-col.last-in-row .marketing-usluga-blok:hover {
        right: 0;
        left: auto;
        flex-direction: row-reverse;
    }

    /* Dla innych - rozszerzaj w prawo */
    .marketing-usluga-col:not(.last-in-row) .marketing-usluga-blok:hover {
        left: 0;
        flex-direction: row;
    }

    .marketing-usluga-blok:hover .usluga-content {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }

    .marketing-usluga-blok:hover .usluga-hover-image {
        display: block;
        flex: 0 0 50%;
        width: 50%;
        text-align: center;
        opacity: 1;
        padding: 0 1rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0.3s;
    }

    .marketing-usluga-blok .usluga-tytul,
    .marketing-usluga-blok .usluga-opis,
    .marketing-usluga-blok .usluga-strzalka {
        transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .marketing-usluga-blok:hover .usluga-tytul,
    .marketing-usluga-blok:hover .usluga-opis,
    .marketing-usluga-blok:hover .usluga-strzalka {
        color: #fff;
    }

    .marketing-usluga-blok .usluga-ikona-gradient {
        transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .marketing-usluga-blok:hover .usluga-ikona-gradient {
        background: rgba(255, 255, 255, 0.2);
    }
}

/* Mobile styles - gradient background on hover/active */
@media (max-width: 767px) {
    .marketing-usluga-blok {
        flex-direction: column;
    }

    .marketing-usluga-blok:active,
    .marketing-usluga-blok:focus {
        background: linear-gradient(135deg, #ef9934 0%, #e67e22 100%);
    }

    .marketing-usluga-blok:active .usluga-tytul,
    .marketing-usluga-blok:active .usluga-opis,
    .marketing-usluga-blok:active .usluga-strzalka,
    .marketing-usluga-blok:focus .usluga-tytul,
    .marketing-usluga-blok:focus .usluga-opis,
    .marketing-usluga-blok:focus .usluga-strzalka {
        color: #fff !important;
    }

    .marketing-usluga-blok .usluga-hover-image {
        display: none;
    }
}

.floating-contact {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: inherit;
}

.floating-contact__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #cc7f00;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.floating-contact__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 0;
    padding: 0.6rem 0;
    background: #ffffff;
    color: #0d1c3b;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(12px);
    margin-right: 0;
    pointer-events: none;
    transition: max-width 0.3s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease, margin-right 0.3s ease;
}

.floating-contact:hover .floating-contact__icon,
.floating-contact:focus-visible .floating-contact__icon {
    background: #034eff;
    transform: translateY(-2px);
}

.floating-contact:hover .floating-contact__label,
.floating-contact:focus-visible .floating-contact__label {
    max-width: 220px;
    padding: 0.6rem 1.25rem;
    opacity: 1;
    transform: translateX(0);
    margin-right: 0.75rem;
}

@media (max-width: 575.98px) {
    .floating-contact {
        right: 1rem;
        bottom: 1rem;
    }

    .floating-contact__icon {
        width: 3rem;
        height: 3rem;
    }

    .floating-contact:hover .floating-contact__label,
    .floating-contact:focus-visible .floating-contact__label {
        margin-right: 0.5rem;
    }
}

/* ============================================
   Strona Opinie - Nowoczesny Design
   ============================================ */



.opinie-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Karta opinii */
.opinia-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.opinia-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.opinia-card__inner {
    padding: 2.5rem;
}

/* Cytat promowany */
.opinia-card__quote {
    margin-bottom: 2rem;
    position: relative;
}

.opinia-card__quote-icon {
    color: #034eff;
    opacity: 0.15;
    margin-bottom: 1rem;
}

.opinia-card__quote-text {
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 500;
    color: #0d1c3b;
    margin: 0;
    padding-left: 1.5rem;
    border-left: 4px solid #034eff;
    font-style: italic;
}

/* Treść opinii */
.opinia-card__content {
    font-size: 1rem;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 2rem;
}

.opinia-card__content p:last-child {
    margin-bottom: 0;
}

/* Footer karty */
.opinia-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Informacje o autorze */
.opinia-card__author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.opinia-card__author-avatar {
    flex-shrink: 0;
}

.opinia-card__avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f4ff;
}

.opinia-card__avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
}

.opinia-card__author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.opinia-card__author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0d1c3b;
    line-height: 1.4;
}

.opinia-card__author-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.opinia-card__position {
    font-weight: 400;
}

.opinia-card__separator {
    color: #d1d5db;
}

.opinia-card__company {
    font-weight: 500;
    color: #034eff;
}

/* Logo firmy */
.opinia-card__company-logo {
    flex-shrink: 0;
    max-width: 120px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opinia-card__logo-img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.opinia-card:hover .opinia-card__logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Loader */
#opinie-loader {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#opinie-loader.active {
    opacity: 1;
}

/* End message */
#opinie-end-message {
    font-size: 1.125rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Responsywność */
@media (max-width: 767.98px) {
    .opinia-card__inner {
        padding: 1.5rem;
    }

    .opinia-card__quote-text {
        font-size: 1.125rem;
        padding-left: 1rem;
        border-left-width: 3px;
    }

    .opinia-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .opinia-card__author-info {
        width: 100%;
    }

    .opinia-card__company-logo {
        align-self: flex-start;
        max-width: 100px;
    }

    .opinia-card__logo-img {
        max-height: 40px;
    }

    .opinia-card__avatar-img,
    .opinia-card__avatar-placeholder {
        width: 50px;
        height: 50px;
    }

    .opinia-card__author-name {
        font-size: 1rem;
    }

    .opinia-card__author-meta {
        font-size: 0.8125rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .opinie-list {
        gap: 1.5rem;
    }

    .opinia-card__inner {
        padding: 1.25rem;
    }

    .opinia-card__quote-text {
        font-size: 1rem;
    }

    .opinia-card__content {
        font-size: 0.9375rem;
    }
}

/* ============================================
   NOWOCZESNY REDESIGN COUNTER WRAPPER
   ============================================ */

.services__counter-wrapper,
.services__counter--wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1;
}

/* Dekoracyjny gradient w tle */
.services__counter-wrapper::before,
.services__counter--wrapper::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 280px;
    height: 280px;
    background: linear-gradient(to bottom right, rgba(255, 188, 3, 1), rgba(230, 126, 33, 1));
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: pulse-soft 4s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* Główny box z licznikiem */
.services__counter-box {
background: linear-gradient(to bottom right, #fbfbfb, #99c2ff);
color: #383838;
    border-radius: 28px;
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services__counter-box:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Animowany wykres wzrostu w tle */
.services__counter-box::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
    z-index: 0;
    background-image:
        linear-gradient(to top, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.25) 100%),
        linear-gradient(to top, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.25) 100%),
        linear-gradient(to top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.3) 100%),
        linear-gradient(to top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.3) 100%),
        linear-gradient(to top, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.35) 100%),
        linear-gradient(to top, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.4) 100%);
    background-size:
        12% 0%,
        12% 0%,
        12% 0%,
        12% 0%,
        12% 0%,
        12% 0%;
    background-position:
        8% bottom,
        24% bottom,
        40% bottom,
        56% bottom,
        72% bottom,
        88% bottom;
    background-repeat: no-repeat;
    animation: none; /* Animacja startuje przez JS */
}

/* Animacja aktywowana przez JS */
.services__counter-box.animate-bars::before {
    animation: growBars 2s ease-out 0.3s forwards;
}

@keyframes growBars {
    to {
        background-size:
            12% 25%,
            12% 40%,
            12% 55%,
            12% 65%,
            12% 80%,
            12% 95%;
    }
}

/* Subtelne światło w tle */
.services__counter-box::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Tekst przed licznikiem */
.services__counter-pre {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
    opacity: 0.95;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Główna wartość licznika */
.services__counter-value {
    font-weight: 800;
    font-size: 10rem;
    line-height: 1;
    color: #e67e22;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.02em;
}

/* Tekst po liczniku */
.services__counter-post {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

/* Quote box - nowoczesna karta */
.services__counter-quote {
    position: relative;
    margin-top: 32px;
    background: #ffffff;
    color: #1f2937;
    padding: 32px 36px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1.0625rem;
    line-height: 1.7;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #034eff;
    transition: all 0.3s ease;
}

.services__counter-quote:hover {
    box-shadow:
        0 16px 50px rgba(0, 0, 0, 0.12),
        0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Ikona cudzysłowu w quote */
.services__counter-quote::before {
    content: "\201C";
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    font-weight: 700;
    color: #034eff;
    opacity: 0.12;
    line-height: 1;
    font-family: Georgia, serif;
}

.services__counter-quote p {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.services__counter-quote p:last-child {
    margin-bottom: 0;
}

/* Responsywność dla counter wrapper */
@media (max-width: 1199.98px) {
    .services__counter-wrapper::before,
    .services__counter--wrapper::before {
        width: 240px;
        height: 240px;
        top: -30px;
        right: -30px;
    }

    .services__counter-value {
        font-size: 8rem;
    }
}

@media (max-width: 991.98px) {
    .services__counter-wrapper,
    .services__counter--wrapper {
        margin-top: 32px;
    }

    .services__counter-box {
        padding: 48px 40px;
    }

    .services__counter-value {
        font-size: 7rem;
    }

    .services__counter-quote {
        position: relative;
        margin-top: 24px;
    }

    .services__counter-wrapper::before,
    .services__counter--wrapper::before {
        width: 200px;
        height: 200px;
        top: -20px;
        right: -20px;
    }
}

@media (max-width: 767.98px) {
    .services__counter-box {
        padding: 40px 32px;
    }

    .services__counter-pre {
        font-size: 1.125rem;
    }

    .services__counter-value {
        font-size: 5rem;
    }

    .services__counter-post {
        font-size: 1.25rem;
    }

    .services__counter-quote {
        padding: 24px 28px;
        font-size: 1rem;
    }

    .services__counter-wrapper::before,
    .services__counter--wrapper::before {
        width: 160px;
        height: 160px;
        top: -15px;
        right: -15px;
    }
}

@media (max-width: 575.98px) {
    .services__counter-box {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .services__counter-pre {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .services__counter-value {
        font-size: 4rem;
    }

    .services__counter-post {
        font-size: 1.125rem;
    }

    .services__counter-quote {
        padding: 20px 24px;
        font-size: 0.9375rem;
        border-radius: 16px;
    }

    .services__counter-quote::before {
        font-size: 3rem;
        top: 12px;
        right: 16px;
    }

    .services__counter-wrapper::before,
    .services__counter--wrapper::before {
        width: 120px;
        height: 120px;
        top: -10px;
        right: -10px;
    }
}
/* Styles for page-dla-kogo-branza.php - services__second_row with icons */
.services__second_row--branza .wyroznik-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef9934, #ff7f0f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.services__second_row--branza .wyroznik-icon {
    max-width: 45px;
    max-height: 45px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1); /* Ensures white color for icons */
}

.services__second_row--branza .col > div {
    border: none !important;
}

@media (max-width: 767.98px) {
    .services__second_row--branza .wyroznik-icon-wrap {
        width: 60px;
        height: 60px;
    }
    
    .services__second_row--branza .wyroznik-icon {
        max-width: 35px;
        max-height: 35px;
    }
}

/* Styles for branza__fourth_section - Custom feature cards */
.branza__fourth_section {
    position: relative;
}

.branza__feature-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branza__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.branza__feature-number {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #ef9934, #ff7f0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.branza__feature-title {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.4;
    color: #333;
    margin-bottom: 1rem;
}

.branza__feature-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 767.98px) {
    .branza__feature-number {
        font-size: 2.5rem;
    }
    
    .branza__feature-title {
        font-size: 1.1rem;
    }
    
    .branza__feature-text {
        font-size: 0.875rem;
    }
}

/* Slider opinii - dodatkowe style dla zgodności */
.branze-opinie-slider .slick-list {
    overflow: visible;
    padding: 20px 0 !important;
}

.branze-opinie-slider .slick-slide {
    height: auto;
}

.branze-opinie-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.branze-opinie-slider .slick-slide > div {
    height: 100%;
}

/* Dots dla slidera branży */
.branze-opinie-slider .slick-dots {
    bottom: -50px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.branze-opinie-slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
    position: relative;
}

.branze-opinie-slider .slick-dots li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    transition: background-color 0.3s ease;
}

.branze-opinie-slider .slick-dots li.slick-active::before {
    background: linear-gradient(135deg, #ef9934, #ff7f0f);
}

/* Arrows dla slidera */
.branze-opinie-slider .slick-prev,
.branze-opinie-slider .slick-next {
    width: 44px;
    height: 44px;
    z-index: 10;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.branze-opinie-slider .slick-prev:hover,
.branze-opinie-slider .slick-next:hover {
    background: linear-gradient(135deg, #ef9934, #ff7f0f);
    box-shadow: 0 4px 12px rgba(239, 153, 52, 0.3);
}

.branze-opinie-slider .slick-prev:before,
.branze-opinie-slider .slick-next:before {
    font-size: 20px;
    opacity: 0.75;
}

.branze-opinie-slider .slick-prev {
    left: -20px;
}

.branze-opinie-slider .slick-next {
    right: -20px;
}

@media (max-width: 991.98px) {
    .branze-opinie-slider .slick-prev {
        left: 0;
    }
    
    .branze-opinie-slider .slick-next {
        right: 0;
    }
}

/* Slider opinii na stronie głównej - 2 slajdy na ekranie */
.homepage-opinie-slider {
    margin-top: 2rem;
}

.homepage-opinie-slider .slick-list {
    overflow: hidden;
    padding: 20px 0 !important;
}

.homepage-opinie-slider .slick-slide {
    height: auto;
}

.homepage-opinie-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.homepage-opinie-slider .slick-slide > div {
    height: 100%;
}

/* Dots dla slidera strony głównej */
.homepage-opinie-slider .slick-dots {
    bottom: -50px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.homepage-opinie-slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
    position: relative;
}

.homepage-opinie-slider .slick-dots li button {
    display: none !important;
}

.homepage-opinie-slider .slick-dots li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    transition: background-color 0.3s ease;
}

.homepage-opinie-slider .slick-dots li.slick-active::before {
    background: linear-gradient(135deg, #ef9934, #ff7f0f);
}

/* Arrows dla slidera strony głównej */
.homepage-opinie-slider .slick-prev,
.homepage-opinie-slider .slick-next {
    width: 44px;
    height: 44px;
    z-index: 10;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.homepage-opinie-slider .slick-prev:hover,
.homepage-opinie-slider .slick-next:hover {
    background: linear-gradient(135deg, #ef9934, #ff7f0f);
    box-shadow: 0 4px 12px rgba(239, 153, 52, 0.3);
}

.homepage-opinie-slider .slick-prev:before,
.homepage-opinie-slider .slick-next:before {
    font-size: 20px;
    opacity: 0.75;
    color: #333;
}

.homepage-opinie-slider .slick-prev:hover:before,
.homepage-opinie-slider .slick-next:hover:before {
    color: white;
}

.homepage-opinie-slider .slick-prev {
    left: -22px;
}

.homepage-opinie-slider .slick-next {
    right: -22px;
}

@media (max-width: 991.98px) {
    .homepage-opinie-slider .slick-prev {
        left: 0;
    }
    
    .homepage-opinie-slider .slick-next {
        right: 0;
    }
}

/* Responsywność przycisku "Zobacz wszystkie" */
@media (max-width: 767.98px) {
    .opinie-section-header .col-auto,
    .opinie .row.align-items-center .col-auto {
        margin-top: 1rem;
        width: 100%;
    }
    
    .opinie-section-header .col-auto .btn,
    .opinie .row.align-items-center .col-auto .btn {
        width: 100%;
        text-align: center;
    }
}

/* Ukryj pełną treść opinii na stronie głównej - zostaw tylko cytat */
.homepage-opinie-slider .opinia-card__content {
    display: none;
}

/* Dostosuj spacing gdy brak treści */
.homepage-opinie-slider .opinia-card__quote {
    margin-bottom: 2rem;
}

/* Sekcja realizacji - slider na page-uslugi.php */
.services__realizacje {
    position: relative;
    overflow: hidden;
}

.realizacje-slider-wrapper {
    position: relative;
    margin: 0 -15px;
}

.realizacja-slide {
    padding: 0 15px;
}

.realizacja-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.realizacja-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.realizacja-card__image {
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: #f5f5f5;
}

.realizacja-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.realizacja-card:hover .realizacja-card__image img {
    transform: scale(1.05);
}

.realizacja-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 153, 52, 0.9), rgba(255, 127, 15, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.realizacja-card:hover .realizacja-card__overlay {
    opacity: 1;
}

.realizacja-card__link {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    padding: 12px 32px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.realizacja-card__link:hover {
    background: #ffffff;
    color: #ef9934;
}

.realizacja-card__content {
    padding: 1.5rem;
}

.realizacja-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.realizacja-card__title a {
    color: #0d1c3b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.realizacja-card__title a:hover {
    color: #ef9934;
}

.realizacja-card__excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Slick arrows dla realizacji */
.realizacje-slider .slick-prev,
.realizacje-slider .slick-next {
    width: 48px;
    height: 48px;
    z-index: 10;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.realizacje-slider .slick-prev:hover,
.realizacje-slider .slick-next:hover {
    background: linear-gradient(135deg, #ef9934, #ff7f0f);
    box-shadow: 0 4px 16px rgba(239, 153, 52, 0.4);
}

.realizacje-slider .slick-prev:before,
.realizacje-slider .slick-next:before {
    font-size: 24px;
    opacity: 0.75;
    color: #333;
}

.realizacje-slider .slick-prev:hover:before,
.realizacje-slider .slick-next:hover:before {
    color: white;
}

.realizacje-slider .slick-prev {
    left: -24px;
}

.realizacje-slider .slick-next {
    right: -24px;
}

/* Dots */
.realizacje-slider .slick-dots {
    bottom: -45px;
}

.realizacje-slider .slick-dots li button:before {
    font-size: 12px;
    color: #ddd;
}

.realizacje-slider .slick-dots li.slick-active button:before {
    color: #ef9934;
}

/* Responsywność */
@media (max-width: 991.98px) {
    .realizacje-slider .slick-prev {
        left: 10px;
    }
    
    .realizacje-slider .slick-next {
        right: 10px;
    }
    
    .realizacja-card__title {
        font-size: 1.125rem;
    }
}

@media (max-width: 767.98px) {
    .realizacja-card__content {
        padding: 1.25rem;
    }
    
    .realizacja-card__title {
        font-size: 1rem;
    }
    
    .realizacja-card__excerpt {
        font-size: 0.875rem;
    }
}

/* Automatyczne zmniejszanie długich tytułów w services__page-header */
.services__page-header h1.page-title {
    font-size: 5.5rem;
    line-height: 1.5;
}

/* Dla długich tytułów (powyżej 40 znaków) - zmniejszona czcionka */
.services__page-header h1.page-title[data-long-title] {
    font-size: 3.5rem;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .services__page-header h1.page-title {
        font-size: 2.5rem;
    }
    
    .services__page-header h1.page-title[data-long-title] {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .services__page-header h1.page-title {
        font-size: 2rem;
    }
    
    .services__page-header h1.page-title[data-long-title] {
        font-size: 1.75rem;
    }
}

/* Nadpisanie poprzednich stylów - responsywne nagłówki z klasami PHP */
.services__page-header h1.page-title {
    font-size: 4.5rem;
    line-height: 1.2;
}

/* Długie tytuły (>= 15 znaków) */
.services__page-header h1.page-title.long-title {
    font-size: 3.5rem;
    line-height: 1.3;
}

/* Bardzo długie tytuły (>= 22 znaków) */
.services__page-header h1.page-title.extra-long-title {
    font-size: 2.8rem;
    line-height: 1.3;
}

/* Mniejsze rozmiary dla pojedynczych wpisów blogowych */
.blog-hero__title.long-title {
    font-size: 1.75rem;
    line-height: 1.3;
}
.realizacja-hero__title.extra-long-title,
.blog-hero__title.extra-long-title {
    font-size: 2.4rem;
    line-height: 1.3;
}

/* Mniejsze rozmiary dla pojedynczych realizacji */
.realizacje-hero__title.extra-long-title,
.realizacja-hero__title.long-title,
.realizacje-hero__title.long-title {
    font-size: 2.4rem;
    line-height: 1.3;
}



@media (max-width: 991.98px) {
    .services__page-header h1.page-title {
        font-size: 3rem;
    }
    
    .services__page-header h1.page-title.long-title {
        font-size: 2.5rem;
    }

    .services__page-header h1.page-title.extra-long-title {
        font-size: 2.2rem;
    }

    /* Dla blogów i realizacji na tabletach */
    .blog-hero__title.long-title {
        font-size: 1.5rem;
    }

    .blog-hero__title.extra-long-title {
        font-size: 1.25rem;
    }

    .realizacja-hero__title.long-title,
    .realizacje-hero__title.long-title {
        font-size: 1.5rem;
    }

    .realizacja-hero__title.extra-long-title,
    .realizacje-hero__title.extra-long-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .services__page-header h1.page-title {
        font-size: 2rem;
    }
    
    .services__page-header h1.page-title.long-title {
        font-size: 1.75rem;
    }

    .services__page-header h1.page-title.extra-long-title {
        font-size: 1.5rem;
    }

    /* Dla blogów i realizacji na mobile */
    .blog-hero__title.long-title {
        font-size: 1.25rem;
    }

    .blog-hero__title.extra-long-title {
        font-size: 1.1rem;
    }

    .realizacja-hero__title.long-title,
    .realizacje-hero__title.long-title {
        font-size: 1.25rem;
    }

    .realizacja-hero__title.extra-long-title,
    .realizacje-hero__title.extra-long-title {
        font-size: 1.1rem;
    }
}

/* ===================================
   404 ERROR PAGE
   =================================== */

/* Gradient w headerze tylko na stronie 404 (gdy nie jest sticky) */
body.error404 #header.bg-light:not(.is-sticky) {
    background: linear-gradient(to bottom right, #034eff, #18409e) !important;
}

.error-404-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.error-404-number {
    font-size: 10rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ef9934, #ff7f0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.error-404-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.error-404-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.error-404-actions {
    margin-bottom: 3rem;
}

.error-404-actions .btn {
    min-width: 200px;
    padding: 0.875rem 2rem;
}

.error-404-actions .btn-outline-primary {
    border: 2px solid #ef9934;
    color: #ef9934;
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.error-404-actions .btn-outline-primary:hover {
    background: #ef9934;
    color: #fff;
    border-color: #ef9934;
}

.error-404-links h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
}

.error-404-link-card {
    display: block;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 15px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.error-404-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(239, 153, 52, 0.2);
    color: #ef9934;
}

.error-404-link-card svg {
    color: #ef9934;
    margin-bottom: 1rem;
}

.error-404-link-card h4 {
    font-size: 1.25rem;
    color: inherit;
    transition: color 0.3s ease;
}

.error-404-link-card p {
    color: #666;
    font-size: 0.9rem;
}

.error-404-link-card:hover h4 {
    color: #ef9934;
}

/* Responsive */
@media (max-width: 768px) {
    .error-404-number {
        font-size: 6rem;
    }

    .error-404-title {
        font-size: 1.75rem;
    }

    .error-404-description {
        font-size: 1rem;
    }

    .error-404-actions .btn {
        min-width: 100%;
        width: 100%;
    }

    .error-404-link-card {
        padding: 1.5rem 1rem;
    }
}

/* ===================================
   FRONT PAGE MOBILE RESPONSIVE
   =================================== */

/* Mobile - do 767px */
@media (max-width: 767.98px) {
    /* Zapobieganie overflow na całej stronie */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    #wrapper {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Header i navbar - zapobieganie overflow */
    #header {
        max-width: 100vw;
        overflow-x: hidden;
    }

    #header .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #navbar {
        max-width: 100vw;
    }

    /* Hero section */
    .hero-title {
        font-size: 36px !important;
        line-height: 42px;
    }

    .hero-pre-title {
        font-size: 12px;
    }

    .hero-description p {
        font-size: 18px;
        line-height: 24px;
    }

    /* Tytuły sekcji */
    .title {
        font-size: 32px !important;
        line-height: 38px !important;
    }

    h3.title {
        font-size: 28px !important;
        line-height: 34px !important;
    }

    /* CTA blok - zmniejsz padding */
    .usluga-blok--cta {
        padding: 25px 20px !important;
    }

    .usluga-blok--cta-text {
        font-size: 1.25rem;
    }

    .usluga-blok--cta-logo {
        max-width: 80px;
    }

    /* Dlaczego my - usuń border na mobile */
    .dlaczego-item:nth-child(3n+1),
    .dlaczego-item:nth-child(3n+2) {
        border-right: none !important;
    }

    .dlaczego-numer {
        font-size: 48px;
        line-height: 54px;
        margin-bottom: 5px;
    }

    .dlaczego-tytul {
        font-size: 16px;
    }

    .dlaczego-box {
        padding: 2rem 1rem !important;
    }

    .dlaczego-box::after {
        display: none;
    }

    /* Hero section - usuń padding-top */
    .hero-section {
        padding-top: 0 !important;
    }

    /* Blokowa sekcja - marginesy między row */
    .blokowa-sekcja .row:first-of-type {
        margin-bottom: 0 !important;
    }

    .blokowa-sekcja .row.mt-5 {
        margin-top: 0 !important;
    }

    /* Bloki tekstowe - napraw overflow na mobile */
    .tekst-blok-szary {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .tekst-blok-szary::after {
        display: none;
    }

    .tekst-blok-pomaranczowy {
        width: 80% !important;
        margin-top: -15px !important;
        margin-right: 20px;
        margin-left: auto;
    }

    /* Dlaczego my - usuń padding-bottom */
    #dlaczego-my {
        padding-bottom: 0 !important;
    }

    /* Hero labels - pozycjonowanie na mobile */
    .hero-label.left-top {
        top: 25% !important;
        left: 2% !important;
    }

    .hero-label.right-bottom {
        bottom: 35% !important;
        right: 2% !important;
    }

    /* Homepage slider opinii - wymuszenie 1 slajdu */
    .homepage-opinie-slider .slick-slide {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .homepage-opinie-slider .slick-slide > div {
        width: 100% !important;
    }

    .homepage-opinie-slider .slick-track {
        display: flex !important;
        width: 100% !important;
    }

    .homepage-opinie-slider .slick-list {
        overflow: hidden !important;
        width: 100% !important;
    }

    /* Footer copyright - wyśrodkuj na mobile */
    .copyright-text {
        text-align: center !important;
        margin-top: 10px !important;
    }

    .col-md-6.text-md-end {
        text-align: center !important;
    }

    /* Grid lines - napraw overflow na mobile */
    .grid-lines {
        width: 100% !important;
        max-width: 100vw !important;
        left: 0 !important;
        transform: none !important;
    }

    /* Arrow dekoracje - ukryj lub zmniejsz na mobile */
    .arrow-top::before {
        display: none !important;
    }

    .arrow-bottom::after {
        display: none !important;
    }

    /* CTA drugie - przycisk font-size na mobile */
    .btn-outline-primary-custom {
        font-size: 1.1rem !important;
    }

    /* === PAGE O NAS MOBILE === */

    /* Tytuł sekcji - pełna szerokość na mobile */
    .onas-sec2 .w-70 {
        max-width: 100% !important;
    }

    /* Highlight badge - zmniejsz font */
    .onas-sec1 .highlights .highlight-badge {
        font-size: 3rem !important;
        line-height: 3rem !important;
    }

    /* Dekoracyjny element - ukryj na mobile */
    .onas-sec1 .white-box::after {
        display: none !important;
    }

    /* Content max-width - nadpisz inline style */
    .onas-sec2 .content {
        max-width: 100% !important;
    }

    /* Logo grid - zmniejsz gap */
    .onas-trusted .logos {
        gap: 20px 24px !important;
    }

    /* Padding sekcji - zmniejsz na mobile */
    .onas-sec1,
    .onas-sec2,
    .onas-trusted {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Services first row - padding na mobile */
    .services__first_row {
        padding-top: 3rem !important;
    }

    /* Jak działamy floating card */
    .jak-dzialamy .jd-floating-card {
        margin-top: -2% !important;
    }

    /* Branza feature number */
    .branza__feature-number {
        font-size: 1.5rem !important;
    }

    /* Branze opinie slider - 1 slajd na mobile */
    .branze-opinie-slider .slick-slide {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .branze-opinie-slider .slick-slide > div {
        width: 100% !important;
    }

    .branze-opinie-slider .slick-track {
        display: flex !important;
        width: 100% !important;
    }

    .branze-opinie-slider .slick-list {
        overflow: hidden !important;
        width: 100% !important;
    }

    /* === PAGE USLUGI / USLUGI-REVERSE MOBILE === */

    /* Services second row - padding */
    .services__second_row {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Steps counter title */
    .services__steps-counter-title {
        font-size: 2.3rem !important;
        line-height: 1.2 !important;
    }

    /* Counter quote */
    .services__counter-quote {
        padding: 20px 24px !important;
        font-size: 0.9375rem !important;
        border-radius: 16px !important;
        margin-left: 10px !important;
    }

    /* Fifth row - obrazek wysrodkowany i margin-bottom */
    .services__fifth_row img {
        display: block;
        margin: 0 auto 40px auto !important;
    }

    /* Outline box - mniejsza szerokość i padding */
    .row .outline-box {
        width: 95% !important;
        margin: 0 auto !important;
        padding: 25px !important;
        position: relative;
    }

    .outline-box img {
        display: block;
        margin: 0 auto !important;
    }

    /* Seventh row - usuń padding-bottom */
    .services__seventh_row {
        padding-bottom: 0 !important;
    }

    /* Blog single - meta items po 50% szerokości (2 obok siebie) */
    .blog-hero__meta-item {
        width: calc(50% - 0.75rem) !important;
        flex: 0 0 calc(50% - 0.75rem) !important;
    }

    /* Blog single - author section padding */
    .single-article__author {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Strona kontakt - dekoracja formularza */
    .contact-form-wrapper::after {
        right: 5px !important;
    }

    /* Strona kontakt - obrazek i dane kontaktowe */
    .contact-form-section .image-form .row.mt-5 .col-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .contact-form-section .image-form .row.mt-5 .col-8 {
        flex: 0 0 75%;
        max-width: 75%;
        padding-left: 0 !important;
    }

    .contact-form-section .contact-item__icon {
        margin-right: 0.5rem !important;
    }

    .contact-form-section .contact-item__link {
        font-size: 1.2rem !important;
        word-break: break-word;
    }
}

/* Tablet - 768px do 991px */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 48px !important;
        line-height: 54px;
    }

    .title {
        font-size: 40px !important;
        line-height: 48px !important;
    }

    h3.title {
        font-size: 32px !important;
        line-height: 40px !important;
    }
}
