.site-header {
  height: 108px;
  position: relative;
  background: #eef8fb;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 0;
  left: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0 36%, var(--ink) 36% 100%);
}

.brand {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.brand img {
  width: 355px;
  height: 94px;
  object-fit: contain;
  object-position: left center;
  filter: saturate(1.04);
}

footer {
  grid-template-columns: minmax(250px, 340px) 1fr auto;
  border-top: 1px solid #d8e2e7;
}

footer .footer-brand {
  width: 100%;
  height: 92px;
  object-fit: contain;
  object-position: left center;
  filter: saturate(1.04);
}

@media (max-width: 900px) {
  .site-header {
    z-index: 10;
    height: 104px;
    padding: 0 18px;
    box-shadow: 0 5px 18px rgba(16, 24, 32, .09);
  }

  .site-header::after {
    right: 18px;
    left: 18px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand img {
    width: 285px;
    height: 90px;
  }

  .site-header nav {
    top: 104px;
  }

  footer {
    grid-template-columns: minmax(210px, 285px) 1fr;
  }

  footer .footer-brand {
    width: 100%;
    height: 78px;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: min(255px, 72vw);
    height: 86px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  footer .footer-brand {
    width: min(100%, 310px);
    height: auto;
  }
}
