.meyers-footer {
  display: block;
  padding: 0;
  border: 0;
  background: #fff;
  color: #091736;
  font-family: Inter, Arial, sans-serif;
  box-shadow: 0 -16px 50px rgba(9, 23, 54, .07);
}

.meyers-footer__main {
  display: grid;
  width: min(calc(100% - 40px), 1140px);
  margin: 0 auto;
  grid-template-columns: minmax(260px, 1.05fr) minmax(430px, 1.55fr) minmax(230px, .8fr);
  gap: 56px;
  padding: 70px 0 62px;
}

.meyers-footer__brand,
.meyers-footer__nav,
.meyers-footer__contact {
  min-width: 0;
}

.meyers-footer nav {
  position: static;
  width: auto;
  height: auto;
  min-height: 0;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.meyers-footer__logo {
  display: inline-flex;
  width: 248px;
  max-width: 100%;
  align-items: center;
}

.meyers-footer__logo img,
.meyers-footer .brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  filter: none !important;
  opacity: 1;
}

.meyers-footer__brand > p {
  max-width: 430px;
  margin: 20px 0 15px;
  color: #526176;
  font-size: 15px;
  line-height: 1.65;
}

.meyers-footer__phone {
  color: #091736;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.meyers-footer__title,
.meyers-footer__title-link {
  margin: 5px 0 20px;
  color: #091736 !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.meyers-footer__title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.meyers-footer__title-link span {
  color: #f35748;
  font-size: 18px;
  line-height: 1;
}

.meyers-footer__nav,
.meyers-footer__contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.meyers-footer__service-links {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 1px;
}

.meyers-footer__nav a,
.meyers-footer__contact a {
  margin: 0 0 10px;
  color: #435168;
  font-size: 14px;
  line-height: 1.45;
  text-decoration-color: rgba(67, 81, 104, .35);
  text-underline-offset: 4px;
}

.meyers-footer__nav .meyers-footer__title-link {
  margin-bottom: 20px;
  color: #091736;
  font-size: 14px;
  line-height: 1.45;
}

.meyers-footer__nav a:hover,
.meyers-footer__contact a:hover,
.meyers-footer__nav a:focus-visible,
.meyers-footer__contact a:focus-visible {
  color: #f35748;
}

.meyers-footer__contact > p:not(.meyers-footer__title) {
  margin: 0 0 13px;
  color: #526176;
  font-size: 14px;
  line-height: 1.65;
}

.meyers-footer__legal {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 12px max(20px, calc((100% - 1140px) / 2));
  background: linear-gradient(110deg, #56b9c4, #46aeba);
  color: #fff;
  font-size: 12px;
}

.meyers-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.meyers-footer__legal a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .55);
  text-underline-offset: 3px;
}

.mobilebar {
  display: none;
}

@media (max-width: 1100px) {
  .meyers-footer__main {
    grid-template-columns: 1.15fr .85fr;
    gap: 46px;
  }

  .meyers-footer__brand {
    order: 1;
  }

  .meyers-footer__contact {
    order: 2;
  }

  .meyers-footer__nav {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 600px) {
  .meyers-footer__main {
    width: min(calc(100% - 36px), 1140px);
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0 36px;
  }

  .meyers-footer__brand {
    order: 1;
  }

  .meyers-footer__contact {
    grid-column: auto;
    order: 3;
  }

  .meyers-footer__nav {
    grid-column: auto;
    order: 2;
  }

  .meyers-footer__service-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .meyers-footer__logo {
    width: 200px;
  }

  .meyers-footer__brand > p {
    margin: 15px 0 11px;
    font-size: 14px;
  }

  .meyers-footer__title,
  .meyers-footer__title-link,
  .meyers-footer__nav .meyers-footer__title-link {
    margin-bottom: 13px;
  }

  .meyers-footer__nav a,
  .meyers-footer__contact a,
  .meyers-footer__contact > p:not(.meyers-footer__title) {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .meyers-footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 16px 18px calc(74px + env(safe-area-inset-bottom));
  }

  .meyers-footer__legal nav {
    gap: 10px 20px;
  }

  .mobilebar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    box-shadow: 0 -8px 28px rgba(9, 23, 54, .14);
  }

  .mobilebar a {
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 13px 10px;
    color: #091736;
    font: 800 15px/1 Inter, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
  }

  .mobilebar a:first-child {
    border-top: 1px solid #d9e7ea;
  }

  .mobilebar a:last-child {
    background: #f35748;
    color: #fff;
  }
}
