.globalFooter {
  display: block;
  padding: 0;
  color: #cfc7e5;
  background:
    radial-gradient(circle at 88% 10%, rgba(37, 217, 245, 0.12), transparent 24%),
    linear-gradient(135deg, #080622, #100b3a);
  font-family: "omnes-pro", "Omnes", "Nunito Sans", Arial, sans-serif;
  text-align: left;
}

.globalFooter * {
  box-sizing: border-box;
}

.globalFooter a {
  color: inherit;
}

.footerShell {
  width: min(calc(100% - 72px), 1360px);
  margin: 0 auto;
  padding: 58px 0 28px;
}

.footerTop {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(430px, 1.45fr) minmax(210px, 0.75fr);
  align-items: start;
  gap: clamp(38px, 5vw, 76px);
}

.globalFooter .footerBrand {
  display: block;
  color: white;
  text-decoration: none;
}

.globalFooter .footerBrand picture,
.globalFooter .footerBrand img {
  display: block;
  width: 180px;
  height: auto;
}

.globalFooter .footerBrand p {
  max-width: 230px;
  margin: 10px 0 0;
  color: #cfc7e5;
  font-size: 0.82rem;
  line-height: 1.5;
}

.globalFooter .footerNav {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(240px, 1.3fr);
  gap: 42px;
}

.footerGroup {
  display: grid;
  align-content: start;
  gap: 11px;
}

.globalFooter .footerHeading {
  margin: 0 0 5px;
  color: white;
  font-family: "omnes-pro", "Omnes", "Fredoka", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.globalFooter .footerGroup a {
  width: fit-content;
  color: #d8d1ec;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.globalFooter .footerGroup a:hover,
.globalFooter .footerGroup a:focus-visible,
.footerBottom a:hover,
.footerBottom a:focus-visible {
  color: #25d9f5;
}

.fileType {
  margin-left: 5px;
  color: #25d9f5;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footerConnect {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.footerSocial {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socialLink {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: white;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.2);
  transition: background 180ms ease, transform 180ms ease;
}

.socialLink img {
  display: block;
  width: 21px;
  height: 21px;
}

.socialLink:hover,
.socialLink:focus-visible {
  background: #25d9f5;
  transform: translateY(-3px);
}

.socialLink:focus-visible {
  outline: 3px solid #ff4ccf;
  outline-offset: 4px;
}

.globalFooter .rmsMark {
  display: grid;
  justify-items: start;
  gap: 5px;
  margin-top: 4px;
}

.globalFooter .rmsMark span {
  color: #aaa0ca;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.globalFooter .rmsMark img {
  display: block;
  width: 90px;
  height: auto;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.45));
}

.footerBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9f96bc;
  font-size: 0.72rem;
}

.footerBottom p {
  margin: 0;
}

.footerBottom a {
  color: white;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .footerTop {
    grid-template-columns: 1fr 1.6fr;
  }

  .footerConnect {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .footerConnect .footerHeading {
    margin: 0;
  }

  .globalFooter .rmsMark {
    margin: 0;
  }
}

@media (max-width: 680px) {
  .footerShell {
    width: calc(100% - 44px);
    padding-top: 46px;
  }

  .footerTop,
  .globalFooter .footerNav,
  .footerConnect {
    grid-template-columns: 1fr;
  }

  .footerTop {
    gap: 38px;
  }

  .globalFooter .footerNav {
    gap: 32px;
  }

  .footerConnect {
    justify-items: start;
    gap: 16px;
  }

  .footerBottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .socialLink {
    transition: none;
  }
}
