/* header */

body.scrolled header{position: fixed; display: flex; align-items: center; top: 0; max-width: 100%; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; border-radius: 0; background-color: white; height: 57px;}

body.scrolled.masked header{top: -57px;}

header{position: fixed; top: 30px; max-width: 1250px; width: 100%; padding: 0px; border-radius: 6px; margin: 0 auto; left: 50%; transform: translateX(-50%); z-index: 3; transition: all 250ms;}
header .container{height: 48px; display: flex; gap: 30px; justify-content: space-between; max-width: 1250px; width: 100%; margin: 0 auto; align-items: center;}
body.scrolled header .logo{max-width: 240px; background-size: 100% auto; background-image: url(../images/logo_dark.svg); max-height: 48px; height: 100%;}
body.scrolled header{padding: 5px 15px; padding-right: 25px;}
header .logo {max-width: 306px; width: 100%;height: auto;background-image: url(../images/logo.svg);background-position: center center;background-size: 100% auto;background-repeat: no-repeat;display: block;aspect-ratio: 2/1; transition: all 300ms;}
header .nav{display: flex; list-style: none; align-items: center; gap: 60px;}
header .nav .menu{display: flex; gap: 25px; list-style: none; flex-wrap: wrap;}
header .nav .menu li{display: flex; gap: 9px; position: relative;}
header .nav .menu li a {font-style: normal;font-weight: 400;font-size: 1rem;line-height: 23px;color: #ffffff;transition: all 200ms;white-space: nowrap;letter-spacing: -3%; display: flex; gap: 8px;}
header .nav .menu li:hover a{color: #DBFF7F;}
header .nav .menu li:hover a .drop-down-icon svg path{fill: #DBFF7F;}

header .nav .menu li a .drop-down-icon svg path{fill: white; transition: all 150ms; text-shadow: 0px 0px 5px rgba(255,255,255,.2), 0px 0px 5px #00000052;}
body.scrolled header .nav .menu li a .drop-down-icon svg path{fill: #575757; text-shadow: none;}

body.scrolled header .nav .menu li:hover a .drop-down-icon svg path{fill: #9BC03C; text-shadow: none;}

body.scrolled header .nav .menu li a,
body.scrolled.homepage header .nav .menu li a.active{text-shadow: none; color: #575757;}


body.homepage header .nav .menu li a.active{color: #fff;}

body.homepage header .nav .menu li a.active:hover{color: #9BC03C;}

header .nav .menu li a.active{color: #D3FF61;}
header .nav .menu li a.active .drop-down-icon svg path{fill: #9BC03C;}
header .nav .hamburger{display: none; justify-content: center; align-items: center; gap: 6px; cursor: pointer;}
header .nav .hamburger .bar{height: 1px; width: 22px; background-color: black;}


header .nav .menu li:hover ul.hasdropdown{display: block; box-shadow: 0px 0px 5px #0000004f;}
header .nav .menu li a{position: relative;}
header .nav .menu ul.hasdropdown li a{text-shadow: none;}
header .nav .menu li:hover a::before{content: ''; position: absolute; width: 100%; height: 40px; position: absolute; top: 0; left: 0;}
body.scrolled header .nav .menu li:hover a::before{height: 60px;}
body.scrolled header .nav .menu li:hover a{color: #9BC03C;}
body.scrolled header .nav .menu li.dropdown-link li a{color: #242424;}
body.scrolled header .nav .menu li.dropdown-link li:hover a{color: #9BC03C;}

header .nav .menu ul.hasdropdown {list-style: none;position: absolute;background-color: white;display: none;top: 40px;transform: translateX(-15px);border-top: 2px solid #7fa324;border-radius: 2px; transition: all 250ms;}
header .nav .menu ul.hasdropdown li{position: relative; transition: all 250ms;}
header .nav .menu ul.hasdropdown li a {transition: all 250ms;}
header .nav .menu ul.hasdropdown ul{top: 0; left: 100%;}

body.scrolled header .nav .menu ul.hasdropdown{top: 50px; box-shadow: 0px 0px 5px #0000004f;}

header .nav .menu ul.hasdropdown li a{color: #666;font-size: 13px;font-style: normal;font-weight: 400;line-height: normal;letter-spacing: -0.195px; transition: all 250ms; padding: 10px 15px; width: 100%;}
header .nav .menu ul.hasdropdown li:hover a{color: #363636;}
body.scrolled header .nav .menu ul.hasdropdown li a:hover{color: #ffffff;}
header .nav .menu ul.hasdropdown li:hover{background: #9BC03C;} 
header .nav .menu ul.hasdropdown li:hover a{color: #fff;}

header .nav .menu ul.hasdropdown li a.awarded {color: #9BC03C;}
header .nav .menu ul.hasdropdown li:hover a.awarded {color: #fff;}

.leaflet{background: white;position: fixed;top: 0;right: -422px;max-width: 422px;width: 100%;display: flex;flex-direction: column; transition: all 200ms; z-index: 3; height: 100vh; padding-left: 50px; align-items: end; -webkit-box-shadow: -6px 1px 15px -10px rgba(152, 152, 152, 0.59);
  -moz-box-shadow: -6px 1px 15px -10px rgba(152, 152, 152, 0.59);
  box-shadow: -6px 1px 15px -10px rgba(152, 152, 152, 0.59);}

.leaflet.active{right: 0;}
.leaflet .controls{background: #9BC03C; width: 60px; height: 53px; position: relative; margin-top: 30px; transition: all 200ms; cursor: pointer; margin-bottom: 4rem; border-radius: 10px; border-top-right-radius: 0; border-bottom-right-radius: 0;}
.leaflet .controls::before{content: ''; width: 13px; height: 12px; background-image: url(../images/leaflet/close.svg); background-position: center center; background-repeat: no-repeat; background-size: contain; top: 50%; left: 50%; transform: translate(-50%, -50%); position: absolute;}
.leaflet .controls:hover{background-color: #7a9e20;}
.leaflet .content{width: 100%; margin-bottom: 60px;}
.leaflet .content.mobile{display: none;}

.leaflet .content a{color: #181818;}
.leaflet .content .title{font-style: normal;font-weight: 700;font-size: 20px;line-height: 119.5%;color: #181818;}
.leaflet .content .subtitle{font-weight: 400;font-size: 18px;line-height: 119.5%;color: #181818; margin-bottom: 35px;}
.leaflet .content .main{font-style: normal;font-weight: 400;font-size: 17px;line-height: 95.5%;color: #181818;}
body.page .leaflet .content .main{padding-top: 0;}
body.page .leaflet .content .main::before{content: none;}
.leaflet .content .details{margin-top: 36px; display: flex; flex-direction: column; gap: 25px;}

.leaflet .content .media{display: flex; gap: 40px; flex-wrap: wrap;}

.leaflet .buttons{width: 100%;}

/* banner */
.banner-container{width: 100%;height: 860px;background-color:#1C1C1B; position: relative;}
.banner-container::before{content: '';position: absolute; width: 100%; height: 100%; top: 0; left: 0;  z-index: 1; background: #454141; background: linear-gradient(150deg,rgba(132, 121, 113, 0.8) 0%,rgba(65,65,65,0) 75%),linear-gradient(90deg,rgba(69,65,65,0.7) 0%,rgba(65,65,65,0) 75%);
}
.banner-container .splide__slide img{height: 860px; width: 100%; object-fit: cover;}
.banner-container .banner-content{position: absolute; top: 30%; z-index: 1;}
.banner-container .banner-content .title{font-style: normal;font-weight: 600; font-family: "Urbanist", sans-serif; font-size: clamp(2.000rem, 1.596rem + 1.795vw, 3.750rem) !important /*60px->32px*/;line-height: 117%;color: #FFFFFF;text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15); margin-bottom: 10px; max-width: 535px}
.banner-container .banner-content .description{font-style: normal;font-weight: 400;font-size: 18px;line-height: 139%; letter-spacing: -3%; color: #FFFFFF; max-width: 485px;  width: 100%; margin-bottom: 30px;}
.banner-container .splide__arrows{position: absolute;bottom: 0;z-index: 1;max-width: 446px;width: 100%;left: 335px;display: flex; gap: 4px;}
.banner-container .splide__arrows .splide__arrow{position: relative; height: 35px; width: 50%; background-color: #ACCE4E; border-radius: 6px 6px 0px 0px; bottom: 0; left: 0; opacity: 1; top: 0; transform: none; transition: all 200ms;}
.banner-container .splide__arrows .splide__arrow.splide__arrow--prev{background-color: #ACCE4E;}
.banner-container .splide__arrows .splide__arrow.splide__arrow--prev:hover{background-color: #7b9929;}
.banner-container .splide__arrows .splide__arrow.splide__arrow--next{background-color: #FFFFFF;}
.banner-container .splide__arrows .splide__arrow.splide__arrow--next:hover{background-color: #a2a2a2;}
.banner-container .splide__arrows .splide__arrow.splide__arrow--next svg{fill: black;}
.banner-container .splide__arrows .splide__arrow svg{fill: white;}


/* banner widget */
.banner-widget{width: 100%; max-width: 1250px; position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%); display: flex; gap: 15px; justify-content: flex-end; z-index: 2; padding-right: 20px; padding-left: 20px;}
.banner-widget .emblemat{background-color: rgba(255, 255, 255, 0.96); border-radius: 18px; display: flex; gap: 10px; padding: 15px; align-items: center; box-shadow: 0 0 10px #00000021;}
.banner-widget .emblemat.green{background-color: rgba(155, 192, 60, 0.96);}

.banner-widget .emblemat .emblem-content{display: flex; flex-direction: column; gap: 6px;}
.banner-widget .emblemat .emblem-content .title{font-weight: 600; color: #1D3055; line-height: 117%; letter-spacing: -3%;}
.banner-widget .emblemat .icon{display: flex; justify-content: center; align-items: center;}
.banner-widget .emblemat .text{font-weight: 600; color: #fff; font-size: 1rem;}
.banner-widget .emblemat .text.special{font-weight: 400; color: #B5B5B5; font-size: 14px;}




/* aboutus */
.aboutus{background: #ffffff; position: relative; overflow: hidden;}
.aboutus::before{content: ''; z-index: 0; background-image: url(../images/elements/single-tooth-bg.svg); width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background-position: bottom;}


.aboutus__container {max-width: 1310px;padding: 100px 30px;margin: 0 auto;display: flex;gap: 75px;align-items: center;}

/* ================= IMAGES ================= */

.aboutus__images {display: flex;gap: 20px;max-width: 600px;z-index: 1;}
.aboutus__images .group{display: flex; gap: 20px; flex-direction: column; flex-basis: calc(50% - 10px);}
.aboutus__images .single{max-height: 400px; flex-basis: calc(50% - 10px); margin-top: 80px;}
.aboutus__images .single img{height: 100%; width: 100%; object-fit: cover;}
.aboutus__images .group img{width: 100%;}
.aboutus__images .group img:nth-child(1){max-height: 240px;}
.aboutus__images .group img:nth-child(2){max-height: 330px;}
.aboutus__images.mobile{display: none;}

.aboutus__images {align-items: stretch;}

.aboutus__images::before {content: "";display: none;}
.aboutus__images {flex-direction: row;}
.aboutus__images img:nth-child(1),
.aboutus__images img:nth-child(3) {object-fit: cover;object-position: center;}
.aboutus__images img:nth-child(2) {object-fit: cover;object-position: center;}
.aboutus__images img {border-radius: 16px;display: block;}
.aboutus__images {justify-content: space-between;}
.aboutus__images {position: relative;}

.aboutus__content {flex: 1;z-index: 1;}
.aboutus__features {list-style: none;padding: 0;margin: 24px 0 32px;display: flex;flex-wrap: wrap;gap: 12px 20px;}
.aboutus__features li {width: calc(50% - 10px);position: relative;padding-left: 26px;font-size: 15px;color: #333;}

.aboutus__features li::before {content: "✔";position: absolute;left: 0;top: 0;color: #7fb800;font-size: 14px;}
.aboutus__btn:hover {transform: translateY(-2px);box-shadow: 0 10px 25px rgba(127, 184, 0, 0.35);}

/* oferta */

.offer {position: relative; background-color: #ffffff;background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");}
.offer__container {max-width: 1310px;width: 100%;margin: 0 auto;padding: 100px 30px;}
.offer__header {text-align: center;max-width: 720px;margin: 0 auto 60px;}
.offer__grid {display: grid;grid-template-columns: repeat(3, 1fr);gap: 20px;}
.offer-card {background: #fff;border-radius: 16px;overflow: hidden;box-shadow: 0 10px 30px rgba(0,0,0,0.06);display: flex;flex-direction: column;transition: transform 0.25s ease, box-shadow 0.25s ease;}
.offer-card:hover {transform: translateY(-6px);box-shadow: 0 20px 40px rgba(0,0,0,0.12);}
.offer-card__image {width: 100%;height: 200px;object-fit: cover;}
.offer-card__content {padding: 22px 24px 26px;display: flex;flex-direction: column;height: 100%;}
.offer-card__title {font-size: clamp(1.000rem, 0.375rem + 0.625vw, 1.125rem) !important /*18px->16px*/;margin-bottom: 10px;color: #111;}
.offer-card__text {font-size: clamp(0.813rem, 0.500rem + 0.313vw, 0.875rem) !important /*14px->13px*/;line-height: 130%;color: #555;margin-bottom: 20px;}
.offer-card__link {margin-top: 20px;font-size: clamp(0.813rem, 0.500rem + 0.313vw, 0.875rem) /*14px->13px*/;font-weight: 600;color: #7fb800;text-decoration: none;}
.offer-card:hover .offer-card__link svg{margin-left: 8px;}
.offer-card__link svg{margin-left: 4px; width: 10px; height: 10px; transition: all 200ms;}
body.uslugi .offer{background-image: none; background-color: transparent;}

/* profil lekarza */
.doctor-profile-section {background-color: #EDF2FA;width: 100%;box-sizing: border-box;position: relative;overflow: hidden;}
.doctor-profile-section::before{content: ''; z-index: 0; background-image: url(../images/elements/bg-heart.svg); width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%); background-position: bottom;}
.doctor-profile-section .doctor-profile-container {max-width: 1310px;width: 100%;margin: 0 auto;padding: 100px 30px;box-sizing: border-box;z-index: 1;}
.doctor-profile-section .doctor-profile-grid {display: flex;align-items: center;justify-content: space-between;gap: 60px;}
.doctor-profile-section .doctor-image-wrapper {position: relative;flex: 0 0 40%;max-width: 490px;}
.doctor-profile-section .doctor-img {width: 100%;max-height: 550px;display: block;border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); object-fit: cover; }
.doctor-profile-section .doctor-label {margin-bottom: -30px; position: relative;bottom: 50px;left: 50%;transform: translateX(-50%);background-color: #ffffff;padding: 10px 25px;border-radius: 14px;font-size: 15px;font-weight: 400;color: #212121;white-space: nowrap;box-shadow: 0 4px 15px rgba(0,0,0,0.1);text-align: center;width: calc(100% - 20px);}
.doctor-profile-section .doctor-content {flex: 1; max-width: 575px;z-index: 1;}
.doctor-profile-section .doctor-content .section-subtitle{margin-bottom: 10px;}
.doctor-profile-section .section-description p:last-child {margin-bottom: 0;}

/* cennik */
.pricingSPA-section {padding:40px 20px;font-family:"Urbanist",sans-serif; position: relative;}
.pricingSPA-wrapper {max-width:980px;margin:0 auto;}
.pricingSPA-item {margin-bottom:18px;border-radius:10px;overflow:hidden; box-shadow: 0 0 7px #0000001a;}
.pricingSPA-header {display:flex;justify-content:space-between;align-items:center;background:linear-gradient(90deg,#7fb414,#a6cf3a);color:#fff;padding:10px 20px;font-weight:600;cursor:pointer;}
.pricingSPA-header span {font-size:15px;}
.pricingSPA-header .category-name .extra{font-size: 12px;}

.pricingSPA-toggle {background:#ffffff;color:#6c8c1c;border-radius:20px;padding:4px 14px;font-size:13px;font-weight:600;}
.pricingSPA-content {background:#ffffff;overflow:hidden;max-height:0;transition:max-height .4s ease;}
.pricingSPA-table {width:100%;border-collapse:collapse;}
.pricingSPA-table th {text-align:left;padding:12px 16px;font-size:14px;}
.pricingSPA-table td {padding:12px 16px;font-size:14px;}
.pricingSPA-table tr td:nth-child(2){text-align: left;}
.pricingSPA-table thead {background:rgba(157, 244, 30, 0.1);}
.pricingSPA-table tbody tr:nth-child(even) {background:#eef1f4;}
.pricingSPA-price {white-space:nowrap;text-align:right;}

/* faq */
.faq-section {padding: 100px 30px; position: relative; overflow: hidden;}
.faq-section::before{content: ''; z-index: 0; background-image: url(../images/elements/faq-bg.svg); width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; position: absolute; left: 50%; top: 70%; transform: translate(-50%, -50%); background-position: bottom;}
.faq-container {max-width: 1310px; padding: 0 30px; margin: 0 auto;display: flex;gap: 80px; position: relative; z-index: 1;}
.faq-left {flex: 1;}
.faq-subtitle {color: #6bbf59;font-size: 14px;margin-bottom: 20px;display: inline-block;}

.faq-left h2 {margin-top: 10px;}

/* PRAWA STRONA */
.faq-right {flex: 1.2;}
.faq-item {border-bottom: 1px solid #e5e5e5;}

.faq-question {font-family: "Lato", sans-serif; font-style: normal;width: 100%;padding: 22px 0;background: none;border: none;text-align: left;font-size: 16px;font-weight: 500;cursor: pointer;position: relative;display: flex;justify-content: space-between;align-items: center; transition: all 150ms;}
.faq-question:hover {color: #98BB3D;}
.faq-section .icon {width: 10px;height: 10px;border-right: 2px solid #999;border-bottom: 2px solid #999;transform: rotate(45deg);transition: transform 0.3s ease;margin-left: 15px;}
.faq-item.active .icon {transform: rotate(-135deg);}
.faq-answer {max-height: 0;overflow: hidden;transition: max-height 0.4s ease;}
.faq-answer p {padding-bottom: 20px;font-size: 15px;line-height: 1.6;color: #555;}

/* RESPONSYWNOŚĆ */
@media (max-width: 992px) {
    .faq-section::before{content: none;}
    .faq-container {flex-direction: column;gap: 50px;}
    
}

@media (max-width: 576px) {
    .faq-container{gap: 20px;}
    .faq-section {padding: 70px 20px;}
    .faq-question {font-size: 15px;}
}

/* --- Responsywność (Mobile & Tablet) --- */
@media screen and (max-width: 776px) {
    .doctor-profile-section .doctor-profile-grid {
        flex-direction: column; /* Układ pionowy */
        align-items: center;
        text-align: left; /* Możesz zmienić na center jeśli wolisz */
        gap: 40px;
    }

    .doctor-profile-section .doctor-image-wrapper {
        width: 100%;
        max-width: 400px;
    }

    .doctor-profile-section .doctor-label {
        width: 90%;
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 500px){
  .doctor-profile-section .doctor-image-wrapper{max-width: 100%;}
  .doctor-profile-section::before{top: 50%;}

  .doctor-profile-section .doctor-img{max-height: 450px;}
}

@media screen and (max-width: 420px){
  .doctor-profile-section .doctor-img{max-height: 350px;}
}


/* rewiews */
.reviews-section {position: relative;padding: 100px 30px;background: url('../images/elements/opinions.webp') center center/cover no-repeat;}
.reviews-overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(245,247,246,0.35);z-index: 1;}
.reviews-container {position: relative;max-width: 1310px;margin: 0 auto;z-index: 2;text-align: center;}
.reviews-container .splide{max-width: 1250px; margin: 0 auto;}

.reviews-header {margin-bottom: 70px;}
.reviews-subtitle {display: inline-block;color: #7bbf43;font-size: 14px;margin-bottom: 15px;}

.review-card {background: #ffffff;border-radius: 14px;padding: 35px;box-shadow: 0 15px 35px rgba(0,0,0,0.05);text-align: left;height: 100%;display: flex;flex-direction: column;justify-content: space-between;}
.review-stars {color: #f5a623;font-size: 18px;margin-bottom: 20px;letter-spacing: 2px;}
.review-text {line-height: 1.6;color: #444;margin-bottom: 30px;}
.review-author strong {display: block;font-size: 14px;margin-bottom: 4px;}
.review-author span {font-size: 12px;color: #888;}

.reviews-arrows {display: flex;justify-content: center;gap: 8px;margin-top: 50px;}

.reviews-arrow--prev svg{transform: rotate(180deg);}
.reviews-arrow--prev svg path{stroke:#404040; transition: all 150ms;}
.reviews-arrow--prev:hover svg path{stroke:#B1B1B1;}


.reviews-arrow {display: flex; justify-content: center; align-items: center; width: 50px;height: 50px;border-radius: 10px;border: none;cursor: pointer;font-size: 18px;background: #ffffff;box-shadow: 0 8px 20px rgba(0,0,0,0.08);transition: 0.3s;}
.reviews-arrow--next {background: #98bb3d;color: #ffffff;}
.reviews-arrow--next svg path{stroke:#FFFFFF; transition: all 150ms;}
.reviews-arrow:hover {transform: translateY(-3px);}


@media (max-width: 576px) {
.reviews-section {padding: 70px 20px;}
.review-card {padding: 25px;}
}


/* pageTitle */
.pageTitle{height: 400px; width: 100%; background-size: cover !important; background-position: center center !important; position: relative; display: flex; justify-content: center; align-items: flex-end;}
.pageTitle .layout{padding-bottom: 60px; position: relative; z-index: 1;}
.pageTitle::before{content: ''; width: 100%; height: 100%; position: absolute; z-index: 1; background-color: #62626270;}
.pageTitle .content{width: 100%; height: 100%; padding-top: 120px; display: flex; justify-content: center; align-items: center; position: relative; z-index: 1;}
.pageTitle .content .title{font-style: normal;font-weight: 800;font-size: clamp(1.563rem, 1.346rem + 0.962vw, 2.500rem) /*40px->25px*/;line-height:clamp(1.813rem, 1.596rem + 0.962vw, 2.750rem) /*44px->29px*/;color: #FFFFFF;text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.59);}
.pageTitle .content .breadcrumbs{position: absolute; bottom: 20px; left: 0; font-style: normal;font-weight: 500;font-size: clamp(0.813rem, 0.755rem + 0.256vw, 1.063rem) /*17px->13px*/;line-height: clamp(1.063rem, 0.962rem + 0.449vw, 1.500rem) /*24px->17px*/;color: #FFFFFF;}
.pageTitle .content .breadcrumbs span{padding-right: 10px;}
.pageTitle .content .breadcrumbs .link{font-style: normal;font-weight: 500;font-size: clamp(0.813rem, 0.755rem + 0.256vw, 1.063rem) /*17px->13px*/;line-height: clamp(1.063rem, 0.962rem + 0.449vw, 1.500rem) /*24px->17px*/;color: #FFFFFF; padding-right: 20px; position: relative;}
.pageTitle .content .breadcrumbs .link::before{content: ''; position: absolute; top: 50%; transform: translateY(-50%); right: 2px; background-image: url(../images/icons/arrow-right.svg); background-repeat: no-repeat; background-position: center center; background-size: contain; height: 8px; width: 12px;}
.pageTitle .content .breadcrumbs .link.main::before{content: none;}

.pageTitle .title{text-align: center; font-size: clamp(1.500rem, 1.096rem + 1.795vw, 3.250rem) !important /*52->24px*/; font-style: normal;font-weight: 500; font-family: "Urbanist", sans-serif; line-height: 105%; color: #fff;}

.pageTitle .separator{height: 1px; width: 100%; background-color: white; margin: 20px 0;}

body.blogArticle .pageTitle .separator{display: none;}

.pageTitle.shorter{height: 250px;}

.pageTitle .breadcrumbs ul{list-style: none; display: flex; justify-content: center; gap: 30px;}
.pageTitle .breadcrumbs ul li:first-child{position: relative;}
.pageTitle .breadcrumbs ul li:first-child::before{content: ''; position: absolute; top: 50%; transform: translateY(-50%); right: -20px; background-image: url(../images/elements/arrow-right.svg); background-repeat: no-repeat; background-position: center center; background-size: contain; height: 10px; width: 10px;}
.pageTitle .breadcrumbs ul li a{color: #fff; font-weight: 400; letter-spacing: -3%; font-size: 15px; transition: all 250ms;}
.pageTitle .breadcrumbs ul li a:hover{color: #DBFF7F;}
.pageTitle .breadcrumbs ul li:first-child a{color: #D5D5D5; font-weight: 400; letter-spacing: -3%;}
.pageTitle .breadcrumbs ul li:first-child a:hover{color: #fff;}

/* text-image-container */
.text-image-container{display: flex; justify-content: space-between; gap: 50px; margin-top: 100px;}
.text-image-container.reversed{flex-direction: row-reverse;}
.text-image-container .texts{display: flex; flex-direction: column; max-width: 450px; justify-content: center;}
.text-image-container .texts .title{font-style: normal;font-weight: 500;font-size: clamp(1.563rem, 1.346rem + 0.962vw, 2.500rem) /*40px->25px*/;line-height: clamp(1.563rem, 1.447rem + 0.513vw, 2.063rem)/*33px->25px*/;color: #000000; margin-bottom: 30px;}
.text-image-container .texts .description{font-style: normal;font-weight: 400;font-size: 20px;line-height: 21px;color: #4D4D4D;}
.text-image-container .image{width: 100%; max-width: 500px; min-width: 500px; height: 510px; border-radius: 6px;}
.text-image-container .image img{width: 100%; height: 100%; border-radius: 6px; object-fit: cover;}

.text-image-container.reversed .texts .title{text-align: left;}
.text-image-container.reversed .texts .description{text-align: left;}

/* footer */
.kd-footer {position: relative;color: #ffffff;background: #454141;overflow: hidden;}
.kd-footer__bg {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: url('../images/elements/footer-bg.webp') center/cover no-repeat;opacity: 0.08;z-index: 0;}
.kd-footer__container {position: relative;z-index: 2;max-width: 1310px;padding: 100px 30px;margin: 0 auto;display: flex;gap: 80px;flex-wrap: wrap; align-items: baseline;}
.kd-footer__col {flex: 1 1 150px;min-width: 170px;}
.kd-footer__col--about {flex: 1.5 1 360px;}

.kd-footer__col--contact{flex-basis: 250px;}
.kd-footer__logo img {max-width: 180px;height: auto;margin-bottom: 25px;}
.kd-footer__text {font-size: 15px !important;line-height: 119%;margin-bottom: 15px;color: #d0d0d0;}
.kd-footer__title {font-size: 16px !important;font-weight: 600;margin-bottom: 20px; color: #fff;}
.kd-footer__title a{color: #fff; transition: all 250ms;}
.kd-footer__title a:hover{color: #8fd14f;}
.kd-footer__list {list-style: none;padding: 0;margin: 0;}
.kd-footer__list li {margin-bottom: 10px;}
.kd-footer__list a {text-decoration: none;color: #cfcfcf;font-size: 14px;transition: 0.3s; line-height: 139%; letter-spacing: -3%;}
.kd-footer__list a:hover {color: #8fd14f;}
.kd-footer__contact {list-style: none;padding: 0;margin: 0;font-size: 14px;color: #cfcfcf;}
.kd-footer__contact .kd-info {margin-bottom: 12px; padding-left: 25px; position: relative;}

.kd-footer__contact .kd-info.icon-phone::before{content: ''; width: 13px; height: 100%; background: url('../images/elements/phone.svg') center/contain no-repeat; position: absolute; top: 0; left: 0;}

.kd-footer__contact .kd-info.icon-adress::before{content: ''; width: 13px; height: 100%; background: url('../images/elements/location.svg') center/contain no-repeat; position: absolute; top: 0; left: 0;}
.kd-footer__contact .kd-info.icon-emails::before{content: ''; width: 13px; height: 100%; background: url('../images/elements/mail.svg') center/contain no-repeat; position: absolute; top: 0; left: 0;}



.kd-footer__contact .kd-info .headline{font-weight: 600; font-size: 14px; line-height: 139%; letter-spacing: -3%; color: #fff;}
.kd-footer__contact .kd-info .details,
.kd-footer__contact .kd-info .details a{color: #E5E5E5; font-weight: 400; font-size: 14px; line-height: 139%; letter-spacing: -3%; transition: all 150ms;}
.kd-footer__contact .kd-info .details a:hover{color: #8fd14f;}
.kd-footer__socials {display: flex;gap: 15px;margin-top: 20px;}
.kd-footer__social img {width: 20px;height: 20px;filter: brightness(0) invert(1);opacity: 0.7;transition: 0.3s;}
.kd-footer__social:hover img {opacity: 1;}
.kd-footer__bottom {border-top: 1px solid rgba(255,255,255,0.1);padding: 20px 30px; position: relative; z-index: 1;}
.kd-footer__bottom-container {max-width: 1250px;margin: 0 auto;display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 15px;color: #ffffff;font-size: 14px; letter-spacing: -3%;}
.kd-footer__bottom a {color: #cfcfcf;text-decoration: none;transition: 0.3s;}
.kd-footer__bottom a:hover {color: #8fd14f;}

@media (max-width: 992px) {.kd-footer__container {gap: 50px;}}

@media (max-width: 768px) {.kd-footer__container {flex-direction: column;gap: 40px;padding: 70px 20px;}}

@media (max-width: 768px) {.kd-footer__bottom-container {flex-direction: column;align-items: flex-start;}}


/* main on page */

body.page .main{position: relative; padding: 100px 0; overflow: hidden;}
body.page .main .content img{object-fit: cover;}
body.page .main::before {content: '';background-image: url(../images/elements/sites-bg.svg);width: calc(100% + 30px);height: 2000px;background-size: cover;pointer-events: none;position: sticky;top: 50%; left: -30px; display: block;background-repeat: no-repeat;background-position: 30px;transition: all 200ms;position: absolute;transform: translateY(-50%);z-index: 0;}

body.page.contact .main::before{top: 70%;}

body.page .main.no-logo::before{opacity: 0;}

body.page .main .container-narrow{font-family: 'Urbanist', sans-serif;}

body.page .main .container-narrow p{line-height: 134%; font-size: 1rem;}



body.page.not-found .main::before{opacity: 0;}
body.page.not-found .pageTitle .content .breadcrumbs{display: none}

.ouroffice-container .content-container{margin-top: 65px; display: flex; flex-direction: column; gap: 45px;}
.ouroffice-container .content-container .box{display: flex; justify-content: space-between; gap: 60px; align-items: center;}
.ouroffice-container .content-container .box .image{width: 500px; height: 375px;}
.ouroffice-container .content-container .box .image img{width: 100%; height: 100%; border-radius: 6px; object-fit: cover;}
.ouroffice-container .content-container .box .texts{max-width: 50%; margin: 0 auto;}
.ouroffice-container .content-container .box .texts .description{font-style: normal;font-weight: 400;font-size: 20px;line-height: 21px;color: #4D4D4D; max-width: 500px;}
.ouroffice-container .content-container .box .texts .headline{font-style: normal;font-weight: 600;font-size: 21px;line-height: 21px;color: #000000;margin-bottom: 1rem; max-width: 500px;}


/* popup */
.popup-container{position: fixed;width: 100%;height: 100%;top: 0;left: 0;z-index: 1000;}
.popup-container .overlay{position: absolute;background: #0000008a;width: 100%;height: 100%;}
.popup-container .content{max-width: 700px;margin: 0 auto;padding: 15px 0;height: 100%;display: flex;flex-direction: column;justify-content: center;position: relative;}
.popup-container .content .image{max-width: 100%; width: 100%; max-height: 585px; height: 100%;}
.popup-container .content .image img{width: 100%; height: 100%; object-fit: cover;}
.popup-container .content .text{background: #BE1621;color: #fff;padding: 15px;font-size: 14px;}
.popup-container .content .close{background: #BE1621;width: 60px;height: 53px;position: absolute;transition: all 200ms;cursor: pointer;right: -60px;}
.popup-container .content .close::before{content: '';width: 13px;height: 12px;background-image: url(../images/leaflet/close.svg);background-position: center center;background-repeat: no-repeat;background-size: contain;top: 50%;left: 50%;transform: translate(-50%, -50%);position: absolute;}

.cookies-container{right: 15px;bottom: 15px;max-width: 395px; box-sizing: border-box;position: fixed;padding: 20px;border-radius: 10px;-webkit-box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);font-family: inherit; z-index: 9999997; background-color: white; color: rgb(59, 62, 74);}
#cookies-container{display: none;}

.cookies-container .cookies-header{display: flex; gap: 20px; align-items: center; padding-bottom: 10px;}
.cookies-container .cookies-header .textHeader{font-weight: bold;font-size: 18px; color: rgb(59, 62, 74);}

.cookies-container .cookie-content{font-size: 14px; margin-bottom: 20px;}
.cookies-container .cookie-content a{color: #91060f;}

.cookies-container .cookie-options{display: flex; gap: 10px; width: 100%;}
.cookies-container .btn.cookie-accept{width: calc(70% - 5px); background-color: #be1621; color: white; cursor: pointer; transition: all 250ms;}
.cookies-container .btn.cookie-accept:hover{background-color: #83070f;}

.cookies-container .btn.cookie-reject{background: #292929;width: calc(30% - 5px); cursor: pointer;}





/* liveedit */
.liveedit-bar{width: 200px;height: 75px;padding: 5px;background-color: rgba(0, 0, 0, 0.24);position: fixed;bottom: 0;left: 0;display: flex;justify-content: center;align-content: center;border-top-right-radius: 10px; z-index: 100000;}


/* publication content */
.publication-content ul{padding-left: 20px;}


/* calltoaction banner */
.calltoaction-container{width: 100%;height: 286px; background-color: #F3F3F3;display: flex;}
.calltoaction-container .contentContainer{flex-basis: 50%; padding: 30px; display: flex; flex-direction: column; background-image: url('../images/calltoaction/calltoaction-bg.webp'); background-size: cover; background-position: right; justify-content: center; background-repeat: no-repeat;}
.calltoaction-container .contentContainer .title{font-size: clamp(1.375rem, 1.260rem + 0.408vw, 1.750rem) /*28->22px*/;font-weight: 500;margin-bottom: 5px;}
.calltoaction-container .contentContainer .subtitle{font-size: clamp(1.063rem, 0.967rem + 0.340vw, 1.375rem) /*22->17px*/;font-weight: 400;margin-bottom: 10px;}
.calltoaction-container .contentContainer .text{font-size: clamp(0.938rem, 0.918rem + 0.068vw, 1.000rem); /*16->15px*/}
.calltoaction-container .contentContainer .btn{margin-top: 30px;}
.calltoaction-container .image{flex-basis: 50%;}
.calltoaction-container .image img{width: 100%; height: 100%; object-fit: cover;}


/* gallery */
/* Kontener siatki */
.gallery-container {padding: 60px 0px;display: grid;grid-template-columns: repeat(3, 1fr); /* zawsze 4 w rzędzie na desktopie */gap: clamp(8px, 1.2vw, 16px);}
.gallery-container .tile {position: relative;overflow: hidden;border-radius: 6px;background: #f3f4f6;box-shadow: 0 1px 2px rgba(0,0,0,.06);}
.gallery-container .tile::before {content: "";display: block;padding-top: 66.6667%; /* proporcja ~3:2 */}
.gallery-container .tile > a,
.gallery-container .tile > a > img {position: absolute;inset: 0;width: 100%;height: 100%;display: block;}
.gallery-container .tile > a > img {object-fit: cover;transition: transform .35s ease, filter .35s ease;}
.gallery-container .tile:hover > a > img {transform: scale(1.04);filter: saturate(1.02);}


/* blog */

/* Siatka bloga */
.blog-container {display: grid;grid-template-columns: repeat(3, 1fr); /* domyślnie 3 w rzędzie */gap: clamp(12px, 2vw, 24px);align-items: stretch; position: relative;}

/* Karta artykułu */
.article {display: grid;grid-template-rows: auto auto 1fr;gap: 10px;padding: clamp(10px, 1.2vw, 16px);background: #fff;border-radius: 8px;box-shadow: 0 1px 3px rgba(0,0,0,.08);text-decoration: none;color: inherit;transition: transform .2s ease, box-shadow .2s ease;}
.article .read-more{margin-top: 10px; margin-bottom: 10px; color: #6D9703; transition: all 250ms;}
.article .read-more:hover{color: #516e08}
.article:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

/* Obrazek z zachowaniem proporcji */
.article .image {position: relative;overflow: hidden;border-radius: 6px;background: #f3f4f6;aspect-ratio: 16 / 9;}
.article .image img {width: 100%;height: 100%;object-fit: cover;display: block;transition: transform .35s ease;}
.article:hover .image img {transform: scale(1.04);}
.article .title {font-size: clamp(1.05rem, 1.2vw, 1.3rem);font-weight: 500;line-height: 1.25;letter-spacing: .2px;color: #292b29;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden; font-family: 'Urbanist', sans-serif;}
.article .short {color: rgb(45, 44, 49);font-size: 14px;line-height: 1.5;/* 3 linie skrótu */display: -webkit-box;-webkit-line-clamp: 4;-webkit-box-orient: vertical;overflow: hidden; font-family: 'Urbanist', sans-serif;}
.article:focus-visible {outline: 3px solid #6366f1;outline-offset: 3px;box-shadow: 0 0 0 6px rgba(99,102,241,.2);}

/* strona głowna widget listy artykułów */
.articlesList {padding: 0 30px;padding-bottom: 80px;}
.articlesList .title-section{display: flex; justify-content: center; align-items: center; margin-bottom: 40px;}
.articlesList .splide .splide__arrow--prev{left: -5em;}
.articlesList .splide .splide__arrow--next{right: -5em;}
.articlesList .splide .splide__track{padding: 20px 5px;}


.articlesList .article{position:relative;display:grid;grid-template-rows:auto auto 1fr auto;gap:10px;background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.08);text-decoration:none;color:inherit;transition:transform .2s ease, box-shadow .2s ease;min-height: 415px;}
.articlesList .article .stretched-link{position:absolute; inset:0; z-index:1; /* klikalna całość */}

/* clamp – zostaw jak masz */
.articlesList .article .short{color:#2d2c31;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:calc(1.5em * 2); /* fallback */word-break:break-word;}

/* żeby linki wewnątrz opisu były klikalne NAWET nad stretched-linkiem */
.articlesList .article .short a{ position:relative; z-index:2; }

/* strona bloga - artykułu */
body.blogArticle .title-section{max-width: 1075px; width: 100%; margin: 0 auto; margin-top: -180px; z-index: 1; position: relative;}
body.blogArticle .title-section .image{width: 100%; max-height: 516px; height: 100%; position: relative; padding: 0 30px;}
body.blogArticle .title-section .image a{height: 100%; width: 100%; display: block;}
body.blogArticle .title-section .image a img{width: 100%; height: 100%; max-height: 516px; object-fit: cover; border-radius: 6px;}
body.blogArticle .title-section .title{padding: 0 50px; margin-bottom: 30px; margin-top: 30px;}
body.blogArticle .title-section .created{padding: 0 50px; color: #6D9703; font-weight: 600; font-family: 'Urbanist', sans-serif;}
body.blogArticle .title-section .title h1{color: #292b29; margin: 20px 0;}

body.blogArticle .page-content{padding: 60px 30px; padding-top: 20px;}
body.blogArticle .page-content p{color: #464646; font-family: 'Urbanist', sans-serif;}

.main .page-content{position: relative; z-index: 1;}

.page-content img{border-radius: 6px; max-height: 280px; height: 100%; max-width: 100%;}
.page-content .row {font-size: 15px;font-weight: 400;line-height: 1.8;color: rgb(45, 44, 49);text-align: justify;margin-top: 10px;}

body.blogArticle .page-content p > a > img{margin-top: 10px; transform: scale(1.02); max-height: 365px;}
/* Preferencje użytkownika */
@media (prefers-reduced-motion: reduce) {
  .article, .article .image img {
    transition: none;
  }
}

/* blog */
.articles-container{display: flex; gap: 10px; flex-wrap: wrap; row-gap: 50px; align-items: flex-start;}
.articles-container .article{flex-basis: calc(33.33333% - 7px);}

.articles-container .article .image{max-height: 270px; height: 100%; overflow: hidden; position: relative; z-index: 1; border-radius: 6px;}

.articles-container .article:hover .image img{transform: scale(1.2);}

.articles-container .article .image img{width: 100%; height: 100%; transition: all 250ms;}

.articles-container .article .title{padding: 5px 5px; width: 100%; margin-bottom: 10px; font-size: 1.1rem; margin-top: 10px;}
.articles-container .article .btn-action{font-size: 0.9rem; position: relative; margin-left: 5px; max-width: 110px; width: 100%;}

.articles-container .article .btn-action::before {content: '';position: absolute;top: 50%;transform: translateY(-50%);right: 2px;background-image: url(../images/icons/arrow-right-gray.svg);background-repeat: no-repeat;background-position: center center;background-size: contain;height: 8px;width: 12px;transition: all 250ms;}

.articles-container .article:hover .btn-action::before {right: -5px;}

.pagination{margin-top: 60px; display: flex; justify-content: center; gap: 5px;}
.pagination a{min-width: 30px; height: 30px; color: #fff; background-color: #464646; border-radius: 6px; display: flex; justify-content: center; align-items: center; font-size: 13px; padding: 0 8px;}

.pagination a.active{background-color: #BE1621;}

.error { color: red; font-size: 0.9em; }
.success { color: green; font-size: 1em; margin-top: 1em; }


/* team */
.team-section{margin-top: 90px; display: flex; gap: 25px; flex-wrap: wrap;}
.team-section .member{height: 408px; border-radius: 16px; flex-basis: calc(25% - 19px); position: relative; background-size: cover !important; background-position: center top !important;}
.team-section .member .label{position: absolute; background-color: white; bottom: 10px; left: 10px; width: calc(100% - 20px); padding: 10px; border-radius: 16px;}
.team-section .member .label .fullname{font-family: 'Urbanist', sans-serif; color: #424242; line-height: 134%; font-weight: 500; font-size: 1rem; text-align: center; margin-bottom: 5px;}
.team-section .member .label .position{font-family: 'Urbanist', sans-serif; color: #424242; line-height: 134%; font-weight: 300; font-size: 14px; text-align: center;margin-bottom: 8px;}

/* kontakt */
.contact-details{display: flex; gap: 40px; align-items: center;}
.contact-details .content{max-width: 600px; width: 100%;}
.contact-details .image img{max-height: 305px; height: 100%; border-radius: 10px; z-index: 1; position: relative;}
.contact-details .image::before{content: ''; background-color: #9BC03C; position: absolute; top: -15px; left: -15px; width: 100%; height: 100%; border-radius: 10px; z-index: 0;}
.contact-details .image{position: relative;}
.contact-details .section-description{max-width: 517px; width: 100%;}
.contact-details .mobile{display: none;}

.contact-info{display: flex; gap: 35px; margin-top: 90px;}
.contact-info .contact-block{background-color: white; border-radius: 12px; overflow: hidden; flex-basis: calc(33% - 12px); box-shadow: 0 0 5px #0000001c;}
.contact-info .contact-block .top{background: #9BC03C; background: linear-gradient(90deg,rgba(155, 192, 60, 1) 0%, rgba(109, 151, 3, 1) 100%); padding: 10px 20px; display: flex; align-items: center; }
.contact-info .contact-block .top svg{width: 20px; height: 20px; aspect-ratio: 1 /2; }

.contact-info .contact-block .content{padding: 20px;}
.contact-info .contact-block .content .headline{color: #212121; line-height: 105%; letter-spacing: -3%; font-size: clamp(1.125rem, 1.096rem + 0.128vw, 1.250rem) /*20->18px*/; margin-bottom: 8px;}
.contact-info .contact-block .content .fill{font-size: 15px; color: #404040; display: flex; flex-direction: column; gap: 10px; height: 65px;}
.contact-info .contact-block .content .fill span{font-size: 15px; color: #404040;}
.contact-info .contact-block .content .fill span strong{font-size: 13px; margin-left: 5px;}
.contact-info .contact-block .content .link{color: #6D9703; font-weight: 600; transition: all 220ms;}
.contact-info .contact-block .content .link:hover{color: #353535}


.contact-map{margin-top: 20px;}
.contact-map .section-subtitle{margin-bottom: 10px;}
.contact-map .map{margin-top: 50px; width: 100%;}
.contact-map .map iframe{width: 100%; height: 400px;}

/* popup */
.kd-info-icon{pointer-events: none; opacity: 0; transition: all 150ms;}
body.scrolled .kd-info-icon,
body.page .kd-info-icon,
body.blogArticle .kd-info-icon {opacity: 1; pointer-events: all; position:fixed;bottom:80px; right:10px;width:45px;height:45px;border-radius:50%;background:linear-gradient(135deg,rgba(151, 187, 61, 0.95),rgba(148, 197, 112, 0.95));color:#fff;font-size:28px;font-weight:600;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;box-shadow:0 0px 10px rgba(0,0,0,0.25);transition: 250ms}

body.scrolled .kd-info-icon.kd-info-icon--lifted{bottom: 80px !important;}

.kd-info-icon:hover {transform:scale(1.06);box-shadow:0 14px 32px rgba(0,0,0,0.3);}

.kd-info-icon.pulse {animation:kdInfoPremiumPulse 1.6s cubic-bezier(.4,0,.2,1);}

@keyframes kdInfoPremiumPulse {
0% {transform:scale(1);box-shadow:0 0px 10px rgba(0,0,0,0.25);}
50% {transform:scale(1.12);box-shadow:0 0px 20px rgba(83, 187, 14, 0.45);}
100% {transform:scale(1);box-shadow:0 0px 10px rgba(0,0,0,0.25);}
}

.kd-info-overlay {position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(23, 71, 99, 0.55);display:none;align-items:center;justify-content:center;padding:20px;z-index:3000;opacity:0;transition:opacity .25s ease;}

.kd-info-overlay.active {display:flex;opacity:1;}

.kd-info-modal {background:#fff;border-radius:12px;width:100%;max-width:600px;overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.35);position:relative;transform:translateY(20px);opacity:0;transition:all .25s ease;}

.kd-info-overlay.active .kd-info-modal {transform:translateY(0);opacity:1;}

.kd-info-header {background:#98BB3D;color:#fff;padding:18px 22px;font-weight:600;font-size:18px;}

.kd-info-content {padding:24px;font-size:15px;color:#333;line-height:1.6;}

.kd-info-content h4 {margin-top:0;margin-bottom:10px;font-size:16px;}

.kd-info-content ul {margin:10px 0;}

.kd-info-content a{color: #7aa01c; transition: all 250ms;}
.kd-info-content a:hover{color: #474747;}

.kd-info-close {position:absolute;top:14px;right:14px;font-size:22px;color:#fff;cursor:pointer;font-weight:600;opacity:.9;}

.kd-info-close:hover {opacity:1;}

@media (max-width:600px){.kd-info-icon {bottom:18px;right:18px;}}


@keyframes bounce {
  from, 20%, 53%, 80%, to {
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    transform: translate3d(0, -30px, 0);
  }

  70% {
    transform: translate3d(0, -15px, 0);
  }

  90% {
    transform: translate3d(0, -4px, 0);
  }
}


/* height */

@media screen and (max-height: 860px){
.banner-container{height: 100vh; height: 100dvh;}
.banner-container .splide__slide img{height: 100vh; height: 100dvh;}
}

@media screen and (max-height: 800px){
  .leaflet{justify-content: center;}
  .leaflet .controls{top: 0; position: absolute;}
}


@media screen and (max-height: 650px){
  .banner-widget{bottom: 25px;}
}

@media screen and (max-height: 620px){
  .banner-widget{bottom: 20px;}
  .banner-widget .emblemat.green{display: none;}
}



/* width */

@media screen and (max-width: 1700px){
  body.page .main::before{background-position: center center; background-size: cover;}

}


@media screen and (max-width: 1550px){
  .banner-container .splide__arrows{right: 150px;}
}



@media screen and (max-width: 1370px){
  .banner-container .splide__arrows{right: 75px;}

  .faq-section::before{top: 50%;}
}


@media screen and (max-width: 1310px){
  /* header */
  header{left: 30px; right: 30px; transform: none; width: calc(100% - 60px);}
  body.scrolled header{left: 0; right: 0; width: 100%;}

  .banner-container .splide__arrows{right: 30px;}

  .pageTitle .content .breadcrumbs{left: 30px; right: 30px;}

  .faq-container{padding: 0;}

}

@media screen and (max-width: 1250px){
  .banner-container .splide__arrows{display: flex; justify-content: flex-end;}
  .banner-container .splide__arrows .splide__arrow{max-width: 250px; width: 100%;}

  .kd-footer__col--about{order: 0 !important;}
  .kd-footer__col--contact{order: 1 !important;}
  .kd-footer__col{order: 2;}
}

@media screen and (max-width: 1200px){
  header .nav .menu li a,
  body.scrolled header .nav .menu li a{font-size: 14px; line-height: 15px;}
  header .logo{max-width: 230px;}

  body.blogArticle .page-content{padding: 30px 0;}

  body.blogArticle .title-section .title{padding: 0 25px;}
  body.blogArticle .title-section .created{padding: 0 25px;}
}


@media screen and (max-width: 1150px){
  header .nav{gap: 30px;}
  header .nav .menu{gap: 15px;}
  
  .aboutus::before{background-size: cover; opacity: 0.5;}

  /* wrap */

  .aboutus__images{max-width: 50%;}
  .aboutus__content{min-width: 50%;}

  .aboutus__images{display: none;}
  .aboutus__images.mobile{display: flex; gap: 10px; max-width: 100%; margin-bottom: 20px; border-radius: 10px; overflow: hidden;}

  .aboutus__images.mobile img{max-height: 340px; width: 100%;}

  .team-section .member{flex-basis: calc(33.3333% - 17px);}
}



@media screen and (max-width: 1050px){
  header .nav{gap: 40px;}
  header .nav .menu{gap: 15px;}

}

@media screen and (max-width: 1024px){

  header .nav .hamburger{display: flex; padding: 12px; border-radius: 10px; background-color: white; flex-direction: column; transition: all 100ms;}
  body.scrolled header .nav .hamburger{padding: 0;}

  header .nav .menu{gap: 15px;position: absolute;display: flex;flex-direction: column;top: -48px;right: -330px;max-width: 300px;width: 300px;background: white;height: 100vh; height: 100dvh; align-items: center;justify-content: center; box-shadow: 5px 0px 29px #00000075;}
  header .nav .menu.active{right: -30px;}
  body.scrolled header .nav .menu{top: 0;}

  .leaflet{max-width: 350px;}
  .leaflet .content{display: none;}
  .leaflet .content.mobile{display: block;}
  .leaflet .content.mobile .menu{list-style: none; display: flex; flex-direction: column; gap: 15px;}
  .leaflet .content.mobile .menu li::before{content: none;}
  .leaflet .content.mobile .menu li a{font-style: normal;font-weight: 400;font-size: 16px;line-height: 117%;color: #6F6F6E;transition: all 200ms; display: flex; gap: 10px;}
  .leaflet .content.mobile .menu li a.awarded{color: #000000;}
  .leaflet .content.mobile .menu li ul.hasdropdown{list-style: none; padding-top: 0; position: relative; overflow: hidden; height: 0; opacity: 0; transition: all 350ms;}
  .leaflet .content.mobile .menu li ul.hasdropdown.active{list-style: none; padding-top: 10px; position: relative; height: auto; opacity: 1; overflow: auto; display: flex; flex-direction: column; gap: 5px; padding-bottom: 10px;}
  .leaflet .content.mobile .menu li ul.hasdropdown li:nth-child(1){position: relative; padding-top: 10px;}
  .leaflet .content.mobile .menu li ul.hasdropdown li:nth-child(1)::before{content: ''; position: absolute; top: -3px; width: 88px; height: 2px; background-color: #9ed41f; border-radius: 100xp;}
  .leaflet .content.mobile .menu li ul.hasdropdown li a{font-style: normal;font-weight: 400;font-size: 15px;line-height: 19px;color: #6F6F6E;transition: all 200ms;}
  .leaflet .content.mobile .menu li ul.hasdropdown li a.awarded{color: #000000;}


  .offer__grid {grid-template-columns: repeat(2, 1fr);}


  .contact-details{gap: 60px;}

  .contact-info{flex-wrap: wrap;}
  .contact-info .contact-block{flex-basis: calc(50% - 18px);}
}


@media screen and (max-width: 950px){


  .popup-container .content{padding: 15px; padding-right: 75px; width: 100%; max-width: 600px;}
  .popup-container .content .image{height: auto; width: 100%;}
  .popup-container .content .close{right: 15px;}


  .aboutus__container{padding: 80px 20px;}
  .doctor-profile-section .doctor-profile-container{padding: 80px 20px;}
  .offer__container{padding: 80px 20px;}

  .faq-section{padding: 80px 20px;}

  .kd-footer__container{padding: 80px 20px;}

  body.page .main{padding: 80px 0;}
  
  
}

@media (max-width: 900px) {
    .gallery-container{grid-template-columns: repeat(2, 1fr);}
    .aboutus__container {
        flex-direction: column;
    }

    .aboutus__images {
        max-height: none;
    }

    .aboutus__images {
        flex-direction: column;
    }

    .aboutus__features li {
        width: 100%;
    }
}

@media screen and (max-width: 800px){
  .team-section .member{flex-basis: calc(50% - 15px);}
}


@media screen and (max-width: 767px){
  .pageTitle::before{background-color: #62626270;}

  .aboutus__container{padding: 60px 20px;}

  .doctor-profile-section .doctor-profile-container{padding: 60px 20px;}

  .offer__container{padding: 60px 20px;}
  .offer-card__content{padding: 20px 20px 25px 20px}
  .offer-card__text{margin-bottom: 0;}
  
  .faq-section{padding: 60px 20px;}

  .kd-footer__container{padding: 60px 20px;}

  body.page .main{padding: 60px 0;}


  .kd-footer__col--about{flex: 1.5 1 auto; max-width: 355px;}
  .kd-footer__col{flex-basis: auto !important; padding: 0;}

  body.blogArticle .title-section .image{padding: 0 15px;}

  .page-content .row{margin-top: 15px; margin-bottom: 15px; gap: 10px;}
  
  .contact-details{flex-wrap: wrap; gap: 30px;}
  .contact-details .content{max-width: 100%;}
  .contact-details .section-description{max-width: 100%;}

  .contact-details .image{margin-left: 20px;}

  .contact-info{gap: 20px;}
  .contact-info .contact-block{flex-basis: calc(50% - 10px);}

  .section-description ol{padding: 0 10px;}

  .kd-info-icon{display: none;}
  .kd-info-overlay{display: none;}
}



@media screen and (max-width: 650px){
  .banner-container .splide__arrows .splide__arrow{height: 40px; max-width: 180px;}

  .banner-widget{gap: 8px; bottom: 20px; flex-direction: column;}
  .banner-widget .emblemat{padding: 10px 20px}
  .banner-widget .emblemat .emblem-content .title{font-size: 15px;}
  .banner-widget .emblemat .text.special{font-size: 13px;}
  .banner-container .banner-content{top: 25%;}
  .banner-container .splide__slide img{object-position: 65%;}
  

  .banner-container::before{background: #6e6e6e69;}


  .aboutus__images.mobile img{max-height: 260px; width: 100%;}


  .team-section{gap: 20px; margin-top: 60px;}
  .team-section .member{flex-basis: calc(50% - 10px); height: 365px;}
}

@media screen and (max-width: 640px) {
  .blog-container {grid-template-columns: 1fr; /* telefony: 1 w rzędzie */}
  .article {padding: 12px;}

    .section-title {
        font-size: 32px;
    }

    .offer__grid {
        grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 600px){

  .leaflet{max-width: 320px;}

  .pageTitle{height: 340px;}
  .pageTitle .content{padding-top: 80px}

  .articles-container .article .title{font-size: 1rem;}
  .articles-container .article{flex-basis: 100%;}

  .contact-info{margin-top: 60px;}
  .contact-info .contact-block{flex-basis: 100%;}

}

@media screen and (max-width: 550px){
  .product-list-container .products .item{flex-basis: calc(50% - 10px);}

  .product-page .image{min-width: 100%;}

  .calltoaction-container .contentContainer{padding: 20px; background-image: none;}
  .calltoaction-container{height: auto;}
}


@media screen and (max-width: 500px){
  header{left: 15px; right: 15px; width: calc(100% - 30px);}
  .banner-container .splide__arrows{right: 15px; padding-left: 30px;}
  .banner-container .banner-content{left: 15px; right: 15px;}
  .banner-container .banner-content .description{font-size: 17px; line-height: 22px; max-width: 340px;}

  .leaflet .content.mobile .menu{gap: 10px;}
  .leaflet .content.mobile .menu li a{font-size: 15px;}
  .leaflet .content.mobile .menu li ul.hasdropdown li a{font-size: 14px;}

  .pageTitle .content .title{padding: 0 15px;}

  .popup-container .content{padding-right: 15px;}
  .popup-container .content .close{width: 48px; height: 48px; right: 15px; transform: translateY(-48px);}

  .offer-card__content{padding: 20px; height: auto;}
  .offer-card__image{height: 175px;}


  .team-section{gap: 10px;}
  .team-section .member{flex-basis: calc(50% - 5px);}
}

@media screen and (max-width: 460px){
  .cookies-container{max-width: 100%; border-radius: 0; right: 0; bottom: 0; box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.25); -webkit-box-shadow:  0 -2px 6px rgba(0, 0, 0, 0.25);}

  .calltoaction-container{flex-wrap: wrap;}
  .calltoaction-container .contentContainer{order: 2;}
  .calltoaction-container .image{flex-basis: 100%; max-height: 200px;}
  .calltoaction-container .contentContainer{flex-basis: 100%;}

  .offer-card__image{height: 150px;}
}

@media screen and (max-width: 450px){
  .team-section .member{flex-basis: 100%;}
  .team-section{padding: 0 40px;}
}




@media screen and (max-width: 400px){
  .calltoaction-container .contentContainer .btn{width: 100%;}
}


@media screen and (max-width: 365px){
  .team-section{padding: 0 10px;}
}



