.header {
  padding: 40px 40px 0 40px;
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 1;
  min-width: 0;
  
}

.header__link {
  color: #1D1D1D;
font-family: "Inter", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22.516px;
letter-spacing: -0.16px;
text-decoration: none;
white-space: nowrap;
}

.header__link:hover {
  color: #62bb46;
}

.header__link-wrap {
  position: relative;
}

.header__tooltip-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 100;
  margin-top: -8px;
}

.header__link-wrap:hover .header__tooltip-list {
  display: flex;
  width: 201px;
  padding: 8px 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #FFF;
  color: rgba(29, 29, 29, 0.80);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.14px;
}

.header__tooltip-list a {
  color: rgba(29, 29, 29, 0.80);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.14px;
}

.header__tooltip-list a:hover {
  color: #62bb46;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header__btn {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 6px 32px;
  border-radius: 42px;
  border: none;
  background: #0A360A;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22.516px;
  letter-spacing: -0.14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header__btn--primary {
  background: #E2E8E2;
  color: #0A360A;
}

span.header__btn {
  cursor: default;
}

.header__btn--mobile{
  display: none;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.lang-switcher__label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  color: rgba(29, 29, 29, 0.4);
  transition: color 0.2s, font-weight 0.2s;
  white-space: nowrap;
}

.lang-switcher__track {
  position: relative;
  width: 42px;
  height: 22px;
  background: #0A360A;
  border-radius: 11px;
  flex-shrink: 0;
}

.lang-switcher__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s ease;
}

.lang-switcher[data-lang="ua"] .lang-switcher__ua { color: #1D1D1D; font-weight: 600; }
.lang-switcher[data-lang="ua"] .lang-switcher__en { color: rgba(29, 29, 29, 0.4); }
.lang-switcher[data-lang="ua"] .lang-switcher__knob { transform: translateX(0); }

.lang-switcher[data-lang="en"] .lang-switcher__en { color: #1D1D1D; font-weight: 600; }
.lang-switcher[data-lang="en"] .lang-switcher__ua { color: rgba(29, 29, 29, 0.4); }
.lang-switcher[data-lang="en"] .lang-switcher__knob { transform: translateX(20px); }

.header__lang-row {
  display: none;
}

@media (max-width: 768px) {
  .header {
    padding: 20px 16px 0;
  }

  .header__actions {
    display: none;
  }

  .header__lang-row {
    display: flex;
    justify-content: flex-start;
    padding: 6px 0px 0;
  }

  .header__logo-img{
    max-width: 190px;
  }

  .header__nav{
    display: none;
  }

  .header__btn--mobile{
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .header__btn--in{
    display: flex;
    padding: 6px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: none;
    background-color: #0A360A;
  }

  .header__btn--call{
    display: flex;
    border: none;
    padding: 6px;
    width: 34px;
    height: 34px;
    border-radius: 100%;
    background-color: #E2E8E2;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }

  .header__btn--call img{
    width: 24px;
    height: 24px;
  }

}

@media (max-width: 1200px) {
  .header__nav{
    display: none;
  }
}