/* Footer approved in the supplied Figma export. The desktop artwork is kept
   pixel-identical while semantic links remain positioned above it. */
.pa-footer {
  position: relative;
  width: min(1684px, calc(100vw - 32px));
  min-height: 0;
  aspect-ratio: 3234 / 495;
  margin: clamp(38px, 3.3vw, 62px) auto 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url('../images/global/footer-figma-clean.png') center / 100% 100% no-repeat;
  box-shadow: none;
  display: block;
  color: transparent;
  overflow: visible;
}

.pa-footer-brand {
  position: absolute;
  left: 4.5%;
  top: 20%;
  width: 12%;
  height: 72%;
  display: block;
  opacity: 0;
}

.pa-footer-content {
  position: absolute;
  left: 27%;
  top: 25%;
  width: 50%;
  height: 65%;
  min-width: 0;
  padding: 0;
}

.pa-footer-nav {
  width: 100%;
  height: 35%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: 0;
}

.pa-footer-nav a {
  min-width: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  text-decoration: none;
}

.pa-footer-rule {
  width: 100%;
  height: 1px;
  margin: 0;
  background: transparent;
}

.pa-footer-meta {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 31%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  color: transparent;
}

.pa-footer-meta p,
.pa-footer-meta a {
  margin: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  text-decoration: none;
}

.pa-footer-decoration { display: none; }

.pa-footer a:focus-visible {
  outline: 3px solid #37d7ff;
  outline-offset: -3px;
  border-radius: 10px;
}

@media (max-width: 980px) {
  .pa-footer {
    width: calc(100vw - 32px);
    min-height: 330px;
    aspect-ratio: auto;
    margin: 42px auto 28px;
    padding: 34px 28px;
    border-radius: 30px;
    background: #0627ad;
    box-shadow: 0 14px 30px rgba(0, 9, 78, .3);
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    color: #fff;
  }

  .pa-footer-brand {
    position: static;
    width: 112px;
    height: 112px;
    opacity: 1;
  }

  .pa-footer-content {
    position: static;
    width: 100%;
    height: auto;
    padding: 0;
  }

  .pa-footer-nav {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
  }

  .pa-footer-nav a,
  .pa-footer-meta a {
    display: inline-flex;
    color: #fff;
    font-size: 14px;
  }

  .pa-footer-rule {
    margin: 24px 0 20px;
    background: rgba(50, 215, 255, .55);
  }

  .pa-footer-meta {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    color: rgba(255, 255, 255, .68);
  }

  .pa-footer-meta p,
  .pa-footer-meta a {
    display: inline-flex;
    color: inherit;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .pa-footer {
    width:calc(100vw - 20px);
    min-height:0;
    margin:32px auto 18px;
    padding:26px 16px;
    gap:16px;
    border-radius:22px;
  }
  .pa-footer-brand { width:86px; height:86px; }
  .pa-footer-nav { gap:12px 18px; }
  .pa-footer-nav a,.pa-footer-meta a { font-size:12px; }
  .pa-footer-rule { margin:18px 0 16px; }
  .pa-footer-meta { gap:10px 16px; text-align:center; }
  .pa-footer-meta p,.pa-footer-meta a { font-size:11px; white-space:normal; }
}
