@font-face {
  font-family: "VAM Header Inter";
  src: url("assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

.site-header.site-header--unified {
  --vam-header-logo-width: 230px;
  --vam-header-logo-height: 84px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: block;
  width: 100%;
  height: 92px;
  padding: 0;
  gap: 0 !important;
  color: #fff;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(9, 10, 12, 0.96) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  font-family: "VAM Header Inter", Arial, sans-serif !important;
  font-size: 13px;
  line-height: 1.4;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.site-header--unified.is-scrolled,
body.menu-open .site-header.site-header--unified {
  border-color: #34393f !important;
  background: #090a0c !important;
}

.header-unified {
  box-sizing: border-box;
  display: grid;
  width: calc(100% - 64px);
  height: 100%;
  margin-inline: auto;
  grid-template-columns: 240px 1fr auto;
  gap: 30px;
  align-items: center;
}

.header-unified__brand {
  display: inline-flex;
  width: var(--vam-header-logo-width) !important;
  height: var(--vam-header-logo-height);
  flex: 0 0 var(--vam-header-logo-width);
  min-width: 0;
  padding: 0;
  align-items: center;
  border: 0;
  background: none;
}

.header-unified__brand img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0;
  object-fit: contain;
  transform: translateY(6px);
}

.header-unified__nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.header-unified__nav a {
  position: relative;
  min-height: 0;
  padding: 10px 0;
  color: #e7eaed;
  border: 0;
  background: none;
  font-family: "VAM Header Inter", Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.header-unified__nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: #ef1028;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.header-unified__nav a:hover,
.header-unified__nav a:focus-visible {
  color: #fff;
}

.header-unified__nav a:hover::after,
.header-unified__nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-unified__controls {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.site-header--unified .language-switcher {
  position: relative;
}

.site-header--unified .language-toggle {
  position: relative;
  display: inline-flex;
  width: 140px;
  height: 42px !important;
  min-height: 42px;
  max-height: 42px;
  padding: 8px 34px 8px 11px;
  align-items: center;
  gap: 8px;
  border: 1px solid #4a5158;
  border-radius: 4px;
  color: #fff;
  background: #15181a;
  font-family: "VAM Header Inter", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 18.2px !important;
  cursor: pointer;
}

.site-header--unified .language-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.site-header--unified .language-switcher.is-open .language-toggle::after {
  transform: translateY(-25%) rotate(225deg);
}

.site-header--unified .language-toggle:hover,
.site-header--unified .language-toggle:focus-visible {
  border-color: #8a939b;
  background: #202428;
  outline: 0;
}

.site-header--unified .language-flag {
  display: block;
  width: 27px;
  height: 20px;
  flex: 0 0 27px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 3px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
}

.site-header--unified .language-flag[data-language-flag="de"] {
  background: linear-gradient(180deg, #050505 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.site-header--unified .language-flag[data-language-flag="en"] {
  background-color: #012169;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Cpath fill='%23012169' d='M0 0h60v36H0z'/%3E%3Cpath stroke='%23fff' stroke-width='7.2' d='M0 0l60 36M60 0L0 36'/%3E%3Cpath stroke='%23c8102e' stroke-width='4.2' d='M0 0l60 36M60 0L0 36'/%3E%3Cpath stroke='%23fff' stroke-width='12' d='M30 0v36M0 18h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='7.2' d='M30 0v36M0 18h60'/%3E%3C/svg%3E");
}

.site-header--unified .language-flag[data-language-flag="ru"] {
  background: linear-gradient(180deg, #fff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66% 100%);
}

.site-header--unified .language-flag[data-language-flag="hy"] {
  background: linear-gradient(180deg, #d90012 0 33.33%, #0033a0 33.33% 66.66%, #f2a800 66.66% 100%);
}

.site-header--unified .language-current {
  display: block;
  width: 58px;
  flex: 0 0 58px;
  font-family: "VAM Header Inter", Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 16.8px !important;
  text-transform: none !important;
}

.site-header--unified .language-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  width: 186px;
  padding: 6px;
  border: 1px solid #41484e;
  border-radius: 4px;
  background: #0d0f11;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

.site-header--unified .language-switcher.is-open .language-menu {
  display: grid;
  gap: 3px;
}

.site-header--unified .language-option {
  display: flex;
  width: 100%;
  min-height: 42px;
  padding: 7px 9px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 3px;
  color: #e8eaec;
  background: transparent;
  font-family: "VAM Header Inter", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 18.2px !important;
  cursor: pointer;
}

.site-header--unified .language-option:hover,
.site-header--unified .language-option:focus-visible,
.site-header--unified .language-option[aria-selected="true"] {
  color: #fff;
  background: #24282c;
  outline: 0;
}

.site-header--unified .language-select-native,
.google-translate-host {
  position: fixed !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.header-unified__whatsapp {
  display: inline-flex;
  width: 131px;
  min-height: 42px;
  padding: 8px 17px;
  align-items: center;
  gap: 8px;
  color: #07120b;
  border: 1px solid #25d366;
  border-radius: 4px;
  background: #25d366;
  font-family: "VAM Header Inter", Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.header-unified__whatsapp img {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
}

.header-unified__whatsapp:hover,
.header-unified__whatsapp:focus-visible {
  color: #07120b;
  border-color: #20bd5b;
  background: #20bd5b;
}

.header-unified__menu {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid #34393f;
  border-radius: 4px;
  background: #090a0c;
  font-family: "VAM Header Inter", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 18.2px !important;
  cursor: pointer;
}

.header-unified__menu span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.header-unified__menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-unified__menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header-unified__menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .site-header.site-header--unified {
    --vam-header-logo-width: 190px;
  }

  .header-unified {
    grid-template-columns: 200px 1fr auto;
    gap: 16px;
  }

  .header-unified__brand {
    flex-basis: var(--vam-header-logo-width);
  }

  .header-unified__nav {
    gap: 18px;
  }

  .header-unified__whatsapp {
    width: 42px !important;
    flex: 0 0 42px;
    padding: 0;
    justify-content: center;
  }

  .header-unified__whatsapp span {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-header.site-header--unified {
    --vam-header-logo-width: 154px;
    --vam-header-logo-height: 68px;
    height: 76px;
  }

  .header-unified {
    display: flex;
    width: calc(100% - 36px);
    justify-content: space-between;
    gap: 14px;
  }

  .header-unified__brand {
    flex: 0 0 var(--vam-header-logo-width);
  }

  .header-unified__brand img {
    transform: translateY(4px);
  }

  .header-unified__menu {
    display: block;
    flex: 0 0 46px;
  }

  .header-unified__nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: calc(100dvh - 76px);
    padding: 28px 18px 40px;
    gap: 0;
    align-items: stretch;
    align-content: start;
    overflow-y: auto;
    border-top: 1px solid #34393f;
    background: #090a0c;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .header-unified__nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .header-unified__nav a {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 15px 0;
    border-bottom: 1px solid #34393f;
    font-size: 16px;
  }

  .header-unified__nav a::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header--unified .language-current {
    display: none;
  }

  .site-header--unified .language-toggle {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    flex: 0 0 60px;
    padding-right: 27px;
    padding-left: 7px;
  }

  .site-header--unified .language-toggle::after {
    right: 10px;
  }
}

@media (max-width: 360px) {
  .site-header.site-header--unified {
    --vam-header-logo-width: 108px;
  }

  .header-unified {
    width: calc(100% - 36px);
    gap: 8px;
  }

  .header-unified__brand {
    flex-basis: var(--vam-header-logo-width);
  }

  .header-unified__controls {
    gap: 5px;
  }
}
