.service-brand img {
  display: block;
  width: 128px !important;
  height: auto;
}

.service-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.service-switch a {
  display: block;
  border: 1px solid var(--line);
  padding: 9px 13px;
  background: transparent;
  letter-spacing: .06em;
  transition: background .2s, color .2s, border-color .2s;
}

.service-switch a:hover,
.service-switch a:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.service-switch a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.home-link { justify-self: end; }

.service-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 40px;
  width: min(1210px, calc(100% - 44px));
  margin: 80px auto 0;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: #536157;
  font-size: 12px;
  line-height: 1.6;
}

.service-footer p,
.service-footer address { margin: 0; font-style: normal; }
.service-footer a { color: inherit; }
.service-footer-name {
  grid-row: span 2;
  color: var(--ink);
  font: 600 19px/1 var(--sans);
  letter-spacing: -.05em;
}
.service-footer address { grid-column: 2; }

@media (max-width: 760px) {
  .service-brand img { width: 116px !important; }
  .service-header { grid-template-columns: 1fr auto; }
  .service-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 17px;
    gap: 5px;
  }
  .service-switch a {
    flex: 1;
    padding: 9px 8px;
    text-align: center;
    font-size: 9px;
  }
  .home-link { grid-column: 2; grid-row: 1; }
  .service-footer {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 50px;
    padding: 28px 0 38px;
  }
  .service-footer-name { grid-row: auto; margin-bottom: 8px !important; }
  .service-footer address { grid-column: auto; }
}
