.footer {
  position: relative;
  overflow: hidden;
  padding-top: 110px;
  background: #03131e;
  border-top: 1px solid rgba(109, 161, 184, 0.3);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(19, 88, 122, 0.12), transparent 38%);
  pointer-events: none;
}

.footer .wrap {
  position: relative;
}

.footer .footer-grid {
  grid-template-columns: 1.45fr 0.82fr 0.95fr 1fr;
  gap: 0;
  padding-bottom: 72px;
}

.footer .footer-grid > div {
  min-height: 300px;
  padding: 12px 52px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .footer-grid > div:first-child {
  padding-inline-start: 0;
}

.footer .footer-grid > div:last-child {
  padding-inline-end: 0;
  border: 0;
}

.footer .footer-brand img {
  width: 330px;
  max-width: 100%;
  margin-bottom: 32px;
  filter: none;
}

.footer .footer-brand p {
  max-width: 350px;
  color: #aebcc3;
  font-size: 13px;
}

.footer .social-links {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.footer .social-links a {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  color: var(--blue2);
  border: 1px solid rgba(57, 184, 236, 0.55);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
}

.footer h3 {
  margin-bottom: 42px;
  color: var(--blue2);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.footer .footer-links,
.footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer .footer-links h3,
.footer .footer-contact h3 {
  margin-bottom: 16px;
}

.footer .footer-links a {
  display: flex;
  justify-content: space-between;
  color: #d0d9dd;
  font-size: 13px;
}

.footer .footer-links a::after {
  content: "›";
  color: #8fa4ae;
}

.footer .footer-contact p,
.footer .footer-contact a {
  position: relative;
  min-height: 40px;
  margin: 0;
  padding-inline-start: 46px;
  color: #d0d9dd;
  font-size: 13px;
}

.footer .footer-contact p::before,
.footer .footer-contact a::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue2);
  font-size: 21px;
}

.footer .footer-location::before { content: "⌖"; }
.footer .footer-phone::before { content: "☎"; }
.footer .footer-email::before { content: "✉"; }

.footer .footer-cta {
  min-height: 135px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 44px;
  border: 1px solid rgba(133, 176, 196, 0.4);
  border-radius: 7px;
}

.footer .footer-cta > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer .footer-cta strong {
  color: #fff;
  font-size: 21px;
  font-weight: 500;
}

.footer .footer-cta span {
  color: #92a5ae;
  font-size: 12px;
}

.footer .footer-cta .button {
  min-width: 280px;
  min-height: 58px;
}

.footer .copyright {
  margin-top: 40px;
  padding: 30px 0 42px;
  color: #82959e;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
}

html[dir="rtl"] .footer .footer-contact p,
html[dir="rtl"] .footer .footer-contact a {
  padding-right: 46px;
  padding-left: 0;
}

html[dir="rtl"] .footer .footer-contact p::before,
html[dir="rtl"] .footer .footer-contact a::before {
  right: 0;
  left: auto;
}

@media (max-width: 1050px) {
  .footer .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer .footer-contact {
    grid-column: 2 / -1;
  }
}

@media (max-width: 700px) {
  .footer {
    padding-top: 80px;
  }

  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer .footer-grid > div,
  .footer .footer-grid > div:first-child,
  .footer .footer-grid > div:last-child {
    min-height: auto;
    padding: 32px 20px;
    border: 0;
  }

  .footer .footer-brand,
  .footer .footer-contact {
    grid-column: 1 / -1;
  }

  .footer .footer-brand {
    padding-top: 0;
  }

  .footer .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer .footer-cta .button {
    width: 100%;
    min-width: 0;
  }
}
