.tf-header {
  z-index: 10;
  position: relative;
}

.tf-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 78px;
}

.tf-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.tf-header__logo img {
  max-height: 30px;
}

.tf-header__burger {
  display: none;
  width: 36px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: space-between;
}

.tf-header__burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #383838;
  border-radius: 20px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tf-header.menu-open .tf-header__burger span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.tf-header.menu-open .tf-header__burger span:nth-child(2) {
  opacity: 0;
}

.tf-header.menu-open .tf-header__burger span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

.tf-header__nav {
  margin-left: auto;
  margin-right: 8px;
}

.tf-header__list {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-header__list > li {
  position: relative;
}

.tf-header__list a {
  text-decoration: none;
  color: #2a2a2a;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.tf-header__list > li.active > a {
  background: linear-gradient(90deg, #ff6d18 0%, #ffae05 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tf-header__list > li > a:hover {
  color: #ff6c01;
}

.tf-header__sublist {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  list-style: none;
  margin: 0;
  padding: 10px;
  border: 1px solid #e6ecec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 35, 57, 0.08);
  z-index: 30;
}

.tf-header__sublist li + li {
  margin-top: 8px;
}

.tf-header__sublist a {
  font-size: 0.75rem;
}

.tf-header__list > li:hover .tf-header__sublist {
  display: block;
}

.tf-header__cta {
  min-height: 48px;
  min-width: 190px;
  border-radius: 999px;
}

.tf-header__mobile-panel {
  position: fixed;
  inset: 0;
  background: rgba(31, 36, 48, 0.28);
  z-index: 40;
}

.tf-header__mobile-shell {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 18px 18px 26px;
  background: #fff;
}

.tf-header__mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tf-header__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e3e8f2;
  background: #fff;
  color: #2a2a2a;
  font-size: 24px;
  line-height: 1;
}

.tf-header__mobile-list,
.tf-header__mobile-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-header__mobile-list > li + li {
  margin-top: 12px;
}

.tf-header__mobile-list a {
  color: #2a2a2a;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.tf-header__mobile-list > li.active > a {
  color: #ff6c01;
}

.tf-header__mobile-sublist {
  margin-top: 8px;
  padding-left: 12px;
}

.tf-header__mobile-sublist li + li {
  margin-top: 6px;
}

.tf-header__mobile-sublist a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #5e6677;
}

.tf-header__mobile-cta {
  margin-top: 18px;
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
}

@media (min-width: 901px) {
  .tf-header__mobile-panel {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .tf-header__container {
    min-height: 60px;
    padding: 4px 0;
  }

  .tf-header__burger {
    display: inline-flex;
  }

  .tf-header__nav,
  .tf-header__cta {
    display: none;
  }

  .tf-header__logo {
    margin-left: auto;
  }

  .tf-header__logo img {
    max-height: 32px;
  }
}

body.tf-menu-open {
  overflow: hidden;
}
