@import url('https://fonts.googleapis.com/css2?family=Bonheur+Royale&family=Libre+Caslon+Display&family=Unbounded&family=Inter:wght@200..900&display=swap');

:root {
    --primary-blue: #081229;
    --primary-blue-transpent: #0812297a;
    --primary-gold: #c79e65;
    --primary-gold-transpent: #c79e657a;
    --secondary-gold: #4e3e28;
    --primary-black: #030710;
    --secondary-black: #262626;
    --primary-white: #ffffff;
    --secondary-white: #d4d4d4;
    --background: #F6F3F0;
    --background-secondary: #F4F5EF;
    --global-text: #8A8A8A;
    --txt-black: #000000;
    --divider-dark: #FFFFFF1A;
    --emik-studio: #AE4B93;
    --font-inter: "Inter", sans-serif;
    --font-unbounded: "Unbounded", sans-serif;
    --font-libre: "Libre Caslon Display", serif;
    --font-bonheur: "Bonheur Royale", cursive;
    --global-transition-time: 0.4s;
}

html, body {
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    
}

body {
    font-family: var(--font-inter);
    background: var(--background-secondary);
    color: var(--secondary-whited);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.pos-r {
    position: relative;
}
.pos-a {
    position: absolute;
}

.position-sticky {
    position: sticky;
    top: 3rem;
}

.sp-5 {
    padding: 5rem 0;
}

/* BACKGROUND CUSTOM COLOR */
.bg-custom-blue {
    background: var(--primary-blue);
}
.bg-custom-divider {
    background: var(--divider-dark);
}
.bg-custom-gold {
    background: var(--background-secondary);
    color: var(--secondary-black);
}

/* BUTTONS */
.btn-header {
    background: var(--primary-gold);
    color: var(--primary-white);
    border: 1px solid var(--primary-gold);
    transition: all 0.4s ease-in-out;
}
.btn-header:hover {
    color: var(--primary-white);
    border: 1px solid var(--primary-white);
}
a.btn-header:active {
    background: var(--primary-white);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}
.btn-article {
    font-family: var(--font-inter) !important;
    font-size: 14px !important;
    padding: 10px 15px !important;
    font-weight: 500 !important;
}

.btn-custom-primary,
.btn-article {
    background: var(--primary-gold);
    color: var(--primary-white);
    transition: all 0.4s ease-in-out;
}
.btn-custom-primary:hover,
.btn-article:hover {
    background-color: var(--primary-white);
    color: var(--primary-blue);
}

.btn-footer {
    margin-left: 0 !important;
}

hr {
    background: var(--divider-dark);
    width: 100%;
    padding: 1rem 0;
}

.navbar-nav {
    align-items: center;
}
/* ACCORDION MODULES */
.accordion-item,
.accordion-item:first-of-type,
.accordion-item:last-of-type, {
    border-radius: 0;
    padding: 0;
    background-color: transparent;
    border: 1px solid var(--secondary-white);
} 

.accordion-item:not(:first-of-type) {
    border-top: 1px solid var(--secondary-white);
}
.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-item:last-of-type > .accordion-header .accordion-button {
    border-radius: 0;
}
.accordion-button,
.accordion-button:first-of-type,
.accordion-button:last-of-type {
    background: transparent;
    color: var(--secondary-black);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-blue);
    color: var(--primary-white);
}

.accordion-button:focus {
    box-shadow: var(--primary-gold);
}
.accordion-item {
    margin-bottom: 15px;
}
.accordion-button::after {
    color: var(--emik-studio);
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

/* BASIC TYPOGHAPHY */

.headline {
    font-size: 24px;
}

.subheadline {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    padding-left: 40px;
}
.subheadline::before {
    content: "";
    position: absolute;
    top:50%;
    left: 0;
    bottom: 0;
    transform: translateY(-50%);
    background-color: var(--primary-gold);
    mask-image: url(https://krysztoforski.pl/wp-content/themes/krysztoforski/assets/img/icon-heading.svg);
    mask-size: 30px auto;
    mask-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

h3 {
    font-family: var(--font-unbounded);
    /* font-size: 20px; */
    font-size: clamp(1rem,4vw,1.5rem);
    font-weight: 600;
    line-height: 1.2em;
    padding: 0;
    margin: 0;
}

.h3-title {
    color: var(--primary-black);
    font-family: var(--font-unbounded);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2em;
}

.h2-title {
    font-family: var(--font-unbounded);
    /* font-size: 40px; */
    font-size: clamp(1.5rem,4vm,2.5rem);
    font-weight: 600;
    line-height: 1.2em;
    color: var(--primary-blue);
    padding: 1.5rem 0;
}
.h2-title span {
    color: var(--primary-gold);
}

h2[id^="sekcja-"] {
    scroll-margin-top: 120px;
}

.subtitle {
    font-family: var(--font-unbounded);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;

}
.section-description {
    padding: 0;
}

.tag-color {
    color: var(--global-text);
}

.color-primary {
    color: var(--primary-blue);
}

.p {
    font-size: 14px;
}

div.wpforms-container-full .wpforms-field-description {
    font-size: 0.75em !important;
    line-height: 1.2em !important;
}

div.wpforms-container-full .wpforms-field-description a {
    color: var(--primary-blue);
    font-weight: 600;
}

.text-gold { color: var(--primary-gold); }
.text-white { color: var(--primary-white); }
.text-black { color: var(--secondary-black); }

.btn {
    font-family: var(--font-unbounded);
    font-size: 16px;
    font-weight: 600;
    line-height: 1em;
    border-radius: 0px;
    padding: 20px 30px;
    letter-spacing: 1px;
}

.article-text ul,
.service-content ul,
.custom-ul-list {
    list-style: none;
    padding-left: 0;
}

.article-text ul li,
.service-content ul li,
.custom-ul-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.5rem;
}
.article-text ul li:before,
.service-content ul li:before,
.custom-ul-list li:before {
    font-family: "boxicons" !important;
    content: "\ed33";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.btn-custom-primary {
    margin-left: 20px;
}

.mobMargin {
    margin-bottom: 0;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1050;
}
.header-button {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cooperation {
    padding: 3rem 0 0 0;
}
.cooperation .cooperation-title {
    font-family: var(--font-unbounded);
    font-size: 16px;
    font-weight: 500;
    line-height: 1em;
    padding-bottom: 1.5rem;
}

.cooperation .cooperation-partners {
    /*display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1rem;
    padding-top: 1rem;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-evenly;
}

.cooperation .cooperation-partners-item {
    border: 1px solid var(--primary-gold-transpent);
    width: 125px;
    text-align: center;
    padding: 0.5rem 1rem;
}

.cooperation .cooperation-partners img {
    max-width: 120px;
    max-height: 75px;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* POSITION IMG */
.pos-lt { object-position: top left !important; }
.pos-lc { object-position: center left !important; }
.pos-lb { object-position: bottom left !important; }
.pos-ct { object-position: top center !important; }
.pos-cc { object-position: center center !important; }
.pos-cb { object-position: bottom center !important; }
.pos-rt { object-position: top right !important; }
.pos-rc { object-position: center right !important; }
.pos-rb { object-position: bottom right !important; }

/* BREADCRUMB */
.rank-math-breadcrumb {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.rank-math-breadcrumb p {
    margin: 2rem 0 1rem 0;
}

.rank-math-breadcrumb p a,
.rank-math-breadcrumb p span.last {
    color: var(--background-secondary) !important;
}

.rank-math-breadcrumb p span.last {
    font-weight: 600;
}

/* SINGLE OPTION */
.align-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.si-pb:not(:last-of-type) {
    padding-bottom: 3rem;
}
/* ************** */
/* 1. NAVBAR MENU */
/* ************** */
.navbar {
    padding: 1rem 0;
    background: var(--primary-blue);
    border-bottom: 1px solid var(--divider-dark);
}

.navbar-brand {
    display: flex;
    flex-direction: row;
}

.navbar-brand-name {
    font-family: var(--font-libre);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: 1.25rem;
    color: var(--primary-gold);
}

.navbar-brand span {
    font-family: var(--font-bonheur);
}

.navbar-brand hr {
    width: 65%;
    float: right;
    padding: 0;
    margin: 0;
}

.navbar-nav > .nav-item > .nav-link {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3em;
    letter-spacing: 0px;
    color: var(--primary-white);
    padding: 0.75em 1em;
}

.navbar-nav > .nav-item > .nav-link.active,
.navbar-nav > .nav-item > .nav-link:focus,
.navbar-nav > .nav-item > .nav-link:hover {
    color: var(--primary-gold);
}

/* --- DROPDOWN (MENU ROZWIJANE) --- */
.dropdown-menu {
    background: var(--background-secondary);
    border: 1px solid var(--divider-dark);
    border-radius: 0;
    padding: 0.5rem 0;
    min-width: 400px;
    max-width: 90vw;
    margin-top: 0.75em;
}

.dropdown-menu .nav-item .nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-black);
    padding: 0.5em 1.5em; 
    display: block;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.dropdown-menu .nav-item .nav-link:hover {
    background: var(--background); 
    color: var(--primary-gold) !important;
    padding-left: 1.75em;
}

.dropdown-menu .nav-item .nav-link.active {
    background: var(--primary-gold);
    color: var(--primary-white) !important;
}

/* --- POZOSTAŁE ELEMENTY --- */

.navbar-toggler {
    color: var(--secondary-white);
    border: 1px solid var(--secondary-white);
}

.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='%23D4D4D4' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* ************** */
/* HERO MAIN PAGE */
/* ************** */
#hero-main-page {
    background: var(--primary-blue);
    height: 90vh;
}

#hero-main-page .hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--secondary-white);
    padding-top: 80px;
}

#hero-main-page .hero-title {
    font-family: var(--font-libre);
    font-size: 70px;
    font-weight: 500;
    line-height: 60px;
    color: var(--primary-white);
    padding: 1.5rem 0;
}
#hero-main-page .hero-title span {
    font-family: var(--font-bonheur);
    color: var(--primary-gold);
}

#hero-main-page .hero-description {
    padding: 1.5rem 0;
}

#hero-main-page .hero-image {
    width: 100%;
    height: 90vh;
}

#hero-main-page .hero-image img {
	width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* SIDEBAR */
.sidebar-menu {
    width: 100%;
    background: var(--primary-white);
    padding: 1rem;
}

.sidebar-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu ul li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: var(--global-text);
    background: var(--background-secondary);
    padding: 0.5rem 1rem;
    margin-top: 0.75rem;
    transition: 0.4s ease;
}

.sidebar-menu ul li a i {
    font-size: 21px;
}

.sidebar-menu ul li a:hover,
.toc-list a.active {
    background: var(--primary-gold);
    color: var(--primary-white);
}

.help-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 3rem 0 2rem 0;
    padding: 0;
    width: 100%;
    background: url('https://krysztoforski.pl/wp-content/uploads/2026/02/prawnik.jpg') center / cover no-repeat;
    overflow: hidden;
}

.help-box::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:rgba(8, 18, 41, 0.7);
    z-index: 1;
}

.help-box .icon {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    margin: 2rem;
    
}

.help-box .icon::before {
    content: "";
    width: 40px;
    height: 40px;
    background-color: white;
    
    mask-image: url(https://krysztoforski.pl/wp-content/themes/krysztoforski/assets/img/icon-heading.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.help-box .help-content {
    position: relative;
    z-index: 4;
    padding-bottom: 2.5rem;
}
.help-box .help-content span {
    color: var(--primary-white);
    display: block;
    padding-bottom: 1rem;
}

.help-box .help-content p,
.help-box .help-content p a {
    color: var(--primary-white);
}

.help-box .help-content span,
.help-box .help-content p {
    padding-left: 2rem;
    padding-right: 2 rem;
}

.help-box .help-content .help-phone {
    position: absolute;
    bottom: 0;
    padding: 0;
    margin: 0;
    color: var(--primary-white);
    background: var(--primary-gold);
    width: 100%;
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
}

.help-box .help-content .help-phone i {
    font-size: 21px;
}

.help-box .help-content .help-phone:hover {
    color: var(--primary-black);
    background: var(--primary-white);
}

.author-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    background: var(--primary-white);
    margin: 3rem 0 2rem 0;
    padding: 2rem;
}

.author-box .author_name {
    display: flex;
    flex-direction: column;
}

.author-box .author_name a {
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--global-transition-time) ease;
}

.author-box .author_name a:hover {
    color: var(--primary-gold);
}

.author-box .author_avatar {
    width: 40%;
}
.author-box .author_avatar img {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: transform var(--global-transition-time) ease;
}

.author-box .author_avatar img:hover {
    transform: scale(1.1);
}

.author-box .author-meta {
    width: 100%;
}

/* ********* */
/* HERO PAGE */
/* ********* */
#hero-page {
    background: var(--primary-blue);
    color: var(--primary-white);
}

#hero-page h1 {
    font-family: var(--font-unbounded);
    /* font-size: 68px; */
    font-size: (1.5rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.1em;
}
#hero-page span {
    color: var(--primary-gold);
}

#hero-page .hero-section {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero-page .hero-title {
    text-align: center;
}

#hero-page .hero-section .breadcrumb-item {
    font-size: 14px;
}

#hero-page .meta-blog {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 1rem;
}

#hero-page .meta-blog i {
    font-size: 21px;
    color: var(--primary-gold);
    padding-right: 0.25rem;
}

#hero-page .meta-blog a {
    color: inherit;
}

.meta-blog .date,
.meta-blog .category {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* ************** */
/* ABOUT SECTION */
/* ************** */

#about-main-page {
    padding: 5rem 0;
}

#about-main-page .main-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#about-main-page .about-headline {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px 0px 15px 0px;
}
#about-main-page .about-headline i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    padding-right: 10px;
}

#about-main-page .about-small-image {
    left: 1rem;
    max-width: 100%;
    top:135px;
    border: 20px solid var(--background);
}
#about-main-page .about-small-image img {
    width: 250px;
    max-height: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
#about-main-page .about-big-image {
    position: relative;
    height: 100%;
}

#about-main-page .about-big-image img {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;

}

#about-page {
    padding: 5rem 0;
}

#about-page .section-description {
    padding: 0 0 5rem 0;
}

.aboutPerson {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}

.aboutPerson .h2-title {
    padding: 1rem 0;
}

.aboutPerson .h2-title a {
    color: var(--primary-gold);
    transition: var(--global-transition-time) ease;
}

.aboutPerson .h2-title a:hover {
    color: var(--primary-blue);
}

.aboutPerson:nth-child(even) {
    flex-direction: row-reverse;
    padding-top: 5rem;
}

.aboutPerson .desc-more-toggle {
    float: left;
}

.aboutPerson:nth-child(even) .desc-more-toggle {
    float: right;
}

.personalDesc {
    padding: 0 2rem 0 0;

}
.aboutPerson:nth-child(even) .personalDesc {
    padding: 0 0 0 2rem;
}
.desc-more-content {
    display: none;
    margin-top: 1em;
}

.desc-more-content.is-open {
    display: block;
    animation: fadeSlideIn 0.35s ease forwards;
}

.aboutPerson .personalImage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.aboutPerson .personalImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mobile-rev {
    display: flex;
}

.aboutPerson:nth-child(even) .mobile-rev {
    flex-direction: row-reverse;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.desc-more-toggle.is-hidden,
.desc-collapse-toggle.is-hidden {
    display: none;
}

.desc-more-wrapper {
    padding-bottom: 3rem;
}
/* ****************** */
/* SERVICES MAIN PAGE */
/* ****************** */

#services-main-page {
    padding: 5rem 0;
    background: var(--primary-white);
    color: var(--secondary-black);
}

.services-button {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.service-main-page-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.service-main-page-items .service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: calc(25% - .75rem);
    border: 1px solid var(--primary-gold);
    overflow: hidden;
}

.service-main-page-items .service-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.4s ease;
}

.service-main-page-items .service-item span {
    /* position: absolute; 
    padding: 20px;
    bottom: 0px;
    left: 0px;
    width: 80%;
    min-width: 80%;
    background: var(--primary-gold);
    */
    margin: 0;
    color: var(--primary-white);
    z-index:2
}
.service-main-page-items .service-item .service-desc {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--primary-blue-transpent);
    transition: var(--global-transition-time) ease;
}

.service-main-page-items .service-item:hover .service-desc {
    background: var(--primary-gold-transpent)
}

.service-main-page-items .service-item .service-desc span {
    font-family: var(--font-unbounded);
    font-weight: 600;
    text-align: center;
}

.service-main-page-items .service-item:hover img {
    transform: scale(1.1);
}

/* SECOND OPTION */
.service-main-page-items {
    gap: 1rem;
}

.service-main-page-items .second-service-item {
    display: flex;
    flex-direction: column;
    width: calc(50% - 0.5rem);
    border: 1px solid var(--primary-gold);
    background: var(--background);
    padding: 1.5rem;
}

.service-main-page-items .second-service-item:hover {
    backgorund: var(--background-secondary);
}

.service-main-page-items .second-service-item h3 {
    color: var(--primary-blue);
    padding-bottom: 1rem;
}
.service-main-page-items .second-service-item .btn {
    padding: 10px 15px;
    font-weight: 400;
    width: 50%;
}

.offer-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    margin: 1rem 0;
    border: 1px solid var(--primary-gold);
    transition: var(--global-transition-time);
}
.offer-item:hover {
    background: var(--background-secondary);
}
.offer-item:nth-child(even) {
    flex-direction: row-reverse;
}

.offer-item .image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.offer-item .image img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.offer-item .offer-description {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2rem;
    gap: 2rem;
    padding: 0 1rem;
}

/* ****************** */
/* WHY US MAIN PAGE */
/* ****************** */
#why-us-main-page {
    padding: 5rem 0;
    background: var(--background-secondary);
    color: var(--secondary-black);
}

.why-us-image {
    height: 100%;
}

.why-us-image img {
    width: 100%;
    max-height: 500px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

.main-adv {
    padding-top: 3rem;
}

.main-adv .item {
    margin: 0;
    padding: 0 0 0 1rem;
    border-left: 1px solid var(--secondary-white);
}

.main-adv .item:first-child {
    padding: 0;
    border-left: 0;
}

.main-adv .box-item {
    padding: 1rem;
}

.main-adv .box-item .item-icon {
    padding-bottom: 2.25rem;
}

.main-adv .box-item .item-content h3 {
    padding-bottom: 1rem;
}

/* ****************** */
/* WHY US MAIN PAGE */
/* ****************** */
#copperation-main-page {
    padding: 5rem 0;
    background: var(--primary-blue);
    color: var(--primary-white);
}

.main-cooperation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-cooperation .h2-title {
    color: var(--primary-white);
}

.main-cooperation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    overflow: hidden;
    padding: 1.5rem 0;
}

.main-cooperation .cooperation-item {
    position: relative;
    width: 100%;
    padding-bottom: 2rem;
}

.main-cooperation .cooperation-item::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translate(30px, 60px);
    border-left: 3px dashed var(--divider-dark);
    height: 100%;
    z-index: 0;
}
.main-cooperation .cooperation-item:last-child {
    padding-bottom: 0;
}
.main-cooperation .cooperation-item:last-child::after {
    content: none;
}
.main-cooperation .cooperation-item .item-box {
    padding: 0 0 0 90px;
}

.main-cooperation .cooperation-item .item-box h3 {
    margin: 0 0 15px 0;
    padding: 0;
    color: var(--primary-white);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2em;
}

.main-cooperation .cooperation-item .item-box p {
    color: var(--primary-white);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7em;
}

.main-cooperation .cooperation-item .item-icon {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    z-index: 2;
}

.main-cooperation .cooperation-item .item-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    font-family: var(--font-unbounded);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2em;
}

/* ************** */
/* FAQ MAIN PAGE */
/* ************** */

#faq-main-page {
    padding: 5rem 0;
    background: var(--primary-white);
    color: var(--secondary-black);
}

#faq-main-page .faq-image {
    height: 100%;
    position: relative;
    padding: 0 1.5rem 0 0;
}

.faq-image img {
    position: abosulte;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#faq-main-page .faq-experts {
    position: absolute;
    width: 260px;
    bottom: 20px;
    left: 20px;
    padding: 20px;
    color: var(--primary-white);
    background: var(--primary-blue);
}

#faq-main-page .faq-experts a {
    color: var(--primary-white);
}

#faq-main-page .faq-experts .items-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#faq-main-page .faq-experts .items-box i {
    font-size: 48px;
    padding-right: 10px;
}

#faq-main-page .faq-experts .items-box .item-desc p {
    padding: 0;
    margin: 0;
}

.title-faq {
    padding-bottom: 3rem;
}

/* ************** */
/* BLOG MAIN PAGE */
/* ************** */
#blog-main-page {
    background: var(--background-secondary);
    color: var(--primary-black);
    padding: 5rem 0;
}

.blog-section .post-image-card {
    position: relative;
    shadow: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    aspect-ratio: 1 / 1.109;
}
.blog-section .post-image-card .post-image-header {
    position: relative;
}
.blog-section .post-image-card .post-image-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(25, 45, 47, 0.00) 47.01%, rgba(25, 45, 47, 0.80) 78.81%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-section .post-image-card .post-image-header .post-entry-link {
    position: relative;
    overflow: hidden;
    display: block;
}
.blog-section .post-image-card .post-image-header .post-entry-link>img {
    width: 100%;
    aspect-ratio: 1 / 1.109;
    object-fit: cover;
}
.blog-section .post-image-card .post-body {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 9;
    color: var(--primary-white);
}

.blog-section .post-image-card .post-body h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4em;
    text-align: left;
    margin: 0px 0px 20px 0px;
}

.blog-section .post-image-card .post-meta-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
}

/* *************** */
/* CONTACT SECTION */
/* *************** */
#contact-section {
    background: var(--background-secondary);
    color: var(--secondary-black);
    padding: 5rem 0 0 0;
}

#contact-section .contact {
    border-bottom: 1px solid var(--secondary-white);
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

#contact-section .contact,
#contact-section .location {
    padding: 2rem 0;
}

#contact-section .contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 50%;
}

#contact-section .location .contact-item {
    width: 100%;
}

#contact-section .contact-item i {
    background: var(--primary-gold);
    color: var(--primary-white);
    font-size: 25px;
    padding: 0.75rem;
    border-radius: 50%;
    margin-right: 20px;
    transition: 0.4s ease;
}

#contact-section .contact-item:hover i {
    background: var(--primary-blue);
}
#contact-section .contact-item .item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
#contact-section .contact-item .item a {
    font-size: 16px;
    color: var(--secondary-gold);
}

#contact-section .opening {
    background: var(--primary-gold);
    color: var(--primary-white);
    padding: 2rem;
    transition: 0.4s ease;
}

#contact-section .opening:hover {
    background: var(--primary-blue);
}

#contact-section .opening .hours {
    opacity: 80%;
}

#contact-section .opening .hours .h3-title {
    display: block;
    opacity: 95%;
    margin-bottom: 1.5rem;
}

#contact-section .opening .hours .hour {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0.5rem;
}

#contact-section .contact-form {
    background: var(--primary-white);
    width: 90%;
    float: right;
    text-align: left;
    color: var(--global-text);
    padding: 2rem;
}

#contact-section .contact-form .input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background-color: var(--background-secondary);
    color: var(--global-text);
    font-size: 16px;
    box-sizing: border-box;
}
::placeholder {
    color: var(--global-text);
    opacity: 1;
}

textarea {
    resize: vertical;
    margin-bottom: 30px;
}

button.contact-form,
.wpforms-container-full button[type=submit] {
    width: 100% !important;
    background-color: var(--primary-gold) !important;
    color: var(--primary-white) !important;
    border: none !important;
    padding: 18px;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

#contact-section .contact-maps {
    margin-top: 3rem;
}

/* ************* */
/* SERVICES PAGE */
/* ************* */
#services-page {
    padding: 5rem 0;
}

#services-page .service-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--global-text);
}

#services-page .service-content .service-image-full img {
    width: 100%;
    /*height: 450px;*/
    object-fit: cover;
    object-position: center;
}

#services-page .service-content .service-text-full {
    width: 100%;
    font-family: var(--font-inter);
    color: var(--global-text)
}

#services-page .service-content .service-header {
    overflow: hidden;
}
#services-page .service-content .service-header h2 {
    padding-bottom: 0;
}

#services-page .service-content .service-quote {
    font-family: var(--font-unbounded);
    font-size: 18px;
    font-weight: 600;
    color: var(--txt-black);
    padding: 2rem;
    border-left: 5px solid var(--primary-gold);
    background: linear-gradient(to right, var(--primary-gold) 50%, var(--primary-white) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.5s ease-out;
}

#services-page .service-content .service-quote:hover {
    color: var(--primary-white);
    border-left: 5px solid var(--primary-white);
    background-position: left bottom;
}

#services-page .service-content .service-quote p {
    margin: 0;
    padding: 0;
}

#services-page .service-content .service-image-half {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.service-image-half .col-lg-6:nth-child(odd) .half-item {
    padding-right: 1rem;
}
.service-image-half .col-lg-6:nth-child(even) .half-item {
    padding-left: 1rem;
}

.service-image-half .half-item img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    padding-bottom: 1rem;
}

.service-image-half .half-item p {
    color: var(--global-text);
}

.service-icon-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 2%0;
}
.service-icon-text .icon-item {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0 1rem;
    min-height: 150px;
}

.service-icon-text .icon-item .icon {
    background: var(--primary-gold);
    color: var(--primary-white);
    width: 150px;
    height: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
}
.service-icon-text .icon-item .icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

.service-icon-text .icon-item .text {
    background-image: linear-gradient(to right, var(--primary-gold) 50%, var(--primary-white) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    width: 100%;
    padding: 1.5rem;
    color: var(--global-text);
    transition: all 0.5s ease-out;
}

.service-icon-text .icon-item .text:hover {
    background-position: left bottom;
    color: var(--primary-white);
}

.service-icon-text .icon-item .text h3 {
    display: inline-block;
    color: var(--primary-black);
    transition: all 0.5s ease-out;
}

.service-icon-text .icon-item .text:hover h3 {
    color: var(--primary-white);
}

.service-content .small-image {
    padding: 0;
}

.service-content .small-image .image {
    position: relative;
    width: 100%;
    height: 100%;
}
.service-content .small-image .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1rem;
}
.tags span {
    color: var(--global-text);
    background: var(--primary-white);
    font-size: 12px;
    padding: 0.25rem 0.75rem;
}
.tags span:hover {
    background: var(--primary-gold);
    color: var(--primary-white);
}

/* ************************* */
/* BLOG ARTICLE LIST CONTENT */
/* ************************* */

.article-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.article-items img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.article {
    padding: 1rem;
}

.article,
.article h3 {
    background: var(--primary-white);
    transition: 0.4s ease;
}
.article:hover,
.article:hover h3 {
    background: var(--primary-blue);
    color: var(--secondary-white) !important;
}

.article .article-title {
    font-family: var(--font-inter);
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 600;
    padding: 1rem 0;
}

.article .article-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 16px;
    color: var(--global-text);
    overflow: hidden;
    text-overflow: ellipsis;
}
.article .article-meta {
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   align-items: center;
}

.article .article-meta .category,
.article .article-meta .date {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    padding: 0.5em;
    margin: 0;
}
.article .article-meta .category {
    background: var(--background-secondary);
}
.article:hover .article-meta .category {
    background: transparent;
}

.article .article-meta .category a,
.article h3.article-title a {
    color: inherit;
}

.pagination-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--global-text);
    margin: 1.5rem 0;
}

.pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.pagination.left {
    float: left;
}
.pagination.center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.pagination.right {
    float: right;
}

.pagination a,
.pagination.center .page-numbers {
    color: inherit;
    background: var(--primary-white);
    padding: 8px 12px;
    border: 1px solid var(--primary-white);
}

.pagination.center .page-numbers.current
{
    background: var(--primary-blue);c
    border: 1px solid var(--primary-blue);
    color: var(--primary-white);
}

.pagination a:not(.current):hover {
    background: var(--primary-gold);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    transition: 0.4s ease;
}

.pagination.center a {
    margin: 0 0.5rem;
}

.article-item .article-image {
    margin-bottom: 1rem;
}
.article-item .article-image img {
    width: 100%;
    /*height: 400px;*/
    object-fit: cover;
    object-position: center;
}

.article-item .article-text img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.first-paragraph {
    color: var(--primary-black);
    font-weight: 500;
    letter-spacing: 1.1px;
}

/* ************** */
/* FOOTER SECTION */
/* ************** */

footer {
    background: var(--primary-blue);
    color: var(--secondary-white);
    padding-top: 5rem;
}

.footer-main-header {
    font-family: var(--font-unbounded);
    font-size: 34px;
    font-weight: 700;
    line-height: 2.5rem;
    color: var(--primary-white);
}

.footer-column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column .form-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.footer-column .footer-header {
    font-family: var(--font-unbounded);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2em;
    color: var(--primary-white);
    padding-bottom: .75rem;
}

.footer-column ul {
    padding-left: 0;
    padding-bottom: 2rem;
    margin-left: 0;s
}
.footer-column ul li {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}
.footer-column ul li::marker {
    padding: 0;
    margin: 0;
}
.footer-column a {
    font-family: var(--font-inter);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7em;
    color: var(--primary-white);
    padding: 7px 10px;
    transition: var(--global-transition-time) ease;
}

.footer-column a:hover {
    color: var(--primary-gold);
}
.footer-column a:active {
    background: var(--primary-gold);
    color: var(--primary-blue);
}


.footer-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: var(--divider-dark);
    padding: 2rem 3rem;
}
footer .contact-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    
}

footer .contact-info ul {
    padding-bottom: 0;
}
footer .contact-info .contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 0;
    border-top: 1px solid var(--divider-dark);
    padding: 1rem 0;
    gap: 0.75rem;
}
footer .contact-info .contact-item:first-child {
    border-top: 0;
    padding: 2rem 0 1rem 0;
}

footer .contact-info .contact-item a {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2em;
    text-decoration: none;
    color: var(--primary-white);
    transition: var(--global-transition-time) ease;
}
footer .contact-info .contact-item a:hover {
    color: var(--primary-gold);
}

footer .departament-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    
}
footer .departament-info .departament-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 0.75rem;
    border-right: 1px solid var(--divider-dark);
    font-size: 0.95rem;
}

footer .departament-info .departament-item:last-child {
    border-right: 0;
}

footer .departament-info .departament-item a {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2em;
    text-decoration: none;
    padding: 0;
    color: var(--primary-white);
    transition: var(--global-transition-time) ease;
}
footer .departament-info .departament-item a:hover {
    color: var(--primary-gold);
}

.copyright-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid var(--divider-dark);
    padding: 2rem 0 0 0;
}

.footer-copyright {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-white);
    padding: 0;
}
.footer-copyright a {
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.designer {
    padding: 0 0 2rem 0;
    font-size: 12px;
    color: var(--secondary-white);
}
.designer a {
    text-decoration: none;
    font-weight: 600;
    color: var(--secondary-white);
    transition: var(--global-transition-time) ease;
}
.designer a:hover {
    color: var(--emik-studio);
}

.footer-social ul {
    display: flex;
    flex-direction: row;
}
.footer-social ul li {
    padding: 0px 2rem 0px 0px;
}
.footer-social ul li:first-child {
    list-style-type: none;
}
.footer-social ul li:last-child {
    padding-right: 0px;
}
.footer-social ul li::marker {
    color: var(--primary-gold);
}
.footer-social a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7em;
    color: var(--primary-white);
    transition: 0.4s ease;
}
.footer-social a:hover {
    color: var(--primary-gold);
}


/* KEYFRAMES */
/* Fade In - wsuwanie */
.fadeIn {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.from-bottom { transform: translateY(300px); }
.from-top    { transform: translateY(-300px); }
.from-left   { transform: translateX(-300px); }
.from-right  { transform: translateX(300px); }
.fade-d1 { transition-delay: 0.1s; }
.fade-d2 { transition-delay: 0.2s; }
.fade-d3 { transition-delay: 0.3s; }
.fade-d4 { transition-delay: 0.4s; }
.fade-d5 { transition-delay: 0.5s; }
.fade-d6 { transition-delay: 0.6s; }
.fade-d7 { transition-delay: 0.7s; }
.fade-d8 { transition-delay: 0.8s; }
.fade-d9 { transition-delay: 0.9s; }
.fade-d10 { transition-delay: 1s; }


.fadeIn.appear {
    opacity: 1;
    visibility: visible;
    transform: translate(0,0) !important;
}

.sidebar-menu ul li:nth-child(1) { transition-delay: 0.2s; }
.sidebar-menu ul li:nth-child(2) { transition-delay: 0.3s; }
.sidebar-menu ul li:nth-child(3) { transition-delay: 0.4s; }
.sidebar-menu ul li:nth-child(4) { transition-delay: 0.5s; }
.sidebar-menu ul li:nth-child(5) { transition-delay: 0.6s; }
.sidebar-menu ul li:nth-child(6) { transition-delay: 0.7s; }
.sidebar-menu ul li:nth-child(7) { transition-delay: 0.8s; }
.sidebar-menu ul li:nth-child(8) { transition-delay: 0.9s; }
.sidebar-menu ul li:nth-child(9) { transition-delay: 1s; }
.sidebar-menu ul li:nth-child(10) { transition-delay: 1.1s; }
.sidebar-menu ul li:nth-child(11) { transition-delay: 1.2s; }
.sidebar-menu ul li:nth-child(12) { transition-delay: 1.3s; }

/* IMG EFFECTS */
.img-flash {
    position: relative;
	overflow: hidden;
}
.img-flash img {
    display: block;
    transition: transform 0.5 ease;
}
.img-flash::after {
    content: '';
	position: absolute;
	width: 200%;
	height: 0%;
	left: 50%;
	top: 50%;
	background-color: rgba(255,255,255,.3);
	transform: translate(-50%,-50%) rotate(-45deg);
	z-index: 1;
}
.img-flash:hover::after {
    height: 250%;
	transition: all 600ms linear !important;
	background-color: transparent;
}

/* MEDIA BREAKPOINTS */

/* 2. LAPTOPY / DUŻE TABLETY (poniżej 1200px) */
@media (max-width: 1199px) {
    .navbar-nav > .nav-item > .nav-link {
        text-align:center;
    }

    .service-main-page-items .service-item {
        width: calc(33% - .75rem);
    }

    #about-main-page .about-small-image {
        left: 0;
    }

    .cooperation .cooperation-partners {
        justify-content: center;
    }

    .blog-section .post-image-card .post-meta-list {
        gap: 0;
    }

    #contact-section .contact {
        flex-direction: column;
        border-top: 0;
        border-bottom: 0;
        padding: 0;
    }

    #contact-section .contact-item {
        width: 100%;
    }

    #contact-section .contact .contact-item {
        padding: 2rem 0;
        border-top: 1px solid var(--secondary-white)
    }

    #contact-section .contact .contact-item:last-child {
        border-bottom: 1px solid var(--secondary-white);
    }

    .service-content .image img {
        max-height: 300px;
    }
    .service-content .small-image .image img {
        position: unset;
        padding-bottom: 1.5rem;
    }

    .service-icon-text .icon-item {
        width: 100%;
        padding: 0;
    }

    .service-icon-text .icon-item:not(:first-child) {
        margin-top: 1rem;
    }

    .offer-description h2 {
        padding: 2rem 0 0 0;
    }
    .offer-item .image img {
        height: auto;
    }

    footer .contact-info .contact-item {
        align-items: center;
    }

    footer .departament-info {
        flex-direction: column;
    }

    footer .departament-info .departament-item {
        border-right: 0;
    }
    footer .departament-info .departament-item:not(.departament-item:first-child,.departament-item:last-child) {
        border-left: 1px solid var(--divider-dark);
    }

    footer .departament-info .departament-item {
        font-size: 1rem;
    }
    .footer-column .footer-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
    .footer-column ul li {
        text-align: right;
    }
}

/* 3. TABLETY PIONOWO / MAŁE LAPTOPY (poniżej 992px) */
@media (max-width: 991px) {
    .navbar .container {
        justify-content: center;
        gap: 2rem;
    }
    .mobMargin {
        margin-bottom: 3rem;
    }
    .services-button {
        justify-content: center;
    }
    #hero-main-page {
        overflow: hidden;
        height: auto;
        min-height: auto; /* usuń wymuszanie 90vh */
        display: flex;
        align-items: center;
		position: relative;
    }
	
	#hero-main-page::before {
		content: "";
		position: absolute;
		top: 0;
		right: -125px;
		width: 100%;
		height: 100%;
		background-image: url('https://krysztoforski.pl/wp-content/uploads/2026/02/hero-bg-scaled.png');
		background-size: cover;
		filter: blur(0.5px);
		opacity: 0.3;
	}

    #hero-main-page .container {
        overflow: hidden; /* przycinamy też kontener */
        padding-right: 0; /* usuwamy padding który zostawia wolne pole */
    }

    #hero-main-page .row {
        overflow: hidden;
        margin: 0; /* zerujemy ujemne marginesy Bootstrap */
    }

    #hero-main-page .mobile-hero-image {
    /*    position: absolute;
        right: 0;
        top: 0;
        width: 65%;
        opacity: 0.3;
        pointer-events: none;*/
		display: none;
    }
	

    #hero-main-page .hero-image {
        height: 100%; /* dopasowanie do zawartości, nie 90vh */
    }

    #hero-main-page .hero-image img {
        opacity: 0.3;
    }
    
    #hero-main-page .mobile-hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-bottom: 2rem; /* tylko tyle miejsca ile potrzeba pod tekstem */
    }

    #hero-main-page .hero-content {
        padding-top: 40px; /* mniej paddingu na mobile */
        padding-bottom: 2rem;
        min-height: auto;
        height: 85vh;
    }
	
    #contact-section .contact-form {
        width: 100%;
        margin-top: 3rem;
    }

    #about-main-page .about-big-image {
        text-align: center;
        height: 400px;
    }

    #about-main-page .about-big-image img {
        position: relative;
        height: 100%;
        min-height: unset;
        object-position: top;
    }

    .main-adv .item:nth-child(odd) {
        padding: 0;
        border-left: 0;
    }

    .service-main-page-items .service-item {
        width: calc(50% - .75rem);
    }

    #services-page .service-content .service-image-full {
        padding-top: 3rem;
    }

    .service-image-half .col-lg-6:nth-child(odd) .half-item {
    padding-right: 0;
    }
    .service-image-half .col-lg-6:nth-child(even) .half-item {
    padding-left: 0;
    }

    .article-item .article-image {
        margin-top: 2rem;
    }

    .main-faq .header-button {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .mobile-rev {
        flex-direction: column-reverse;
    }

    .aboutPerson:nth-child(even) {
        flex-direction: row;
    }

    .aboutPerson:nth-child(even) .mobile-rev {
        flex-direction: column-reverse;
        flex-wrap: wrap;
    }

    .author-box {
        max-height: 100px;
    }

    .author-box .author_avatar img {
        max-height: calc(100px - 1rem);
        width: auto;
        float: right;
    }

    #about-page .section-description {
        padding: 0;
    }

    #about-page .personalImage {
        position: relative;
        padding-bottom: 2rem;
        max-height: 400px;
    }
    
    #about-page .personalImage img {
        object-position: top;
    }

    .aboutPerson:nth-child(even) .desc-more-toggle {
        float: left;
    }

    .form-info .btn-custom-primary {
        margin-left: unset;
    }
    footer .departament-info {
        padding-top: 3rem;
        border-left: 0;
    }
    footer .departament-info .departament-item:not(.departament-item:first-child,.departament-item:last-child) {
        border-left: 0;
    }

    footer .departament-info .departament-item:first-child {
        border-top: 1px solid var(--divider-dark);
        padding-top:2rem;
    }

    .footer-contact {
        justify-content: center;
    }
    
    .footer-column,
    .footer-column .form-info {
        justify-content: center;
        align-items: center;
    }

    .footer-main-header {
        text-align: center;
    }

    .footer-contact .contact-info {
        padding-top: 2rem;
    }
    .copyright-section {
        flex-direction: column-reverse;
        align-items: center;
    }

    .designer {
        text-align: center;
    }

    .footer-column .footer-item {
        display: none
    }
	
	.from-right  { transform: translateX(-300px); }
}

/* 4. TABLETY I DUŻE TELEFONY (poniżej 768px) */
@media (max-width: 767px) {
    .service-main-page-items .second-service-item .btn {
        width: 100%;
    }

    .service-main-page-items .service-item {
        position: relative;
        width: 100%;
        height: 250px;
    }

    .blog-section .post-image-card .post-meta-list {
        gap: 40px;
    }

    .main-adv .item {
        padding: 0;
        border-left: 0;
    }

    .input-row {
        flex-direction: column;
        gap: 20px;
    }

    .offer-description h2 {
        padding: unset;
    }

    .footer-contact .contact-info .contact-item:first-child {
        border-top: 0;
        padding: 2rem 0;
    }
}

/* 5. TELEFONY (poniżej 576px) */
@media (max-width: 575px) {
    .service-main-page-items .second-service-item {
        width: 100%;
    }

    .service-main-page-items .second-service-item .btn {
        content: "test";
    }

    #about-main-page .about-big-image img {
        width: 90%;
    }
    #about-main-page .about-small-image img {
        display: none;
    }
    #about-main-page .about-small-image {
        left: 0;
        max-width: 0;
        top: 0;
        border: 0;
    }
    #about-main-page .about-big-image {
        text-align: center;
    }

    .copyright-section {
        flex-direction: column-reverse;
    }
}