.help {
  padding: 208px 32px 150px;
  margin: 0 auto;
  max-width: 1384px;
}

.help-page-header {
  text-align: center;
}

.tabs {
  margin: 32px auto 64px;
  width: fit-content;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(29, 29, 29, 0.1);
}

.tab {
  position: relative;
  padding: 12px 8px;
  background-color: transparent;
  cursor: pointer;
  font-family: Regular;
  font-size: 18px;
  color: rgba(29, 29, 29, 0.5);
  transition: ease 0.3s;
  line-height: 1.2;
}
.tab::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #1D1D1D;
  transition: ease 0.3s;
  opacity: 0;
}
.tab:hover {
  color: #1D1D1D;
}
.tab:hover::after {
  opacity: 1;
}
.tab.active {
  color: #1D1D1D;
}
.tab.active::after {
  opacity: 1;
}

.hidden {
  display: none;
}

.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 64px auto 48px;
}
.search-wrapper .input {
  padding-left: 48px;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  display: flex;
  transform: translateY(-50%);
}

.tab-panel {
  padding: 48px 0 100px;
}

.links-items {
  display: flex;
  column-gap: 48px;
  flex-wrap: wrap;
  width: 100%;
}

.link-item {
  width: calc((100% - 48px) / 2);
  border-bottom: 1px solid rgba(29, 29, 29, 0.1);
}

@media (max-width: 1000px) {
  .help {
    padding: 108px 16px 50px;
  }
  .links-items {
    flex-direction: column;
  }
  .link-item {
    width: 100%;
  }
  .tabs {
    margin: 32px 0 32px;
    gap: 0;
    overflow-y: scroll;
    width: calc(100% + 32px);
    display: -webkit-box;
    margin-left: -16px;
    scrollbar-width: none;
    ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab {
    width: max-content;
    margin: 0 8px;
  }
  .tab:first-child {
    margin-left: 16px;
  }
  .tab:last-child {
    margin-right: 16px;
  }
  .tab {
    display: flex;
    font-size: 16px;
  }
  .search-wrapper {
    margin: 32px 0 48px;
  }
  .tab-panel {
    padding: 0;
  }
}
.form-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 100px 0 150px;
}

.form-section {
  display: flex;
  gap: 32px;
  justify-content: space-between;
}
.form-section .h2 {
  max-width: 520px;
  width: 100%;
}

.contact-form {
  max-width: 630px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-image {
  display: flex;
  aspect-ratio: 1300/400;
  max-width: 100%;
}
.form-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.form-rows {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row {
  display: flex;
  gap: 8px;
}

@media (max-width: 768px) {
  .form-container {
    padding: 100px 0 0;
  }
  .form-section {
    flex-direction: column;
  }
  .form-section .h2 {
    font-size: 32px;
  }
  .form-image {
    aspect-ratio: 1;
  }
  .form-rows {
    gap: 8px;
  }
  .form-row {
    flex-direction: column;
    gap: 4px;
  }
}