/* ========================================
   HEADER
======================================== */
.header {
  position: relative;
  z-index: 1100;
  padding: 12px 0 10px;
  background: #102483;
}

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

.logo {
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: 200px;
  height: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* ========================================
   DESKTOP MENU
======================================== */
.header-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-menu a {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;

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

    transition: .2s ease;
}

/* ========================================
   HEADER BUTTONS
======================================== */
.header__buttons .header-buttons-menu,
.mobile-menu__buttons .header-buttons-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-buttons-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffb02e 0%, #f79a00 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-buttons-menu li:nth-child(2) a {
  background: linear-gradient(180deg, #79b8ff 0%, #4d97e6 100%);
}

.header-buttons-menu a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* ========================================
   BURGER
======================================== */
.burger {
  position: relative;
  z-index: 1200;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

/* ========================================
   MOBILE MENU
======================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background: #102483;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-menu__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 100px 20px 40px;
  overflow-y: auto;
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 1300;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mobile-menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: #ffffff;
  transform-origin: center;
}

.mobile-menu__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__close:hover {
  opacity: 0.85;
}

.mobile-menu__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.mobile-menu__nav li + li {
  margin-top: 12px;
}

.mobile-menu__nav a {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.mobile-menu__nav a:hover {
  opacity: 0.8;
}

.mobile-menu__buttons {
  margin-top: 28px;
}

.header-buttons-menu--mobile {
  flex-direction: column;
}

.header-buttons-menu--mobile a {
  min-width: 240px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1180px) {
  .logo img {
    width: 170px;
  }

  .header__actions {
    gap: 16px;
  }

  .header-menu {
    gap: 16px;
  }

  .header-menu a {
    font-size: 13px;
  }

  .header-buttons-menu a {
    padding: 9px 14px;
    font-size: 12px;
  }
}


@media (max-width: 767px) {
  .header {
    padding: 10px 0;
  }

  .logo img {
    width: 150px;
  }

  .mobile-menu__nav a {
    font-size: 24px;
  }
}