.footer {
  background-color: #f5f8fd;
  color: #002650;
  overflow: hidden;
  padding-bottom: 21px;
}

.footer-contact {
  align-items: center;
  color: #ffffff;
  display: flex;
  overflow: hidden;
  padding-inline: 20px;
  position: relative;
}

.footer-contact__bg {
  inset: 0;
  position: absolute;
}
.footer-contact__bg img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}
.footer-contact__bg::after {
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  background-color: rgba(0, 0, 0, 0.5);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.footer-contact__deco {
  aspect-ratio: 362/598;
  background: url(../images/footer-curve.svg) no-repeat center/100% 100%;
  bottom: 0;
  height: auto;
  left: calc(50% - 48px);
  pointer-events: none;
  position: absolute;
  top: 0;
  z-index: 1;
}

.footer-contact__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 64px 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.footer-contact__title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 24px;
}

.footer-contact__lead .c-desc {
  margin-top: 16px;
}

.footer-contact__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.footer-contact__card {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 528px;
  min-height: 120px;
  padding: 20px 72px 20px 24px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  width: 100%;
}
.footer-contact__card:hover {
  opacity: 1;
}
.footer-contact__card:hover::after {
  transform: translate(6px, -50%);
}

.footer-contact__card--form {
  background-color: #3e95f8;
  color: #ffffff;
}

a.footer-contact__card--tel {
  background-color: #ffffff;
  color: #3e95f8;
}

.footer-contact__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

.footer-contact__action {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.footer-contact__tel {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-contact__card::after {
  background: #ffffff url(../images/arrow-brand.svg) no-repeat center/10px 11px;
  border-radius: 50%;
  content: "";
  height: 44px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.35s ease;
  width: 44px;
}

.footer-contact__card--tel::after {
  background-color: #3e95f8;
  background-image: url(../images/arrow-white.svg);
}

.footer__inner {
  padding-inline: 20px;
  width: 100%;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 64px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.footer-info__address {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.429;
}

.footer-nav {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-nav__item p {
  color: #002650;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.462;
}

.footer-slide {
  margin-top: 150px;
  overflow: hidden;
}

.footer-slide__track {
  animation: footer-slide 36s linear infinite;
  display: flex;
  width: -moz-max-content;
  width: max-content;
}

.footer-slide__group {
  align-items: center;
  display: flex;
  gap: 23px;
  padding-right: 23px;
}

.footer-slide__word {
  color: #6ebaf1;
  flex-shrink: 0;
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.footer-slide__img {
  border-radius: 10px;
  flex-shrink: 0;
  height: 68px;
  overflow: hidden;
  width: 96px;
}
.footer-slide__img img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.footer__copy {
  border-top: 1px solid #bfd2e7;
  color: #002650;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.909;
  margin-top: 24px;
  padding-top: 17px;
  text-align: center;
}

@keyframes footer-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (width >= 768px) {
  .footer__top {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 80px;
  }
}

@media (width >= 1024px) {
  .footer-contact__inner {
    align-items: center;
    flex-direction: row;
    gap: 40px;
    justify-content: space-between;
    padding: 80px 0;
  }
  .footer-contact__title,
  .footer-contact__lead .c-desc {
    margin-left: 60px;
  }
  .footer-contact__cards {
    flex-shrink: 0;
    gap: 20px;
    width: 420px;
  }
  .footer-nav {
    gap: 40px;
    padding-top: 4px;
  }
  .footer-nav__row {
    flex-wrap: nowrap;
    gap: 28px;
  }
  .footer-slide__word {
    font-size: 54px;
    line-height: 1.333;
  }
  .footer-slide__img {
    height: 90px;
    width: 128px;
  }
}

@media (width >= 1366px) {
  .footer-contact {
    height: 598px;
    padding: 0 114px 0 110px;
  }
  .footer-contact__lead {
    flex-shrink: 0;
  }
  .footer-contact__title {
    font-size: 32px;
    line-height: 1.563;
    margin-top: 50px;
  }
  .footer-contact__lead .c-desc {
    margin-top: 46px;
  }
  .footer-contact__cards {
    width: 528px;
  }
  .footer-contact__card {
    height: 150px;
    padding: 0 100px 0 50px;
  }
  .footer-contact__action {
    font-size: 24px;
    line-height: 2.083;
  }
  .footer-contact__tel {
    font-size: 38px;
    line-height: 1.316;
  }
  .footer-contact__card::after {
    height: 54px;
    right: 32px;
    width: 54px;
  }
  .footer__top {
    padding-top: 122px;
  }
  .footer-nav {
    gap: 65px;
    padding-top: 12px;
  }
  .footer-nav__row {
    gap: 40px;
  }
  .footer-slide {
    margin-top: 284px;
  }
  .footer__copy {
    margin-top: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-slide__track {
    animation: none;
  }
}