.home-reviews {
  width: calc(100% - 40px);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.home-reviews + .trust-grid {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.home-reviews h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.home-reviews p {
  margin: 0;
  color: #666;
}

.home-reviews-widget {
  max-width: 640px;
  margin: 24px auto 0;
}

.footer-reviews {
  width: 100%;
  max-width: 340px;
  min-width: 0;
  justify-self: end;
  align-self: center;
}

.footer-main-with-reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 32px;
}

footer .footer-main-with-reviews .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px 24px;
  margin: 0;
  text-align: left;
}

footer .footer-main-with-reviews .footer-links a {
  margin: 0;
  white-space: nowrap;
}

.site-footer .footer-content.footer-content-with-reviews {
  grid-template-columns: repeat(3, minmax(0, 1fr)) 340px;
  gap: 24px;
}

@media (max-width: 1000px) {
  .site-footer .footer-content.footer-content-with-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .footer-main-with-reviews {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  footer .footer-main-with-reviews .footer-links {
    justify-content: center;
    text-align: center;
  }

  .footer-reviews {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-content.footer-content-with-reviews {
    grid-template-columns: minmax(0, 1fr);
  }
}
