.site-header{
  height:104px;
  width:100vw;
  max-width:100vw;
  margin:0 auto;
  padding:24px var(--side) 0;
  display:grid;
  grid-template-columns:214px 1fr max-content;
  align-items:start;
  gap:32px;
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-sizing:border-box;
}

.brand img{
  width:191px;
  height:auto;
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:44px;
  padding-top:17px;
  font-size:19px;
  font-weight:400;
  line-height:20px;
  letter-spacing:0;
  white-space:nowrap;
}

.main-nav .is-active{
  text-decoration:underline;
  text-underline-offset:4px;
}

.main-nav__phone{ display:none; }

.header-phone{
  justify-self:end;
  padding-top:17px;
  font-size:16px;
  font-weight:400;
  line-height:20px;
  letter-spacing:0;
  white-space:nowrap;
}

.burger{ display:none; }

@media (max-width:1300px){
  body::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.28);
    opacity:0;
    pointer-events:none;
    transition:opacity .24s ease;
    z-index:35;
  }

  body.menu-open::before{
    opacity:1;
  }

  .site-header{
    height:var(--mobile-header-height, clamp(56px, 17.333vw, 65px));
    padding:clamp(10px, 3.466vw, 13px) 16px 0;
    grid-template-columns:136px 1fr 24px;
    gap:8px;
    position:sticky;
    top:0;
    z-index:50;
    background:#fff;
  }

  .brand img{
    width:clamp(108px, 35.2vw, 132px);
  }

  .header-phone{ display:none; }

  .burger{
    width:22px;
    height:22px;
    padding:0;
    border:0;
    background:transparent;
    display:grid;
    align-content:center;
    gap:4px;
    position:absolute;
    top:clamp(17px, 4.8vw, 22px);
    right:16px;
    z-index:60;
  }

  .burger span{
    display:block;
    width:100%;
    height:2px;
    background:#111;
    transform-origin:center;
    transition:transform .18s ease, opacity .18s ease;
  }

  .burger[aria-expanded="true"] span:first-child{
    transform:translateY(6px) rotate(45deg);
  }

  .burger[aria-expanded="true"] span:nth-child(2){
    opacity:0;
    transform:translateX(14px);
  }

  .burger[aria-expanded="true"] span:last-child{
    transform:translateY(-6px) rotate(-45deg);
  }

  .main-nav{
    display:flex;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    min-height:0;
    max-height:0;
    padding:0 22px;
    background:#fff;
    border-top:0;
    box-shadow:none;
    font-size:20px;
    line-height:1;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:16px;
    z-index:40;
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    transition:max-height .3s ease, padding .3s ease, opacity .22s ease, transform .3s ease, visibility .3s ease;
  }

  .main-nav a{
    display:block;
    width:auto;
    font-weight:500;
    text-align:left;
    white-space:normal;
  }

  .main-nav__phone{
    display:block;
    margin-top:1px;
  }

  .main-nav.is-open{
    max-height:330px;
    padding:26px 22px 22px;
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .press-page .site-header{
    height:62px;
    padding:13px 21px 0;
    grid-template-columns:128px 1fr 24px;
  }

  .press-page .brand img{
    width:127px;
  }

  .press-page .burger{
    right:21px;
  }
}
