.vf-header {
  --header-height: clamp(60px, calc(43.94vw - 277.45px), 118px);
  --header-left-x: 62px;
  --header-right-x: clamp(30px, calc(-135.61vw + 1250.45px), calc(50% - 175px));
  --header-brand-width: clamp(52px, calc(27.27vw - 157.45px), 88px);
  --header-brand-left: clamp(calc(50% - 101px), calc(126.52vw - 688.04px), 50%);
  --header-text-width: clamp(0px, calc(84.85vw - 651.64px), 112px);
  --header-text-opacity: clamp(0, calc((100vw - 800px) * 0.01), 1);
  --header-icon-size: clamp(20px, calc(47.27px - 3.03vw), 24px);
  --header-font-size: clamp(14px, calc(1.515vw + 2.36px), 16px);
  --header-side-gap: clamp(12px, calc(9.09vw - 57.82px), 24px);
  --header-action-height: clamp(40px, calc(1.515vw + 28.36px), 42px);
  --header-action-x: clamp(16px, calc(3.03vw - 7.27px), 20px);
  --header-signup-gap: clamp(8px, calc(3.03vw - 15.27px), 12px);
  width: 100%;
  height: var(--header-height);
  position: relative;
  color: var(--primary-color);
  box-sizing: border-box;
  z-index: 45;
}

.vf-header__left,
.vf-header__right {
  display: flex;
  align-items: center;
  min-width: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.vf-header__left {
  left: var(--header-left-x);
  justify-content: flex-start;
  gap: var(--header-side-gap);
}

.vf-header__right {
  right: var(--header-right-x);
  justify-content: flex-end;
  gap: var(--header-side-gap);
}

.vf-header__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: var(--header-brand-left);
  transform: translate(-50%, -50%);
}

.vf-header__brand img {
  width: var(--header-brand-width);
  height: auto;
  display: block;
}

.vf-header__nav,
.vf-header__login,
.vf-header__signup {
  display: inline-flex;
  align-items: center;
  font-size: var(--header-font-size);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
}

.vf-header__nav {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.vf-header__nav:focus {
  outline: none;
}

.vf-header__nav:focus-visible {
  outline: none;
}

.vf-header__nav {
  gap: clamp(0px, calc(10.61vw - 81.48px), 14px);
}

.vf-header__login {
  gap: clamp(0px, calc(7.58vw - 58.18px), 10px);
}

.vf-header__nav span,
.vf-header__login span {
  display: inline-block;
  max-width: var(--header-text-width);
  overflow: hidden;
  opacity: var(--header-text-opacity);
}

.vf-header__nav img,
.vf-header__login img {
  width: var(--header-icon-size);
  height: var(--header-icon-size);
  flex: 0 0 auto;
}

.vf-header__signup {
  height: var(--header-action-height);
  gap: var(--header-signup-gap);
  padding: 0 var(--header-action-x);
  border-radius: 999px;
  background: var(--primary-color);
  color: var(--white);
}

.vf-header__signup img {
  width: var(--header-icon-size);
  height: var(--header-icon-size);
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .vf-header {
    --header-left-x: 62px;
    --header-brand-left: clamp(128px, 33vw, 160px);
  }
}

@media (max-width: 342px) {
  .vf-header {
    --header-height: 60px;
    --header-brand-left: clamp(118px, 40vw, 128px);
    --header-icon-size: clamp(18px, 7.5vw, 24px);
    --header-font-size: clamp(12px, 5vw, 14px);
    --header-action-height: clamp(34px, 16.6667vw, 40px);
    --header-action-x: clamp(8px, 3.3333vw, 16px);
    --header-signup-gap: clamp(4px, 1.6667vw, 8px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(4px, 1.6667vw, 8px);
    padding: 0 clamp(8px, 5.1282vw, 20px);
  }

  .vf-header__left,
  .vf-header__right {
    top: 50%;
    transform: translateY(-50%);
  }

  .vf-header__left {
    position: absolute;
    left: var(--header-left-x);
  }

  .vf-header__right {
    position: absolute;
    right: clamp(8px, 5.1282vw, 20px);
  }

  .vf-header__brand {
    position: absolute;
    top: 50%;
    left: var(--header-brand-left);
    transform: translate(-50%, -50%);
  }

  .vf-header__left,
  .vf-header__right {
    flex: 0 0 auto;
  }

  .vf-header__right {
    gap: clamp(4px, 3.0769vw, 12px);
  }

  .vf-header__brand img {
    width: clamp(44px, 13.3333vw, 52px);
  }

  .vf-header__nav span,
  .vf-header__login span {
    display: none;
  }

  .vf-header__nav img,
  .vf-header__login img,
  .vf-header__signup img {
    width: var(--header-icon-size);
    height: var(--header-icon-size);
  }

  .vf-header__signup {
    gap: var(--header-signup-gap);
    height: var(--header-action-height);
    padding: 0 var(--header-action-x);
    font-size: var(--header-font-size);
  }
}
