.page-contact #primary {
  width: 100%;
  margin-top: 0;
}

.mu-contact {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 24px;
}

.mu-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mu-contact__card {
  padding: 2rem;
  background: #f3f4f6;
  border-top: 3px solid #99332d;
  color: #002f6b;
}

.mu-contact__card h2 {
  color: #002f6b;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.mu-contact__card a {
  color: #002f6b;
  overflow-wrap: anywhere;
}

.mu-contact__card a:hover {
  color: #99332d;
}

@media (max-width: 900px) {
  .mu-contact__grid {
    grid-template-columns: 1fr;
  }
}
.mu-site-footer {
  margin-top: 0;
}

.mu-site-footer__main {
  background: #002f6b;
  color: #ffffff;
}

.mu-site-footer__inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 6rem 2rem;
}

.mu-site-footer__inner--bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.mu-site-footer__main .mu-site-footer__inner {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.mu-site-footer__logo img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
}

.mu-site-footer__brand-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mu-site-footer__contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.mu-site-footer__contact-card {
  text-align: center;
}

.mu-site-footer__name {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.15;
}

.mu-site-footer__line {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.45;
}

.mu-site-footer__line a {
  color: #ffffff;
  text-decoration: none;
}

.mu-site-footer__line a:hover,
.mu-site-footer__line a:focus {
  text-decoration: underline;
}

.mu-site-footer__bottom {
  background: #f2f4f7;
  color: #002f6b;
  border-top: 1px solid rgba(0, 47, 107, 0.08);
}

.mu-site-footer__copyright {
  color: #002f6b;
  font-size: 1.2rem;
  line-height: 1.4;
  text-decoration: none;
  margin: 0;
}

.mu-site-footer__bottom-link {
  color: #002f6b;
  font-size: 1.2rem;
  line-height: 1.4;
  text-decoration: none;
}

.mu-site-footer__bottom-link:hover,
.mu-site-footer__bottom-link:focus {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .mu-site-footer__main .mu-site-footer__inner {
    grid-template-columns: 1fr;
  }
  .mu-site-footer__brand {
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .mu-site-footer__contacts {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 768px) {
  .mu-site-footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .mu-site-footer__inner--bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .mu-site-footer__name {
    font-size: 1.5rem;
  }
  .mu-site-footer__line {
    font-size: 1.15rem;
  }
  .mu-site-footer__copyright {
    font-size: 1rem;
  }
  .mu-site-footer__bottom-link {
    font-size: 1rem;
  }
}
.mu-site-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mu-site-footer__menu a {
  color: #002f6b;
  font-size: 1.2rem;
  line-height: 1.4;
  text-decoration: none;
}

.mu-site-footer__menu a:hover, .mu-site-footer__menu a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .mu-site-footer__menu a {
    font-size: 1rem;
  }
}
