:root {
  --antom-footer-opacity: 1;
  --antom-footer-bg: rgb(0 0 0 / var(--antom-footer-opacity, 1));
  --antom-footer-fg: #ffffff;
  --antom-footer-muted: #9ca3af;
  --antom-footer-subtle: rgb(255 255 255 / .3);
  --antom-footer-line: rgb(255 255 255 / .2);
  --antom-footer-panel: #1f2937;
  --antom-footer-button: #374151;
  --antom-footer-button-hover: #5a6068;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.antom-footer {
  width: 100%;
  background: var(--antom-footer-bg);
  color: var(--antom-footer-fg);
  font-family: Poppins, Arial, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.antom-footer *,
.antom-footer *::before,
.antom-footer *::after {
  box-sizing: border-box;
}

.antom-footer__container {
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
  padding: 64px 64px 0;
}

.antom-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.antom-footer a {
  color: inherit;
  text-decoration: none;
}

.antom-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(204px, 1fr);
  gap: 40px 32px;
  margin-bottom: 64px;
}

.antom-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

.antom-footer__column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.antom-footer__section h3 {
  margin: 0 0 12px!important;
  padding: 0 8px!important;
  color: var(--antom-footer-muted)!important;
  font-size: 12px!important;
  font-weight: 600!important;
  letter-spacing: .6px!important;
  line-height: 22px!important;
  text-transform: uppercase!important;
}

.antom-footer__section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.antom-footer__section li {
  padding: 0 8px;
}

.antom-footer__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--antom-footer-fg) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  transition: opacity .3s ease, color .3s ease;
}

.antom-footer__link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 22px;
  bottom: -4px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}

.antom-footer__link::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s ease, transform .3s ease;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12.8 9H3.75a1 1 0 1 0 0 2h9.05l-3.3 3.3a1 1 0 1 0 1.42 1.4l5-5a1 1 0 0 0 0-1.4l-5-5A1 1 0 1 0 9.5 5.7L12.8 9Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12.8 9H3.75a1 1 0 1 0 0 2h9.05l-3.3 3.3a1 1 0 1 0 1.42 1.4l5-5a1 1 0 0 0 0-1.4l-5-5A1 1 0 1 0 9.5 5.7L12.8 9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.antom-footer__link:hover,
.antom-footer__link:focus-visible {
  color: var(--antom-footer-fg) !important;
  opacity: .82;
}

.antom-footer__link:hover::before,
.antom-footer__link:focus-visible::before {
  transform: scaleX(1);
}

.antom-footer__link:hover::after,
.antom-footer__link:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.antom-footer__connect {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.antom-footer__language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 8px 38px;
  padding: 8px 16px;
  background: var(--antom-footer-button);
  color: var(--antom-footer-fg) !important;
  font-size: 14px;
  line-height: 20px;
  transition: background-color .3s ease, transform .3s ease;
}

.antom-footer__language:hover,
.antom-footer__language:focus-visible {
  background: var(--antom-footer-button-hover);
  color: var(--antom-footer-fg) !important;
  transform: translateY(-1px);
}

.antom-footer__language svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.antom-footer__follow-label {
  margin: 0 8px 16px;
  color: rgb(255 255 255 / .5);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.antom-footer__qr-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 204px;
  max-width: 292px;
  margin: 0 8px;
  padding: 16px 20px;
  border-radius: 4px;
  background: var(--antom-footer-panel);
}

.antom-footer__qr-card p {
  margin: 0;
  color: #d1d5db;
  font-size: 14px;
  font-weight: 500;
}

.antom-footer__qr-grid {
  display: flex;
  align-items: center;
  gap: 20px;
}

.antom-footer__qr-grid figure {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  max-width: 120px;
  gap: 12px;
  margin: 0;
}

.antom-footer__qr-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.antom-footer__qr-grid figcaption {
  color: #d1d5db;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.antom-footer__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 0 8px;
  margin-top: 16px;
}

.antom-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--antom-footer-fg) !important;
  font-size: 20px;
  line-height: 1;
  transition: opacity .3s ease, color .3s ease;
}

.antom-footer__socials a:hover,
.antom-footer__socials a:focus-visible {
  color: var(--antom-footer-fg) !important;
  opacity: .8;
}

.antom-footer__social-qr {
  position: relative;
  display: inline-flex;
}

.antom-footer__social-qr-popup {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  display: block;
  width: 188px;
  padding: 18px;
  border-radius: 8px;
  background: var(--antom-footer-panel);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .3s ease, transform .3s ease;
}

.antom-footer__social-qr-popup img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.antom-footer__social-qr:hover .antom-footer__social-qr-popup,
.antom-footer__social-qr:focus-within .antom-footer__social-qr-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.antom-footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--antom-footer-line);
}

.antom-footer__brands-and-records {
  min-width: 0;
}

.antom-footer__brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 8px;
}

.antom-footer__brand-row a,
.antom-footer__brand-group a {
  display: inline-flex;
  align-items: center;
  transition: opacity .3s ease, color .3s ease;
}

.antom-footer__brand-row a:hover,
.antom-footer__brand-group a:hover {
  opacity: .82;
}

.antom-footer__brand-row > a:first-child {
  height: 48px;
}

.antom-footer__brand-row > a:first-child img {
  height: 100%;
  max-height: 48px;
  width: auto;
}

.antom-footer__brand-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.antom-footer__brand-group a {
  height: 31px;
}

.antom-footer__brand-group img {
  height: 100%;
  max-height: 31px;
  width: auto;
}

.antom-footer__divider {
  width: 1px;
  height: 18px;
  background: #f3f4f6;
}

.antom-footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 14px;
}

.antom-footer__legal a,
.antom-footer__legal span {
  color: var(--antom-footer-fg) !important;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.antom-footer__legal a {
  transition: opacity .3s ease;
}

.antom-footer__legal a:hover,
.antom-footer__legal a:focus-visible {
  opacity: .8;
}

.footer-records {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0 0 !important;
  padding: 0 8px;
  color: var(--antom-footer-subtle);
  font-size: 12px;
  line-height: 16px;
}

.footer-records a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--antom-footer-subtle) !important;
  transition: color .3s ease;
}

.footer-records a:hover,
.footer-records a:focus-visible {
  color: rgb(255 255 255 / .5) !important;
}

.footer-records img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

@media (max-width: 1199.98px) {
  .antom-footer__container {
    max-width: 844px;
    padding: 48px 32px 0;
  }

  .antom-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .antom-footer__nav {
    grid-template-columns: 1fr;
  }

  .antom-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .antom-footer__brands-and-records {
    display: contents;
  }

  .antom-footer__brand-row {
    order: 1;
    justify-content: center;
  }

  .antom-footer__legal {
    order: 2;
    padding-top: 0;
    justify-content: center;
  }

  .footer-records {
    order: 3;
    margin-top: 18px !important;
    justify-content: center;
  }
}

@media (max-width: 909.9px) {
  .brand-endorsement-row img:first-child {
    max-height: 29px !important;
  }

  .brand-endorsement-row img:last-child {
    max-height: 13px !important;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 0 !important;
  }

  .antom-footer__container {
    padding: 48px 16px 0;
  }

  .antom-footer__top {
    grid-template-columns: 1fr;
    margin-bottom: 64px;
  }

  .antom-footer__nav {
    gap: 32px;
  }

  .antom-footer__connect {
    max-width: 320px;
  }

  .antom-footer__bottom {
    gap: 18px;
    padding-bottom: 24px;
  }

  .antom-footer__brand-row {
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .antom-footer__brand-row > a:first-child {
    height: 52px;
  }

  .antom-footer__divider {
    display: none;
  }

  .antom-footer__brand-group {
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
  }

  .antom-footer__brand-group a {
    height: 27px;
  }

  .antom-footer__legal {
    gap: 16px;
    margin-top: 1.5rem;
  }

}

@media (max-width: 420px) {
  .antom-footer__qr-card {
    max-width: none;
  }

  .antom-footer__qr-grid {
    gap: 16px;
  }

  .antom-footer__brand-group {
    flex-wrap: wrap;
    justify-content: center;
  }
}
