body .top-bar {
  margin-top: -20px;
}

  
.wrapper, main {
  position: relative;
  z-index: 2;
}
  
  header.bg-light {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

 footer.bg-light {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }


  
header.bg-light .navbar {
    background-color: transparent !important;
  }
  
  
  .full-width-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
  }
  
  .full-width-container img {
    width: 100%;
    display: block;
    object-fit: cover;
  }

    .full-width-container-yellow {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    background-color: rgba(250, 240, 202, 0.5);;
  }


  /* Мінімальна висота блоку на мобільних */
@media (max-width: 767.98px) {
  .full-width-container-yellow {
    min-height: auto;
    
  }

}





  

  /* На мобільних — обмеження по ширині */
@media (max-width: 767.98px) {
  .full-width-banner {
    width: 100%;
    margin-left: 0;
    border-radius: 20px; /* опційно — закруглені краї */
  }
}


  .full-width-banner .container {
    display: block;
    align-items: flex-start;
  }
  
  .page-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0;
  }
  

  
  .contact-container {
     
      padding:0px 20px;

      color:#fff;

  }
  
  
  /* Мовний перемикач на десктопі справа */
  @media (min-width: 768px) {
    .lang-switcher {
      flex-direction: row;
      align-items: center;
    }
  }
  
  
  

  /* Лише для головної сторінки */
body.home .navbar-toggler {
    border: none;
    background: transparent;
  }

  body.home .h2 {display: none;}





.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  /* Також прибирає контур при фокусі або активності */
  body.home .navbar-toggler:focus,
  body.home .navbar-toggler:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  
  
  
  /* Default: Extra-small devices such as small phones (less than 200px) */
  @media only screen and (min-width: 200px) {
      .logo {max-width:150px;}
     
      .navbar-collapse {background-color: #fff; border-radius: 20px; padding:20px; margin-top:10px;}
      .s-icon {width:20px; height:20px;}
      body {padding: 20px 0px 0px 0px;}
.main-banner-title {font-size: 2rem; font-weight: 600;}
.hero-banner {min-height: 650px !important;}
.hero-banner-lodowki {min-height: 650px !important;}
.hero-banner-pralki {min-height: 650px !important;}
.hero-banner-zmywarki {min-height: 650px !important;}
  }
  
  /* Small devices such as large phones (640px and up) */
  @media only screen and (min-width: 640px) {
      .logo {max-width:180px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      .s-icon {width:22px; height:22px;}
      body {padding: 20px 0px 0px 0px;}
      .main-banner-title {font-size: 3rem; font-weight: 600;}
      .hero-banner {min-height:70vh!important;}
      .hero-banner-lodowki {min-height:70vh!important;}
      .hero-banner-pralki {min-height:70vh!important;}
      .hero-banner-zmywarki {min-height:70vh!important;}
  }
  
  /* Medium devices such as tablets (768px and up) */
  @media only screen and (min-width: 768px) {
      .logo {max-width:190px;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:22px; height:22px;}
      body {padding: 20px 0px 0px 0px;}
  .main-banner-title {font-size: 3rem; font-weight: 600;}
  .hero-banner {min-height:50vh!important;}
  .hero-banner-lodowki {min-height:50vh!important;}
  .hero-banner-pralki {min-height:50vh!important;}
  .hero-banner-zmywarki {min-height:50vh!important;}
}
  
  /* Large devices such as laptops (1024px and up) */
  @media only screen and (min-width: 1024px) {
      .logo {max-width:200px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:25px; height:25px;}
      body {padding: 20px 0px 0px 0px;}
      .main-banner-title {font-size: 3rem; font-weight: 600;}
      .hero-banner {min-height:50vh!important;}
      .hero-lodowki {min-height:50vh!important;}
      .hero-pralki {min-height:50vh!important;}
      .hero-zmywarki {min-height:50vh!important;}
  }
  
  /* Largest devices such as desktops (1280px and up) */
  @media only screen and (min-width: 1280px) {
      .logo { max-width:200px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:25px; height:25px;}
      body {padding: 20px 0px 0px 0px;}
      .main-banner-title {font-size: 4rem; font-weight: 600;}
      .hero-banner {min-height:50vh!important;}
      .hero-banner-lodowki {min-height:50vh!important;}
      .hero-banner-pralki {min-height:50vh!important;}
      .hero-banner-zmywarki {min-height:50vh!important;}
  }
  


  .contact-container {
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-container .btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
  }
  .contact-container .btn:hover {
    background-color: #fcd900;
    color: #000;
    border-color: #fcd900;
  }




  .social-icons {
    display: flex;
    justify-content: center;
    gap: 0px;
  }
  
  .social-icons a {

    color: #ffffff;
   
    border-radius: 50%;
    padding: 12px;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #f4c10f;
    border-color: #f4c10f;
  }
  

  
.wrapper, main {
  position: relative;
  z-index: 2;
}
  
  header.bg-light {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

 footer.bg-light {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }


  
header.bg-light .navbar {
    background-color: transparent !important;
  }
  

  
  .contact-container {
     
      padding:0px 20px;

      color:#fff;

  }
  
  
  /* Мовний перемикач на десктопі справа */
  @media (min-width: 768px) {
    .lang-switcher {
      flex-direction: row;
      align-items: center;
    }
  }
  

  

  /* Лише для головної сторінки */
body.home .navbar-toggler {
    border: none;
    background: transparent;
  }

  

.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  /* Також прибирає контур при фокусі або активності */
  body.home .navbar-toggler:focus,
  body.home .navbar-toggler:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  
  
  


  .contact-container {
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-container .btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
  }
  .contact-container .btn:hover {
    background-color: #fcd900;
    color: #000;
    border-color: #fcd900;
  }




  .social-icons {
    display: flex;
    justify-content: center;
    gap: 0px;
  }
  
  .social-icons a {

    color: #ffffff;
   
    border-radius: 50%;
    padding: 12px;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #f4c10f;
    border-color: #f4c10f;
  }

  

/* ІНШІ СТОРІНКИ */
.lang-switcher .lang-link {
  font-weight: 500;
  color: #000;
  text-decoration: none;
}
.lang-switcher .lang-link:hover {
  color: #00578f;
}

.lang-switcher, .lang-switcher-front {
  gap: 0.1rem;
  align-items: center;
}

  
 
/* Portfolio Page */

.portfolio-section {padding-left: 0px!important;padding-right: 0px!important;}
.portfolio-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible; /* було hidden */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;

  padding-bottom: 30px; /* додаємо місце для тіні */
}

.portfolio-carousel::-webkit-scrollbar {
  display: none; /* для Chrome, Safari та Opera */
}



.portfolio-card {
  position: relative;
  width: 85%;
  min-width: 320px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  flex: 0 0 auto;
  margin-right: 1.5rem; /* відступ між елементами */
}

@media (min-width: 768px) {
  .portfolio-card {
    width: 48%; /* планшети */
  }
}

@media (min-width: 1024px) {
  .portfolio-card {
    width: 45%; /* десктопи */
  }
}

@media (min-width: 1440px) {
  .portfolio-card {
    width: 45%;
  }
}



.portfolio-card:last-child {
  margin-right: 0;
}



.portfolio-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.portfolio-card .img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio */
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.portfolio-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.portfolio-card .description {
  padding: 15px 15px 5px 15px;
  font-size: 0.9rem;
  font-weight: 500;
}



/* Попап */
.portfolio-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
}

.portfolio-popup.show {
  display: flex;
}

.portfolio-popup-content {
  background: #fff;
  padding: 20px;
  max-width: 95%;
  max-height: 95%;
  overflow-y: auto;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-popup-content .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  background: none;
  border: none;
}

/* Посилання в меню — чіткий чорний колір, без підкреслень */
header .navbar-nav .menu-item a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

/* Наведення */
header .navbar-nav .menu-item a:hover,
header .navbar-nav .menu-item a:focus {
  color: #00578f !important;
  text-decoration: none !important;
}


main {
  background-color: #fff;
  z-index: 2;
  position: relative;
}

.m-header {margin: 0 2rem 4rem 2rem; color:#00578f;}

/* banner styles damserwis */

.full-width-banner {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw!important;
}

.hero-banner {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-repeat: no-repeat;
  color: #212529;
}

.hero-banner-lodowki {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-repeat: no-repeat;
  color: #212529;
}


.hero-banner-pralki {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-repeat: no-repeat;
  color: #212529;
}

.hero-banner-zmywarki {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-repeat: no-repeat;
  color: #212529;
}

.hero-banner-suszarki {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-repeat: no-repeat;
  color: #212529;
}

.hero-banner-plyty {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-repeat: no-repeat;
  color: #212529;
}

.hero-banner-piekarniki {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-repeat: no-repeat;
  color: #212529;
}



/* Десктопна версія */
@media (min-width: 768px) {
  .hero-banner {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/07/serwis-bg-scaled.webp');
  background-position: center;}

  .hero-banner-lodowki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/08/serwis-bg-lodowki-1-scaled.webp');
  background-position: center;}


    .hero-banner-pralki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/09/serwis-bg-pralki-159-scaled.webp');
  background-position: center;}

  .hero-banner-zmywarki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/09/serwis-bg-zmywarka-159-scaled.webp');
  background-position: center;}

  .hero-banner-suszarki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/09/serwis-bg-suszarka-159-scaled.webp');
  background-position: center;}

  .hero-banner-plyty {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/08/serwis-bg-plyta-scaled.webp');
  background-position: center;}

  .hero-banner-piekarniki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/08/serwis-bg-piekarniki-scaled.webp');
  background-position: center;}

    .hero-banner-chorzow {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/10/serwis-bg-chorzow-scaled.webp');

        background-position: right;
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 55vh;}


}

/* Мобільна версія */
@media (max-width: 767.98px) {
  .hero-banner {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/07/serwis-bg-mobile.webp');
  background-position: bottom;}

  .hero-banner-lodowki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/08/serwis-bg-lodowki-m.webp');
  background-position: bottom;}

    .hero-banner-pralki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/09/serwis-bg-pralki-m-159.webp');
  background-position: bottom;}


  .hero-banner-zmywarki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/09/serwis-bg-zmywarka-m-159.webp');
  background-position: bottom;}

  .hero-banner-suszarki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/09/serwis-bg-suszarki-m-159.webp');
  background-position: bottom;}

  .hero-banner-plyty {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/08/serwis-bg-plyta-m.webp');
  background-position: bottom;}

  .hero-banner-piekarniki {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/08/serwis-bg-piekarniki-m.webp');
  background-position: bottom;}

    .hero-banner-chorzow {
    background-image: url('https://damserwis.pl/wp-content/uploads/2025/10/serwis-chorzow.webp');
   background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
height: 70vh;}





}


.btn-outline-dark {
   background-color: #F95738;
  color: #fff;
  border-color: #F95738;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
   color: #d14529;
  border-color: #d14529;
  background-color: transparent;
}

.main-color {color:#00578f;}

/* Offcanvas меню на 60% ширини */
.offcanvas.offcanvas-end {
  width: 60%;
}

/* Затемнення фону на 30% */
.offcanvas-backdrop.show {
  opacity: 0.3;
}


.feature-box {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #fff;
}

.feature-box h5 {
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .feature-box img {
    width: 60px !important;
    margin-bottom: 0.75rem;
  }

  .feature-box h5 {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .row > .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}


@media (min-width: 768px) {
  .btn-big-md {
    font-size: 1.4rem;       
    padding: 1.5rem 3.5rem;    
  }
}


.feature-box-list h5 {
  text-align: left;
  font-weight: 600;
}

.feature-box-list p {
  text-align: left;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.feature-box-list img {
  display: block;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}


@media (max-width: 768px) {
.big-input {
  font-size: 1rem;
  padding: 0.55rem 0.8rem;
}

}


@media (min-width: 769px) {
.big-input {
  font-size: 1.15rem;
  padding: 0.75rem 1rem;
}
}





.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
  opacity: 0.9;
}


.btn-primary {
  background-color: #00578f;
  border-color: #00578f;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #004f82;
  border-color: #004f82;
}

.form-check-input:checked {
  background-color: #00578f;
  border-color: #00578f;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 87, 143, 0.25);
  border-color: #00578f;
}

/* footer */

.footer {
  position: relative;
  background: #00578F;
  background: linear-gradient(to bottom, #00578F 80%, #003f6a 100%);
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-title {
  color: #F4D35E;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-menu li {
  margin-bottom: 0.4rem;
}

.footer img {
  max-width: 180px;
}

@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }}




/* Стилі для offcanvas меню */

@media (max-width: 767.98px) {
.offcanvas-body .navbar-nav {
  margin-top: 0px; /* відступ зверху */
}

.offcanvas-body .navbar-nav li a {
  font-size: 1.1rem;
  padding: 0.3rem 0;
  display: block;
  color: #00578f;
}

/* Опційно: зробити посилання більш помітними */
.offcanvas-body .navbar-nav li a:hover {
  color: #00578f;
  font-weight: 500;
}

.offcanvas-body .navbar-nav .nav-link:hover {
  color: #004d7a;
}
}


.top-bar {
  background-color: #00578F; /* яскравий жовтий */
  color: #fff; /* фірмовий синій текст */
  font-weight: 400;
  width: 100%;
  padding: 5px 0;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.top-bar i {
  color: #00578F;
}

@media (max-width: 767.98px) {
  .top-bar {
    font-size: 0.80rem;
    text-align: center;
  }
  .top-bar .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
}

#city-rotator {
  display: inline-block;
  transition: opacity 0.3s ease-in-out;
}

.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
  display: inline-block;
  font-size: 1rem;
}


#city-rotator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #00578F;
  font-weight: 400;
  min-width: 50px; /* встанови під найдовше місто */
  justify-content: flex-start;
  text-align: left;
}

#city-rotator img {
  flex-shrink: 0; /* іконка не рухається */
}


@media (max-width: 767.98px) {
  #city-rotator {
    font-size: 0.8rem;
    min-width: 50px; /* встанови під найдовше місто */
  }
}


.page-id-15 h2 {
  display: none;
}

.form-agd {
  background-color: #ffffff;
  border-radius: 1rem; /* м’яке заокруглення */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* делікатна тінь */

}


@media (max-width: 768px) {
.form-agd {

  padding: 3rem 2rem;
}

}


@media (min-width: 769px) {
.form-agd {

  padding: 4rem;
}
}





.zgoda {font-size: .85rem;}

.form-sending {
  display: inline-block;        /* ширина по контенту */
  margin: 0 auto;               /* автоматичні відступи для центру */
  padding: 0.75rem 2rem;        /* внутрішній відступ */
  text-align: center;
  font-size: 1rem;
  border-radius: 50px;
  background-color: #00578F;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}








/* Центрування в контейнері */
.form-sending-wrapper {
  text-align: center;
}





@media (max-width: 767.98px) {
  .banner-text-wrapper {
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
  }

  .banner-text-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://damserwis.pl/wp-content/uploads/2025/08/bg-top-banners-home.png') no-repeat center top;
    background-size: cover;
    opacity: 0.6; /* прозорість тільки для градієнта */
    pointer-events: none; /* щоб не заважало клікам */
    z-index: 0; /* накладка під текстом */
  }

  .banner-text-wrapper > * {
    position: relative;
    z-index: 1; /* текст і кнопки зверху */
  }
}


/* повна ширина, навіть всередині .container */
.form-bg-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  /* фон */
  background: url('https://damserwis.pl/wp-content/uploads/2025/08/bg-form-scaled.webp') center/cover no-repeat;
}

.form-bg-bleed__inner {
  padding: 48px 0; /* «повітря» зверху/знизу */
}

@media (max-width: 767.98px) {
  .form-bg-bleed__inner { padding: 28px 0; }
}


body.page-id-249 article.mb-5 > h2 {
  display: none;
}

body.page-id-294 article.mb-5 > h2 {
  display: none;
}

body.page-id-298 article.mb-5 > h2 {
  display: none;
}

body.page-id-312 article.mb-5 > h2 {
  display: none;
}

body.page-id-315 article.mb-5 > h2 {
  display: none;
}

body.page-id-317 article.mb-5 > h2 {
  display: none;
}

body.page-id-380 article.mb-5 > h2 {
  display: none;
}




.btn-yellow-custom {
  background-color: #f4d35e; /* фірмовий жовтий */
  color: #00578F; /* фірмовий синій */
  font-weight: 600;
  border-radius: 40px;
  padding: 0.45rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-yellow-custom:hover {
  background-color: #e6b84c; /* трішки темніший жовтий */
  color: #00578F; /* синій лишається */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

@media (max-width: 767.98px) {
  .btn-yellow-custom {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
  }
}
 
.icon-text-block {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* легка тінь */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 20px;
}

.icon-text-block:hover {
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px); /* трішки піднімається */
}

.icon-text-block p {
  text-align: center;
  font-size: 0.9rem!important;
  padding: 20px;
}

@media (max-width: 767.98px) {
.icon-text-block p {
  text-align: center;
  font-size: 0.75rem!important;
  padding: 10px 20px 20px 20px;
}  
}

.icon-block img {
  display: flex;
  justify-content: center; /* на десктопі ліворуч */
  align-items: center;
  width:5rem;
  color: #00578F;    /* фірмовий синій */
  padding: 20px 20px 0px 20px;
}



@media (max-width: 767.98px) {
  .icon-block img {
    justify-content: center;  /* по центру на мобільних */
    width:5.0rem;
  }
}



.form-bg-bleed.scale-bg {
  background-size: 180%; /* трішки збільшений фон */
  transition: background-size 0.6s ease; /* плавний ефект */
}

@media (max-width: 767.98px) {
  .form-bg-bleed.scale-bg {
  background-size: 500%; /* трішки збільшений фон */
  transition: background-size 0.6s ease; /* плавний ефект */
}

}


.white {color:#fff;}


.img-icon  {
  width:7rem!important;

}

@media (max-width: 767.98px) {
  .img-icon  {
    width:7.0rem!important;
  }
}


@media (max-width: 767.98px) {
  .offcanvas-quick-links { border-top: 1px solid rgba(0,0,0,.06); }
  .offcanvas-quick-links .quick-links-inner{
    background:#00578F;border-radius:16px;padding:.6rem;margin-top:.5rem;margin-bottom:.25rem;
    display:flex;flex-wrap:wrap;gap:.5rem;justify-content:left;
  }
  .offcanvas-quick-links .ql-item{
    color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);
    border-radius:999px;padding:.3rem .9rem;font-size:.92rem;font-weight:600;line-height:1;
    text-decoration:none;transition:all .25s ease;-webkit-tap-highlight-color:transparent;
  }
  .offcanvas-quick-links .ql-item:hover,
  .offcanvas-quick-links .ql-item:focus{
    background:#F4D35E;color:#00578F;border-color:transparent;transform:translateY(-1px);
    box-shadow:0 6px 16px rgba(0,0,0,.16);outline:none;
  }
}



/* Desktop меню праворуч, рівні інтервали та без стрибків */
@media (min-width: 768px){
  .navbar .main-menu { 
    display: flex;
    align-items: center;
    gap: 20px;                 /* контрольований інтервал замість margin’ів */
  }
  .navbar .main-menu .nav-link{
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;          /* одразу напівжирний, щоб :hover/active не міняв ширину */
    padding: .25rem 0;         /* вертикальний ритм */
  }
  .navbar .main-menu .nav-link:hover,
  .navbar .main-menu .nav-link:focus{
    text-decoration: underline;/* виділення без зміни товщини/ширини */
  }

  /* Якщо у Navwalker активний пункт робиться ще жирнішим — уніфікуємо */
  .navbar .main-menu .current-menu-item > .nav-link,
  .navbar .main-menu .active > .nav-link{
    font-weight: 600;
  }

  /* Опціонально: якщо останній пункт — місто з різною довжиною, фіксуємо мінширину
     .navbar .main-menu .menu-item.city { min-width: 11ch; }  підібрати під найдовшу назву */
}

/* Дрібний фікс для top-bar (не критично, але краще семантично) */
.top-bar .container{
  justify-content: flex-start;
  align-items: center;
}


/* бургер зліва на мобільних */
@media (max-width: 767.98px) {
  .navbar .navbar-toggler {
    margin-left: 0 !important;
    margin-right: .5rem;
  }
  /* ширина offcanvas = 60% вьюпорта */
  #offcanvasMenu { 
    --bs-offcanvas-width: 60vw;
  }
}

/* про всяк випадок: лівий блок тягнемо вліво */
.left-block { margin-right: auto; }


.footer-payments img {
  transition: transform 0.2s ease;
  opacity: 0.9;
}
.footer-payments img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Стрілочка біля Miasta на десктопі */
@media (min-width: 768px) {
  .d-md-flex .menu-item-has-children > a {
    position: relative;
    padding-right: 1.2rem; /* трохи місця справа для стрілки */
  }

  .d-md-flex .menu-item-has-children > a::after {
    content: "▾"; /* стрілочка вниз */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: .75rem;
    color: #000;
    transition: transform .25s ease, color .25s ease;
  }

  /* Коли користувач наводить */
  .d-md-flex .menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(-180deg); /* перевертається стрілка */
    color: #00578F;
  }
}





/* === MOBILE (<768px) ==================================== */
@media (max-width: 767.98px) {

  /* контейнер "Miasta" всередині offcanvas */
  .offcanvas-body .cities-menu {
    position: relative;
    padding-right: 2rem;         /* місце під стрілку справа */
  }

  /* верхні пункти меню у бургері */
  .offcanvas-body .navbar-nav > li > a {
    font-size: 1rem;
    font-weight: 600;
    color: #000 !important;
    padding: .4rem 0;
    display: block;
    text-decoration: none;
  }

  /* стрілка */
  .offcanvas-body .cities-toggle {
    position: absolute;
    right: 0;
    top: .4rem;
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
  }
  .offcanvas-body .cities-toggle::after {
    content: '▾';
    font-size: 1rem;
    color: #000;
    display: block;
    transition: transform .25s ease;
  }
  .offcanvas-body .cities-menu.open .cities-toggle::after {
    transform: rotate(-180deg);
  }

  /* блок списку міст у бургері */
  .offcanvas-body .cities-menu > .sub-menu {
    margin: 0 0 .5rem 0;
    padding-left: .75rem;
    border-left: 1px solid rgba(0,0,0,.08);

    max-height: 180px;
    overflow-y: auto;

    display: none; /* за замовчуванням сховано */
  }

  /* коли відкрито */
  .offcanvas-body .cities-menu.open > .sub-menu {
    display: block;
  }

  /* кастомний скрол в бургері */
  .offcanvas-body .cities-menu > .sub-menu::-webkit-scrollbar {
    width: 4px;
  }
  .offcanvas-body .cities-menu > .sub-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.2);
    border-radius: 999px;
  }

  /* стиль посилань міст у бургері */
  .offcanvas-body .cities-menu > .sub-menu > li > a {
    display: block;
    font-size: .9rem;
    font-weight: 400;
    color: #000;
    padding: .3rem 0;
    text-decoration: none;
  }
  .offcanvas-body .cities-menu > .sub-menu > li > a:hover,
  .offcanvas-body .cities-menu > .sub-menu > li > a:focus {
    color: #00578F;
    background: none;
  }

  /* прибрати кулі перед "Chorzów" і т.д. */
  .offcanvas-body .cities-menu > .sub-menu > li {
    list-style: none;
  }
}


/* =============== DROPDOWN НА ДЕСКТОПІ ================== */
@media (min-width: 768px) {

  /* Контейнер у якому твоє десктопне меню */
  .d-md-flex .menu-item-has-children {
    position: relative;
  }

  /* стилізація клікабельного "Miasta" */
  .d-md-flex .menu-item-has-children > a {
    font-weight: 600;
    white-space: nowrap;
    padding: .25rem 0;
    display: inline-block;
    color: #000;
    text-decoration: none;
  }

  /* саме випадаюче меню з містами */
  .d-md-flex .menu-item-has-children > .sub-menu {
    /* ховаємо спочатку */
    display: none;

    /* позиціюємо, щоб це було як дропдаун */
    position: absolute;
    top: 100%;
    left: 0;

    background-color: #fff;
    min-width: 220px;

    max-height: 240px;          /* якщо міст буде багато */
    overflow-y: auto;           /* тоді з'явиться скрол */

    border-radius: 12px;
    padding: .5rem 0;
    margin: 0;

    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 12px 24px rgba(0,0,0,.12);

    font-size: .95rem;
    list-style: none;
    z-index: 1000;
  }

  /* показати дропдаун при hover */
  .d-md-flex .menu-item-has-children:hover > .sub-menu {
    display: block;
  }

  /* прибираємо кулі й зайві відступи у внутрішніх елементах */
  .d-md-flex .menu-item-has-children > .sub-menu > li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* оформлення посилань міст у дропдауні */
  .d-md-flex .menu-item-has-children > .sub-menu > li > a {
    display: block;
    font-weight: 500;
    padding: .4rem .9rem;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
  }

  .d-md-flex .menu-item-has-children > .sub-menu > li > a:hover,
  .d-md-flex .menu-item-has-children > .sub-menu > li > a:focus {
    background-color: rgba(0,87,143,.07);
    color: #00578F;
  }
}
