.footer {
  padding-top:80px;
  background-color: #3e3422;
  color: #fff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 16px;
}

.footer__sister {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #4e4330;
  border-radius: 16px;
  padding: 50px 80px 36px;
  width: 100%;
  max-width: 1190px;
  margin-inline:auto;
}


.footer__sister-label {
  font-size: 24px;
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
padding-bottom: 28px;
border-bottom: solid 1px #6f6553;
}

.footer__sister-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;

}

.footer__sister-link {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  background-color: #fff;
  border-radius: 40px;
  max-width: 430px;
  width: 100%;
  min-height: 100px;
}

.footer__sister-link:hover,
.footer__sister-link:active,
.footer__sister-link:visited{
  color: #1c1c1c;
}

.footer__bottom{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  width:100% ;
  margin-inline: auto;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__logo {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.footer__address {
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.footer__nav {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px 24px;
}

.footer__nav-link {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

.footer__copyright {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  background-color: #fbf6ed;
  text-align: center;
  color: #1c1c1c;
  font-weight: bold;
  padding-block: 18px;
  margin-top: 120px;
}

@media screen and (max-width: 1439px) {
  .footer__sister {
    padding: 40px 32px 28px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .footer {
    padding-top: 48px;
  }

  .footer__inner {
    gap: 32px;
  }

  .footer__sister {
    padding: 32px 16px 24px;
  }

  .footer__sister-label {
    font-size: 18px;
    padding-bottom: 16px;
  }

  .footer__sister-list {
    flex-direction: column;
    gap: 12px;
  }

  .footer__sister-link {
    min-height: 72px;
    max-width: none;
  }

  .footer__info {
    width: fit-content;
    margin: 0 auto;
}

  .footer__bottom {
    flex-direction: column;
    gap: 32px;
  }

  .footer__logo {
    font-size: 18px;
  }

  .footer__address {
    font-size: 14px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 16px;
  }

  .footer__nav-link {
    font-size: 14px;
  }

  .footer__copyright {
    margin-top: 48px;
    font-size: 12px;
  }
}
