:root {
  --color-background-main: #fff;
  --color-background-second: #f2f2f2;
  --color-text-shade: #4e4e4e;
  --color-text-main: #000000;
  --color-green: #37a58c;
  --color-red: #dd0060;
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
  font-family: "Brix_Sans_Regular";
  src: url("fonts//BrixSans-Regular.otf") format("truetype"),
    url("fonts/Brix_Sans_Regular.woff2") format("woff2"),
    url("fonts/Brix_Sans_Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Brix_Sans_Bold";
  src: url("./fonts/Brix_Sans-Bold.woff") format("woff"),
    url("./fonts/Brix_Sans_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: "Brix_Sans_Regular", sans-serif;
  font-size: 18px;
  font-style: normal;
  line-height: normal;
  user-select: none;
}

html {
  scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

ul {
  padding-left: 0;
  margin: 0;
}
img {
  display: block;
}

.link {
  text-decoration: none;
  outline: transparent;
  transition: transform var(--transition);
  cursor: pointer;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

.container {
  width: 100%;
  max-width: 375px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 0 auto;
}

.section {
  padding-top: 60px;
  padding-bottom: 60px;
}

@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media screen and (min-width: 1199px) {
  .container {
    max-width: 1200px;
    padding-left: 90px;
    padding-right: 90px;
  }
}
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1440px;
    padding-left: 120px;
    padding-right: 120px;
  }

  .section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
/**-----Header-----**/


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 10px;
}


.burger-btn {
  display: flex;
  background-color: var(--color-white);
  border: none;
  align-items: center;
  justify-content: center;
  outline: transparent;
  transition: transform var(--transition);
  cursor: pointer;
}

.burger-btn:hover,
.burger-btn:focus {
  transform: scale(1.3);
}

.header-nav {
  display: none;
}

.header-list {
  display: flex;
  gap: 40px;
}

.header-item {
  transition: transform var(--transition);
  position: relative;
  padding-bottom: 24px;
}

.header-item::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 4px;
  background-color: var(--color-red);
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--transition);
}
.header-item:hover::after,
.header-item:focus::after,
.header-item.current::after {
  opacity: 1;
}
.header-item-link {
  color: var(--color-text-main);
  font-size: 16px;
  transition: transform var(--transition);
  line-height: 20.8px;
}

.header-item-link-second {
  color: var(--color-text-main);
  font-size: 18px;
  transition: transform var(--transition);
  line-height: 23.4px;
  font-weight: 500;
}

.language-button {
  position: relative;
}

/* Стиль для випадаючого меню мови */
.language-dropdown {
  display: none;
  position: absolute;
  top: 60%;
  left: -20%;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 10;
  width: 80px;
}

.language-item {
  padding: 5px 0;
}

.language-link {
  text-decoration: none;
  color: black;
  display: block;
}

/* Показувати випадаюче меню при hover */
.language-selector:hover .language-dropdown {
  display: block;
}

/* Стиль для активної мови */
.language-link.current {
  font-weight: bold;
  color: var(--color-green);
}

@media screen and (min-width: 1199px) {
  .burger-btn {
    display: none;
  }
  .logo {
    margin-left: -35px;
  }
  .header-nav {
    display: flex;
    align-items: center;
  }

}

@media screen and (min-width: 1440px) {
}

/**-----Mobile Menu-----**/
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  background-color: rgb(255 255 255 / 60%);
   transition: opacity var(--transition), visibility var(--transition);
}
.backdrop.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu-container {
  position: fixed;
  top: 90px;
  right: 0px;
  width: 261px;
  background-color: var(--color-background-main);
  z-index: 9;
  transform: translateX(100vw);
  transition: transform var(--transition);
  overflow: auto;
  height: 100%;
  padding: 40px;
}

.mobile-menu-container.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  color: var(--color-text-mobile-menu);

}
.header-list-mob{
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.mobile-menu-header-text {
  display: none;
}

.header-item-mob{
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 23.4px;
  color: var(--color-text-main);

}
.header-item-link-mob {
  color: var(--color-text-main);
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.mobile-menu-item{
  font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 20.8px;
}
.mobile-menu-link{
  color: var(--color-text-main);
}

.header-nav-mob {
  display: block;
}
.mobile-toggle-lang{
 display: flex;
 gap: 20px;
}
.mobile-toggle-item .current {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 23.4px;
}
.mobile-toggle-link {
  color: #B1B2B3;
}
.mobile-toggle-link.current{
color: var(--color-green);
}


/**-------Main-------**/

/* -----Hero---*/
.hero {
  max-width: 100%;
  background-image: url("../img/Hero_mobile.png");
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: var(--color-text-main);
  text-align: center;
  height: 450px;
  margin-bottom: 200px;
}

.hero-container {
  position: relative;
  padding-left: 30px;
  padding-right: 30px;
  margin: 0 auto;
}

.banner {
  position: absolute;
  top: 400px;
  left: 50%;
  transform: translate(-50%, 0%);
  padding: 30px 15px 60px 30px;
  width: 315px;
  height: auto;
  background-color: var(--color-background-main);
}

.logos-banner {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 20px;
  margin-bottom: 40px;
}
.logo-mepa {
  width: 64px;
  margin-top: 10px;
}

.logo-rehau {
  width: 111px;
}

.line {
  width: 1px;
  height: 40px;
  background-color: var(--color-text-shade);
}

.banner-text {
  font-size: 28px;
  font-weight: 700;
  line-height: 30.8px;
  text-align: left;
  margin-bottom: 20px;
}

@media screen and (min-width: 1199px) {
  .hero {
    max-width: 100%;
    background-image: url("../img/Hero.png");
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: var(--color-text-main);
    text-align: center;
    height: 600px;
    margin-bottom: 0;
  }

  .hero-container {
    position: relative;
    padding-left: 120px;
    padding-right: 120px;
    margin: 0 auto;
  }

  .banner {
    position: absolute;
    top: 240px;
    left: 0%;
    transform: translateX(0%);
    padding: 30px 15px 60px 30px;
    width: 427px;
    height: auto;
    background-color: var(--color-background-main);
    margin-left: 120px;
  }
  .banner-text {
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
    margin-bottom: 20px;
  }

  .logos-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
  }
  .logo-mepa {
    width: 97px;
    margin-top: 10px;
  }

  .logo-rehau {
    width: 167px;
  }

  .line {
    width: 1px;
    height: 60px;
    background-color: var(--color-text-shade);
  }

  .banner-text {
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
  }
}

@media screen and (min-width: 1440px) {
}

/* -----First-inform-block---*/

.info-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.img-block {
  display: flex;
  align-items: end;
  gap: 10px;
}

.mepa {
  height: 244px;
}

.safety {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 64px;
}

.insurance {
  width: 64px;
  height: 64px;
  text-align: center;
  background-color: var(--color-red);
  padding: 4px 8px 4px 8px;
}

.insurance-text {
  color: var(--color-background-main);
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  line-height: 9px;
}

.insurance-span {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 31.3px;
  color: var(--color-background-main);
}
.text-block {
  display: flex;
  flex-direction: column;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 30px;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
  margin-bottom: 20px;
}

.section-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 23.4px;
  margin-bottom: 20px;
}

.section-text-technology {
  font-size: 17px;
  font-weight: 400;
  line-height: 22px;

}

@media screen and (min-width: 1199px) {
  .info-container {
    flex-direction: row;
    gap: 80px;
  }

  .img-block {
    display: flex;
    align-items: flex-end;

    gap: 40px;
  }
  .text-block {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .mepa {
    height: 378px;
  }
  .safety {
    gap: 10px;
    width: 92px;
  }

  .insurance {
    width: 92px;
    height: 92px;
    padding: 8px 10px 8px 10px;
  }

  .insurance-text {
    font-size: 12px;
    line-height: 10.8px;
    font-weight: 600;
  }

  .insurance-span {
    font-size: 45px;
    line-height: 45px;
  }
}

/* -----Second-inform-block---*/
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-red);
  background-color: var(--color-background-main);
  padding: 10px;
  color: var(--color-red);
  position: static;
}
/* .swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
} */

.swiper-button-prev {
  rotate: 180deg;
}

.swiper-button-wrapper {
  display: flex;
  justify-content: start;
  gap: 10px;
}
.section-second {
  background-color: var(--color-background-second);
}
.section-title-second {
  margin-bottom: 40px;
}
.slider-icon {
  fill: var(--color-red);
}

.info-blocks-section-second {
  display: flex;
}
.info-block-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background-color: var(--color-text-main);
  z-index: 2;
}
.info-block-item {
  position: relative;
  z-index: 1;
  padding-top: 20px;
  padding-bottom: 40px;
}
.section-text-second {
  font-size: 14px;
  line-height: 18.2px;
}
.info-container-desktop {
  display: none;
}
.info-container-mobile {
  display: block;
}

@media screen and (min-width: 1199px) {
  .info-container-desktop {
    display: block;
  }
  .section-title-second {
    margin-bottom: 60px;
  }
  .info-block-item {
    width: calc((100% - 72px)/4);
  }

  .swiper-button-wrapper {
    display: none;
  }
  .info-blocks-section-second-desktop {
    display: flex;
    gap: 25px;
  }
  .info-container-mobile {
    display: none;
  }
}

/* -----Third-inform-block---*/
.owl-nav {
  display: none !important;
}
.info-blocks-section-third-desktop {
  display: none;
}
.info-blocks-section-third-mobile {
  display: flex;
  gap: 10px;
}

.mobile-title {
  display: block;
}
.info-block-third-item {
  background-color: var(--color-background-second);
  width: 100%;
  padding: 20px;
  height: 179px;
}

.info-block-third {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.swiper-technology {
  display: flex;
  flex-direction: column;
  width: 100%;

  overflow: hidden;
}
.slide {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding-bottom: 40px;
}
@media screen and (min-width: 1199px) {
  .mobile-title {
    display: none;
  }
  .swiper-technology{ 
    display: none;
  }
  .info-blocks-section-third-desktop {
    display: flex;
    column-gap: 24px;
    row-gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .info-block-third-item {
    width: calc((100% - 72px)/4);
    height: 195px;
  }
  .info-blocks-section-third-mobile {
    display: none;
  }
  .text-block-fourth {
  width: calc((100% - 60px)/2)

}
}

@media screen and (min-width: 1199px) {
  .panels {
    width: calc((100% - 60px)/2)
  }
}
.air-wc {
  width: 269px;
}
.img-block-air {
  position: relative;
}
.easy-connect {
  position: absolute;
  right: 36px;
  top: 30px;
  width: 50px;
}
.zero-imgs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 40px;
}
.orbit-wc,
.zero-wc,
.zero-lumo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zero-imgs .section-subtitle {
  margin-bottom: 7px;
  padding-top: 10px;
}
.toilet {
  max-width: 100%;
  margin-bottom: 20px;
}
@media screen and (min-width: 1199px) {
  .air-wc {
    width: 538px;
  }
  .easy-connect {
    position: absolute;
    right: 72px;
    top: 60px;
    width: 100px;
  }
  .zero-imgs {
    flex-direction: row;
    justify-content: flex-start;
    gap: 60px;
  }
  .zero-wc,
.zero-lumo {
padding-top: 40px;
}
}
@media screen and (min-width: 1199px) {
  .info-blocks-section-third {
    display: flex;
    justify-content: center;
    gap: 24px;
  }
}
.divider {
  width: 1200px;
  height: 1px;
  background-color: #d9d9d9;
}

/* --- Fifth-inform-block ---*/
.header-inform {
  border-bottom: 1px solid #d9d9d9;
  width: 100%;
  display: flex;
  gap: 40px;
  overflow-x: auto;
  justify-content: start;
}
.rehau-type {
  border: none;
  padding-bottom: 20px;
  background-color: transparent;
  font-size: 24px;
  font-weight: 700;
  line-height: 31.2px;
  position: relative;
  white-space: nowrap;
  color: var(--color-text-main);
}
.rehau-type::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 4px;
  background-color: var(--color-red);
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--transition);
}
.rehau-type:hover::after,
.rehau-type:focus::after,
.rehau-type.current::after {
  opacity: 1;
  color: var(--color-text-main);
}
.orbit-wc {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
}
.zero-wc {
  display: none;
  flex-direction: column;
  padding-top: 40px;
}
.zero-lumo {
  display: none;
  flex-direction: column;
  padding-top: 40px;
}
.img-block-aside {
  width: 315px;
  background-color: #fff;
  margin-right: 20px;
  display: flex;
  gap: 20px;
}
.img-fifth-block-aside {
  width: 64px;
}
.swiper-container {
  width: 318px;
  overflow: hidden;
}
.img-swiper-block-fifth{
  position: relative;
}
.easy-connect-fifth{
  display: none;
}
.owl-carousel .owl-item img.easy-connect-fifth {
  display: none;
}
.owl-custom .owl-item {
  display: flex;
  justify-content: center;
  align-items: center; /* Центрування по вертикалі */
}

.img-swiper-slide {
  width: 100%;
  height: auto;
  display: block;
}

.swiper-container .swiper-button-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  width: 315px;
}
.prev-1,
.next-1,
.prev-2,
.next-2,
.prev-3,
.next-3,
.prev-4,
.next-4,
.prev-5,
.next-5 {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: var(--color-background-main);
  padding: 10px;
  color: var(--color-red);
  position: static;
}
.prev-1::after,
.next-1::after,
.prev-2::after,
.next-2::after,
.prev-3::after,
.next-3::after,
.prev-4::after,
.next-4::after,
.prev-5::after,
.next-5::after {
  content: "";
}
.prev-1,
.prev-2,
.prev-3,
.prev-4,
.prev-5
 {
  rotate: 180deg;
}
.prev-1:hover,
.next-1:hover,
.prev-2:hover,
.next-2:hover,
.prev-3:hover,
.next-3:hover,
.prev-4:hover,
.next-4:hover,
.prev-5:hover,
.next-5:hover {
  border: 2px solid var(--color-red);

}
.technology-item {
  position: relative;
  padding-left: 25px;
  margin-top: 10px;
}

.technology-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 2px;
  background-color: var(--color-green);
}

@media screen and (min-width: 1199px) {
  .orbit-wc {
    flex-direction: row;
  }
  .zero-wc {
    flex-direction: row;
  }
  .zero-lumo {
    flex-direction: row;
  }
  .img-block-aside {
    flex-direction: column;
    width: 92px;
    gap: 2px;
  }
  .img-fifth-block-aside {
    width: 100%;
  }
  .img-zero-mini {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .owl-carousel .owl-item img.easy-connect-fifth {
    display: block;
    width: 80px; 
    position: absolute;
    top: 0;
    right: 0;
  }
  .easy-connect-fifth {
    display: block;
    width: 80px; 
    position: absolute;
    top: 0;
    right: 0;
  }
  .swiper-container {
    width: 380px;
    overflow: hidden;
    margin-right: 132px;
  }
  /* .img-orbit-wrapper {
    padding: 0px 35px;
    position: relative;
  } */
  /* .img-orbit-wrapper .easy-connect {
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
  } */
  .swiper-container .swiper-button-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    width: 380px;
  }
 
  .swiper-slide {
    max-width: calc((100% - 72px)/4);
  }
}
/* --- Eighth-inform-block ---*/

.download {
  display: flex;
  gap: 10px;
}
.download-text-block {
}
.download-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  color: var(--color-red);
}
.download-text-pdf {
  font-size: 14px;
  font-weight: 400;
  line-height: 18.2px;
  color: var(--color-text-shade);
}
.pdf-icon {
  fill: #818181;
}
.info-container-eight {
  max-width: 780px;
}
.eight-block-desktop{
  display: none;
}
.owl-eighth-item{
  margin-bottom: 30px;
  
}
.section-title-eigth {
  margin-bottom: 20px;
}
.eigth-subtitle{
  margin-bottom: 60px;
}
@media screen and (min-width: 1199px) {
  .eight-block-desktop {
    display: block;
  }
.eight-list-desktop {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
  justify-content: space-between;
}
.owl-eighth-item{
  width: calc((100% - 140px)/3);
  

}
.swiper {
  display: none;
}
}


/* Footer */
.footer-green {
  background-color: var(--color-green);
}
.progress {
  display: flex;
  justify-content: flex-end;
  padding-top: 34px;
  padding-bottom: 34px;
}
.progress-img {
  width: 180px;
}
.footer-black {
  background-color: var(--color-text-main);
  padding-top: 35px;
  padding-bottom: 40px;
}
.footer-information {
  display: flex;
  gap: 40px;
  flex-direction: column;
}
.contacts {
  width: 206px;
}
.tel {
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
  color: var(--color-background-main);
  margin-bottom: 10px;
  font-style: normal;
}
.mail {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  color: var(--color-background-main);
  line-height: 130%; /* 20.8px */
}
.footer-text {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 20.8px;
  margin-bottom: 30px;
  color: var(--color-background-main);
}
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  width: 250px;
}
.footer-item-link {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  color: var(--color-background-main);
}
.social {
  display: flex;
  gap: 20px;
}
.soc-icon {
  fill: var(--color-background-main);
}
@media screen and (min-width: 1199px) {
  .footer-black {
    padding-top: 60px;
    padding-bottom: 70px;
  }
  .footer-information {
    gap: 100px;
    justify-content: start;
    flex-direction: row;
  }
  .social {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
  }
}


/* TEST */

.send-us-link {
  height: 60px;
  padding: 18px 30px;
  justify-content: center;
  align-items: center;
  background-color: var(--color-red);
  color: var(--color-background-main);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 23.4px;
  display: flex;
  width: 183px;
}

.send-us-text{
  text-align: left;
  margin-bottom: 40px;
}
@media screen and (min-width: 1199px) {
.banner-404{
  top: 150px;
  height: 410px;
}
}


/* Video */

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  /* max-width: 315px;  */
}

.video-preview {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
}

.custom-video {
  width: 100%;
  height: auto;
  display: none;
}

@media (min-width: 768px) {
  .video-wrapper {
    max-width: 600px;
  }
}


@media screen and (min-width: 1199px) {
  .play-button {
    width: 60px;
    
  }
  .video-wrapper {
    max-width: 1199px;
  }
  }

  .rain-icon {
    width: 40px;
  }