.header{
  position: absolute;
  top: 0;
  width: 100%;
  padding: 40px 0 0 0;
  z-index: 3;
}

.header .header__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .header__inner .request-call-btn{
  display: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  color: var(--title-color);
  border-radius: 32px;
  background-color: transparent;
  position: relative;
  padding: 16px 47px;
  border: none;
  cursor: pointer;
}

.header .header__inner .btn-border-gradient{
  display: none;
}

.header .header__inner .request-call-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 30px;
  background: linear-gradient(274.43deg, #EBBD84 -3.28%, #3353A8 132.5%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}

.nav__header .nav__logo a{
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  color: var(--title-color);
}

.nav__links{
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav__links a{
  font-size: 18px;
  line-height: 140%;
  padding-bottom: 5px;
  font-weight: 300;
  color: var(--text-gray-color);
  position: relative;
}

.nav__links a::after{
  content: '';
  height: 2px;
  background: linear-gradient(267.34deg, #EBBD84 4.45%, #3353A8 95.55%);
  width: 0%;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.5s;
}

.nav__links a:hover::after{
  width: 100%;
}

.header .header__inner .button-burger{
  display: none;
}

.header.sticky{
  position: fixed;
  background-color: var(--black-bg);
  padding: 12px 0;
}

.header.sticky .header__inner .request-call-btn{
  display: block;
}

.header.sticky .header__inner .request-call-btn:hover{
      background: linear-gradient(274.43deg, #EBBD84 -3.28%, #3353A8 132.5%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
}

.header.sticky .header__inner .btn-border-gradient{
  display: flex;
}

@media (max-width: 768px){
  .header .header__inner .nav__links{
    display: none;
  }

  .header.sticky .header__inner .request-call-btn{
    display: none;
  }

  .header .header__inner .button-burger{
    display: block;
  }
}


/* ======== Mobile Menu ======== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  visibility: visible;
  pointer-events: all;
  opacity: 1;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--black-bg);
  display: flex;
  flex-direction: column;
  padding: 80px 30px 40px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu.active .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu.active .mobile-menu__content {
  transform: translateX(0);
  opacity: 1;
}

.mobile-menu__close {
  position: absolute;
  top: 45px;
  right: 12px;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-menu__links a {
  color: var(--text-gray-color);
  font-size: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu__links a:hover {
  color: #fff;
}

.mobile-menu .request-call-btn {
  display: block;
  background: linear-gradient(274.43deg, #EBBD84 -3.28%, #3353A8 132.5%);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-align: center;
}

.mobile-menu .request-call-btn:hover {
  transform: scale(1.05);
}
