.footer {
  grid-area: footer;
  &__content {
    background: #D8D7D5;
    padding: 80px 40px 0 40px;
    display: grid;
    grid-template-columns: minmax(280px, 440px) minmax(210px, 290px) minmax(185px, 220px) minmax(180px, 840px) 190px;
    grid-gap: 20px;
    grid-template-areas:
      "info broker about depository contacts"
      "social social social social social"
      "copyright copyright copyright copyright copyright"
  ;
    @media (max-width: 1200px) {
      display: grid;
      grid-template-columns: minmax(280px, 440px) minmax(210px, 290px) minmax(185px, 220px);
      grid-template-areas:
        "info broker about"
        "depository contacts contacts"
        "social social social"
        "copyright copyright copyright"
    ;
    }
    @media (max-width: 811px) {
      grid-template-columns: minmax(200px, 440px) minmax(210px, 290px) minmax(185px, 220px);
    }
    @media (max-width: 768px) {
      display: grid;
      grid-template-columns: minmax(280px, 440px) minmax(210px, 290px);
      grid-template-areas:
        "info contacts"
        "broker about"
        "social social"
        "copyright copyright"
    ;
    }
    @media (max-width: 575px) {
      background-position: top 80px right 40px;
      padding: 60px 20px 0 20px;
      display: grid;
      grid-template-columns: minmax(250px, 440px);
      grid-template-areas:
        "info"
        "contacts"
        "broker"
        "about"
        "social"
        "copyright"
    ;
    }
    @media (max-width: 440px) {
      background-position: top 80px right 5px;
    }
    & h4 {
      font-family: 'TT Norms', sans-serif;
      font-style: normal;
      font-weight: bold;
      font-size: 16px;
      line-height: 100%;
      color: #333333;
      margin-bottom: 40px;
    }
    &-info {
      grid-area: info;
      height: 355px;
      @media (max-width: 768px) {
        height: 200px;
      }
      & p {
        max-width: 280px;
        margin-top: 24px;
        font-family: 'TT Norms', sans-serif;
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 140%;
        color: #2F2F2F;
      }
    }
    &-broker {
      grid-area: broker;
      height: 355px;
      @media (max-width: 768px) {
        height: 235px;
      }
    }
    &-about {
      grid-area: about;
      height: 355px;
      @media (max-width: 768px) {
        height: 235px;
      }
    }
    &-depository {
      grid-area: depository;
      height: 355px;
      @media (max-width: 1200px) {
        height: 45px;
      }
      @media (max-width: 768px) {
        display: none;
      }
    }
    &-contacts {
      grid-area: contacts;
      height: 355px;
      @media (max-width: 1200px) {
        height: 45px;
      }
      .contacts {
        text-align: right;
        @media (max-width: 575px) {
          text-align: left;
        }
        & a {
          font-family: 'TT Norms', sans-serif;
          font-style: normal;
          font-weight: normal;
          font-size: 24px;
          line-height: 100%;
          color: #333333;
          text-decoration: none;
        }
        & p {
          font-family: 'TT Norms', sans-serif;
          font-style: normal;
          font-weight: normal;
          font-size: 14px;
          line-height: 100%;
          text-align: right;
          color: #b1b1a7;
        }
      }
    }
    &-social {
      grid-area: social;
      padding: 25px 0;
    }
    &-copyright {
      grid-area: copyright;
      font-family: 'TT Norms', sans-serif;
      font-style: normal;
      font-weight: normal;
      font-size: 14px;
      line-height: 140%;
      color: #2F2F2F;
      padding: 26px 0;
      border-top: 1px solid #c2c1c0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      & .itsAgency {
        outline: 0;
        & svg {
          height: 16px;
          width: 80px;
        }
      }
    }
  }
  &__nav{
    & li {
      margin-bottom: 20px;
      &.active {
        & a {
          color: #444444;
        }
      }
      & a {
        font-family: 'TT Norms', sans-serif;
        font-style: normal;
        font-weight: normal;
        font-size: 16px;
        line-height: 100%;
        color: #646464;
        text-decoration: none;
        transition: all .2s;
      }
      &:hover {
        @extend .active;
      }
    }
  }
  .legal-info {
    background: #13191A;
    color: #f4f4f4;
    padding: 28px 48px;
    &__content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(245px, auto));
      grid-gap: 25px;
      margin-top: 40px;
      & p {
        font-family: 'TT Norms', sans-serif;
        font-style: normal;
        font-weight: normal;
        font-size: 12px;
        line-height: 120%;
        color: #ACACAC;
      }
    }
  }
}
