@charset "UTF-8";
:root {
    --black             :#121213;
    --white             :#EEECE7;

    --blur          :8px;
    --radius        :32px;
    --btn-radius    :50px;

    --section-padding: clamp(80px, 61.5385px + 5.1282vw, 160px) 0;
    --border-radius: 32px;
    --header-overlay: rgba(0, 0, 0, 0.4);

    --body-font-size: 16px;
    --font-size-small: clamp(12px, 11.0769px + 0.2564vw, 16px);
    --font-family: "Montserrat", sans-serif;

}

html {
    scroll-behavior: smooth;
    margin: 0;
}

body {
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    font-optical-sizing: auto;    
    font-style: normal;
    font-size: var(--body-font-size);
    overflow-x: hidden;
    position: relative;
    color: var(--black);
    margin: 0 !important;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    line-height: 1.1;
    text-wrap: balance;
}

h1 {
    font-size: clamp(40px, 34.4615px + 1.5385vw, 64px);
}

h2 {
    font-size: clamp(32px, 26.4615px + 1.5385vw, 56px);
}

h3 {
    font-size: clamp(24px, 22.1538px + 0.5128vw, 32px);
}

h4 {
    font-size: clamp(20px, 19.5385px + 0.1282vw, 22px);
}

p {
    margin: 0.75em 0;
    letter-spacing: 0.025em;
    line-height: 1.6 !important;
}

ul {
    margin: 0;
    line-height: 1.6 !important;
}

section ul li {
    color: var(--color-text-muted);
}

a:focus,
a:active,
a:visited,
a:hover {
    outline: none;
    box-shadow: none;
    color: inherit;
}

.font-size-small {
    font-size: var(--font-size-small);
}

/* flexbox */

.d-flex {
    display: flex;
}

.d-inline-flex {
    display: inline-flex;
}

.align-center {
  align-items: center;
}

.align-end {
  align-items: flex-end;
}

.align-start {
    align-items: flex-start;
}

.space-between {
    justify-content: space-between;
}

.flex-1 {
    flex: 1;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.gap-05 {
    gap: .5em;
}

.gap-1 {
    gap: 1em;
}

.gap-2 {
    gap: 2em;
}

.gap-3 {
    gap: 3em;
}

.flex-direction-column {
    flex-direction: column;
    -ms-flex-direction: column;
}

.border-box {
    box-sizing: border-box;
}

.section-padding {
    padding: var(--section-padding);
}

.text-nowrap {
    text-wrap-mode: nowrap;
}

.d-block {
    display: block;
}

.full-width {
    width: 100%;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.bottom-0 {
    bottom: 0;
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.z-index-3 {
    z-index: 3;
}

.overflow-hidden {
    overflow: hidden;
}

.minvh-100 {
    min-height: 100vh;
}

.grayscale {
    filter: grayscale(100%);
}

.grayscale:hover {
    filter: grayscale(0)
}

/* wrappers */

.wrapper {
    width: 100rem;
	max-width: calc(100% - 6rem);
	margin: 0 auto;
	position: relative;
}

.wrapper-l {
    width: 72rem;
    max-width: calc(100% - 6rem);
    margin: 0 auto;
    position: relative;
}

.wrapper-m {
    width: 64rem;
    max-width: calc(100% - 6rem);
    margin: 0 auto;
    position: relative;
}

.wrapper-s {
    width: 50rem;
    max-width: calc(100% - 6rem);
    margin: 0 auto;
    position: relative;
}

@media only screen and (max-width: 1024px) {
    .wrapper, .wrapper-l, .wrapper-m, .wrapper-s {
        width: 100%;
        max-width: calc(100% - 2rem);
    }
}

.intro {
    font-size: clamp(16px, 15.3455px + 0.1818vw, 20px);
    line-height: 1.6;
    position: relative;
}

.teaser li::marker,
.intro li::marker {
    color: var(--green);
}

/* section background */

.bg-white {
    background-color: var(--white);
}

.bg-black {
    background-color: var(--black);
    color: var(--white);
}

.bg-lightgrey {
    background-color: var(--lightgrey);
}

.bg-green {
    background-color: var(--green);
}

.bg-dark-green {
    background-color: var(--dark-green);
}

.bg-purple {
    background-color: var(--purple);
}

.bg-pink {
    background-color: var(--pink);
}

.bg-pink-shade-1 {
    background-color: var(--pink-shade-1);
}

.bg-pink-shade-2 {
    background-color: var(--pink-shade-2);
}

.bg-pink-shade-3 {
    background-color: var(--pink-shade-3);
}

.bg-primary {
    background: #0540F2;
    background: linear-gradient(45deg, rgba(5, 64, 242, 1) 0%, rgba(80, 121, 242, 1) 100%);
}

.bg-grey {
    background-color: var(--grey);
}

.bg-primary-shade-1 {
    background-color: var(--primary-shade-1);
}

.bg-primary-shade-2 {
    background-color: var(--primary-shade-2);
}

.bg-primary-shade-3 {
    background-color: var(--primary-shade-3);
}

/* radius */

.radius {
    border-radius: var(--border-radius);
}

/* box-shadow */

.box-shadow:hover {
    -webkit-box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.2);
}

/* row */

.row-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2em;
  row-gap: 2em;
}

@media only screen and (max-width: 1024px) {
  .row-12 {
    display: flex;
    justify-content: space-between;
  }
}

.row {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 2em;
}

.row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2em;
  row-gap: 2em;
}

.row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2em;
  row-gap: 2em;
}

.row-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 2em;
  row-gap: 2em;
  align-items: stretch; 
}

@media only screen and (max-width: 1366px) {
  .row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.row-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 2em;
    row-gap: 2em;
}

.row-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 1em;
  row-gap: 1em;
}

@media only screen and (max-width: 1366px) {
  .shrink {
    display: flex;
    flex-direction: column;
    gap: 2em;
  }
}

@media only screen and (max-width: 1024px) {
  .row-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 768px) {
  .row-2, .row-3, .row-4, .row-5, .row-6 {
    display: flex;
    flex-direction: column;
    gap: 2em;
  }
}

.row-7 {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    column-gap: 1em;
    row-gap: 1em;
}

@media only screen and (max-width: 1500px) {
  .row-7 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 1024px) {
  .row-7 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 768px) {
  .row-7 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.padding-inline {
    padding-inline: 40px;
}

.padding-block {
    padding-block: 40px;
}

.padding-inline-1 {
    padding-inline: 1em;
}

.padding-block-1 {
    padding-block: 1em;
}

.padding-2em {
    padding: 2em;
}

.mt-05 {
  margin-top: 0.5em;
}

.mt-1 {
  margin-top: 1em;
}

.mt-2 {
  margin-top: 2em;
}

.mt-3 {
  margin-top: 3em;
}

.mt-4 {
  margin-top: 4em;
}

.mt-20 {
    margin-top: 20px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-80 {
  margin-top: clamp(60px, 56.7273px + 0.9091vw, 80px);
}

.mt-120 {
    margin-top: clamp(60px, 50.1818px + 2.7273vw, 120px);
  }

.mt-160 {
  margin-top: clamp(60px, 43.6364px + 4.5455vw, 160px);
}

.padding-box {
    padding: 2em;
}

.mb-1em {
    margin-bottom: 1em;
}

.mb-2em {
    margin-bottom: 2em;
}

.mb-3em {
    margin-bottom: 3em;
}

.mb-4em {
    margin-bottom: 4em;
}

.mb-80 {
  margin-bottom: clamp(60px, 56.7273px + 0.9091vw, 80px);
}

.mb-120 {
  margin-bottom: clamp(60px, 50.1818px + 2.7273vw, 120px);
}

.mb-40 {
    margin-bottom: 40px;
}

.ml-1 {
    margin-left: 1em;
}

.ml-40 {
    margin-left: 40px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-24 {
    margin-bottom: 24px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 1em;
}

.pb-40 {
    padding-bottom: 40px;
}

.pb-160 {
    padding-bottom: clamp(80px, 61.5385px + 5.1282vw, 160px);
}

.pl-2 {
    padding-left: 2em;
}

.col {
    position: relative;
}

.d-block {
    display: block;
}

.d-grid {
    display: grid;
    grid-auto-rows: 1fr;
}

@media only screen and (max-width: 1024px) {
    .d-grid {
        grid-auto-rows: auto;
    }
}

.minvh-100 {
    min-height: 100vh;
}

.transition, a {
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;  
}

.box-shadow {
    -webkit-box-shadow: 0px 8px 16px 0px rgba(79, 81, 89, 0.2);
    -moz-box-shadow: 0px 8px 16px 0px rgba(79, 81, 89, 0.2);
    box-shadow: 0px 8px 16px 0px rgba(79, 81, 89, 0.2);
}

.box-shadow:hover {
    -webkit-box-shadow: 0px 8px 16px 0px rgba(79, 81, 89, 0.4);
    -moz-box-shadow: 0px 8px 16px 0px rgba(79, 81, 89, 0.4);
    box-shadow: 0px 8px 16px 0px rgba(79, 81, 89, 0.4);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin: 0;
}

p, ul, ol {
  line-height: 1.4;
}

.image img {
    width: 100%;
    height: auto;    
}

.rounded {
    border-radius: var(--border-radius);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-white {
    color: var(--white);
}

.text-dark {
    color: var(--black);
}

.text-primary {
    color: var(--primary);
}

.stroke {
    border: 1px solid;
}

.border-lightgrey {
    border-color: var(--grey);
}

.border-right {
    border-right: 1px solid;
}

@media only screen and (max-width: 1024px) {
    .border-right {
        border-right: none;
    }
}

.border-light {
    border-color: #00000066;
}

/* =================================================
Navigation
================================================= */

/* navigation */

.menu-toggle {
  display: none;
}

.mobile-menu {
    display: none;
}

.site-header-nav {
    padding: 1em 1em 1em 2em;
    border-radius: 50px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;  
}

@keyframes rotateMenu {
    0% {
        transform: rotateX(-90deg)
    }

    70% {
        transform: rotateX(20deg)
    }

    100% {
        transform: rotateX(0deg)
    }
}

@media (max-width: 1024px) {
    
}

#primary-menu {  
    list-style-type: none;
    display: flex;
    gap: 2em;
    margin: 0;
    justify-content: end;
}

#primary-menu > li {
    padding: 1em 0;
}

#primary-menu a {
    text-decoration: none;
}

#primary-menu a:after {
    opacity: 0;
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    background-color: var(--primary);
    left: 0;
    bottom: 10px;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

#primary-menu a:hover:after {
    opacity: 1;
}

#primary-menu .sub-menu {
    display: none;
}

#primary-menu .menu-item-has-children {
    background-image: url(../img/svg/down.svg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 20px;
    padding-right: 24px;
}

header.scroll #primary-menu .menu-item-has-children,
.page-template-template-portfolio-item #primary-menu .menu-item-has-children,
.page-template-default #primary-menu .menu-item-has-children,
.page-template-template-contact #primary-menu .menu-item-has-children,
.blog #primary-menu .menu-item-has-children,
.single-post #primary-menu .menu-item-has-children {
    background-image: url(../img/svg/down.svg);
}

#primary-menu > li.menu-item-has-children:hover > .sub-menu {
    animation: rotateMenu .5s ease-in-out forwards;
    transform-origin: top center;
    display: grid;
    row-gap: .5em;
    list-style: none;
    position: absolute;
    padding: 2em;
    overflow: hidden; /* ważne */
    background-color: var(--black);
    box-shadow: none;
    border-radius: 24px;
    left: -4em;
}

#primary-menu > li.menu-item-has-children:hover > .sub-menu a:after {
    display: none;
}

#primary-menu > li.menu-item-has-children:hover > .sub-menu a:hover {
    transform: translateX(8px);
}

#primary-menu li.current-lang,
#menuMobile li.current-lang {
	display: none !important;
}

@keyframes rotateMenu {
    0% {
      transform: rotateX(-90deg)
    }
    70% {
      transform: rotateX(20deg)
    }
    100% {
      transform: rotateX(0deg)
    }
}

#primary-menu .sub-menu li.menu-item-has-children {
    padding-right: 0;
    background-image: none;
}

#primary-menu .sub-menu li > .sub-menu {
    list-style: none;
    padding-left: 1em;
    font-size: 14px;
}

.main-navigation ul ul a {
    width: auto !important;
    min-width: 270px;
}

.main-navigation button.dropdown-toggle-btn {
    display: none;
}

.main-navigation .sub-menu {
    color: var(--white);
}


/* ==========================================================================
   NOWA NAWIGACJA MOBILNA (Wersja w pełni sprawna z wp_nav_menu)
   ========================================================================== */
@media only screen and (max-width: 1500px) {

    /* --- Stylizacja Przycisk Hamburger --- */
    body .menu-toggle {
        display: block;
        position: relative;
        z-index: 1000;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    body .hamburger-box {
        display: inline-block;
        width: 24px;
        height: 18px;
        position: relative;
    }
    body .hamburger-inner, 
    body .hamburger-inner::before, 
    body .hamburger-inner::after {
        width: 24px;
        height: 2px;
        background-color: var(--prim, #212529);
        position: absolute;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    body .hamburger-inner { top: 50%; transform: translateY(-50%); }
    body .hamburger-inner::before { content: ""; top: -6px; left: 0; }
    body .hamburger-inner::after { content: ""; bottom: -6px; left: 0; }

    /* Animacja hamburgera w krzyżyk X */
    body .main-navigation.toggled .hamburger-inner { background-color: transparent; }
    body .main-navigation.toggled .hamburger-inner::before { transform: rotate(45deg); top: 0; }
    body .main-navigation.toggled .hamburger-inner::after { transform: rotate(-45deg); bottom: 0; }


    /* --- Panel Menu Mobilnego (Pełna szerokość) --- */
    body .main-navigation .desktop-menu {
        display: none; 
    }

    body .main-navigation.toggled .desktop-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        background-color: var(--white, #ffffff);
        z-index: 999;
        padding: 120px 0 40px 0;
        box-sizing: border-box;
        overflow-y: auto;
    }

    /* Reset i ułożenie listy głównej generowanej przez WP */
    body .main-navigation.toggled #primary-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
        gap: 0;
    }

    /* Elementy listy głównej */
    body .main-navigation.toggled #primary-menu > li {
        width: 100%;
        position: relative;
        border-bottom: 1px solid #eeeeee;
        display: flex;
        flex-wrap: wrap; 
        align-items: center;
        justify-content: space-between;
        cursor: pointer; /* Zmieniamy kursor na rączkę dla całego wiersza */
    }
    body .main-navigation.toggled #primary-menu > li:last-child {
        border-bottom: none;
    }

    body .main-navigation.toggled #primary-menu li::before {
        content: none;
        display: none;
    }

    /* KLUCZOWA ZMIANA: Wyłączamy odbieranie kliknięć przez link rodzica */
    body .main-navigation.toggled #primary-menu .menu-item-has-children > a {
        pointer-events: none; 
    }

    body .main-navigation.toggled #primary-menu a {
        color: var(--prim, #212529);
        text-decoration: none;
        padding: 6px 24px;
        flex-grow: 1; 
        text-align: left;
        font-size: 16px;
    }


    /* --- Przycisk Strzałki (Dropdown Toggle) --- */
    body .main-navigation.toggled .dropdown-toggle-btn {
        display: block;
        width: 55px;
        height: 54px; 
        background-color: transparent;
        border: none;
        position: relative;
        cursor: pointer;
        z-index: 10;
        pointer-events: none; /* Pozwalamy kliknięciu przelecieć przez przycisk do elementu LI */
    }

    /* Ikona strzałki jako tło */
    body .main-navigation.toggled .dropdown-toggle-btn::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transform: translate(-50%, -50%) rotate(0deg);
        transition: transform 0.25s ease;
    }

    /* Obrót strzałki w stanie otwartym (.sub-menu-open) */
    body .main-navigation.toggled .menu-item-has-children.sub-menu-open > .dropdown-toggle-btn::after {
        transform: translate(-50%, -50%) rotate(-180deg);
    }


    /* --- Kontrola i Ukrywanie Sub-Menu --- */
    body .main-navigation.toggled #primary-menu .sub-menu {
        display: none;
        visibility: hidden;
        opacity: 0;
        width: 100%;
        position: relative; 
        top: auto;
        left: auto;
        box-shadow: none;
        background-color: #fafafa;
        padding: 0;
        margin: 0;
        list-style: none;
        border-radius: 0; 
    }

    body .main-navigation.toggled #primary-menu .menu-item-has-children {
        background-image: none;
    }

    /* Blokada desktopowego hovera i starej klasy .focus */
    body .main-navigation.toggled #primary-menu .menu-item-has-children:hover > .sub-menu,
    body .main-navigation.toggled #primary-menu .menu-item-has-children.focus > .sub-menu {
        display: none;
        visibility: hidden;
        opacity: 0;
    }

    /* Otwieranie sub-menu po kliknięciu (na klasę .sub-menu-open) */
    body .main-navigation.toggled #primary-menu .menu-item-has-children.sub-menu-open > .sub-menu {
        display: flex !important;
        flex-direction: column;
        visibility: visible;
        opacity: 1;
        width: 100%; 
    }

    /* Elementy wewnątrz podmenu */
    body .main-navigation.toggled .sub-menu li {
        width: 100%;
        border-top: 1px solid #eeeeee;
        display: block;
        border-radius: 0; 
    }
    
    /* PRZYWRÓCENIE KLIKALNOŚCI: Linki wewnątrz otwartego sub-menu muszą normalnie działać */
    body .main-navigation.toggled .sub-menu a {
        padding: 14px 24px 14px 44px; 
        font-size: 15px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 0; 
        pointer-events: auto !important; 
    }
}

@media (max-width: 768px) {
  .menu-toggle span {
    font-size: 36px;
  }
}


/* =================================================
Scrollbar 
================================================= */

/* Stylizacja scrollbara */
::-webkit-scrollbar {
    width: 16px; /* Szerokość scrollbara */
  }
  
/* Stylizacja uchwytu scrolla */
::-webkit-scrollbar-thumb {
    background-color: var(--black); /* Kolor uchwytu */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px; /* Zaokrąglenie rogów */
}

/* Stylizacja tła scrollbara */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Kolor tła */
    border-radius: 10px; /* Zaokrąglenie rogów */
}

/* =================================================
Accordion 
================================================= */

ul.accordion-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2em;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.accordion-list li {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 15px auto;
    cursor: pointer;
}

@media only screen and (max-width: 1024px) {
    ul.accordion-list li {
        margin: 0;
    }
    
}

ul.accordion-list .number {
    color: #00000066;
}

@media only screen and (max-width: 1024px) {
    ul.accordion-list li {
        width: auto;
    }
}

ul.accordion-list .title {
    align-items: end;
    border-bottom: 1px solid;
}

ul.accordion-list li .title .icon img {
    transform: rotate(90deg);
}

@media only screen and (max-width: 1024px) {
    ul.accordion-list li .title .icon img {
        width: 24px;
        height: 24px;
    }
}

ul.accordion-list li.active .title .icon img {
    transform: rotate(-0.25turn);
}

ul.accordion-list li .answer li {
    list-style-type: disc;
    border: none;
    padding: 0;
}

ul.accordion-list .icon {
    flex: 0 0 auto;
}

/* podstawy animacji */
.accordion-list .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* rotacja ikony (opcjonalnie) */
.accordion-list .icon img {
  transition: transform 0.28s ease;
}
.accordion-list .item.active .icon img {
  transform: rotate(180deg);
}

ul.accordion-list .answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

ul.accordion-list .item.active .answer {
  max-height: 1000px; /* coś większego niż najwyższa odpowiedź */
  opacity: 1;
  visibility: visible;
}