.footer-oz {
  --footer-navy: #12284b;
  --footer-navy-deep: #102443;
  --footer-mint: #26edb2;
  --footer-muted: #d7dfeb;
  position: relative;
  width: min(1800px, calc(100% - 40px));
  margin: 80px auto 20px;
  padding: 52px max(66px, calc((100% - 1240px) / 2)) 26px;
  overflow: hidden;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 8%, rgba(47, 112, 224, 0.13), transparent 28%),
    linear-gradient(135deg, var(--footer-navy-deep) 0%, var(--footer-navy) 58%, #102544 100%);
}

.footer-oz a {
  color: inherit;
}

.footer-oz__wave-bg,
.footer-oz__mint-wave,
.footer-oz__star {
  position: absolute;
  pointer-events: none;
}

.footer-oz__wave-bg {
  bottom: 40px;
  left: -55px;
  width: 760px;
  height: 250px;
  opacity: 0.08;
}

.footer-oz__mint-wave {
  right: -30px;
  bottom: 74px;
  width: 250px;
  height: 150px;
}

.footer-oz__star {
  bottom: 205px;
  left: 36px;
  width: 58px;
  height: 58px;
  opacity: 0.95;
}

.footer-oz__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.28fr 0.86fr 0.86fr 1.08fr;
  gap: 52px;
  align-items: start;
}

.footer-oz__brand {
  max-width: 280px;
}

.footer-oz__logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-oz__logo-frame {
  display: flex;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
}

.footer-oz__logo {
  width: 48px;
  height: 46px;
  object-fit: contain;
}

.footer-oz__brand-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.footer-oz__desc {
  margin: 0 0 26px;
  color: var(--footer-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.56;
}

.footer-oz__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #0b2443;
  background: var(--footer-mint);
  box-shadow: 0 7px 18px rgba(38, 237, 178, 0.12);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-oz__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(38, 237, 178, 0.2);
}

.footer-oz__title {
  margin: 8px 0 25px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.footer-oz__links,
.footer-oz__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-oz__links li + li {
  margin-top: 18px;
}

.footer-oz__links a {
  color: #dbe3ee;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 160ms ease;
}

.footer-oz__links a:hover {
  color: var(--footer-mint);
}

.footer-oz__contacts li + li {
  margin-top: 17px;
}

.footer-oz__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f1f5fa;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.footer-oz__contact-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
}

.footer-oz__contact-icon svg {
  width: 17px;
  height: 17px;
}

.footer-oz__contact-icon--mint {
  color: #0d2a49;
  background: var(--footer-mint);
}

.footer-oz__contact-icon--purple {
  color: #ffffff;
  background: #8a46ff;
}

.footer-oz__contact-icon--white {
  color: #183150;
  background: #ffffff;
}

.footer-oz__socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-oz__social {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.footer-oz__social:hover {
  color: #0d2a49;
  background: var(--footer-mint);
  transform: translateY(-2px);
}

.footer-oz__social svg {
  width: 18px;
  height: 18px;
}

.footer-oz__support {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 42px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}

.footer-oz__support-label {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-oz__support-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  opacity: 0.95;
  backdrop-filter: blur(4px);
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.footer-oz__support-link:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.13);
  opacity: 1;
  transform: translateY(-1px);
}

.footer-oz__support-link img {
  display: block;
  width: auto;
  object-fit: contain;
}

.footer-oz__support-link--business img {
  height: 38px;
  max-width: 112px;
}

.footer-oz__support-link--projects img {
  height: 44px;
  max-width: 108px;
}

.footer-oz__bottom {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 63px;
  padding-top: 20px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--footer-muted);
  font-size: 12px;
  font-weight: 500;
}

.footer-oz__bottom a {
  color: var(--footer-muted);
  white-space: nowrap;
}

.footer-oz a:focus-visible {
  outline: 3px solid var(--footer-mint);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .footer-oz {
    padding: 45px 34px 28px;
  }

  .footer-oz__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 38px;
  }

  .footer-oz__contact-col {
    grid-column: 1 / -1;
  }

  .footer-oz__contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
  }

  .footer-oz__contacts li + li {
    margin-top: 0;
  }

  .footer-oz__bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .footer-oz {
    width: calc(100% - 24px);
    margin: 24px auto 12px;
    padding: 34px 22px 24px;
    border-radius: 26px;
  }

  .footer-oz__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-oz__brand {
    max-width: none;
  }

  .footer-oz__logo-frame {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .footer-oz__logo {
    width: 43px;
    height: 41px;
  }

  .footer-oz__brand-name {
    font-size: 24px;
  }

  .footer-oz__contact-col {
    grid-column: auto;
  }

  .footer-oz__contacts {
    grid-template-columns: 1fr;
  }

  .footer-oz__contacts li + li {
    margin-top: 14px;
  }

  .footer-oz__support {
    gap: 16px;
    margin-top: 30px;
    padding-bottom: 18px;
  }

  .footer-oz__support-label {
    flex-basis: 100%;
  }

  .footer-oz__support-link {
    min-height: 54px;
    padding: 8px 12px;
    border-radius: 14px;
  }

  .footer-oz__support-link--business img {
    height: 34px;
    max-width: 102px;
  }

  .footer-oz__support-link--projects img {
    height: 40px;
    max-width: 100px;
  }

  .footer-oz__star {
    display: none;
  }

  .footer-oz__wave-bg {
    bottom: 70px;
    opacity: 0.05;
  }

  .footer-oz__mint-wave {
    right: -80px;
    bottom: 90px;
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-oz a {
    transition: none;
  }
}
