:root {
  --font-family: 'Manrope', sans-serif;
  --second-family: 'Prosto One', sans-serif;
  --third-family: 'MuseoModerno', sans-serif;
  --font3: 'Unbounded', sans-serif;
}

body {
  width: 100%;
  color: #000;
  background-color: #fff;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1310px;
}

/* Burger-animation = START */
.header__burger {
  display: none;
}

.header__burger .line {
  opacity: 1;
}

.header__burger.active .line {
  opacity: 0;
}

/* Хрестик */
.header__burger .cross {
  opacity: 0;
}

.header__burger.active .cross {
  opacity: 1;
}

.header__burger .svg-icon {
  transition: transform 0.3s ease-in-out;
}

.header__burger.active .svg-icon {
  transform: rotate(180deg);
}

.svg-icon {
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.svg-icon.active {
  transform: rotate(180deg);
}

.svg-icon path {
  transition: opacity 0.25s ease-in-out, transform 0.3s ease-in-out;
}

/* Лінії бургер-меню */
.svg-icon path.line {
  opacity: 1;
}

.svg-icon.active path.line {
  opacity: 0;
}

/* Лінії хрестика */
.svg-icon path.cross {
  opacity: 0;
}

.svg-icon.active path.cross {
  opacity: 1;
}
/* Burger-animation = END */

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  max-width: 97px;
}

.header__menu > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.header__menu a {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid transparent;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.header__menu .dropdown__body a {
  color: #000;
}

.header__menu .show__dropdown ul li:not(:last-child) {
  margin-bottom: 8px;
}

.header__menu a:hover {
  color: #29b4b4;
  border-bottom-color: #29b4b4;
}

.header__menu .activeMenu > a {
  color: #29b4b4;
  border-bottom-color: #29b4b4;
}

a.header__contact--link:hover {
  color: #fff;
  background: #29b4b4;
}

a.header__contact--link {
  border: 2px solid #29b4b4;
  padding: 0 30px;
  height: 41px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #29b4b4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.show__dropdown {
  position: relative;
}

.show__dropdown > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.show__dropdown > a:hover {
  color: #fff;
}

.show__dropdown > a svg path {
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.header__menu,
.header__menu-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.dropdown__body {
  position: absolute;
  overflow: hidden;
  top: 64px;
  left: 50%;
  transform: translateX(20%);
  padding: 16px 0;
  z-index: 9;
  visibility: hidden;
  opacity: 0;
  background-color: #fff;
  border-radius: 4px;
  width: 100%;
  transition: 0.5s;
  -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.dropdown__body.in {
  visibility: visible;
  opacity: 1;
  padding: 16px;
  transform: translateX(-50%);
}

.show__dropdown svg {
  fill: transparent;
  transform: rotate(0);
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transition: transform 0.2s ease;
}

.show__dropdown.active svg {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}

.header__menu--links {
  display: none;
}

@media (max-width: 1279px) {
  header {
    background: #001225;
  }

  .header__burger {
    display: flex;
  }

  .header__menu {
    position: fixed;
    left: -120%;
    top: 56px;
    width: 100%;
    max-width: 360px;
    height: calc(100vh - 56px);
    background: #fff;
    padding: 40px 16px;
    z-index: 1001;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    overflow: auto;
    transition: 0.7s;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -ms-transition: 0.7s;
    -o-transition: 0.7s;
  }

  .header__menu.in {
    left: 0;
  }

  .header__menu > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 300px;
  }

  .header__menu > ul > li {
    width: 100%;
    margin-bottom: 10px;
  }

  .header__menu a {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    color: #000;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #29b4b4;
    display: flex;
  }

  .show__dropdown > a {
    justify-content: normal;
  }

  .show__dropdown > a:hover {
    color: #29b4b4;
  }

  .header__menu, .header__menu-list {
    display: block;
  }

  a.header__contact--link {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #29b4b4;
    padding: 12px 0;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
  }

  a.header__contact--link:hover {
    background: #fff;
    color: #29b4b4;
  }

  .dropdown__body {
    padding: 0;
    background-color: #fff;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    max-height: 0;
    border-radius: 0;
    border-bottom: 1px solid #29b4b4;
    box-shadow: none;
  }

  .dropdown__body.in {
    padding: 12px 0;
    max-height: max-content;
    transform: translateX(0);
  }

  .dropdown__body a {
    padding: 0;
    border: none;
    text-transform: none;
  }

  .dropdown__body li {
    margin-bottom: 8px;
  }

  .header__menu--links {
    display: flex;
    margin-top: 102px;
    width: 100%;
    flex-wrap: wrap;
  }

  .header__menu--links a {
    display: inline-flex;
  }

  .header__menu--title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #29b4b4;
    margin-bottom: 5px;
  }

  .header__menu--phone a {
    border: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #000;
  }

  .header__email,
  .header__menu--phone {
    width: 50%;
  }

  .header__email a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    /* color: #fd1010; */
    text-transform: none;
    border: none;
  }

  .header__address {
    width: 100%;
    margin-top: 30px;
    max-width: 250px;
  }

  .header__menu--addr {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #000;
  }

  .header__socials {
    width: 100%;
    margin-top: 50px;
  }

  .header__socials ul {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .header-item,
  .header-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
  }

  .header-item img {
    width: 24px;
    height: 24px;
  }

  .backdrop_menu {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* затемнення */
    z-index: 998; /* вище за інші елементи */
    display: none;
  }

  .logo {
    max-width: 49px;
  }

  .header__wrapper {
    padding: 16px;
  }

  .header__language {
    margin-left: auto;
    margin-right: 24px;
  }
}
