/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oswald/v53/TK3iWkUHHAIjg752Fz8Ghe4.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oswald/v53/TK3iWkUHHAIjg752GT8G.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root{
    --greyColor: #999999;
}

html, body{
    font-family: 'Oswald', sans-serif!important;
    color: #000000;
    font-display: swap!important;
    overflow-x: hidden!important;
}

.white{
    color: #fff!important;
    border-color: #fff!important;
}

.bold{
    font-weight: 700!important;
}

/* a tags */
a{
    color: #000000;
    text-decoration: none;
}

a:hover{
    color: #000000;
    cursor: pointer;
}

.p-relative{
    position: relative;
}

.background-triangles{
    background: transparent url('../img/background-triangles.png') 0% 0% repeat padding-box;
}

.background-triangles-article{
    background: transparent url('../img/background-triangles.png') 0% 0% repeat padding-box;
}

.circle-button{
    width: 35px!important;
    height: 35px!important;
    margin: auto;
    border-radius: 50%;
    border: 0;
    padding: 0;
    margin: 0;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.61);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.61);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.61);
    background-color: #999999;
    color: #ffffff;
    line-height: 35px;
    vertical-align: middle;
}

/* sticky nav */
.sticky{
    z-index: 2001;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}

.navigation{
    /* UI Properties */
    margin-left: auto;
    margin-right: auto;
    height: 84px;
    /* width: 90%; */
    width: 85%;
    /* UI Properties */
    background: rgba(255, 255, 255, 0.67);
    box-shadow: 0px 3px 14px #00000029;
    /* border-radius: 0px 0px 22px 22px; */
    backdrop-filter: blur(47px);
    -webkit-backdrop-filter: blur(47px);
}

.solvent-text{
    height: 34px;
}

.navbar-brand img{
    height: 54px;
}

.nav-link .nav-titles{
    text-align: center;
    color: rgba(0,0,0,0.55);
    font-size: 18px;
    font-weight: 500;
}
.nav-link .nav-titles span {
  border-bottom:1px solid #fff!important
}
.nav-link .nav-titles:hover{
  color: #000;
  transition: all 0.1s;
}

.nav-contact-item .nav-link .nav-titles{
    background: var(--greyColor) 0% 0% no-repeat padding-box;
    /* box-shadow: 0px 6px 6px #00000029; */
    border-radius: 26px;
    color: #fff!important;
}

.active-nav-link .nav-titles{
    color: #000!important;
}

.dropdown-nav .dropdown-menu{
    background: rgba(255, 255, 255, 0.67) no-repeat padding-box;
    box-shadow: 0px 3px 14px #00000029;
    border-radius: 10px;
    backdrop-filter: blur(47px);
    -webkit-backdrop-filter: blur(47px);
    border: 0;
}

.custom-toggler.navbar-toggler {
    border: 0;
}

.menu-bar{
    position: absolute;
    bottom: -60px;
    left: 0;
    height: 60px;
    opacity: 0.3;
    transition: all ease-in-out 0.3s;
}

.menu-bar:hover{
    opacity: 1;
}

.header-bg{
    height: 80vh;
}

.header-bg-home{
    height: 100vh;
    background: url('../img/hero-bg.jpg') no-repeat;
    background-size: cover;
    background-position: 25% 100%;
}
.header-bg-home:before {
  position: absolute;
  content: "";
  background: rgba(0, 0, 0, 0.35)!important;
  height: 100vh;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.home-motto-container{
    position: absolute;
    bottom: -50px;
}

.home-motto{
    width: 100%;
    color: #ffffff;
    background: transparent;
    padding-top: 30px;
    padding-bottom: 30px;
}

.home-motto .bigger{
    font-size: 64px;    /* 48px */
    font-weight: 700;
    color:rgba(0,0,0,0.9);
    text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff;
}

.home-motto .smaller{
    font-size: 34px;     /* 30px */
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000;
}

.home-motto .button{
   /* 25px */
    font-size: 32px;     /* 28px */
    color: #fff;
    border-radius: 14px;     /* 25px */
    border: 0;
    background-color: var(--greyColor);
}

.background-blog-links{
    background: url('../img/background-blog-links-v2.jpg') no-repeat center center;
    background-size: cover;
}

.links-title{
    font-size: 28px!important;   /* 40px */
    font-weight: 600!important;
}

.map-info h3{
    font-size: 18px;    /* 26px */
    font-weight: 900;
    text-transform: uppercase;
}

.map-info h4{
    font-size: 52px;    /* 76px */
    font-weight: 100;
}

.map-title{
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
}

.devices-bg{
    background: url('../img/background-devices.webp') no-repeat center center;
    background-size: cover;
}

.devices{
    height: 60vh;
}

.devices h2{
    font-size: 28px;    /* 40px */
    font-weight: 500;
}

.devices p{
    font-size: 12px;    /* 16px */
    font-weight: 300;
}

.devices-img-container{
    position: relative;
}

.devices-img-container img{
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%
}

.questions{
    background: transparent linear-gradient(1deg, #EDEDED 0%, #E2E0E1 56%, #D4D0D1 100%) 0% 0%;
}

.questions h2{
    font-size: 22px; /* 40px */
    font-weight: 600;
    color: #000;
}

.questions button{
    border: 0;
    background: 0;
    text-align: center;
}

.questions button[aria-expanded="true"] h3{
    font-weight: 700;
}

.border-bottom{
    border-top: 1px solid #000;
    width: 60%;
}

.questions button h3{
    font-size: 22px;    /* 30px */
    font-weight: 300;
}

.question-answer{
    height: 100%;
    border: 3px solid var(--greyColor);
    border-radius: 26px;    /* 43px */
}

.answer-collapsed h3{
    font-size: 16px;    /* 22px */
    font-weight: 700;
}

.answer-collapsed h4{
    font-size: 12px;    /* 16px */
    font-weight: 300;
}

.trusted-companies img{
    width: 200px;   /* 80px */
    display: inline-block;
}

.header-bg h1{
    font-weight: 700;
    font-size: 36px;
    color: #E7EBED;
}

.header-bg h2{
    font-weight: 300;
    font-size: 22px;
    color: #E7EBED;
}

.carousel-articles .carousel-control-prev{

    left: -20%;
}

.carousel-articles .carousel-control-next{
    right: -20%;
}

.carousel-articles .carousel-control-next,
.carousel-articles .carousel-control-prev{
    background-color: rgba(0, 0, 0, 0.4);
    width: 170px;
    border-radius: 30px;
}

.blog-link{
    color: #000;
    font-size: 16px;    /* 24px */
    transition: all ease-in-out 0.3s;
}

.blog-link:hover{
    color: var(--greyColor);
}

.background-blog{
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../img/background-blog.webp') no-repeat
    center center;
    background-size: cover;
}

.article-tile{
    height: 540px;
    border-radius: 30px;
    background-color: #fcfcfc;
    position: relative;
}

.article-tile img{
    height: 33%;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.article-tile .date{
    color: #7b7b7b;
    font-weight: 300;
    font-size: 12px;
}

.article-tile .title{
    font-size: 18px;
    font-weight: 700;
}

.article-tile .description{
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35!important;
}

.articles-padding{
    padding-bottom: 8rem;
}

.top-padding{
    padding-bottom: 4rem;
}

.article-header{
    height: 70vh;
    position: relative;
}

.article-header img{
    position: absolute;
    top: 0;
    height: 70vh;
}

.article-title{
    position: absolute;
    bottom: 0;
    background: transparent linear-gradient(90deg, #FFFFFF, #E1E1E1C3, #80808000) 0% 0% no-repeat;
    opacity: 0.8;
}

.article-title h1{
    font-weight: 700;
    font-size: 26px;     /* 40px */
    opacity: 1;
}

.purple-text{
    color: var(--greyColor);
    font-weight: 600;
}

.article-subtitle{
    font-size: 26px;
    font-weight: 700;
}

.article-see-more{
    color: #7B7B7B;
    font-weight: 500;
}

.article-link{
    color: var(--greyColor);
    font-weight: 700;
}

.bg-grey{
    background-color: #F7F7F7;
}

.footer{
    background: transparent linear-gradient(71deg, #ebebeb 0%, #ebebeb 22%, #999999 54%, #828282 92%, #6b6b6b 100%) 0% 0% no-repeat;
    opacity: 1;
    position: relative;
    z-index: 2000;
    min-height: 100vh;
}

.footer .small-circle{
    display:none!important;
    position: absolute;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    background-color: #444;
    left: -100px;
    background: transparent radial-gradient(closest-side at 45% 50%, #FFFFFF 0%, #7B7B7B 100%) 0% 0% no-repeat
    padding-box;
    box-shadow: 6px -7px 30px #00000029;
    z-index: 1;
}

.footer .big-circle-container{
    position: relative;
}

.footer .big-circle{
    box-shadow: 6px -7px 30px #00000029;
    border-radius: 50%;
    height: 350px;
    width: 350px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/footer-bg.jpg')
    no-repeat center center;
    background-size: 100% 100%;
    position: absolute;
    top: -100px;
    left: 0;
    z-index: -1;
}

.footer .big-circle p{
    line-height: 350px;
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 300;
}

.footer-circle-row{
    height: calc(350px - 100px);
}

.footer .links a{
    font-size: 20px;
    font-weight: 400;
    color: rgba(0,0,0,0.9);
    display: block;
    margin-bottom: 5px;
}

.footer .links a:hover{
    color: #000;
    cursor: pointer;
}

.footer-address p{
    color: #000;
    font-weight: 600;
}

#map{
    width: 100%;
    height: 230px;
    border-radius: 15px;
}

.footer-contact{
    background: #d9d9d9;
    border-radius: 15px;
    opacity: 1;
    padding: 50px;
    font-weight: 600;
}

.footer-contact p{
    color: #000;
    font-size: 14px;
}

.footer-contact a{
    color: #000;
    font-size: 24px;
}

.footer-copyright{
    /* UI Properties */
    font-size: 12px;
    font-weight: 300;
    color: #000;
}

.footer-logo{
    height: 100px;
}

.title h1{
    color: var(--greyColor);
    font-size: 42px;
    letter-spacing: 3px;
    font-weight: 700;
}

.preview-control-prev,
.preview-control-next{
    height: 70vh;
    line-height: 70vh;
    font-size: 44px;
    color: #fff;
    opacity: 0.8;
    transition: all ease-in-out 0.3s;
}

.preview-control-prev:hover,
.preview-control-next:hover{
    height: 70vh;
    line-height: 70vh;
    font-size: 44px;
    color: #fff;
    opacity: 1;
}

.realization-preview img.preview{
    max-height: 70vh;
    border-radius: 42px;
}

.realization-preview .preview-control-prev{
    position: relative;
    left: -10%;
}


.realization-preview .preview-control-next{
    position: relative;
    right: -10%;
}

.realization-preview-img-container{
    position: relative;
}

.realization-preview-img-container .back{
    position: absolute;
    top: -50px;
    left: -50px;
    color: var(--greyColor);
    font-weight: 500;
    font-size: 20px;
}

.realization-preview-img-container .exit{
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 34px;
}

.realization-preview-informations .info-bg{
    background-color: var(--greyColor);
    color: #fff;
    border-radius: 30px;
    height: 100%;
    line-height: 50px;
}

.realization-preview-informations img{
    height: 50px;
}


/* 1200px and larger */
@media screen and (min-width: 1200px){

    .map-title{
        font-weight: 500!important;
        font-size: 30px!important;    /* 40px */

    }

    .map-info{
        color: #f0f0f0;
        transition: all ease-in-out 0.3s;
    }

}


/* 1920px and larger */
@media only screen and (min-width: 1920px){

    .navigation{
        /* border-radius: 0px 0px 22px 22px; */
        height: 124px;
    }

    .navigation .navbar-brand img{
        height: 88px;
    }

    .solvent-text{
        height: 55px;
    }

    .nav-link .nav-titles{
        font-size: 24px;
    }

    .category-title{
        font-size: 30px;
    }

    .article-tile{
        height: 690px;
        border-radius: 43px;
    }

    .article-tile img{
        border-radius: 43px 43px 0  0;
    }

    .article-tile .date{
        font-size: 18px;
    }

    .article-tile .title{
        font-size: 30px;
    }

    .article-tile .description{
        font-size: 22px;
        line-height: 1.35!important;
    }

    .article-tile .link{
        padding-bottom: 60px;
    }

    .article-title h1{
        font-size: 40px;     /* 40px */
    }


    .article-more-info{
        font-size: 30px;     /* 30px */
    }

    /* .footer .small-circle{
        height: 340px;
        width: 340px;
        left: -180px;
        top: -20px;
    }

    .footer .small-circle img {
      max-width:140px!important;
      height:auto!important;
    } */

    .footer .big-circle-container{
        position: relative;
    }

    .footer .big-circle{
        width: 500px;
        height: 500px;
        top: -125px;
        left: 0;
    }

    .footer .big-circle p{
        line-height: 500px;
        font-size: 40px;
    }

    .footer-circle-row{
        height: calc(500px - 125px);
    }

    .footer-contact{
        width: 621px;
        height: 324px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .footer-contact p{
        font-size: 20px;
    }

    .footer-contact a{
        font-size: 32px;
    }

    .footer-address p{
        font-size: 20px;
        font-weight: 600;
    }

    #map{
        width: 100%;
        height: 324px;
    }

    .footer .links a{
        font-size: 24px;
        margin-bottom: 10px;
    }

    .footer-logo{
        height: 140px;
    }

    .footer-copyright{
        font-size: 14px;
    }

    /* CONTINUE*/

    /* .home-motto{
        border-radius: 46px;
    } */

    .home-motto .bigger{
        font-size: 102px;    /* 48px */
        color:rgba(0,0,0,0.9);
        text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff;
    }

    .home-motto .smaller{
        font-size: 48px;     /* 30px */
    }

    .home-motto .button{
        font-size: 50px;     /* 28px */
    }

    .offer-title{
        font-size: 40px;     /* 40px */
    }

    .offer-tile{
        height: 369px;    /* 369px */
        border-radius: 43px;    /* 43px */
    }

    .offer-tile .heat-pumps,
    .offer-tile .photovoltaics{
        height: 369px;    /* 369px */
    }

    .offer-tile h3{
        font-size: 30px;    /* 30px */
    }

    .offer-tile h4{
        font-size: 24px;    /* 24px */
    }

    .offer-tile .arrow{
        height: 30px;   /* 30px */
    }

    .offer-tile .arrow img{
        height: 30px;   /* 30px */
    }


    .offer-blog-tile{
        border-radius: 46px; /* 46px */
    }

    .offer-blog-tile .blog-tile-img{
        border-top-left-radius: 46px; /* 46px */
        border-top-right-radius: 46px; /* 46px */
        height: 360px;
    }

    .offer-blog-tile h3{
        font-size: 30px; /* 30px */
    }

    .offer-blog-tile p{
        font-size: 16px; /* 16px */
    }

    .offer-blog-tile .read-more span,
    .article-tile .read-more span{
        font-size: 16px;    /* 16px */
        line-height: 25px;
    }

    .offer-blog-tile .arrow,
    .article-tile .arrow{
        font-size: 25px;    /* 12px */
        line-height: 25px;
    }

    .offer-blog-tile:hover .arrow,
    .article-tile:hover .arrow{
        color: var(--greyColor);  /* 3px */
    }

    .advantage h3{
        font-size: 30px; /* 30px */
    }

    .advantage p{
        font-size: 16px;    /* 16px */

    }

    .map-title{
        font-size: 40px!important;    /* 40px */
    }

    .links-title{
        font-size: 40px!important;    /* 40px */
    }

    .map-info h3{
        font-size: 18px;    /* 26px */
    }

    .map-info h4{
        font-size: 52px;    /* 76px */
    }

    .devices h2{
        font-size: 28px;    /* 40px */
    }

    .devices p{
        font-size: 12px;    /* 16px */
    }

    .questions h2{
        font-size: 40px; /* 40px */
        font-weight: 600;
        color: #000;
    }


    .questions button h3{
        font-size: 24px;    /* 30px */
    }

    .question-answer{
        border-radius: 26px;    /* 43px */
    }

    .answer-collapsed h3{
        font-size: 16px;    /* 22px */
    }

    .answer-collapsed h4{
        font-size: 12px;    /* 16px */
    }

    .carousel-articles .carousel-control-next,
    .carousel-articles .carousel-control-prev{
        border-radius: 30px;
    }

    .article-title h1{
        font-size: 40px;     /* 40px */
    }

    .article-more-info{
        font-size: 30px;     /* 30px */
    }
}

.akcjonariusze img {
  max-height:124px!important;
  width:auto!important
}

/* PHONES AND TABLETS */
@media only screen and (max-width: 1199px){

    .navigation{
        border-radius: 0;
        width: 100%;
        height: auto;
        background: none;
        /* UI Properties */
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navigation .navbar-brand{
        padding-left: 20px;
    }

    .navigation .custom-toggler{
        padding-right: 20px;
    }

    .navigation .custom-toggler div{
        background-color: #fff;
        padding: 4px;
        border-radius: 4px;
    }

    .navigation .navbar-collapse{
        background-color: #fff;
        -webkit-transition: none !important;
        -moz-transition: none !important;
        -o-transition: none !important;
        transition: none !important;
    }

     /* MAP */

    .map .map-content{
        color: #fff;
    }

    .map-info{
        color: #f0f0f0;
    }

    .map-info h3{
        font-size: 14px;
    }

    .map-info h4{
        font-size: 24px;
    }

    /* REALIZATIONS */

    .preview-control-prev,
    .preview-control-next{
        height: 100%;
        line-height: 100%;
        width: auto!important;
        font-size: 30px;
        color: #8b8b8b;
        background-color: rgba(0, 0, 0, 0)!important;
    }

    .preview-control-prev:hover,
    .preview-control-next:hover{
        height: 100%;
        line-height: 100%;
    }

    .blog-link{
        border: 1px solid #000;
        background-color: #fff;
        padding: 10px 20px;
        border-radius: 30px;    /* 52px; */
        font-weight: 100;
    }

    .footer{
        height: auto;
        z-index: 1
    }

    .footer-contact p{
        font-size: 14px;
    }

    .footer-contact a{
        font-size: 18px;
    }

    .footer-copyright-container{
        position: relative;
    }

    .footer-copyright{
        padding-bottom: 10px;
    }

    .footer-logo{
        height: 90px;
    }
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none!important;
    box-shadow: none!important;
}


.nobr { white-space:nowrap!important; }

.section-bg {
  background-color: #e9e9e9;
}

ol {
  padding: 0!important;
  list-style-type: none!important;
}
ol li {
  display: flex!important;
  align-items:start!important;
  list-style-type: none!important;
}

ul.cele-fundacji-list li {
  display: flex!important;
  align-items:center!important;
  list-style-type: none!important;
}
ul.cele-fundacji-list li::before {
  display: flex!important;
  content: '\2713\00a0\00a0';
  color: green;
  font-size: 2rem;
  font-weight: 900;
  margin-right: 0.25rem!important
}

.fa-facebook {
  color:#1877F2!important
}
.fb-visit-text {
  font-style: italic!important;
  color:#1877F2!important;
  font-weight:900!important;
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff!important
}

hr.realizacja-celow-divider {
    border: 0!important;
    height: 1px!important;
    background: #000!important;
    background-image: linear-gradient(to right, #ccc, #000, #ccc)!important
}

.navigation .custom-toggler span > i {
  color: #000!important
}

.podatek-banner {
  border-top: 1px solid #000!important;
  border-bottom: 1px solid #000!important;
}

/* Cookie Consent overrides */
#cc-main{
    --cc-font-family: 'Oswald', sans-serif;
    --cc-btn-primary-bg:#30363c;
    --cc-btn-primary-border-color:#30363c;
    --cc-btn-border-radius:33px;
    --cc-toggle-on-bg:#30363c
}
/* #cc-main,#cc-main .pm{
    --cc-modal-transition-duration:0!important
} */
#cc-main .cm{
    background:rgba(255,255,255,.7)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    backdrop-filter:blur(8px)!important;
    --cc-modal-transition-duration:0.7s!important
}
button[data-cc=show-preferencesModal]:focus,button[data-cc=show-preferencesModal]:hover{
    background-color:transparent!important;
    border-color:#f8f9fa!important;
    color:#fff!important;
    outline:0!important;
    box-shadow:none!important
}

/* ==========================================================================
   WIDŻET BOCZNY - AMBERFORGE CONFERENCE (Anti-Glitch UI)
   ========================================================================== */
.conf-widget {
    position: fixed;
    top: 50%;
    right: 0;
    left: auto;
    transform: translate3d(calc(100% + 40px), -50%, 0);
    z-index: 9995;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    pointer-events: none;
    transition: transform 0.5s ease-out;

    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Wygładzanie czcionek - zapobiega ich pogrubianiu przy animacjach */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Oswald', sans-serif;
}

.conf-widget.is-visible {
    transform: translate3d(0, -50%, 0);
}

/* --- BADGE (Niebieski Przycisk) --- */
.conf-widget-trigger {
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #152540 0%, #04a0fd 100%);
    color: #fff;
    border: 0;
    padding: 24px 4px;
    border-radius: 16px 0 0 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    /* Usunięto transition filter i all na rzecz konkretnych właściwości */
    transition: transform 0.4s ease-out 0.4s,
                opacity 0.4s ease-out 0.4s;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* Pseudo-element do efektu rozjaśnienia bez użycia 'filter' (Anti-glitch) */
.conf-widget-trigger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Efekt świetlnego błysku (Shimmer) */
.conf-widget-trigger::after {
    content: '';
    position: absolute;
    top: 0;
    right: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(25deg);
    animation: confShimmer 6s infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes confShimmer {
    0% { right: -150%; }
    15% { right: 150%; }
    100% { right: 150%; }
}

@media (hover: hover) {
  .conf-widget-trigger:hover {
      box-shadow:
          -6px 0 25px rgba(4, 160, 253, 0.6),
          -12px 0 35px rgba(4, 160, 253, 0.3),
          inset -2px 2px 5px rgba(255, 255, 255, 0.7),
          inset 2px -2px 5px rgba(0, 0, 0, 0.3);
  }

  .conf-widget-trigger:hover::before {
      opacity: 1;
  }
}

/* Ikona układu scalonego + pulsowanie */
.conf-widget-trigger i {
    background: rgba(255, 255, 255, 0.15);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    position: relative;
    z-index: 3;

    /* Delikatny, w 100% statyczny cień dla ładnego wyglądu (żadnych animacji) */
    box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.5);

    /* Twarde blokowanie skakania i grubienia czcionki */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.conf-widget-trigger-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg) translateZ(0);
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

/* --- PANEL GŁÓWNY (GLASSMORPHISM) --- */
.conf-widget-content {
    pointer-events: auto;
    position: absolute;
    right: 0;
    left: auto;
    width: 290px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-right: none;
    border-radius: 24px 0 0 24px;

    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.1), inset -1px 1px 0px rgba(255, 255, 255, 0.5);
    padding: 20px 18px 24px 16px;

    transform: translate3d(110%, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease-out 0s,
                opacity 0.4s ease-out 0s,
                visibility 0.4s ease-out 0s;
}

.conf-widget-content::-webkit-scrollbar {
    display: none;
}

.conf-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.conf-widget-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #152540 0%, #04a0fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.conf-widget-close {
    background: #f4f7f6;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aebacf;
    font-size: 13px;
    cursor: pointer;
    /* Zmienione na twarde selektory zamiast "all" */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;

    transform: rotate(0deg) scale(1) translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.conf-widget-close:hover {
    background: #fff;
    color: #e63946;
    transform: rotate(90deg) scale(1.1) translateZ(0);
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.2);
}

.conf-widget-date {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.conf-widget-desc {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 18px;
}

.conf-widget-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #152540 0%, #04a0fd 100%);
    color: #fff !important;
    padding: 10px;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

/* ==========================================================================
   STANY AKTYWNE (SEKWENCJA PRAWOSTRONNA)
   ========================================================================== */

/* 1. OTWIERANIE: Języczek chowa się w prawo szybciej */
.conf-widget.is-open .conf-widget-trigger {
    transform: translate3d(120%, 0, 0);
    opacity: 0;
    transition: transform 0.3s ease-out 0s,
                opacity 0.3s ease-out 0s;
}

/* 2. OTWIERANIE: Okienko wjeżdża z prawej strony (czeka 0.3s aż języczek się schowa) */
.conf-widget.is-open .conf-widget-content {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s ease-out 0.3s,
                opacity 0.4s ease-out 0.3s,
                visibility 0.4s ease-out 0.3s;
}

/* --- OPTYMALIZACJA MOBILE --- */
@media (max-width: 576px) {
    .conf-widget {
        top: 220px;
        transform: translate3d(calc(100% + 40px), 0, 0);
    }
    .conf-widget.is-visible {
        transform: translate3d(0, 0, 0);
    }
    .conf-widget-trigger { padding: 16px 3px; }
    .conf-widget-trigger i { width: 18px; height: 18px; font-size: 9px; }
    .conf-widget-trigger-text { font-size: 10px; }
    .conf-widget-content {
        width: 270px;
        padding: 20px 15px 20px 18px;
        border-radius: 20px 0 0 20px;
    }
}
