.end {
  --footer-paper: #fff4df;
  --footer-muted: #bdd2c7;
  --section-wave-height: clamp(24px, 3.5vw, 52px);
  position: relative;
  border: 0;
  background: #123f38;
  font: 400 1rem/1.48 "Golos Text", Arial, sans-serif;
  color: var(--footer-paper);
  padding-block: calc(var(--section-wave-height) + clamp(24px, 3vw, 44px)) max(22px, env(safe-area-inset-bottom));
}
.footer-wave {
  position: absolute;
  inset: -1px 0 auto;
  width: 100%;
  height: calc(var(--section-wave-height) + 1px);
  pointer-events: none;
}
.footer-wrap { width: min(1190px, calc(100% - 96px)); margin: auto; }
@media (max-width: 980px) {
  .footer-wrap { width: calc(100% - 52px); }
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.footer-brand,
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.footer-brand { gap: 18px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}
.footer-logo img {
  display: block;
  width: clamp(165px, 16vw, 218px);
  max-width: 100%;
  height: auto;
}
.footer-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: .55em 1em;
  border: 1px solid #89ac97;
  border-radius: 999px;
  color: var(--footer-paper);
  font-size: .9375rem;
  font-weight: 580;
  line-height: 1.3;
  text-decoration: none;
}
.footer-support svg { flex: none; }
.footer-support:is(:hover, :focus-visible, :active) {
  color: var(--deep);
  background: var(--footer-paper);
  border-color: var(--footer-paper);
}
.footer-links h2 {
  margin-bottom: 8px;
  color: var(--gold);
  font: 650 .81rem/1.4 "Golos Text", Arial, sans-serif;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.footer-links a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
}
.footer-links a:is(:hover, :focus-visible, :active) {
  color: var(--gold);
  text-decoration: underline;
}
.footer-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: clamp(24px, 3vw, 44px);
  padding-top: 18px;
  border-top: 1px solid #ffffff30;
  color: var(--footer-muted);
  font-size: .8125rem;
  line-height: 1.6;
}
.footer-details:only-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.footer-registration {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.4em;
}
@media (max-width: 720px) {
  .footer-wrap { width: calc(100% - 40px); }
  .footer-main {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
    gap: 24px 16px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 8px;
  }
  .footer-logo img { width: clamp(110px, 31vw, 150px); }
  .footer-links a {
    align-items: flex-start;
    padding-block: .6em;
  }
  .footer-support {
    gap: 7px;
    padding-inline: .75em;
    font-size: .875rem;
  }
}
