.footer {
  background: #f5f5f5;
  position: relative;
  overflow: visible;
  z-index: 2;
}

.footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 269px;
  background: url("/images/blue-wave-line.svg") repeat-x;
  background-size: auto 100%;
  pointer-events: none;
  z-index: -1;
}

.footer-container {
  background: var(--footer-bg, #146f9c);
  margin-top: 102px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.footer--home {
  --footer-bg: #146f9c;
}

.footer--top-rated {
  --footer-bg: #146f9c;
}

.footer-container::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 359px;
  background-image: url("/images/footer-bg-icons.png");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-content {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 0 24px 100px 24px;
  position: relative;
  z-index: 2;
}

.footer-logo img {
  width: 171px;
  height: 37px;
}

.footer-description {
  max-width: 545px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  opacity: 0.9;
}

.no-break {
  white-space: nowrap;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-social:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-social::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("/images/facebook.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 768px) {
  .footer::before {
    top: -55px;
    height: 121px;
  }

  .footer-container {
    margin-top: 50px;
  }

  .footer-content {
    padding: 0 16px 47px 16px;
    gap: 32px;
  }

  .no-break {
    white-space: wrap;
  }
}