@media (min-width: 621px) and (max-width: 1024px) {
  .footer {
    padding: 28px 0 34px;
  }

  .footer-inner {
    width: min(100% - 24px, 920px);
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    gap: 12px 18px;
    align-items: center;
    padding: 12px;
  }

  .footer-contact {
    grid-column: 1;
    grid-row: 1;
    gap: 6px;
    justify-items: start;
    width: auto;
    padding-top: 0;
    border-top: 0;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .footer-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    justify-content: center;
    gap: 4px;
  }

  .footer-brand img {
    width: 128px;
    max-height: 48px;
  }

  .footer-brand span {
    font-size: 0.72rem;
    line-height: 1.22;
    white-space: nowrap;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 10px;
    justify-content: center;
  }

  .footer-links a {
    width: 48px;
    height: 48px;
    border-width: 4px;
  }

  .footer-links svg {
    width: 21px;
    height: 21px;
  }

  .footer-service-area {
    margin-top: 0;
    font-size: 0.7rem;
  }

  .footer-legal {
    margin-top: 0;
    font-size: 0.62rem;
  }

  .footer-copy-address {
    justify-self: start;
    text-align: left;
  }

  .footer-copy-address::after,
  .footer-contact a::after {
    left: 0;
    right: auto;
    transform: translateY(6px);
  }

  .footer-copy-address:hover::after,
  .footer-copy-address:focus-visible::after,
  .footer-copy-address.is-copied::after,
  .footer-contact a:hover::after,
  .footer-contact a:focus-visible::after {
    transform: translateY(0);
  }
}

@media (max-width: 620px) {
  .footer {
    padding: 22px 0 28px;
  }

  .footer-inner {
    width: min(100% - 24px, 520px);
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 12px;
    justify-items: center;
    padding: 14px 12px;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    justify-content: center;
    gap: 5px;
  }

  .footer-brand img {
    width: 132px;
    max-height: 50px;
  }

  .footer-brand span {
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: nowrap;
  }

  .footer-links {
    grid-column: 1;
    grid-row: 2;
    gap: 9px;
    justify-content: center;
  }

  .footer-links a {
    width: 44px;
    height: 44px;
    border-width: 4px;
  }

  .footer-links svg {
    width: 20px;
    height: 20px;
  }

  .footer-service-area {
    margin-top: 0;
    font-size: 0.66rem;
  }

  .footer-legal {
    margin-top: 0;
    gap: 4px 8px;
    font-size: 0.6rem;
  }

  .footer-contact {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 6px 18px;
    justify-content: center;
    justify-items: center;
    width: 100%;
    padding-top: 2px;
    border-top: 0;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .footer-copy-address {
    justify-self: center;
    text-align: center;
  }

  .footer-copy-address::after,
  .footer-contact a::after {
    left: 50%;
    right: auto;
    transform: translate(-50%, 6px);
  }

  .footer-copy-address:hover::after,
  .footer-copy-address:focus-visible::after,
  .footer-copy-address.is-copied::after,
  .footer-contact a:hover::after,
  .footer-contact a:focus-visible::after {
    transform: translate(-50%, 0);
  }
}
