:root{
    --body-fi: #FAF8F7;
    --white-fi: #fff;
    --orange-fi: #F04911;
    --main-black: #000;
    --black-fi: #0F0F0F;
    --yellow-fi: #C8B392;
    --mint-fi: #BDC2B7;
    --box-fi: #B09A78D9;
    --yellow-fi: #C8B392;
    --green-fi: #89917E;
    --gray-fi: #EDE9E8;
    --new-yellow-fi: #D68D18;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html{
    font-family: "Montserrat", sans-serif;
    background: var(--body-fi);
    scroll-behavior: smooth;
    color: var(--black-fi);
}

body h1{
    color: var(--white-fi);
    font-size: 80px;
    line-height: 100%;
    margin-bottom: 28px;
    font-weight: 600;
    letter-spacing: -3px;
}

h2{
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -2px;
    color: var(--black-fi);
}

p{
    font-weight: 400;
    color: var(--black-fi);
    font-size: 16px;
    line-height: 100%;
}

body header.landing{
    min-height: 900px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

header.landing::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(249.43deg, rgba(240, 90, 39, 0.071) 17.56%, rgba(240, 73, 17, 0.71) 70.24%);
    pointer-events: none; /* Zapobiega interakcji */
    z-index: 999; /* Warstwa nad tłem, ale pod treścią */
}


header.landing img.header{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
}

header.landing .container-fluid{
    position: relative;
    z-index: 9999;
}

header.landing .container-fluid a{
    display: block;
    margin: 41px 0 0 41px;
}

header.landing .center{
    position: relative;
    margin: auto 0;
    z-index: 9999;
    margin-top: 90px;
}

header.landing p{
    color: #fff;
    font-weight: 400;
    font-size: 22px;
    line-height: 22px;
}

header.landing p span.white-back{
    color: var(--orange-fi);
    font-weight: 700;
    background-color: var(--white-fi);
    padding: 10px 16px;
    margin-right: 7px;
    display: inline-block;
}

header.landing svg{
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 999;
}

.under-header-form{
    max-width: 665px;
    width: 100%;
    background-color: var(--white-fi);
    padding: 64px;
    border-radius: 12px;
    position: relative;
    z-index: 999;
}

/**
* Contact form
*/

.contact-form h2{
    font-size: 30px;
    line-height: 32px;
    font-weight: 500;
    color: var(--black-fi);
    margin-bottom: 20px;
}

.contact-form h2 span{
    color: var(--orange-fi);
    font-weight: 700;
}

.contact-form input:not([type='checkbox']):not([type='submit']){
    border: 1px solid var(--orange-fi);
    width: 100%;
    border-radius: 6px;
    background-color: var(--whtie-fi);
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--black-fi);
    height: 45px;
}

.contact-form input::placeholder{
    color: var(--black-fi);
}

.contact-form input:focus,
.contact-form input:active{
    outline: none;
}

.contact-form span.orange{
    color: var(--orange-fi);
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 16px;
    display: block;
}

.contact-form br{
    display: none;
}

.contact-form span.black{
    color: var(--black-fi);
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin: 10px 0 11px 0;
}

.contact-form .wpcf7-acceptance label{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-form .wpcf7-acceptance span{
    margin-left: 0px;
}

.contact-form .wpcf7-acceptance input{
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--orange-fi);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    aspect-ratio: 1;
}
.contact-form input[type="checkbox"]:checked::after {
    content: "✔";
    font-size: 12px;
    color: var(--orange-fi);
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-form .wpcf7-acceptance span{
    color: var(--black-fi);
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

.contact-form input[type="submit"]{
    background-color: var(--orange-fi);
    font-size: 19px;
    font-weight: 600;
    padding: 2px 22px;
    color: var(--white-fi);
    border-radius: 6px;
    border: 1px solid var(--orange-fi);
    transition: .3s ease-in-out;
    display: block;
    width: fit-content;
    margin: 4px auto 0 auto;
}

.contact-form input[type="submit"]:hover{
    background-color: var(--whtie-fi);
    color: var(--orange-fi);
}

.contact-form p{
    margin-bottom: 0px;
}

.wpcf7-not-valid-tip{
    color: red;
    font-weight: 500;
    font-size: 12px;
    display: block;
    position: absolute;
    top: 0px;
    right: 10px;
}

.wpcf7-list-item{
    margin-bottom: 20px;
}

/*.map-wrapper {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    height: 896px; !* Możesz dostosować *!*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

/*#parallax-map {*/
/*    max-width: 100%;*/
/*    position: absolute;*/
/*    top: 200px; !* Startowa pozycja *!*/
/*}*/

#parallax-map{
    max-width: 896px;
    height: auto;
    position: absolute;
    right: 20px;

    right: 0;
    z-index: 99;
}

.boxes{
    background-image: url("https://osiedlefi-landing.behosting4.pl/wp-content/uploads/2025/03/Rectangle-10.png");
    padding: 230px 0 190px 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    z-index: 9;
    position: relative;
}

.boxes h2{
    text-align: center;
    color: var(--white-fi);
    margin-bottom: 50px;
}

.map.map-wrapper{
    position: relative;
}

.boxes svg{
    display: block;
    margin: 0 auto;
    margin-bottom: 100px;
    max-width: 426px;
    width: 100%;
}

.boxes-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 26px;
}

.boxes-container a{
    background-color: var(--box-fi);
    border: 1px solid var(--white-fi);
    border-radius: 12px;
    max-width: 172px;
    width: 100%;
    min-height: 182px;
    height: 100%;
    transition: .3s ease-in-out;
    margin: 0 auto;
}

/*.boxes-container a:hover{*/
/*    transform: translateY(-10px);*/
/*}*/

.boxes-container a .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.boxes-container a .box img{
    margin-top: 40px;
}

.boxes-container a h3{
    color: var(--black-fi);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background-color: var(--white-fi);
    width: 100%;
    margin-top: auto;
    margin-bottom: 0px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 10px 0;
}

.boxes-container a:focus,
.boxes-container a:active{
    outline: none;
}


.left-right{
    padding: 80px 0;
    overflow: hidden;
}

.left-right h2{
    margin-bottom: 20px;
}

.left-right p{
    margin-bottom: 0px;
}

.left-right .col-12{
    position: relative;
}

.box-left,
.box-right{
    position: relative;
}

.box-left .absolute-img{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}


.box-right .absolute-img{
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
}


.box-left .box{
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    left: 0;
    z-index: 9;
    max-width: 712px;
    width: 100%;
    min-height: 251px;
    height: auto;
    box-shadow: 0px 0px 34px 0px #00000033;
    display: flex;
    z-index: 999;
}

.box-right .box{
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    right: 0;
    z-index: 9;
    max-width: 712px;
    width: 100%;
    min-height: 251px;
    height: auto;
    display: flex;
    box-shadow: 0px 0px 34px 0px #00000033;
    z-index: 999;
}

.box-left .box .left{
    min-width: 206px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--yellow-fi);
}

.box-left .box .right{
    background-color: var(--white-fi);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 41px;
}


.box-right .box .left{
    min-width: 206px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mint-fi);
    order: 2;
}

.box-right .box .right{
    background-color: var(--white-fi);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 41px;
    order: 1;
}

.hidden-img{
    visibility: hidden;
}

.box-left .absolute-img{
    position: absolute;
}


#energooszczednosc .absolute-img{
    display: none;
}

#energooszczednosc .hidden-img{
    visibility: visible;
    float: right;
}

#ekosystem .absolute-img{
    display: none;
}

#ekosystem .hidden-img{
    visibility: visible;
    float: left;
}

#wellbeing .absolute-img,
#wellbeing .hidden-img,
#energooszczednosc .absolute-img,
#energooszczednosc .hidden-img,
#ekosystem .absolute-img,
#ekosystem .hidden-img,
#praktycznosc .absolute-img,
#praktycznosc .hidden-img{
    transform: scale(1.2);
    z-index: 9;
}

#praktycznosc{
    /*padding-bottom: 140px;*/
}

.gallery{
    position: relative;
    z-index: 99;
}

.left-right{
    padding-bottom: 140px;
}

.gallery-box{
    padding: 72px 82px;
    background-color: var(--white-fi);
    /*margin-top: 160px;*/
    position: relative;
}

.gallery-box h2{
    font-size: 32px;
    line-height: 34px;
    font-weight: 400;
    margin-bottom: 44px;
}

.gallery-box .splide__arrow svg{
    color: var(--white-fi);
}

.splide__arrows{
    position: absolute;
    bottom: 160px;
    width: calc(100% - 40px);
    left: 50%;
    transform: translate(-50%, 0);
}

.splide__arrows button{
    opacity: 1;
    height: 66px;
    width: 66px;
    background-color: var(--green-fi);
    border-radius: 0px;
}

.splide__arrows button:hover{
    opacity: 1 !important;
}

.splide__arrows button:active,
.splide__arrows button:focus{
    outline: none;
}

.splide__slide img {
    vertical-align: bottom;
    display: block;
    margin: 0 auto;
}

.socials{
    padding: 77px 0 50px 0;
    /*padding: 0px 0 93px 0;*/
    position: relative;
}

.socials-box{
    max-width: 665px;
    width: 100%;
    background-color: var(--yellow-fi);
    margin: 0 auto;
    color: var(--white-fi);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 30px;
    border-radius: 12px;
}

.socials-box h4{
    color: var(--white-fi);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 0px;
}

.socials-box h3{
    color: var(--white-fi);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 0px;
}

.socials-box .right{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bottom-back{
    position: absolute;
    bottom: 0;
    min-height: 470px;
    object-fit: cover;
    width: 100%;
}

#parallax-map-2{
    max-width: 665px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0px 2px 73px 0px #00000026;
    position: relative;
    z-index: 99;
}

.boxes-parallax{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
}

.under-header{
    position: relative;
}


.left-parallax{
    position: absolute;
    left: 0;
    top: 200px
}

.right-parallax{
    position: absolute;
    right: 66px;
    /*top: -150px;*/
    top: -765px;
    z-index: 99;
}

.left-right-paral{
    position: absolute;
}

.paral-0{
    left: 20px;
    top: -465px;
    z-index: 99;
}

.paral-1{
    right: 0px;
    z-index: 9;
}

.paral-2{
    left: 0px;
}

.paral-3{
    right: 60px;
    bottom: -400px;
}

.paral-4{
    left: 0px;
}

.paral-5{
    left: 100px;
    /*bottom: -500px;*/
    bottom: -100px;
    z-index: 99;

}

#parallax-map-3{
    /*max-width: 665px;*/
    max-width: 896px;
    width: 100%;
    /*margin: 0 auto;*/
    margin-bottom: 60px;
    border-radius: 12px;
    box-shadow: 0px 0px 34px 0px #00000033;
}

#bottomMainForm{
    background-color: var(--gray-fi);
    max-width: 896px;
    margin-left: auto;
}

#bottomMainForm .inputs{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

#bottomMainForm form{
    margin-bottom: 0px;
}

.socials:has(#bottomMainForm){
    padding-top: 0px;
}

.copy{
    position: relative;
    padding-top: 50px;
    font-size: 12px;
}

.copy-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.copy-box p,
.copy-box a
{
    margin-bottom: 0px;
    font-size: 14px;
}

.copy-box a{
    color: var(--orange-fi);
}

.copy-box a:hover{
    text-decoration: underline;
}

.contact-form .wpcf7-acceptance span a{
    color: var(--orange-fi);
}

.contact-form .wpcf7-acceptance span a:hover{
    text-decoration: underline;
}

.policy h1{
    color: var(--orange-fi);
    font-size: 50px;
    margin-bottom: 32px;
}

.policy h2{
    font-size: 32px;
}

.policy h3{
    font-size: 32px;
    color: var(--black-fi);
    font-weight: 500;
    border-top: none;
}

.policy{
    padding: 72px 0;
}

@media(min-width: 2800px){
    section{
        max-width: 1400px;
        margin: 0 auto;
    }
}

@media(min-width: 991.98px){
    .under-header .container{
        max-height: 500px;
    }

    #bottomMainForm .wpcf7-not-valid-tip{
        position: relative;
        margin-top: -12px;
        margin-left: 10px;
    }
}

@media(max-width:1199.98px){
    .boxes-container{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media(max-width: 991.98px){

    .box-left, .box-right{
        padding-bottom: 120px;
    }

    .hidden-img{
        display: block !important;
        width: 100%;
        min-height: 320px;
        max-height: 320px;
        object-fit: cover;
        z-index: 99;
        left: 0;
        position: absolute;
        visibility: visible;
        height: 100%;
    }

    .left-right .col-12:has(.hidden-img){
        position: inherit;
    }



    .left-right{
        padding-bottom: 80px;
    }

    body h1{
        font-size: 60px;
    }

    header.landing p{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    header.landing p span.white-back{
        width: fit-content;
    }

    .under-header-form{
        padding: 44px;
        margin: 0 auto;
    }

    #parallax-map{
        max-width: 100%;
        height: auto;
        position: absolute;
    }

    .box-right .absolute-img,
    .box-right .hidden-img,
    .box-left .absolute-img,
    .box-left .hidden-img{
        display: none;
    }

    .box-right .box,
    .box-left .box{
        position: relative;
        margin-bottom: 30px;
        margin-top: 149px;
    }

    .gallery-box{
        margin-top: 80px;
    }

    .boxes{
        padding: 115px 0 80px 0;
    }

    .paral-3{
        right: 0px;
        bottom: -400px;
    }


    header.landing .center {
        margin-top: 60px;
    }

    body header.landing {
        min-height: 650px;
    }

}


@media(max-width: 768.98px){

    .copy-box{
        flex-direction: column;
        gap: 10px;
    }

    #bottomMainForm .inputs{
        grid-template-columns: 1fr;
        gap: 0px;
    }

    header.landing .center{
        margin-top: 60px;
    }

    body header.landing{
        min-height: 650px;
    }



    .wpcf7-not-valid-tip{
        top: -50px;
        right: unset;
        left: 0;
    }

    header.landing .container-fluid a{
        margin-left: 0px;
    }

    .boxes-container{
        grid-template-columns: 1fr 1fr;
    }

    /*.box-left .box .left{*/
    /*    min-width: unset;*/
    /*    position: absolute;*/
    /*    width: 100px;*/
    /*    height: 100px;*/
    /*    border-bottom-right-radius: 12px;*/
    /*}*/

    /*.box-left .box .right{*/
    /*    padding-left: 120px;*/
    /*    padding-top: 30px;*/
    /*    justify-content: flex-start;*/
    /*}*/

    /*.box-right .box .left{*/
    /*    min-width: unset;*/
    /*    position: absolute;*/
    /*    width: 100px;*/
    /*    height: 100px;*/
    /*    border-bottom-left-radius: 12px;*/
    /*    right: 0;*/
    /*}*/

    /*.box-right .box .right{*/
    /*    padding-right: 120px;*/
    /*    padding-top: 30px;*/
    /*    justify-content: flex-start;*/
    /*}*/

    .box-right .box .left{
        max-width: 100px;
        min-width: 100px !important;
    }

    .box-left .box .left{
        max-width: 100px;
        min-width: 100px !important;
    }






    .left-right h2{
        font-size: 30px;
    }

    .box-right .box{
        min-height: unset;
    }

    .gallery-box{
        margin-top: 0px;
        padding: 36px 41px;
    }
}

@media(max-width: 576.98px){
    .left-right h2{
        font-size: 22px;
    }
}