.on-footer-v5 {
  position: relative !important;
  isolation: isolate;
  display: block !important;
  overflow: hidden;
  box-sizing: border-box;
  min-height: auto !important;
  padding: clamp(66px, 8vw, 112px) clamp(22px, 5vw, 72px) 30px !important;
  color: #111 !important;
  text-align: center !important;
  border-top: 0 !important;
  background: linear-gradient(135deg, #ffc55d 0%, #ff8a16 45%, #f65d13 72%, #dd3d0c 100%) !important;
}

.on-footer-v5::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30% -12% auto auto;
  width: min(650px, 82vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255, 255, 255, .05), 0 0 0 104px rgba(23, 13, 4, .035);
  pointer-events: none;
}

.on-footer-v5::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1;
  inset: auto auto -38% -14% !important;
  width: min(560px, 76vw) !important;
  aspect-ratio: 1;
  height: auto !important;
  border: 1px solid rgba(20, 9, 0, .14);
  border-radius: 50%;
  background: transparent !important;
  pointer-events: none;
}

.on-footer-v5__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 980px);
  margin: 0 auto;
}

.on-footer-v5__logo {
  display: block;
  width: clamp(210px, 29vw, 360px);
  height: auto;
  margin: 0 auto 24px;
  object-fit: contain;
}

.on-footer-v5__kicker,
.on-footer-v5__label {
  margin: 0;
  color: rgba(12, 8, 3, .72);
  font-family: CY, Arial, sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .2em;
}

.on-footer-v5 h2 {
  max-width: 16ch;
  margin: 18px auto 0;
  color: #111;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.35;
  text-align: center;
}

.on-footer-v5__rule {
  width: min(150px, 34vw);
  height: 2px;
  margin: clamp(40px, 6vw, 70px) auto;
  background: rgba(15, 9, 3, .75);
}

.on-footer-v5__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 auto 46px;
}

.on-footer-v5__value {
  margin: 0;
  color: #111;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.7;
}

.on-footer-v5__text-link,
.on-footer-v5__phones a,
.on-footer-v5__links a {
  color: #111;
  text-decoration: none;
}

.on-footer-v5__text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(17, 17, 17, .46);
  font-size: 15px;
}

.on-footer-v5__phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.on-footer-v5__phones a {
  min-width: 168px;
  padding: 12px 18px;
  border: 1px solid rgba(17, 17, 17, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-family: CY, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: .04em;
  direction: ltr;
  transition: background-color .18s ease, border-color .18s ease;
}

.on-footer-v5__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  width: 100%;
  padding: 34px 0;
  border-top: 1px solid rgba(17, 17, 17, .22);
  border-bottom: 1px solid rgba(17, 17, 17, .22);
}

.on-footer-v5__links a {
  font-size: 16px;
  font-weight: 400;
}

.on-footer-v5__signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 42px 0 36px;
}

.on-footer-v5__signature img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0);
}

.on-footer-v5__signature p {
  margin: 0;
  color: rgba(17, 17, 17, .74);
  font-family: CY, Arial, sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .22em;
}

.on-footer-v5__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  width: 100%;
  padding-top: 24px;
  color: rgba(17, 17, 17, .58);
  border-top: 1px solid rgba(17, 17, 17, .22);
  font-family: CY, Arial, sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .16em;
}

.on-footer-v5 a:hover,
.on-footer-v5 a:focus-visible {
  color: #000;
}

.on-footer-v5__phones a:hover,
.on-footer-v5__phones a:focus-visible {
  border-color: rgba(17, 17, 17, .68);
  background: rgba(255, 255, 255, .32);
}

@media (max-width: 720px) {
  .on-footer-v5 {
    padding: 60px 20px 26px !important;
  }

  .on-footer-v5__logo {
    width: min(258px, 76vw);
  }

  .on-footer-v5 h2 {
    font-size: 38px;
  }

  .on-footer-v5__phones {
    flex-direction: column;
    align-items: center;
  }

  .on-footer-v5__phones a {
    box-sizing: border-box;
    width: min(100%, 310px);
  }

  .on-footer-v5__links {
    gap: 14px 22px;
  }

  .on-footer-v5__legal {
    flex-direction: column;
  }
}
