.header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header__container.header__desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6px;
}

@media screen and (max-width: 1205px) {
  .header__container.header__desktop {
    display: none;
  }
}

.header__desktop .header__desktop {
  padding: 18px;
  padding-left: 0;
}

.header__desktop .header__link {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s var(--move);
  position: relative;
  cursor: pointer;
}

.header__desktop .header__link:hover {
  color: var(--primary);
}

.header__desktop .header__link a {
  color: inherit;
  font-size: inherit;
}

.header__desktop .header__links {
  max-width: 600px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__desktop .header__buttons {
  max-width: 230px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.header__desktop .header__actions {
  max-width: 350px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.header__desktop .header__divider {
  border-right: 1px solid black;
  opacity: 0.15;
  height: 32px;
}

.header__desktop .header__link.c-dropdown {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.header__desktop .header__link.c-dropdown:before {
  content: '';
  position: absolute;
  height: 53px;
  width: 86px;
  left: -2px;
  bottom: -40px;
  z-index: -1;
}

.c-dropdown__container {
  position: absolute;
  background: var(--secondary);
  border-radius: 8px;
  width: 250px;
  top: 44px;
  left: -31px;
  opacity: 0;
  pointer-events: none;
  transition: opacity, max-height, 0.3s var(--move);
  max-height: 0;
  z-index: -1;
}

.header__desktop .header__link.c-dropdown:hover .c-dropdown__container {
  opacity: 1;
  pointer-events: all;
  max-height: 900px;
}

.c-dropdown__chevron {
  margin-left: 4px;
  transition: transform 0.3s var(--move);
}

.header__desktop .header__link:hover .c-dropdown__chevron {
  transform: rotate(180deg);
}

.c-dropdown__links {
  padding: 24px 32px;
  display: grid;
  gap: 16px;
  font-size: 12px;
  color: white;
}

.c-dropdown__link {
  padding: 8px 0;
  width: max-content;
  border-bottom: 1px solid transparent;
  position: relative;
  transition: padding 0.3s var(--move);
  will-change: padding;
}

.c-dropdown__link:hover {
  padding-left: 6px;
}

.c-dropdown__link:before {
  content: '';
  bottom: 0;
  position: absolute;
  background: var(--primary);
  width: 0;
  transition: width, 0.3s var(--move);
  height: 2px;
  left: 0;
  will-change: width;
}

.c-dropdown__link:hover:before {
  width: 22px;
}
