.footer-data__common {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: black;
  padding: 30px 3%;
}

.footer-data__common > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-left: 1px solid white;
}

.footer-data__common > div:first-child {
  border-left: none;
}

.footer-logo > img {
  max-width: 250px;
}

.footer-contact > p {
  text-align: center;
}

.footer-schedule > div:last-child {
  gap: 10px;
}

.footer-data__legal {
  background: var(--color-secondary-gray);
  padding: 30px 3%;
  line-height: 1.5;
}

@media (max-width: 950px) {
  .footer-data__common {
    grid-template-columns: none;
    grid-template-areas:
      "logo contact"
      "schedule legal";
  }

  .footer-data__common > div {
    border-left: none;
  }

  .footer-logo {
    grid-area: logo;
    border-bottom: 1px solid white;
  }

  .footer-contact {
    grid-area: contact;
    border-bottom: 1px solid white;
  }

  .footer-schedule {
    grid-area: schedule;
  }

  .footer-legal {
    grid-area: legal;
  }
}

@media (max-width: 950px) {
  .footer-data__common {
    grid-template-columns: none;
    grid-template-areas:
      "logo contact"
      "schedule legal";
  }

  .footer-data__common > div {
    border-left: none;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-logo {
    grid-area: logo;
    border-bottom: 1px solid white;
  }

  .footer-contact {
    grid-area: contact;
    border-bottom: 1px solid white;
  }

  .footer-schedule {
    grid-area: schedule;
  }

  .footer-legal {
    grid-area: legal;
  }
}

@media (max-width: 430px) {
  .footer-data__common {
    grid-template-columns: none;
    grid-template-areas:
      "logo"
      "contact"
      "schedule"
      "legal";
  }

  .footer-data__common > div {
    border-left: none;
    border-bottom: none;
  }

  .footer-logo {
    padding-top: 10px !important;
  }

  .footer-legal {
    grid-area: legal;
    padding-bottom: 10px !important;
  }
}
