.footer {
  grid-column-start: 1;
  grid-column-end: span 14;
  grid-row: 5;
  border-top: 1px solid var(--color-grey);
}

@media screen and (max-width: 1440px){
  .footer {
    grid-template-columns: 1fr minmax(min-content, 1220px) 1fr;
    grid-column-gap: 32px;
  }
}

@media screen and (max-width: 1024px) {
  .footer {
    grid-row: 7;
  }
}
@media screen and (max-width: 900px) {
  .footer {
    /* grid-row-start: 7;
    grid-row-end: 8; */
  }
}

.mst-footer__wrapper {
  padding: 32px 16px 48px 16px;
}

@media (min-width: 768px) {
  .mst-footer__wrapper {
    padding: 32px 32px 48px 32px;
  }
}

@media (min-width: 991px) {
  .mst-footer__wrapper {
    max-width: 1216px;
    margin: 0 auto;
    padding: 48px 32px;
  }
}

@media (min-width: 1440px) {
  .mst-footer__wrapper {
    padding: 48px 0;
  }
}

@media (min-width: 768px) {
  .mst-footer__container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.mst-footer__block {
  margin: 0 0 56px 0;
}

@media (min-width: 768px) {
  .mst-footer__block {
    width: 45%;
  }
}

@media (min-width: 992px) {
  .mst-footer__block:nth-child(1) {
    width: 40%;
  }
  .mst-footer__block:nth-child(2) {
    width: 59%;
  }
}

.mst-footer__block:nth-child(2) {
  margin: 0;
}

.mst-footer__about img {
  width: 176px;
  margin: 0 0 16px 0;
}

.mst-footer__about p {
  margin: 0 0 40px 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
}

.mst-footer__about span {
  font-family: "Montserrat-ExtraBold", "Arial", sans-serif;
}

.mst-footer__phone a {
  display: inline-block;
  margin: 0 0 32px 0;
  font-size: 1.5rem;
  line-height: 1.875rem;
  color: #140D3F !important;
  font-family: "Montserrat-SemiBold", "Arial", sans-serif;
  text-decoration: none;
}

@media (min-width: 991px) {
  .mst-footer__phone a {
    margin: 0 0 8px 0;
  }
}

.mst-footer__socials {
  margin: 0 0 38px 0;
}

@media (min-width: 991px) {
  .mst-footer__socials {
    margin: 0 0 54px 0;
  }
}

.mst-footer__social-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.mst-footer__social-list a {
  display: inline-block;
  margin: 0 29px 0 0;
}

.mst-footer__social-list a:hover svg path {
  fill: #0032B2;
}

.mst-footer__social-list a:last-child {
  margin: 0;
}

.mst-footer__socials-title p {
  margin: 0 0 22px 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #140D3F;
  font-family: "Montserrat-ExtraBold", "Arial", sans-serif;
  font-weight: 800;
}

@media (min-width: 991px) {
  .mst-footer__socials-title p {
    margin: 0 0 30px 0;
  }
}

.mst-footer__subscribe-title p {
  margin: 0 0 16px 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #140D3F;
  font-family: "Montserrat-ExtraBold", "Arial", sans-serif;
  font-weight: 800;
}

@media (min-width: 991px) {
  .mst-footer__subscribe-title p {
    margin: 0 0 24px 0;
  }
}

.mst-footer__subscribe-form {
  position: relative;
}

.mst-footer__subscribe-form span {
  display: none;
}

@media (min-width: 991px) {
  .mst-footer__subscribe-form span {
    display: block;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-family: "Montserrat-Regular", "Arial", sans-serif;
    color: #ffffff;
  }
}

.mst-footer__subscribe-form input {
  height: 44px;
  padding: 12px;
  width: 100%;
  border: 1px solid #DBDDEE;
  border-radius: 8px;
  outline: none;
}

@media (min-width: 991px) {
  .mst-footer__subscribe-form input {
    width: 70%;
  }
}

.mst-footer__subscribe-form input:focus {
  outline: none;
}

.mst-footer__subscribe-form input::-webkit-input-placeholder {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
}

.mst-footer__subscribe-form input::-moz-placeholder {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
}

.mst-footer__subscribe-form input:-ms-input-placeholder {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
}

.mst-footer__subscribe-form input::-ms-input-placeholder {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
}

.mst-footer__subscribe-form input::placeholder {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
}

.mst-footer__subscribe-form button {
  width: 63px;
  height: 44px;
  position: absolute;
  right: 0px;
  border-radius: 0px 10px 10px 0px;
  border: none;
  background: #5AD9CB;
  cursor: pointer;
}

.mst-footer__subscribe-form button:hover {
  background: #0032B2;
}

@media (min-width: 991px) {
  .mst-footer__subscribe-form button {
    width: auto;
    padding: 12px 28px;
    right: 80px;
  }
}

@media (min-width: 991px) {
  .mst-footer__subscribe-form button svg {
    display: none;
  }
}

@media (min-width: 991px) {
  .mst-footer__nav-container {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}

@media (min-width: 768px) {
  .mst-footer__nav-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

@media (min-width: 991px) {
  .mst-footer__nav-wrapper {
    width: 32%;
    -webkit-justify-content: flex-start;
            justify-content: flex-start;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.mst-footer__nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

@media (min-width: 768px) {
  .mst-footer__nav {
    width: 60%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.mst-footer__nav-title {
  min-width: 140px;
}

@media (min-width: 768px) {
  .mst-footer__nav-title {
    /* margin: 0 0 20px 0; */
  }
}

@media (min-width: 768px) {
  .mst-footer__nav-title {
    /* margin: 0 0 24px 0; */
  }
}

.mst-footer__nav-title p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #140D3F;
  font-family: "Montserrat-SemiBold", "Arial", sans-serif;
  font-weight: 800;
  margin-top: 5px;
}

.mst-footer__nav-list {
  margin: 0 0 48px 0;
  list-style: none;
}

.mst-footer__nav-list li {
  margin: 0 0 16px 0;
  padding-left: 0;
}

.mst-footer__nav-list li:last-child {
  margin: 0;
}

.mst-footer__nav-list li a, .mst-footer__nav-list li span  {
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
  text-decoration: none;
}

@media (min-width: 1220px) {
  .mst-footer__nav-list li a, .mst-footer__nav-list li span {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

.mst-footer__nav-list li a:hover {
  text-decoration: underline;
}

.mst-footer__copyright {
  border-top: 1px solid #D8D9DD;
}

@media (min-width: 768px) {
  .mst-footer__copyright {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.mst-footer__copyright p {
  margin: 0 0 16px 0;
  padding: 16px 0 0 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
}

.mst-footer__copyright a {
  display: inline-block;
  margin: 0 0 16px 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #484953;
  font-family: "Montserrat-Regular", "Arial", sans-serif;
  text-decoration: none;
}

.mst-footer__copyright a:hover {
  text-decoration: underline;
}

.mst-footer__copyright a:last-child {
  margin: 0;
}

@media (min-width: 768px) {
  .mst-footer__copyright-wrapper {
    padding: 16px 0 0 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

@media (min-width: 991px) {
  .mst-footer__copyright-wrapper {
    width: 57%;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

@media (min-width: 1440px) {
  .mst-footer__copyright-wrapper {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .mst-footer__copyright-wrapper a {
    display: inline-block;
    margin: 0 48px 0 0;
  }
}

.mst-footer-inner {
  padding-top: 0;
}

/* UPDATE footer */
  .mst-footer__mail{
    margin-bottom:45px;
  }
  .mst-footer__mail a{
    font-family: 'Montserrat-Regular',sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #140d3f;
  }
  .mst-footer__address {
    margin-bottom:45px;
  }
  .mst-footer__address-title {
    font-family: 'Montserrat-SemiBold',sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    color: #140d3f;
    margin-bottom:16px;
  }
  .mst-footer__address p{
    font-family: 'Montserrat-Regular',sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #140d3f;
  }
  .mst-footer__workTime {
    margin-bottom:45px;
  }
  .mst-footer__workTime p{
    font-family: 'Montserrat-Regular',sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #140d3f;
  }
  .mst-footer__workTime-title {
    font-family: 'Montserrat-SemiBold',sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    color: #140d3f;
    margin-bottom:16px;
  }
  .mst-footer__phone a{
    margin: 0 0 8px 0;
  }
  @media (min-width: 991px) {
    .mst-footer__phone a {
        margin: 0 0 8px 0;
    }
  }