.panda-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #08090b;
  border-top: 3px solid var(--panda-blue);
}
.panda-footer::before {
  content: "";
  position: absolute;
  width: min(56vw, 750px);
  height: 340px;
  right: -270px;
  top: -180px;
  background: radial-gradient(ellipse, rgba(0,105,217,.17), transparent 70%);
  pointer-events: none;
}
.panda-footer__inner {
  position: relative;
  width: min(calc(100% - 48px), var(--panda-content-width));
  margin-inline: auto;
}
.panda-footer__main {
  display: grid;
  grid-template-columns: minmax(245px, 1.55fr) minmax(130px, .8fr) minmax(145px, .9fr) minmax(195px, 1fr);
  gap: clamp(28px, 4vw, 72px);
  padding-block: clamp(64px, 7vw, 104px) 70px;
}
.panda-footer__identity,
.panda-footer__column { min-width: 0; }
.panda-footer__brand a { display: inline-block; max-width: 100%; text-decoration: none; }
.panda-footer__brand img {
  display: block;
  width: min(100%, 245px);
  max-height: 105px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.panda-footer__name {
  color: #fff;
  font: 400 28px/1.15 var(--panda-heading-font);
  text-transform: uppercase;
}
.panda-footer__tagline {
  max-width: 280px;
  margin: 24px 0 28px;
  color: #d3d6da;
  font-size: 16px;
  line-height: 1.6;
}
.panda-footer__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 7px;
  background: linear-gradient(125deg, #ffb300, #ff6900 72%);
  color: #fff;
  font: 400 17px/1.2 var(--panda-heading-font);
  letter-spacing: .025em;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.panda-footer__cta span { font-family: Arial, sans-serif; font-size: 24px; line-height: .7; }
.panda-footer__cta:hover, .panda-footer__cta:focus-visible { color: #fff; transform: translateY(-2px); filter: brightness(1.12); }
.panda-footer__heading {
  margin: 8px 0 27px;
  color: #fff;
  font: 400 19px/1.2 var(--panda-heading-font);
  letter-spacing: .035em;
}
.panda-footer__heading::after {
  display: block;
  content: "";
  width: 33px;
  height: 3px;
  margin-top: 12px;
  background: var(--panda-orange);
}
.panda-footer__links,
.panda-footer__legal-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.panda-footer__links li { color: #b7bdc5; font-size: 14px; line-height: 1.5; }
.panda-footer a:not(.panda-footer__cta):not(.panda-footer__name):not(.custom-logo-link) { transition: color .2s ease; }
.panda-footer__links a,
.panda-footer__contact a,
.panda-footer__legal a,
.panda-footer__social a { color: #b7bdc5; text-decoration: none; }
.panda-footer__links a:hover,
.panda-footer__contact a:hover,
.panda-footer__legal a:hover,
.panda-footer__social a:hover { color: var(--panda-orange); }
.panda-footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.panda-footer__contact .panda-footer__heading { margin-bottom: 12px; }
.panda-footer__contact a { max-width: 100%; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.panda-footer__social { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 6px; }
.panda-footer__social a { font-size: 13px; font-weight: 700; }
.panda-footer__bottom {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 85px;
  padding-block: 18px;
  border-top: 1px solid #31363d;
}
.panda-footer__copyright { margin: 0 auto 0 0; color: #8c949e; font-size: 12px; line-height: 1.5; }
.panda-footer__legal-links { flex-direction: row; gap: 18px; flex-wrap: wrap; }
.panda-footer__legal a { font-size: 12px; white-space: nowrap; }
.panda-footer__languages { display: inline-flex; flex: none; overflow: hidden; border: 1px solid #525a65; border-radius: 999px; }
.panda-footer__language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 30px;
  color: #ddd;
  text-decoration: none;
  font: 400 13px/1 var(--panda-heading-font);
}
.panda-footer__language.is-active { color: #101112; background: linear-gradient(180deg, #ffbd00, #ff7900); }
.panda-footer__language:not(.is-active):not(.is-disabled):hover { color: #fff; background: var(--panda-blue); }
.panda-footer__language.is-disabled { color: #626a74; cursor: not-allowed; }
@media (max-width: 1050px) {
  .panda-footer__main { grid-template-columns: minmax(220px, 1.25fr) repeat(2, minmax(130px, .8fr)); gap: 40px; }
  .panda-footer__contact { grid-column: 2 / 4; }
}
@media (max-width: 700px) {
  .panda-footer__inner { width: min(calc(100% - 36px), var(--panda-content-width)); }
  .panda-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; padding-block: 60px 50px; }
  .panda-footer__identity { grid-column: 1 / -1; }
  .panda-footer__brand img { width: 205px; }
  .panda-footer__tagline { margin-block: 17px 22px; }
  .panda-footer__contact { grid-column: 1 / -1; }
  .panda-footer__bottom { align-items: flex-start; flex-wrap: wrap; gap: 15px 24px; padding-block: 25px; }
  .panda-footer__copyright { flex-basis: 100%; }
  .panda-footer__languages { margin-left: auto; }
}
@media (max-width: 360px) {
  .panda-footer__main { grid-template-columns: 1fr; }
  .panda-footer__identity, .panda-footer__contact { grid-column: 1; }
}
