.footer {
  padding: 20px 0 8px;
  color: rgba(255, 255, 255, .92);
  background: #3195A2;
}

.footer .wrap {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 48px;
  align-items: stretch;
  padding-top: 30px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.footer-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 250px 280px minmax(260px, 1fr);
  gap: 34px;
  align-items: stretch;
  font-size: 15px;
}

.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
}

.footer-brand-block {
  display: block;
  min-width: 0;
  height: auto;
}

.footer .brand {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #fff;
}

.footer .brand-logo {
  display: block;
  width: 190px;
  height: 44px;
  object-fit: contain;
}

.footer-slogan {
  max-width: 210px;
  margin: 0;
  line-height: 1.8;
}

.footer-slogan-image {
  width: 210px !important;
  height: 56px;
  min-height: 56px;
  margin-top: 10px;
  max-width: 100% !important;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 80%;
}

.footer p {
  margin: 6px 0;
  line-height: 1.8;
}

.footer-contact {
  justify-content: space-between;
  align-self: stretch;
  gap: 8px;
  width: 100%;
  height: 100%;
}

.footer-contact div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
}

.footer-contact span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.footer-contact span img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-contact p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.footer-links {
  align-self: stretch;
  height: 100%;
  padding: 0;
  border: 0;
}

.footer-links-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.footer-links-list a {
  display: block;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.6;
  white-space: normal;
}

.footer-links-list a::after {
  content: none;
}

.footer-links-list a:hover {
  color: #fff;
}

.qr-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  height: auto;
  align-self: end;
}

.qr-box {
  width: 100%;
  height: 108px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #d7dee2;
}

.qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-bottom {
  padding: 12px 0 2px;
  text-align: center;
  font-size: 14px;
}

.footer-address {
  margin: 0 0 4px !important;
}

.footer .copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.footer .copyright a {
  color: #fff;
}

.footer .copyright span {
  display: inline-block;
  margin: 0 8px;
}

.footer .copyright .footer-ga-record {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
}

.footer-ga-record img {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    grid-column: 1 / 3;
  }
}

@media (max-width: 720px) {
  .footer .wrap {
    width: min(100% - 24px, 1260px);
  }

  .footer-grid,
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    grid-column: auto;
  }

  .footer-grid {
    gap: 28px;
  }

  .qr-wrap {
    max-width: 320px;
  }
}
