.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;

  width: calc(100% - 28px);
  height: 92px;

  margin: 14px auto 0;
  padding: 0 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid #ececec;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #101010;
  flex: 0 0 auto;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border: 8px solid #092a6e;
  border-radius: 50%;
  position: relative;
}

.brand-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -19px;
  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #092a6e;
}

.brand-icon span {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.brand-text small {
  color: #6f7480;
  font-size: 14px;
  font-weight: 500;
}

.nav-menu {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-menu a {
  height: 100%;
  display: flex;
  align-items: center;

  color: #101010;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;

  position: relative;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #092a6e;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #092a6e;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.login-btn {
  font-weight: 700;
}

.user-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: var(--orange);
  position: relative;
}

.user-icon::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  left: 14.5px;
  top: 8px;
}

.user-icon::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 10px;
  border-radius: 12px 12px 0 0;
  background: #fff;
  left: 9.5px;
  top: 21px;
}

.profile-menu {
  position: relative;
}

.profile-btn {
  padding: 0;
  border: 0;
  background: transparent;

  display: flex;
  align-items: center;
  gap: 12px;

  color: #101010;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.profile-btn img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
}

.profile-btn svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: #101010;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 0.25s ease;
}

.profile-menu.is-open .profile-btn svg {
  transform: rotate(180deg);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;

  width: 210px;
  padding: 10px;

  background: #fff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  border-radius: 10px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);

  transition: 0.22s ease;
  z-index: 20;
}

.profile-menu.is-open .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown a,
.profile-dropdown button {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;

  display: flex;
  align-items: center;

  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #101010;

  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;

  transition: 0.2s ease;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: #fff1e8;
  color: #092a6e;
}

@media (max-width: 915px) {
  .site-nav {
    height: auto;

    padding: 18px 20px;

    flex-wrap: wrap;
    align-items: center;

    row-gap: 18px;
  }

  .brand-text strong {
    font-size: 24px;
  }

  .nav-menu {
    order: 3;

    width: 100%;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 28px;

    padding-top: 4px;

    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-menu a {
    height: 44px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 490px) {
  .site-nav {
    width: calc(100% - 16px);

    margin-top: 8px;

    padding: 14px;

    row-gap: 14px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    border-width: 7px;
  }

  .profile-btn img {
    width: 38px;
    height: 38px;
  }

  .nav-menu {
    gap: 20px;
  }
}