:root {
  --k15-navy: #071d42;
  --k15-navy-light: #123e7a;
  --k15-gold: #f8c24e;
  --k15-gold-dark: #f59e0b;
  --k15-white: #ffffff;
}

.k15-header,
.k15-header * {
  box-sizing: border-box;
}

.k15-header {
  position: sticky;
  top: 0;
  z-index: 9999;

  width: 100%;

  background:
    rgba(7, 29, 66, 0.97);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 8px 25px rgba(4, 19, 41, 0.14);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  font-family:
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}

.k15-header-inner {
  width: min(
    1180px,
    calc(100% - 30px)
  );

  min-height: 70px;
  margin: 0 auto;

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

.k15-brand {
  display: flex;
  align-items: center;
  gap: 11px;

  flex: 0 0 auto;

  color: var(--k15-white);
  text-decoration: none;
}

.k15-brand-mark {
  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--k15-navy);

  background:
    linear-gradient(
      145deg,
      var(--k15-gold),
      var(--k15-gold-dark)
    );

  font-size: 14px;
  font-weight: 950;

  box-shadow:
    0 8px 22px
    rgba(248, 194, 78, 0.28);
}

.k15-brand-title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.k15-brand-subtitle {
  margin-top: 3px;

  color: #ffe5a0;
  font-size: 11px;
  font-weight: 700;
}

.k15-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.k15-menu-link {
  min-height: 40px;
  padding: 0 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color:
    rgba(255, 255, 255, 0.84);

  background: transparent;
  border: 0;
  border-radius: 999px;

  text-decoration: none;
  white-space: nowrap;

  font: inherit;
  font-size: 13px;
  font-weight: 750;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.k15-menu-link:hover,
.k15-menu-link.is-active,
.k15-menu-group.is-active
  > .k15-menu-link {
  color: var(--k15-navy);
  background: var(--k15-gold);
}

.k15-menu-link:hover {
  transform: translateY(-1px);
}

.k15-menu-icon {
  font-size: 14px;
  line-height: 1;
}

.k15-chevron {
  font-size: 13px;

  transition:
    transform 0.2s ease;
}

.k15-menu-group {
  position: relative;
}

.k15-menu-group.is-open
  .k15-chevron {
  transform: rotate(180deg);
}

.k15-submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;

  width: 215px;
  padding: 8px;

  display: none;

  background: #ffffff;
  border:
    1px solid rgba(7, 29, 66, 0.09);
  border-radius: 15px;

  box-shadow:
    0 18px 45px
    rgba(4, 19, 41, 0.18);
}

.k15-menu-group:hover
  .k15-submenu,
.k15-menu-group.is-open
  .k15-submenu {
  display: block;
}

.k15-submenu::before {
  content: "";

  position: absolute;
  top: -10px;
  right: 25px;

  width: 18px;
  height: 18px;

  background: #ffffff;

  border-top:
    1px solid rgba(7, 29, 66, 0.09);

  border-left:
    1px solid rgba(7, 29, 66, 0.09);

  transform: rotate(45deg);
}

.k15-submenu-link {
  position: relative;
  z-index: 2;

  min-height: 41px;
  padding: 10px 12px;

  display: flex;
  align-items: center;

  color: #26354d;
  border-radius: 10px;
  text-decoration: none;

  font-size: 13px;
  font-weight: 750;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.k15-submenu-link:hover,
.k15-submenu-link.is-active {
  color: var(--k15-navy);
  background: #fff3cf;
}

.k15-mobile-toggle {
  width: 44px;
  height: 42px;

  display: none;
  place-items: center;

  padding: 9px;

  background:
    rgba(255, 255, 255, 0.08);

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  border-radius: 11px;
  cursor: pointer;
}

.k15-mobile-toggle span {
  width: 21px;
  height: 2px;

  display: block;

  margin: 2.5px auto;

  background: #ffffff;
  border-radius: 999px;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.k15-mobile-toggle.is-open
  span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.k15-mobile-toggle.is-open
  span:nth-child(2) {
  opacity: 0;
}

.k15-mobile-toggle.is-open
  span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}

@media (max-width: 860px) {
  .k15-header-inner {
    min-height: 64px;
  }

  .k15-mobile-toggle {
    display: grid;
  }

  .k15-navigation {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;

    max-height:
      calc(100vh - 70px);

    padding: 12px 15px 18px;

    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;

    overflow-y: auto;

    background:
      rgba(7, 29, 66, 0.99);

    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.1);

    box-shadow:
      0 18px 35px
      rgba(4, 19, 41, 0.2);
  }

  .k15-navigation.is-open {
    display: flex;
  }

  .k15-menu-link {
    width: 100%;
    min-height: 46px;

    justify-content: flex-start;
    padding: 0 15px;

    border-radius: 12px;
  }

  .k15-dropdown-toggle
    .k15-chevron {
    margin-left: auto;
  }

  .k15-menu-group {
    width: 100%;
  }

  .k15-menu-group:hover
    .k15-submenu {
    display: none;
  }

  .k15-menu-group.is-open
    .k15-submenu {
    display: block;
  }

  .k15-submenu {
    position: static;

    width: 100%;
    margin-top: 6px;
    padding: 6px 6px 6px 18px;

    background:
      rgba(255, 255, 255, 0.06);

    border:
      1px solid
      rgba(255, 255, 255, 0.08);

    border-radius: 12px;
    box-shadow: none;
  }

  .k15-submenu::before {
    display: none;
  }

  .k15-submenu-link {
    color:
      rgba(255, 255, 255, 0.82);
  }

  .k15-submenu-link:hover,
  .k15-submenu-link.is-active {
    color: var(--k15-navy);
    background: var(--k15-gold);
  }
}

@media (max-width: 480px) {
  .k15-header-inner {
    width: calc(100% - 20px);
  }

  .k15-brand-subtitle {
    display: none;
  }
}
