/* MVA_HEADER_REWRITE_V2 / font polish */
.mva-header-v2{
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
  backdrop-filter: blur(14px) saturate(132%);
  border-bottom: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
}
.mva-header-v2.is-scrolled{
  background: rgba(255,255,255,.985);
  box-shadow: 0 14px 34px rgba(15,23,42,.08), 0 1px 0 rgba(15,23,42,.05);
}
.mva-header-v2__inner{
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 62px;
  padding: 4px 0;
  overflow: visible;
}
.mva-brand-v2{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-decoration: none;
}
.mva-brand-v2__logo{
  display: block;
  width: auto;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}
.mva-brand-v2__meta{
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.mva-brand-v2__title{
  font-size: 16px;
  line-height: 1.04;
  font-weight: 820;
  letter-spacing: -.012em;
  color: rgba(15,23,42,.96);
  white-space: nowrap;
}
.mva-brand-v2__subtitle{
  font-size: 10.8px;
  line-height: 1.12;
  font-weight: 680;
  letter-spacing: .022em;
  color: rgba(71,85,105,.84);
  white-space: nowrap;
}
.mva-nav-v2{
  display: flex;
  align-items: center;
  justify-self: center;
  position: relative;
  min-width: 0;
}
.mva-nav-v2__toggle{ display: none; }
.mva-nav-v2__menu{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
}
.mva-nav-v2__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 12.8px;
  line-height: 1;
  font-weight: 730;
  letter-spacing: -.008em;
  color: rgba(15,23,42,.78);
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.mva-nav-v2__link:hover{
  background: rgba(79,70,229,.08);
  color: rgba(49,46,129,.98);
  box-shadow: inset 0 0 0 1px rgba(79,70,229,.06);
}
.mva-header-v2__cta{
  display: flex;
  align-items: center;
  justify-self: end;
}
.mva-header-v2__cta .btn{
  min-height: 38px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 12.8px;
  font-weight: 780;
  letter-spacing: -.01em;
  box-shadow: 0 10px 24px rgba(79,70,229,.16);
}

@media (max-width: 1220px){
  .mva-header-v2__inner{ gap: 18px; }
  .mva-brand-v2{ gap: 15px; }
  .mva-brand-v2__logo{ height: 60px; }
  .mva-brand-v2__title{ font-size: 14.8px; }
  .mva-brand-v2__subtitle{ font-size: 10.4px; }
  .mva-nav-v2__link{ padding: 8px 9px; font-size: 12px; }
  .mva-header-v2__cta .btn{ font-size: 12.2px; }
}

@media (max-width: 980px){
  .mva-header-v2__inner{
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    min-height: 50px;
    padding: 4px 0;
  }
  .mva-brand-v2{
    gap: 12px;
    min-width: 0;
  }
  .mva-brand-v2__logo{
    height: 52px;
    max-width: none;
  }
  .mva-brand-v2__meta{
    display: flex;
    max-width: calc(100vw - 194px);
  }
  .mva-brand-v2__title{
    font-size: 13.4px;
    line-height: 1.06;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mva-brand-v2__subtitle,
  .mva-header-v2__cta{
    display: none;
  }
  .mva-nav-v2{
    justify-self: end;
  }
  .mva-nav-v2__toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 32px;
    padding: 0 15px;
    border-radius: 8px;
    border: 1px solid rgba(15,23,42,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,252,.98));
    color: rgba(15,23,42,.94);
    font-size: 13px;
    line-height: 1;
    font-weight: 770;
    letter-spacing: -.01em;
    box-shadow: 0 8px 18px rgba(15,23,42,.08);
    cursor: pointer;
    white-space: nowrap;
  }
  .mva-nav-v2__menu{
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1300;
    width: min(236px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.995);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px rgba(15,23,42,.18);
    white-space: normal;
  }
  .mva-nav-v2.is-open .mva-nav-v2__menu{ display: flex; }
  .mva-nav-v2__link{
    width: 100%;
    justify-content: flex-start;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 14.2px;
    line-height: 1.2;
    background: rgba(248,250,252,.98);
    border: 1px solid rgba(15,23,42,.06);
    color: rgba(15,23,42,.92);
  }
  .mva-nav-v2__link:hover{
    background: rgba(241,245,249,.98);
    color: rgba(15,23,42,.98);
  }
}
/* /MVA_HEADER_REWRITE_V2 / font polish */
