.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  padding: 26px 18px 0;
  background: transparent;
  box-sizing: border-box;
}

.site-header__inner {
  width: min(1140px, calc(100vw - 48px));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(6, 28, 26, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.site-header__brand {
  justify-self: start;
  color: #ffffff;
  text-decoration: none;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 72px;
}

.site-header__nav {
  justify-self: center;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__menu > li {
  position: relative;
}

.site-header__menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #f4f2ec;
  text-decoration: none;
  font-size: 16px;
  font-weight: 550;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.28s ease, transform 0.28s ease, text-shadow 0.28s ease;
}

.site-header__menu .has-mega-menu > a,
.site-header__menu > li.menu-item-has-children > a {
  padding-right: 16px;
}

.site-header__menu .has-mega-menu > a,
.site-header__menu > li.menu-item-has-children > a {
  padding-right: 16px;
}

.site-header__menu .has-mega-menu > a::after,
.site-header__menu > li.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  transform-origin: center;
  opacity: 0.92;
  transition: opacity 0.28s ease, border-color 0.28s ease, background-image 0.28s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23f4f2ec' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


.site-header__menu .has-mega-menu > a:hover::after,
.site-header__menu .has-mega-menu:hover > a::after,
.site-header__menu > li.menu-item-has-children > a:hover::after,
.site-header__menu > li.menu-item-has-children:hover > a::after {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 5L5 1L9 5' stroke='%23FFEEC2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.site-btn--primary {
  background: #ece8df;
  color: #0d1521;
  border: 1px solid rgba(13, 21, 33, 0.08);
}

.site-btn--ghost {
  color: #0d1521;
  border: 1px solid rgba(10, 18, 30, 0.14);
  background: #ece8df;
}

.site-btn--primary:hover,
.site-btn--ghost:hover {
  background: linear-gradient(135deg, #f8e7b0 0%, #e7c46e 48%, #c89543 100%);
  color: #0d1521;
  border-color: rgba(200, 149, 67, 0.52);
  box-shadow: 0 10px 24px rgba(173, 126, 47, 0.22);
  transform: translateY(-1px);
}

.site-header__toggle {
  display: none;
}

.mega-menu-wrap {
  position: fixed;
  top: 96px;
  left: 50%;
  width: calc(100vw - 52px);
  max-width: calc(100vw - 36px);
  transform: translateX(-50%);
  z-index: 9998;
  pointer-events: none;
}

.mega-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

.mega-menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu {
  width: 100%;
  background: #f7f4ea;
  color: #12241f;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
  overflow: hidden;
}

.mega-menu--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-menu--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px 28px 24px;
}

.mega-menu--blog {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
}

.mega-col {
  min-width: 0;
  padding: 20px 26px 24px;
  border-right: 1px solid rgba(18, 36, 31, 0.08);
}

.mega-col:last-child {
  border-right: 0;
}

.mega-badge {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
}

.mega-badge--gold {
  background: linear-gradient(135deg, #f8e7b0 0%, #e7c46e 48%, #c89543 100%);
  color: #0d1521;
}

.mega-badge--navy {
  background: #122844;
  color: #eef4fb;
}

.mega-badge--green {
  background: #2f6a55;
  color: #e5f6eb;
}

.mega-badge--blue {
  background: #2e5d8f;
  color: #edf5ff;
}

.mega-badge--slate {
  background: #5f7187;
  color: #f3f7fb;
}

.mega-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(18, 36, 31, 0.08);
  text-decoration: none;
  color: inherit;
}

.mega-link span {
  display: block;
  font-size: 17px;
  font-weight: 650;
  color: #182823;
}

.mega-link small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(24, 40, 35, 0.58);
}

.mega-link::after {
  content: "↗";
  font-size: 18px;
  color: rgba(24, 40, 35, 0.5);
  flex: 0 0 auto;
  align-self: center;
}

.mega-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(18, 36, 31, 0.08);
  text-decoration: none;
  color: inherit;
  transition: color 0.28s ease;
}

.mega-link > div {
  position: relative;
  padding-left: 0;
  transform: translateX(0);
  transition: transform 0.3s ease, padding-left 0.3s ease;
}

.mega-link > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #21483b;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.mega-link:hover > div {
  padding-left: 14px;
  transform: translateX(2px);
}

.mega-link:hover > div::before {
  opacity: 1;
  transform: translateX(0);
}

.mega-link::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  align-self: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 13L13 5M13 5H7.5M13 5V10.5' stroke='%23182823' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0.72;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease, background-image 0.28s ease;
}

.mega-link:hover::after {
  opacity: 1;
  transform: translateY(-6px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 11L13 3M13 3H7.5M13 3V8.5' stroke='%23182823' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mega-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mega-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
}

.mega-card strong {
  display: block;
  font-size: 17px;
  color: #162622;
  margin-bottom: 6px;
}

.mega-card span {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(22, 38, 34, 0.56);
}

.mega-card,
.mega-article--card {
  position: relative;
}

.mega-card strong,
.mega-article--card span {
  position: relative;
  display: block;
  padding-left: 0;
  transition: padding-left 0.28s ease, transform 0.28s ease, color 0.28s ease;
}

.mega-card strong::before,
.mega-article--card span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #21483b;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.mega-card:hover strong,
.mega-article--card:hover span {
  padding-left: 14px;
  transform: translateX(2px);
}

.mega-card:hover strong::before,
.mega-article--card:hover span::before {
  opacity: 1;
  transform: translateX(0);
}


.mega-section-title {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 650;
  color: #21483b;
  text-decoration: none;
}

.mega-section-title::after {
  content: " ↗";
}

.mega-blogs-head {
  margin-bottom: 6px;
}

.mega-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.mega-article {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mega-article--card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

.mega-article--card span {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  color: #182823;
}

@media (max-width: 1200px) {
  .site-header__menu {
    gap: 22px;
  }

  .mega-menu--three,
  .mega-menu--cards,
  .mega-menu--blog {
    grid-template-columns: 1fr;
  }

  .mega-blog-grid {
    grid-template-columns: 1fr;
  }

  .mega-col {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 36, 31, 0.08);
  }

  .mega-col:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 1024px) {
  .site-header__inner {
    display: flex;
    justify-content: space-between;
  }

  .site-header__nav,
  .site-header__actions {
    display: none;
  }

  .site-header__toggle {
    display: inline-flex;
    margin-left: auto;
    background: none;
    border: 0;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }

  .site-header__toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    display: block;
  }

  .mega-menu-wrap {
    display: none;
  }
}


