.site-header {
  position: fixed;
  z-index: 1000;

  top: 0;
  left: 0;

  width: 100%;
  min-height: var(--header-height);

  background: rgba(3, 2, 7, 0.9);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__inner {
  min-height: var(--header-height);

  display: grid;
  grid-template-columns:
    minmax(240px, 1fr)
    auto
    minmax(320px, 1.15fr);

  align-items: center;

  gap: 26px;
}

/* --------------------------------------------------
   LOGO
-------------------------------------------------- */

.site-logo {
  justify-self: start;

  display: inline-flex;
  align-items: center;

  margin: 0;
}

.site-logo img {
  display: block;

  width: 300px;
  max-width: 100%;
  max-height: 64px;

  object-fit: contain;
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */

.site-nav {
  justify-self: center;

  display: flex;
  align-items: center;

  gap: 48px;
}

.site-nav a {
  position: relative;

  color: var(--color-text);

  font-size: 16px;
  font-weight: 600;

  white-space: nowrap;

  transition: color var(--transition);
}

.site-nav a:hover {
  color: var(--color-pink);
}

.site-nav a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -10px;

  width: 0;
  height: 2px;

  background: var(--gradient-primary);

  transform: translateX(-50%);

  transition: width var(--transition);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

/* --------------------------------------------------
   HEADER CTA
-------------------------------------------------- */

.site-header__cta {
  justify-self: end;

  width: clamp(280px, 31vw, 620px);

  min-height: 30px;
  padding: 0 10px;

  white-space: nowrap;
}

/* --------------------------------------------------
   MOBILE MENU BUTTON
-------------------------------------------------- */

.mobile-menu-button {
  display: none;

  width: 34px;
  height: 26px;

  flex-direction: column;
  justify-content: space-between;

  padding: 0;

  cursor: pointer;
}

.mobile-menu-button span {
  display: block;

  width: 100%;
  height: 2px;

  background: var(--color-text);

  border-radius: 2px;
}

/* --------------------------------------------------
   TABLET
-------------------------------------------------- */

@media (max-width: 1199px) {

  .site-header__inner {
    gap: 10px;
  }

  .site-logo img {
    width: 150px;
  }

  .site-nav {
    gap: 32px;
  }

  .site-header__cta {
    width: auto;
    padding: 0 10px;
  }
}

/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 767px) {

  .site-header__inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-logo {
    justify-self: auto;
  }

  .site-logo img {
    width: 230px;
  }

  .site-nav,
  .site-header__cta {
    display: none;
  }

  .mobile-menu-button {
    position: absolute;
    left: 0;

    display: flex;
  }
}
