.ax-footer {
  --ax-dark: #1b1b1b;
  --ax-on-dark: #f4f2ed;
  --ax-on-dark-muted: #a9a59c;
  --ax-dark-border: #3a3936;
  --ax-gutter: clamp(20px, 5.8vw, 84px);
  --ax-transition: 0.2s ease;

  padding: 72px var(--ax-gutter) 40px;
  background: var(--ax-dark);
  font-family: 'FuturaNew', Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ax-on-dark-muted);
}

.ax-footer__inner {
  max-width: 1272px;
  margin: 0 auto;
}

.ax-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.ax-footer__brand {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
}

.ax-footer__logo {
  display: inline-block;
  align-self: flex-start;
  border: 0;
  line-height: 0;
}

.ax-footer__logo-img {
  display: block;
  width: auto;
  height: 40px;
  border: 0;
}

.ax-footer__text {
  margin: 0;
}

.ax-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ax-footer__title {
  font-weight: 600;
  color: var(--ax-on-dark);
}

.ax-footer .ax-footer__link {
  border: 0;
  color: var(--ax-on-dark-muted);
  text-decoration: none;
  transition: color var(--ax-transition);
}

.ax-footer .ax-footer__link:hover,
.ax-footer .ax-footer__link:focus-visible {
  color: #ffffff;
}

.ax-footer__social {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding: 6px 18px 6px 6px;
  border: 1px solid var(--ax-dark-border);
  border-radius: 999px;
  color: var(--ax-on-dark);
  text-decoration: none;
  transition: border-color var(--ax-transition), background-color var(--ax-transition);
}

.ax-footer__social:hover,
.ax-footer__social:focus-visible {
  border-color: #dd2a7b;
  background-color: rgba(221, 42, 123, 0.08);
  color: #ffffff;
}

.ax-footer__social-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #ffffff;
  transition: transform var(--ax-transition);
}

.ax-footer__social:hover .ax-footer__social-icon,
.ax-footer__social:focus-visible .ax-footer__social-icon {
  transform: rotate(-8deg) scale(1.06);
}

.ax-footer__social-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ax-footer__social-dot {
  fill: currentColor;
  stroke: none;
}

.ax-footer__social-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.ax-footer__social-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ax-on-dark-muted);
}

.ax-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ax-dark-border);
  font-size: 13px;
}

.ax-footer__text-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ax-on-dark-muted);
  cursor: pointer;
  transition: color var(--ax-transition);
}

.ax-footer__text-btn:hover,
.ax-footer__text-btn:focus-visible {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .ax-footer .ax-footer__link,
  .ax-footer__text-btn,
  .ax-footer__social,
  .ax-footer__social-icon {
    transition: none;
  }

  .ax-footer__social:hover .ax-footer__social-icon,
  .ax-footer__social:focus-visible .ax-footer__social-icon {
    transform: none;
  }
}
