.pt-orbit-footer {
  --pt-footer-red: #ed1b2f;
  --pt-footer-hot: #ff7a1a;
  --pt-footer-ink: #050505;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  color: #fff;
  background: var(--pt-footer-ink);
  padding-top: clamp(18px, 2.1vw, 26px);
  font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
}

.pt-orbit-footer::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .018), transparent 22%, transparent 78%, rgba(255, 255, 255, .012)),
    #050505;
}

.pt-orbit-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  width: min(1780px, calc(100% - clamp(42px, 7vw, 140px)));
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d0914 0%, var(--pt-footer-red) 42%, var(--pt-footer-hot) 67%, #6d0914 100%);
  transform: translateX(-50%);
  pointer-events: none;
}

.pt-orbit-footer__field {
  position: absolute;
  z-index: -1;
  top: -22%;
  right: -4%;
  width: min(72vw, 1080px);
  height: 128%;
  pointer-events: none;
  opacity: .96;
}

.pt-orbit-footer__field svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pt-orbit-footer__ring {
  fill: none;
  stroke: var(--orbit-color);
  stroke-width: 2;
  opacity: .24;
}

.pt-orbit-footer__energy {
  fill: none;
  stroke: var(--orbit-color);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 4 96;
  opacity: .65;
}

.pt-orbit-footer__runner {
  transform-box: view-box;
  transform-origin: 390px 225px;
  animation: pt-footer-runner var(--orbit-duration) linear infinite;
  animation-direction: var(--orbit-direction);
  animation-delay: var(--orbit-phase);
}

.pt-orbit-footer__runner-halo {
  fill: var(--orbit-color);
  opacity: .22;
}

.pt-orbit-footer__runner-core {
  fill: var(--orbit-color);
  filter: url(#pt-footer-orbit-glow);
}

.pt-orbit-footer__main {
  position: relative;
  z-index: 2;
  width: min(1780px, calc(100% - clamp(42px, 7vw, 140px)));
  min-height: clamp(330px, 31vw, 470px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, .86fr) minmax(430px, 1.25fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 78px);
}

.pt-orbit-footer__brand {
  position: relative;
  z-index: 3;
  width: min(320px, 100%);
  display: inline-flex;
  align-items: center;
}

.pt-orbit-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pt-orbit-footer__nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.5vw, 52px);
}

.pt-orbit-footer__nav a,
.pt-orbit-footer__socials a,
.pt-orbit-footer__legal a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
}

.pt-orbit-footer__nav a {
  position: relative;
  padding: 12px 0;
  font-size: clamp(14px, 1.12vw, 19px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.pt-orbit-footer__nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pt-footer-red), var(--pt-footer-hot));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.pt-orbit-footer__nav a:hover::after,
.pt-orbit-footer__nav a:focus-visible::after,
.pt-orbit-footer__nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.pt-orbit-footer__cta {
  position: relative;
  z-index: 3;
  min-height: 62px;
  min-width: 300px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: #090909;
  border: 1px solid rgba(237, 27, 47, .82);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}

.pt-orbit-footer__cta svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--pt-footer-hot);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.pt-orbit-footer__cta:hover,
.pt-orbit-footer__cta:focus-visible {
  color: #fff;
  background: #111;
  border-color: var(--pt-footer-hot);
  transform: translateY(-2px);
}

.pt-orbit-footer__cta:hover svg,
.pt-orbit-footer__cta:focus-visible svg {
  transform: translateX(4px);
}

.pt-orbit-footer__base {
  position: relative;
  z-index: 3;
  min-height: 126px;
}

.pt-orbit-footer__base-inner {
  width: min(1780px, calc(100% - clamp(42px, 7vw, 140px)));
  min-height: 124px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.pt-orbit-footer__socials {
  display: flex;
  align-items: center;
  gap: 22px;
}

.pt-orbit-footer__socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.pt-orbit-footer__socials a + a {
  padding-left: 22px;
  border-left: 1px solid #343434;
}

.pt-orbit-footer__socials svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pt-orbit-footer__socials a:hover,
.pt-orbit-footer__socials a:focus-visible,
.pt-orbit-footer__legal a:hover,
.pt-orbit-footer__legal a:focus-visible {
  color: var(--pt-footer-hot);
}

.pt-orbit-footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
}

.pt-orbit-footer__legal a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pt-orbit-footer :is(a, button):focus-visible {
  outline: 2px solid var(--pt-footer-hot);
  outline-offset: 5px;
}

@keyframes pt-footer-runner {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .pt-orbit-footer__field {
    right: -15%;
    width: 88vw;
  }

  .pt-orbit-footer__main {
    min-height: 410px;
    grid-template-columns: minmax(230px, 1fr) auto;
    grid-template-rows: auto auto;
    align-content: center;
  }

  .pt-orbit-footer__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .pt-orbit-footer::after {
    width: calc(100% - 34px);
  }

  .pt-orbit-footer__field {
    top: 6%;
    right: -62%;
    width: 150vw;
    height: 88%;
    opacity: .78;
  }

  .pt-orbit-footer__main {
    width: calc(100% - 34px);
    min-height: 470px;
    padding: 48px 0 38px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-content: center;
    justify-items: start;
    gap: 34px;
  }

  .pt-orbit-footer__brand {
    width: min(265px, 78vw);
  }

  .pt-orbit-footer__nav {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px 22px;
  }

  .pt-orbit-footer__nav a {
    font-size: 15px;
  }

  .pt-orbit-footer__cta {
    grid-row: 3;
    width: min(100%, 340px);
    min-width: 0;
    min-height: 58px;
    padding-inline: 22px;
    font-size: 13px;
  }

  .pt-orbit-footer__base,
  .pt-orbit-footer__base-inner {
    min-height: 0;
  }

  .pt-orbit-footer__base-inner {
    width: calc(100% - 34px);
    padding: 28px 0 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .pt-orbit-footer__socials {
    width: 100%;
    gap: 16px;
  }

  .pt-orbit-footer__socials a {
    font-size: 14px;
  }

  .pt-orbit-footer__socials a + a {
    padding-left: 16px;
  }

  .pt-orbit-footer__legal {
    display: grid;
    justify-content: flex-start;
    text-align: left;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pt-orbit-footer__energy,
  .pt-orbit-footer__runner {
    animation: none;
  }

  .pt-orbit-footer__cta,
  .pt-orbit-footer__cta svg,
  .pt-orbit-footer__nav a::after {
    transition: none;
  }
}
