@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

html{
    font-size: 10px;
    scroll-behavior: smooth;
}
html, body{
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body.menu-open{
    overflow: hidden;
}

/* ===== NAVBAR ===== */
nav{
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 122px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    z-index: 100;
    transition: transform .35s ease, box-shadow .3s ease;
}
nav.nav-hidden{
    transform: translateY(-100%);
}


.nav-container{
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo a{
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-big{
    font-size: 3.3rem;
    font-weight: 700; 
    color: #243082;
}
.navy{ 
    color: #243082; 
}
.orange{ 
    color: #EF870D; 
}
.logo-small{
    font-size: 1.3rem;
    font-weight: 500;
    color: #243082;
    margin-top: 2px;
    letter-spacing: .3px;
}


.buttons{ 
    display:flex; 
    align-items:center; 
    gap:40px; 
}
.buttons ol{ 
    display:flex; 
    gap:8px; 
    list-style:none; 
}
.buttons ol li a{
    position: relative;
    color:#8ba0c3; 
    text-decoration:none;
    font-size:1.5rem; 
    font-weight:500; 
    text-transform:uppercase;
    padding:1rem .5rem; 
    display:inline-block;
    transition:color .3s ease;
}
.buttons ol li a::after{
    content:''; 
    position:absolute; 
    bottom:0; left:50%;
    width:0; height:2px; 
    background:#EF870D;
    transition:width .3s ease; 
    transform:translateX(-50%);
}
.buttons ol li a:hover{ 
    color:#EF870D; 
}
.buttons ol li a:hover::after{ 
    width:70%; 
}

.btn{
    border:2px solid #EF870D; 
    color:#EF870D;
    padding:12px 26px;
    border-radius:8px;
    text-decoration:none;
    font-size: 2rem; 
    font-weight:500; 
    transition:.3s;
    background-color: #fff;
}
.btn:hover{ 
    background:#EF870D; 
    color:#fff; 
}


.burger{
    color:#EF870D; 
    font-size:3.2rem; 
    padding:.9rem 1rem;
    position:fixed; 
    right:2rem; 
    top:1.6rem; 
    cursor:pointer;
    display:none; 
    z-index:101; 
    background:#fff; 
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,.08); 
    transition:transform .3s ease;
}
.burger:hover{ 
    transform:scale(1.08); 
}

.nakladka{
    background-color: rgba(130, 165, 195, 0.94);
    position:fixed; 
    top:0; 
    right:0; 
    height:100%; 
    width:0;
    overflow:hidden; 
    z-index:200;
    display:flex; 
    align-items:center; 
    justify-content:center;
    transition: width .4s cubic-bezier(0.4,0,0.2,1);
}
.nakladka.open{ 
    width:100%; 
}

.nakladka ol{ 
    width:100%; list-style:none; 
}

.nakladka ol a{
    display:block; 
    margin-bottom:2vh; 
    padding:3vh; 
    text-align:center;
    color:#fff; 
    text-decoration:none; 
    font-size:2.2rem; 
    font-weight:600;
    text-transform:uppercase;
}
.nakladka ol a:hover{ 
    background-color:#fff; 
    color:black; 
}

.zamknijX{
    border-radius:100px; 
    background-color:#fff; 
    color:#000;
    position:absolute; 
    top:2rem; 
    right:2rem; 
    font-size:4rem;
    padding:.3rem 1.2rem; 
    line-height:1; 
    text-decoration:none;
    cursor:pointer; 
    transition:transform .3s ease;
}
.zamknijX:hover{ 
    transform:rotate(90deg); 
}












.container{
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}


.podstrona-header{
    background: #dbe9fb;
    text-align: center;
    padding: 5rem 0;
    margin-top: 122px; 
    position: relative;
}


.podstrona-header::before,
.podstrona-header::after{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #EF870D, transparent);
}
.podstrona-header::before{ top: 0; }
.podstrona-header::after{ bottom: 0; }

.podstrona-header span{
    font-size: 4rem;
    font-weight: 600;
    color: black;
}














.onas-hero{
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background:#fff;
}

.korytarz{
    position:absolute;
    left:0;
    top:0;
    width:calc(50vw - 282px);
    height:100%;
    object-fit:cover;
    z-index:0;
}

.overlay{
    position:absolute;
    left:0;
    top:0;
    width: calc(50vw - 275px);
    height:100%;
    background:rgba(255,255,255,.55);
    z-index:1;
}

.onas-flex{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

.onas-left{
    flex:1;
    display:flex;
    justify-content:center;
}

.onas-mozg{
    width:623px;
    height:auto;
}

.onas-tekst{
    flex:1;
    max-width:470px;
}

.onas-tekst h1{
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 24px;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
}

.onas-tekst h1::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, #EF870D, transparent);
}


.onas-tekst p{
    font-size:1.5rem;
    line-height:1.8;
    color:black;
}










.profil-specjalisty{
    background: #243082;
    min-height: 72rem; 
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.profil-mozg{
    position: absolute;
    top: 0; 
    left: 65%;
    transform: translateX(-50%);
    width: 227px; 
    height: auto;
    opacity: .3;
    z-index: 0;
    pointer-events: none;
}

.profil-specjalisty .container{
    position: relative;
    z-index: 1;
}

.profil-flex{
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row-reverse;
}
.profil-powitanie{
    width: 35rem;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    display: block;
    position: relative;
}
.profil-powitanie::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: .2rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}

.profil-tekst-row{
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    min-width: 0;
    flex: 1;
}


.profil-kolumna-1{
    flex: 1.3;
}

.profil-kolumna-1 h2{
    width: 35rem;
    font-size: 4rem; 
    font-weight: 500;
    color: #fff;
    line-height: 1.25;
    display:block;
    padding-bottom: 1.5rem;
    position: relative;
    margin-bottom: 2rem;
    margin-top: 0;
}
.profil-kolumna-1 h2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: .2rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}

.profil-kolumna-2{
    flex: 1;
    min-width: 0;
    padding-top: 20rem;
}
.profil-tekst-row p{
    margin: 0 0 2rem 0;
}
.profil-flex p{
    width: 40rem;
    font-size: 1.5rem; 
    line-height: 2.5rem;
    letter-spacing: 0;
    max-width: 35rem; 
    width: 100%; 
    color: white;
}
.profil-flex h3{
    font-size: 2.5rem; 
    line-height: 3rem; 
    letter-spacing: 0;
    font-weight: 500;
}

.profil-zdjecie-wrap{
    flex: 0 0 30rem;
    position: relative;
    margin-bottom: 3rem;
    border-radius: 1.2rem;
    outline: 4px solid rgba(255, 255, 255, 0.8);
    outline-offset: -4px;
    overflow: hidden;
}
.profil-zdjecie{
    width: 100%;
    height: 45rem;
    object-fit: cover;
    border-radius: 1.2rem;
    display: block;
    outline: 4px solid rgba(255, 255, 255, 0.8); 
    outline-offset: -4px;
}

.profil-karta{
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 1.2rem 1.2rem;
    padding: 1.2rem 1.4rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    text-align: center;
}

.profil-karta p{
    color: black;
}
.karta-rola{
    font-size: .95rem; 
    font-weight: 600;
    color: black; 
    margin-bottom: .4rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.karta-mail{
    font-size: .85rem; 
    color: black;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media all and (max-width: 1150px){
    .profil-flex{
        flex-direction: column;
        align-items: center;
    }
    .profil-tekst-row{
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        width: 100%;
    }
    .profil-kolumna-1{
        flex: 1 1 45%;
        min-width: 28rem;
    }
    .profil-kolumna-2{
        flex: 1 1 45%;
        padding-top: 0;
        min-width: 28rem;
    }
    .profil-zdjecie-wrap{
        width: 30rem;
        flex: 0 0 auto;
        margin: 0 auto 3rem;
    }
}
@media all and (max-width: 700px){
    .profil-specjalisty{ min-height: 0; padding: 3rem 0 5rem; }
    .profil-mozg{ display: none; }

    .profil-flex{
        flex-direction: column;
        gap: 2rem;
    }
    .profil-tekst-row{
        flex-direction: column; 
        gap: 2rem;
    }
    .profil-kolumna-1 h2{
        width: 100%;
          
    }
    .profil-powitanie{
        width: 100%;
    }
    .profil-kolumna-1{
        min-width: 0; 
    }
    .profil-kolumna-2{
        min-width: 0;
        padding-top: 0;
    }
    .profil-zdjecie{
        height: 40rem;
    }
    .profil-tekst-row p,
    .profil-kolumna-1 p{
        font-size: 1.4rem;
        line-height: 2.2rem;
    }


    .profil-karta{
        padding: .6rem .8rem;
        border-radius: 0 0 1rem 1rem;
    }

    .karta-rola{
        font-size: .7rem;
        line-height: 1.15;
        margin-bottom: .2rem;

  
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .karta-mail{
        font-size: .65rem;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}








.metody-pracy{
    position: relative;
    overflow: hidden;
    padding: 4rem 0 6rem;
}


.metody-box-tekst{
    position: relative;
    margin-bottom: 3rem;
}

.metody-tekst-content{
    flex: 1;
    min-width: 0;
    position: relative;
}

.metody-mozg{
    position: absolute;
    top: -10%;
    right: -20%;
    width: 500px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.metody-box-tekst h2{
    position: relative;
    font-size: 2.5rem;
    font-weight: 600;
    color: #243082;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
}
.metody-box-tekst h2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20rem;
    height: .3rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}
.metody-lead{
    font-size: 1.5rem;
    color: #000000;
    line-height: 2;
    margin-bottom: 1rem;
}

.metody-lista{
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.metody-lista li{
    font-size: 1.5rem;
    color: black;
    line-height: 2;
    padding-left: 1.4rem;
    position: relative;
}
.metody-lista li::before{
    content: '•';
    color: #EF870D;
    position: absolute;
    left: 0;
}

.metody-dobieram{
    font-size: 1.5rem;
    color: black;
    line-height: 1.6;
}


.metody-box-kolumny{
    background: #dbe9fb;
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    box-shadow: 0 3px 5px rgba(0,0,0,0.15);
    overflow: hidden;
}

.metody-kolumna{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.2rem;
    max-width: 100%;
}

.metody-ikona{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 1rem;
}
.metody-ikona img{
    width: 60px;
    height: auto;
}
.metody-tekst-content{
    position: relative;
    z-index: 1;
    max-width: 80%;
}
.metody-tekst{
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.metody-kolumna h3{
    font-size: 2.5rem;
    font-weight: 600;
    color: #243082;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding-bottom: .8rem;
    position: relative;
    display: inline-block;
    overflow-wrap: break-word;
}
.metody-kolumna h3::after{
    content: '';
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    width: 100%;
    height: .3rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}

.metody-kolumna ul{
    list-style: none;
    padding: 2rem 0 0 0 ;
    margin-bottom: 1rem;
}
.metody-kolumna ul li{
    font-size: 1.5rem;
    color: black;
    line-height: 1.75;
    padding-left: 1.2rem;
    position: relative;
    word-break: normal;
}
.metody-kolumna ul li::before{
    content: '•';
    color: #EF870D;
    position: absolute;
    left: 0;
}

.metody-kolumna p{
    font-size: 1.5rem;
    color: black;
    line-height: 1.6;
    word-break: normal;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media all and (max-width: 1300px){
    .metody-box-tekst{
        flex-direction: column;
        align-items: center;
        text-align: left;
    }
    .metody-mozg{
        display: none;
    }
    .metody-box-kolumny{
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2.5rem;
    }
    .metody-kolumna{
        align-items: flex-start;
    }
    .metody-ikona{
        display: none;
    }
}













.profil-specjalisty2{
    background: #E7F3FD;
    min-height: 72rem; 
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.profil-mozg2{
    position: absolute;
    top: 0; 
    left: 93%;
    transform: translateX(-50%) scaleX(-1);
    width: 227px; 
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.profil-specjalisty2 .container{
    position: relative;
    z-index: 1;
}

.profil-flex2{
    display: flex;
    align-items: center;
    gap: 2rem;
}
.profil-powitanie2{
    width: 35rem;
    font-size: 1.4rem;
    color: black;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    display: block;
    position: relative;
}
.profil-powitanie2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: .2rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}

.profil-tekst-row2{
    padding-left: 5rem;
    display: flex;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}


.profil-kolumna-12{
    flex: 1.3;
}

.profil-kolumna-12 h2{
    width: 35rem;
    font-size: 4rem; 
    font-weight: 700;
    color: #243082;
    line-height: 1.25;
    display:block;
    padding-bottom: 1.5rem;
    position: relative;
    margin-bottom: 2rem;
    margin-top: 0;
}
.profil-kolumna-12 h2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: .2rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}

.profil-kolumna-22{
    flex: 1;
    min-width: 0;
    padding-top: 20rem;
}
.profil-tekst-row2 p{
    margin: 0 0 2rem 0;
}
.profil-flex2 p{
    width: 40rem;
    font-size: 1.5rem; 
    line-height: 2.5rem;
    letter-spacing: 0;
    max-width: 35rem; 
    width: 100%; 
    color: black;
}
.profil-flex2 h3{
    font-size: 2.5rem; 
    line-height: 3rem; 
    letter-spacing: 0;
    font-weight: 500;
}

.profil-zdjecie-wrap2{
    flex: 0 0 30rem;
    position: relative;
    margin-bottom: 3rem;
    border-radius: 1.2rem;
    outline: 4px solid rgba(255, 255, 255, 0.8);
    outline-offset: -4px;
    overflow: hidden;
}
.profil-zdjecie2{
    width: 100%;
    height: 45rem;
    object-fit: cover;
    border-radius: 1.2rem;
    display: block;
    outline: 4px solid rgba(255, 255, 255, 0.8); 
    outline-offset: -4px;
}

.profil-karta2{
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 1.2rem 1.2rem;
    padding: 1.2rem 1.4rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    text-align: center;
}

.profil-karta2 p{
    color: black;
}
.karta-rola2{
    font-size: .95rem; 
    font-weight: 600;
    color: black; 
    margin-bottom: .4rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.karta-mail2{
    font-size: .85rem;
    color: black;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media all and (max-width: 1150px){
    .profil-flex2{
        flex-direction: column;
        align-items: center;
    }
    .profil-tekst-row2{
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        width: 100%;
    }
    .profil-kolumna-12{
        flex: 1 1 45%;
        min-width: 28rem;
    }
    .profil-kolumna-22{
        flex: 1 1 45%;
        padding-top: 0;
        min-width: 28rem;
    }
    .profil-zdjecie-wrap2{
        width: 30rem;
        flex: 0 0 auto;
        margin: 0 auto 3rem;
    }
}
@media all and (max-width: 700px){
    .profil-specjalisty2{ 
        min-height: 0; padding: 
        3rem 0 5rem; 
    }
    .profil-mozg2{ 
        display: none; 
    }

    .profil-flex2{
        flex-direction: column;
        gap: 2rem;
    }
    .profil-tekst-row2{
        flex-direction: column; 
        gap: 2rem;
    }
    .profil-kolumna-12 h2{ 
        width: 100%; 
    }
    .profil-powitanie2{ 
        width: 100%; 
    }
    .profil-kolumna-12{
        min-width: 0; 
    }
    .profil-kolumna-22{
        min-width: 0;
        padding-top: 0;
    }
    .profil-zdjecie-wrap2{
        width: 30rem;
        flex: 0 0 auto;
        margin: 0 auto 4rem;
    }
    .profil-zdjecie2{
        height: 40rem;
    }
    .profil-tekst-row2{
        padding: 0;
    }
    .profil-tekst-row2 p,
    .profil-kolumna-12 p{
        font-size: 1.4rem;
        line-height: 2.2rem;
    }
    .profil-karta2{ 
        padding: .5rem 1rem; 
    }
    .karta-rola2{ 
        font-size: .5rem; 
    }
    .karta-mail2{ 
        font-size: .5rem; 
    }
}





.metody-mozg2{
    position: absolute;
    top: -25%;
    right: -11.8%;
    width: 300px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}




@media all and (max-width: 1300px){

    .metody-mozg{
        display: none;
    }
}






.profil-specjalisty3{
    background: #243082;
    min-height: 72rem; 
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.profil-mozg3{
    position: absolute;
    top: 0; 
    left: 65%;
    transform: translateX(-50%);
    width: 227px; 
    height: auto;
    opacity: .3;
    z-index: 0;
    pointer-events: none;
}

.profil-specjalisty3 .container{
    position: relative;
    z-index: 1;
}

.profil-flex3{
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row-reverse;
}
.profil-powitanie3{
    width: 35rem;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    display: block;
    position: relative;
}
.profil-powitanie3::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: .2rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}

.profil-tekst-row3{
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    min-width: 0;
    flex: 1;
}


.profil-kolumna-13{
    flex: 1.3;
}

.profil-kolumna-13 h2{
    width: 35rem;
    font-size: 4rem; 
    font-weight: 500;
    color: #fff;
    line-height: 1.25;
    display:block;
    padding-bottom: 1.5rem;
    position: relative;
    margin-bottom: 2rem;
    margin-top: 0;
}
.profil-kolumna-13 h2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: .2rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}
.profil-tekst-row3 p{
    margin: 0 0 2rem 0;
}


.profil-kolumna-23{
    flex: 1;
    min-width: 0;
    padding-top: 20rem;
}
.profil-flex3 p{
    width: 40rem;
    font-size: 1.5rem; 
    line-height: 2.5rem;
    letter-spacing: 0;
    max-width: 35rem; 
    width: 100%; 
    color: white;
}
.profil-flex3 h3{
    font-size: 2.5rem; 
    line-height: 3rem; 
    letter-spacing: 0;
    font-weight: 500;
}

.profil-zdjecie-wrap3{
    flex: 0 0 30rem;
    position: relative;
    margin-bottom: 3rem;
    border-radius: 1.2rem;
    outline: 4px solid rgba(255, 255, 255, 0.8);
    outline-offset: -4px;
    overflow: hidden;
}
.profil-zdjecie3{
    width: 100%;
    height: 45rem;
    object-fit: cover;
    border-radius: 1.2rem;
    display: block;
    outline: 4px solid rgba(255, 255, 255, 0.8); 
    outline-offset: -4px;
}

.profil-karta3{
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 1.2rem 1.2rem;
    padding: 1.2rem 1.4rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    text-align: center;
}

.profil-karta3 p{
    color: black;
}
.karta-rola3{
    font-size: .95rem; 
    font-weight: 600;
    color: black; 
    margin-bottom: .4rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.karta-mail3{
    font-size: .85rem; 
    color: black;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media all and (max-width: 1150px){
    .profil-flex3{
        flex-direction: column;
        align-items: center;
    }
    .profil-tekst-row3{
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        width: 100%;
    }
    .profil-kolumna-13{
        flex: 1 1 45%;
        min-width: 28rem;
    }
    .profil-kolumna-23{
        flex: 1 1 45%;
        padding-top: 0;
        min-width: 28rem;
    }
    .profil-zdjecie-wrap3{
        width: 30rem;
        flex: 0 0 auto;
        margin: 0 auto 3rem;
    }
}
@media all and (max-width: 700px){
    .profil-specjalisty3{ 
        min-height: 0; 
        padding: 3rem 0 5rem; 
    }
    .profil-mozg3{ 
        display: none; 
    }

    .profil-flex3{
        flex-direction: column;
        gap: 2rem;
    }
    .profil-tekst-row3{
        flex-direction: column; 
        gap: 2rem;
    }
    .profil-kolumna-13{
        min-width: 0; 
    }
    .profil-kolumna-23{
        min-width: 0;
        padding-top: 0;
    }
    .profil-zdjecie3{
        height: 40rem;
    }
    .profil-tekst-row3 p,
    .profil-kolumna-13 p{
        font-size: 1.4rem;
        line-height: 2.2rem;
    }

    .profil-kolumna-13 h2{ 
        width: 100%;
    }
    .profil-powitanie3{ 
        width: 100%; 
    }
    .profil-karta3{
        padding: .6rem .8rem;
        border-radius: 0 0 1rem 1rem;
    }

    .karta-rola3{
        font-size: .7rem;
        line-height: 1.15;
        margin-bottom: .2rem;

    
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .karta-mail3{
        font-size: .65rem;
        line-height: 1.15;

      
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.metody-mozg3{
    position: absolute;
    top: -15%;
    right: -11.8%;
    width: 400px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}










.profil-specjalisty4{
    background: #E7F3FD;
    min-height: 72rem; 
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.profil-mozg4{
    position: absolute;
    top: 0; 
    left: 93%;
    transform: translateX(-50%) scaleX(-1);
    width: 227px; 
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.profil-specjalisty4 .container{
    position: relative;
    z-index: 1;
}

.profil-flex4{
    display: flex;
    align-items: center;
    gap: 2rem;
}
.profil-powitanie4{
    width: 35rem;
    font-size: 1.4rem;
    color: black;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    display: block;
    position: relative;
}
.profil-powitanie4::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: .2rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}

.profil-tekst-row4{
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    min-width: 0;
    flex: 1;
}

.profil-tekst-row4 p{
    margin: 0 0 2rem 0;
}
.profil-kolumna-14{
    flex: 1.3;
    padding-left: 5rem;
}

.profil-kolumna-14 h2{
    font-size: 4rem; 
    font-weight: 700;
    color: #243082;
    line-height: 1.25;
    display:block;
    padding-bottom: 1.5rem;
    position: relative;
    margin-bottom: 2rem;
    margin-top: 0;
}
.profil-kolumna-14 h2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: .2rem;
    background: linear-gradient(90deg, #EF870D, transparent);
}

.profil-kolumna-24{
    flex: 1;
    min-width: 0;
    padding-top: 27rem;
}
.profil-tekst-row4 p{
    margin: 0 0 2rem 0;
}
.profil-flex4 p{
    width: 40rem;
    font-size: 1.5rem; 
    line-height: 2.5rem;
    letter-spacing: 0;
    max-width: 35rem; 
    width: 100%; 
    color: black;
}
.profil-flex4 h3{
    font-size: 2.5rem; 
    line-height: 3rem; 
    letter-spacing: 0;
    font-weight: 500;
}

.profil-zdjecie-wrap4{
    flex: 0 0 30rem;
    position: relative;
    margin-bottom: 3rem;
    border-radius: 1.2rem;
    outline: 4px solid rgba(255, 255, 255, 0.8);
    outline-offset: -4px;
    overflow: hidden;
}
.profil-zdjecie4{
    width: 100%;
    height: 45rem;
    object-fit: cover;
    border-radius: 1.2rem;
    display: block;
    outline: 4px solid rgba(255, 255, 255, 0.8); 
    outline-offset: -4px;
}

.profil-karta4{
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 1.2rem 1.2rem;
    padding: 1.2rem 1.4rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    text-align: center;
}

.profil-karta4 p{
    color: black;
}
.karta-rola4{
    font-size: .95rem; 
    font-weight: 600;
    color: black; 
    margin-bottom: .4rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.karta-mail4{
    font-size: .85rem; 
    color: black;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media all and (max-width: 1150px){
    .profil-flex4{
        flex-direction: column;
        align-items: center;
    }
    .profil-tekst-row4{
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        width: 100%;
    }
    .profil-kolumna-14{
        flex: 1 1 45%;
        min-width: 28rem;
    }
    .profil-kolumna-24{
        flex: 1 1 45%;
        padding-top: 0;
        min-width: 28rem;
    }
    .profil-zdjecie-wrap4{
        width: 30rem;
        flex: 0 0 auto;
        margin: 0 auto 3rem;
    }
}
@media all and (max-width: 700px){
    .profil-specjalisty4{ 
        min-height: 0; 
        padding: 3rem 0 5rem; 
    }
    .profil-mozg4{ 
        display: none; 
    }

    .profil-flex4{
        flex-direction: column;
        gap: 2rem;
    }
    .profil-tekst-row4{
        flex-direction: column; 
        gap: 2rem;
    }
    .profil-kolumna-14 h2{ 
        width: 100%; 
    }
    .profil-powitanie4{ 
        width: 100%; 
    }
    .profil-kolumna-14{
        min-width: 0; 
    }
    .profil-kolumna-24{
        min-width: 0;
        padding-top: 0;
    }
    .profil-zdjecie-wrap4{
        width: 30rem;
        flex: 0 0 auto;
        margin: 0 auto 4rem;
    }
    .profil-zdjecie4{
        height: 40rem;
    }
    .profil-tekst-row4 p,
    .profil-kolumna-14 p{
        font-size: 1.4rem;
        line-height: 2.2rem;
    }
    .profil-karta4{ padding: .5rem 1rem; }
    .karta-rola4{ font-size: .5rem; }
    .karta-mail4{ font-size: .5rem; }
}

.metody-mozg4{
    position: absolute;
    top: -6%;
    right: -11.8%;
    width: 300px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}










.cta-box{
    margin: 3rem 0 9rem 0;
    background: #243082;
    border-radius: 10px;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-left{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-ikona{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cta-ikona img{
    width: 50px;
    height: auto;
}

.cta-tekst h3{
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-tekst p{
    font-size: 1.5rem;
    color: #c7cdf0;
    line-height: 1.4;
}

.cta-btn{
    border:2px solid #EF870D; 
    color:#fff;
    padding:12px 26px;
    border-radius:8px;
    text-decoration:none;
    font-size: 2rem; 
    font-weight:500; 
    transition:.3s;
    background-color: #EF870D;
}
.cta-btn:hover{
    background:#fff; 
    color:#EF870D; 
}

/* ===== RESPONSYWNOŚĆ ===== */
@media all and (max-width: 700px){
    .cta-box{
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        text-align: left;
    }

    .cta-btn{
        width: 100%;
        text-align: center;
    }
}








.stopka{
    background: #1a2b6d;
    padding: 5rem 0 0;
}

.stopka-grid{
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 3rem;
}

.stopka-brand .logo-big{ 
    font-size: 2.4rem; 
}
.stopka-brand .navy{ 
    color: #fff; 
}

.stopka-brand p{
    color: #c9d3ec;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-top: 1.2rem;
}

.stopka-firma{
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #8b9bd1;
}

.stopka-col h4{
    color: #EF870D;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.stopka-col ul{
    list-style: none;
}

.stopka-col ul li{
    margin-bottom: .9rem;
}

.stopka-col ul li a{
    color: #c9d3ec;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color .3s ease;
}
.stopka-col ul li a:hover{
    color: #EF870D;
}

.stopka-kontakt li{
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    color: #c9d3ec;
    font-size: 1.5rem;
    line-height: 1.4;
}
.stopka-kontakt i{
    color: #EF870D;
    margin-top: .3rem;
    width: 16px;
}
.stopka-kontakt a{
    color: #c9d3ec;
    text-decoration: none;
}
.stopka-kontakt a:hover{
    color: #EF870D;
}

.stopka-copy{
    border-top: 1px solid #EF870D;
    margin-top: 3.5rem;
    padding: 1.6rem 0;
    text-align: center;
    color: #8b9bd1;
    font-size: 1.2rem;
}

.stopka-disclaimer{
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
    text-align: center;
}

.stopka-disclaimer p{
    color: #8b9bd1;
    font-size: 1rem;
    line-height: 1.5;
}



@media all and (max-width: 900px){
    .stopka-grid{
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .stopka-brand{
        grid-column: 1 / -1; 
    }
}

@media all and (max-width: 700px){
    .stopka-disclaimer p{
        font-size: 1rem;
    }
}

@media all and (max-width: 600px){
    .stopka-grid{
        grid-template-columns: 1fr; 
    }
}










@media (max-width: 1150px){

    .korytarz{
        width:100%;
        height:100%;
        object-fit:cover;
        left:0;
        top:0;
    }

    .overlay{
        width: 100%;
        background: rgba(179, 208, 245, 0.8);
    }

    .onas-flex{
        flex-direction:column;
        text-align:center;
        gap:40px;
    }
    .onas-tekst p{
        font-weight: 500;
    }
    .onas-tekst{
        max-width:100%;
    }

    .onas-mozg{
        max-width:320px;
        height:auto;
    }

    .onas-tekst h1{
        font-size:2.5rem;
    }
    .onas-tekst h1::after{
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, #EF870D, transparent);
    }

    .metody-mozg2,
    .metody-mozg3,
    .metody-mozg4{
      display: none;  
    }
    .profil-mozg,
    .profil-mozg2,
    .profil-mozg3,
    .profil-mozg4{
        display: none;
    }

    .podstrona-header{
        padding: 3.5rem 0;
    }
    .podstrona-header span{
        font-size: 3rem;
    }
}







/*--navbar--*/

@media all and (max-width: 1150px){
    .burger{ 
        display:block; 
    }
    nav{ 
        display:none; 
    }
    
}


@media all and (max-width: 992px){
    .burger{ display: block; }
    nav{ display: none; }
    section{
        scroll-margin-top: 0;
    }
}
@media all and (max-width:600px){
	.burger{display: block; }
	nav{display: none;}
    section{
        scroll-margin-top: 0;}
    }