/* Подвал сайта. До 768px колонки ссылок свёрнуты в аккордеон. */
.fx .fx__inner {
  width: 1453px;
  max-width: 100%;
  margin: 0 auto;
}

.fx__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(131, 142, 150, 0.37);
}
.fx__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fx.footer .logo {
  display: flex;
  align-items: center;
  width: auto;
  margin: 0;
}
.fx.footer .logo__image {
  display: block;
  width: 48px;
  margin: 0;
}
.fx.footer .logo__image img {
  width: 48px;
  height: 48px;
}
.fx.footer .logo__container {
  margin-left: 12px;
}
.fx.footer .logo__name {
  width: 150px;
  height: auto;
  margin: 0;
}
.fx.footer .logo__name img {
  width: 100%;
  height: auto;
}
.fx.footer .logo__desc {
  display: none;
}
.fx__tagline {
  margin: 0 0 4px;
  font: 600 13px/1.3 'Nekst', sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #091538;
}
.fx__about {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.45;
  color: #545e7b;
}
.fx__cta {
  height: 46px;
  padding: 0 18px;
  justify-content: center;
  font-size: 14px;
}

.fx__grid {
  padding: 8px 0 20px;
}
.fx__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(131, 142, 150, 0.25);
  background: none;
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: #838e96;
  cursor: pointer;
}
button.fx__head:after {
  content: '';
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.fx__col.is-open > button.fx__head:after {
  transform: rotate(-135deg);
}
.fx__list,
.fx__offices {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fx__list {
  display: none;
  padding: 8px 0 12px;
}
.fx__col.is-open > .fx__list {
  display: block;
}
.fx__list a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.3;
  color: #091538;
  text-decoration: none;
}
.fx__list a:hover,
.fx__docs a:hover,
.fx__social:hover {
  color: #185bb3;
  text-decoration: underline;
}
.fx__all a {
  font-weight: 600;
  color: #14509f;
}

.fx__col--contacts .fx__head {
  cursor: default;
  margin-bottom: 14px;
}
.fx__phone,
.fx__email {
  display: table;
  font-size: 20px;
  line-height: 1.2;
}
.fx__note {
  margin-top: 4px;
  font-size: 13px;
  color: #838e96;
}
.fx__email {
  margin-top: 14px;
}
.fx__offices {
  margin-top: 16px;
}
.fx__offices li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: #091538;
}
.fx__offices span {
  display: block;
  font-size: 12px;
  color: #838e96;
}
.fx__chat {
  margin-top: 12px;
}
.fx__socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(131, 142, 150, 0.25);
}
.fx__socials-title {
  font-size: 12px;
  color: #838e96;
}
.fx__social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #091538;
  text-decoration: none;
}
.fx__social img {
  display: block;
  width: 22px;
  height: 22px;
}

.fx__bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(131, 142, 150, 0.37);
  font-size: 13px;
  line-height: 1.4;
  color: #838e96;
}
.fx__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.fx__docs a {
  color: #838e96;
  text-decoration: none;
}

@media (min-width: 768px) {
  .fx__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .fx__brand {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
  .fx__text {
    padding-left: 32px;
    border-left: 1px solid rgba(131, 142, 150, 0.37);
  }
  .fx__cta {
    flex: none;
  }

  .fx__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    padding: 28px 0 32px;
  }
  .fx__head {
    padding: 0 0 12px;
    border-bottom: 0;
    cursor: default;
    pointer-events: none;
  }
  button.fx__head:after {
    display: none;
  }
  .fx__list {
    display: block;
    padding: 0;
  }
  .fx__list a {
    padding: 4px 0;
  }
  .fx__col--contacts .fx__head {
    margin-bottom: 0;
  }

  .fx__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .fx__cta {
    display: none;
  }
}

@media (min-width: 1200px) {
  .fx__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
  }
}
