/* Site footer and back-to-top control. */

.nu-foot {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid var(--cyan);
}

.nu-foot a {
  color: inherit;
  text-decoration: none;
}

.nu-foot-top {
  padding: 42px 0 36px;
}

.nu-foot-top .nu-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px 40px;
  align-items: start;
}

.nu-foot-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.nu-foot-social {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nu-foot-social a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.nu-foot-social a:hover {
  background: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}

.nu-foot-contacts {
  display: grid;
  gap: 11px;
  justify-items: left;
  text-align: left;
}

.nu-foot-contacts a,
.nu-foot-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.nu-foot-contacts a:hover {
  color: #fff;
}

.nu-foot-contacts i {
  opacity: 0.85;
}

.nu-foot-contacts .more {
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nu-foot-contacts .more svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.nu-foot-crest {
  display: flex;
  justify-content: center;
}

.nu-foot-crest img {
  width: 112px;
  height: auto;
  display: block;
}

.nu-foot-links {
  display: grid;
  gap: 13px;
  justify-items: end;
  text-align: right;
}

.nu-foot-links .ttl {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #fff;
}

.nu-foot-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.nu-foot-links a:hover {
  color: #fff;
}

.nu-foot-bar {
  background: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nu-foot-bar .nu-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.nu-foot-bar p {
  margin: 0;
}

.nu-foot-bar a:hover {
  color: #fff;
}

body.nu-site #scrollUp {
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 58, 93, 0.35);
}

body.nu-site #scrollUp:hover {
  background: var(--cyan);
}

@media (max-width: 980px) {
  .nu-foot-top .nu-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nu-foot-links,
  .nu-foot-contacts {
    text-align: center;
    justify-items: center;
  }

  .nu-foot-bar .nu-wrap {
    justify-content: center;
    text-align: center;
  }
}
