.footer {
  background: #000;
  padding-top: 48px;
}

.footer__logo {
  display: inline-flex;
  width: clamp(146px, 20 * (100vw - 375px) / 1065 + 146px, 166px);
}

.footer__logo img {
  display: block;
  height: auto;
}

.footer__partners {
  display: grid;
  max-width: 431px;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  place-items: center;
  padding-top: clamp(8px, 20 * (100vw - 375px) / 1065 + 8px, 28px);
  padding-bottom: clamp(16px, 24 * (100vw - 375px) / 1065 + 16px, 40px);
}
@media screen and (min-width: 1100px) {
  .footer__partners {
    padding-bottom: 0;
  }
}
@media screen and (min-width: 1120px) {
  .footer__partners {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__partner-icon {
  display: block;
  max-height: 35px;
  width: auto;
  max-width: 94px;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu__link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: var(--white-text);
  padding: 2px 0;
  display: inline-block;
}

.footer__qr {
  grid-column: 2;
  justify-self: end;
  width: clamp(80px, 25 * (100vw - 375px) / 1065 + 80px, 105px);
  height: clamp(80px, 25 * (100vw - 375px) / 1065 + 80px, 105px);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: var(--white-text);
  opacity: 0.6;
}

.footer__email {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: var(--white-text);
}

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  justify-content: flex-end;
}
@media screen and (min-width: 1100px) {
  .footer__social {
    flex-direction: row;
  }
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white-text);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  overflow: hidden;
}

.footer__social-icon {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0;
}

.footer__social-link::before,
.footer__social-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ico);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  pointer-events: none;
  transform: none;
}

.footer__social-link::after {
  display: none;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 24px;
  background: var(--red-main);
  text-decoration: none;
  height: 44px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: var(--white-text);
  min-width: 180px;
  position: relative;
}

.footer__cta::before,
.footer__cta::after {
  content: none;
}

.footer__cta .reg-submit__text {
  position: relative;
  z-index: 1;
  color: var(--white-text);
}

.footer__cta .reg-submit__text::before,
.footer__cta .reg-submit__text::after {
  content: none;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .footer-menu__link {
    transition: color 0.15s ease, opacity 0.15s ease;
  }
  .footer-menu__link:hover {
    color: var(--red-main);
  }
  .footer__email {
    transition: color var(--time-function);
  }
  .footer__email:hover {
    color: var(--red-main);
  }
  .footer__bottom-link {
    transition: color var(--time-function);
  }
  .footer__bottom-link:hover {
    color: var(--red-main);
  }
  .footer__social-link::before,
  .footer__social-link::after {
    transition: 0.5s;
    will-change: transform;
  }
  .footer__social-link::before {
    transform: translateX(0);
  }
  .footer__social-link::after {
    display: block;
    transform: translateX(-100%);
  }
  .footer__social-link:hover::before,
  .footer__social-link:focus-visible::before {
    transform: translateX(100%);
  }
  .footer__social-link:hover::after,
  .footer__social-link:focus-visible::after {
    transform: translateX(0);
  }
  .footer__cta {
    overflow: hidden;
    transition: 0.7s;
    --mask: 12px;
  }
  .footer__cta::before,
  .footer__cta::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: var(--mask);
    background: var(--red-main);
    z-index: 3;
    pointer-events: none;
    transition: 0.7s;
  }
  .footer__cta::before {
    top: 0;
    border-radius: 8px 8px 0 0;
  }
  .footer__cta::after {
    bottom: 0;
    border-radius: 0 0 8px 8px;
  }
  .footer__cta .reg-submit__text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    color: transparent;
  }
  .footer__cta .reg-submit__text::before,
  .footer__cta .reg-submit__text::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: var(--white-text);
    transition: 0.7s;
    will-change: transform;
    pointer-events: none;
  }
  .footer__cta .reg-submit__text::before {
    transform: translateY(0);
  }
  .footer__cta .reg-submit__text::after {
    transform: translateY(100%);
  }
  .footer__cta:hover .reg-submit__text::before,
  .footer__cta:focus-visible .reg-submit__text::before {
    transform: translateY(-100%);
  }
  .footer__cta:hover .reg-submit__text::after,
  .footer__cta:focus-visible .reg-submit__text::after {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer__social-link::before,
  .footer__social-link::after {
    transition: none;
  }
  .footer__cta .reg-submit__text::before,
  .footer__cta .reg-submit__text::after {
    transition: none;
  }
}
.footer__bottom {
  padding: clamp(16px, 5 * (100vw - 375px) / 1065 + 16px, 21px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: 30px;
}
@media screen and (min-width: 660px) {
  .footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 28px;
  }
}

.footer__bottom-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--white-text);
  padding: 6px 0;
}

.footer__bottom-list {
  display: flex;
  gap: clamp(16px, 12 * (100vw - 375px) / 1065 + 16px, 28px);
  align-items: center;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 144px) minmax(0, 302px) minmax(0, 163px);
  grid-template-areas: "logo     navL    navR     qr" ".       navL    .         qr" "partners .     contacts    ." "partners social  .        cta" "bottom  bottom  bottom    bottom";
  align-items: start;
}

.footer__logo {
  grid-area: logo;
}

.footer__partners {
  grid-area: partners;
}

.footer__qr {
  grid-area: qr;
  justify-self: end;
}

.footer__contacts {
  grid-area: contacts;
}

.footer__social {
  grid-area: social;
  margin-top: auto;
}

.footer__bottom {
  grid-area: bottom;
}

.footer__cta {
  grid-area: cta;
  justify-self: end;
  margin-top: auto;
}

.footer__nav {
  display: contents;
}

.footer__nav-col:first-child {
  grid-area: navL;
}

.footer__nav-col:last-child {
  grid-area: navR;
}

.footer__nav-col--left {
  grid-area: navL;
}

.footer__nav-col--right {
  grid-area: navR;
}

@media (max-width: 1099px) {
  .footer__top {
    grid-template-columns: 1fr minmax(0, 80px);
    -moz-column-gap: 72px;
    column-gap: 72px;
    row-gap: 24px;
    grid-template-areas: "logo     qr" "nav      social" "contacts ." "cta      cta" "partners partners" "bottom bottom";
    align-items: start;
  }
  .footer__nav-col--left,
  .footer__nav-col--right {
    grid-area: auto !important;
  }
  .footer__logo {
    grid-area: logo;
  }
  .footer__qr {
    grid-area: qr;
    justify-self: end;
  }
  .footer__social {
    grid-area: social;
    justify-self: end;
  }
  .footer__contacts {
    grid-area: contacts;
  }
  .footer__cta {
    grid-area: cta;
    justify-self: stretch;
  }
  .footer__partners {
    grid-area: partners;
    margin: 0 auto;
  }
  .footer__nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer__right {
    grid-template-columns: 1fr;
  }
  .footer__contacts,
  .footer__right-row {
    grid-column: auto;
  }
  .footer__right-row {
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }
  .reg-submit__text {
    height: auto;
  }
  .footer__bottom {
    margin-top: 0;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 12px;
    column-gap: 12px;
    row-gap: 12px;
  }
}
@media (max-width: 767px) {
  .footer__nav {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
}
@media (min-width: 1120px) and (max-width: 1249px) {
  .footer__top {
    grid-template-columns: minmax(300px, 1fr) minmax(0, 144px) minmax(0, 210px) minmax(0, 163px);
  }
}
.footer-menu,
.footer-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu__item.has-children {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-menu__item.has-children > .footer-menu__link {
  color: #fff;
}

.footer-menu__item.is-open > .footer-menu__link {
  color: #999;
}

.footer-menu__item.has-children > .footer-submenu {
  flex: 0 0 100%;
}

.footer-menu__toggle {
  width: 36px;
  height: 36px;
  margin: -10px -10px -10px 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  color: #fff;
}

.footer-menu__toggle::before {
  content: "";
  width: 12px;
  height: 5px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20width%3D'12'%20height%3D'5'%20viewBox%3D'0%200%2012%205'%20fill%3D'none'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M6%205L4.37114e-07%20-9.5399e-08L12%209.53674e-07L6%205Z'%20fill%3D'white'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg%20width%3D'12'%20height%3D'5'%20viewBox%3D'0%200%2012%205'%20fill%3D'none'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M6%205L4.37114e-07%20-9.5399e-08L12%209.53674e-07L6%205Z'%20fill%3D'white'/%3E%3C/svg%3E") no-repeat center/contain;
  transform: rotate(0deg);
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .footer-menu__item.has-children > .footer-menu__link {
    transition: color var(--time-function);
  }
  .footer-menu__item.has-children > .footer-menu__link:hover {
    color: var(--red-main);
  }
  .footer-menu__toggle::before {
    transition: transform 0.18s ease;
  }
}
.footer-menu__item.has-children.is-open > .footer-menu__toggle {
  color: #999;
}

.footer-menu__item.has-children.is-open > .footer-menu__toggle::before {
  transform: rotate(180deg);
}

.footer-submenu {
  display: none;
  margin: 0;
  padding: 0;
}

.footer-menu__item.is-open > .footer-submenu {
  display: grid;
  gap: 10px;
}

.footer-submenu[hidden] {
  display: none !important;
}

.footer-submenu .footer-menu__link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: var(--white-text);
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .footer-submenu .footer-menu__link {
    transition: color var(--time-function);
  }
  .footer-submenu .footer-menu__link:hover {
    color: var(--red-main);
    cursor: pointer;
  }
}
/*# sourceMappingURL=footer.css.map */
