footer {
  padding: 83px 0 0 0;
  border-top: 1px solid #ED704A;
}

footer .top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px 40px;
  border-bottom: 1px solid #E6E6EB;
  padding-bottom: 70px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

footer .top div h3 {
  font-family: Rubik;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  margin-top: 23px;
}

footer .top div p {
  margin-bottom: -30px;
  font-family: Rubik;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  -webkit-font-feature-settings: 'tnum' on, 'lnum' on;
          font-feature-settings: 'tnum' on, 'lnum' on;
}

footer .bottom {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-column-gap: 40px;
  padding: 40px 0 80px;
}

footer .bottom h3 {
  color: #ED704A;
  font-family: Rubik;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 40px;
}

footer .bottom h4 {
  color: #ED704A;
  font-family: Rubik;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 20px;
}

footer .bottom .contacts div a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: Rubik;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  color: #3C4248;
  margin-bottom: 16px;
}

footer .bottom .contacts div a picture {
  margin-right: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

footer .bottom .contacts div a:hover {
  color: #ED704A;
}

footer .bottom .contacts div:nth-of-type(3) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 40px;
}

footer .bottom .contacts div:nth-of-type(3) a:nth-of-type(1) {
  margin-right: 48px;
}

footer .bottom .contacts div:nth-of-type(3) a:hover {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}

footer .bottom .contacts div.social {
    display: flex;
}

footer .bottom .contacts div.social a picture img {
    height: 30px;
}

footer .bottom .production .links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 40px;
}

footer .bottom .production .links .item a {
  display: block;
  font-family: Rubik;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  -webkit-font-feature-settings: 'tnum' on, 'lnum' on;
          font-feature-settings: 'tnum' on, 'lnum' on;
  color: #3C4248;
  margin-bottom: 10px;
}

footer .bottom .production .links .item a:hover {
  color: #ED704A;
}

footer .copyright {
  padding: 15px 0;
  background: #F6F7F9;
}

footer .copyright .block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

footer .copyright .block div {
  font-family: Nunito;
  color: #63717F;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}

footer .copyright .block div span {
  color: #ED704A;
}

footer .copyright .block div span a {
    color: #ED704A;
}

@media (max-width: 820px) {
  footer .top {
    grid-template-columns: 1fr;
  }

  footer .bottom {
    grid-template-columns: 1fr;
  }

  footer .bottom .contacts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  footer .bottom .contacts h3 {
    grid-column: 1/5;
  }

  footer .bottom .contacts div:nth-of-type(3) {
    margin-top: 0;
  }

  footer .bottom .contacts div:nth-of-type(3) a {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  footer .bottom .contacts div:nth-of-type(3) a:nth-of-type(1) {
    margin-left: 20px;
  }

  footer .bottom .production h3 {
    margin: 40px 0;
  }

  footer .bottom .production .links {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
  }
}

@media (max-width: 720px) {
  footer .bottom .contacts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 550px) {
  footer {
    padding: 53px 0 0 0;
  }

  footer .bottom {
    padding: 40px 0;
  }

  footer .bottom .contacts {
    grid-template-columns: 1fr;
  }

  footer .bottom .contacts h3 {
    grid-column: 1/2;
    margin: 0 0 20px 0;
  }

  footer .bottom .contacts div:nth-of-type(3) {
    margin-top: 24px;
  }

  footer .bottom .contacts div:nth-of-type(3) a {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  footer .bottom .contacts div:nth-of-type(3) a:nth-of-type(1) {
    margin-left: 0;
  }

  footer .bottom .production h3 {
    margin: 20px 0;
  }

  footer .bottom .production .links {
    grid-template-columns: 1fr;
  }

  footer .copyright .block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
    grid-row-gap: 20px;
  }
}