.footer {
  background-color: transparent;
  color: #ffffff;
  overflow: hidden;
  padding-top: 100px;
  position: relative;
  z-index: 10;
}
.footer::before {
  background-color: #0c9193;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 530px;
  z-index: 0;
}

.footer-name {
  color: #d2e6ef;
  font-size: 100px;
  font-weight: 500;
  left: 0;
  letter-spacing: calc(10.4 / 1366 * 100vw);
  overflow: hidden;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 1;
}
.footer-name .bg-text__wrap {
  gap: 0;
}
.footer-name .bg-text {
  padding-right: 0.6em;
  white-space: nowrap;
}
.footer__inner {
  margin-inline: auto;
  max-width: 1185px;
  padding: 0 20px 32px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-cta__card {
  border-radius: 10px;
  display: block;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  padding: 24px 75px 28px 24px;
  position: relative;
}
.footer-cta__card::after {
  background-color: rgba(234, 246, 245, 0.8);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: background-color 0.5s ease;
  z-index: 1;
}
.footer-cta__card:hover {
  opacity: 1;
}
.footer-cta__card:hover::after {
  background-color: rgba(234, 246, 245, 0.7);
}
.footer-cta__card:hover .footer-cta__photo {
  transform: scale(1.08);
}
.footer-cta__card:hover .footer-cta__icon {
  transform: translateY(-3px);
}
.footer-cta__card:hover .footer-cta__arrow img {
  transform: translateX(5px);
}
.footer-cta__card--clinic::after {
  background-color: rgba(235, 247, 245, 0.8);
}
.footer-cta__card--clinic:hover::after {
  background-color: rgba(235, 247, 245, 0.7);
}

.footer-cta__photo {
  height: 100%;
  inset: 0;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  transform: scale(1);
  transition: transform 0.8s ease;
  width: 100%;
  z-index: 0;
}

.footer-cta__icon {
  align-items: center;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  height: 56px;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  transition: transform 0.4s ease;
  width: 56px;
  z-index: 2;
}
.footer-cta__icon img {
  height: 20px;
  -o-object-fit: contain;
     object-fit: contain;
  width: 26px;
}

.footer-cta__card--clinic .footer-cta__icon img {
  height: 28px;
  width: 22px;
}

.footer-cta__body {
  color: #38b8a9;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.footer-cta__en {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.48px;
  line-height: 1.4;
}

.footer-cta__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.84px;
  line-height: 1.3;
  margin-top: 2px;
}

.footer-cta__desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-cta__arrow {
  align-items: center;
  background-color: #3dbaab;
  border-radius: 10px 0;
  bottom: 0;
  display: flex;
  height: 64px;
  justify-content: center;
  position: absolute;
  right: 0;
  width: 60px;
  z-index: 2;
}
.footer-cta__arrow img {
  height: 16px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.4s ease;
  width: 15px;
}

.footer__main {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 60px;
}

.footer-logo {
  width: 180px;
}
.footer-logo__link {
  display: block;
  height: 43px;
  width: 180px;
}
.footer-logo__link img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: left center;
     object-position: left center;
  width: 100%;
}
.footer-logo__label {
  align-items: center;
  background-color: #9ddfd8;
  color: #ffffff;
  display: flex;
  font-size: 10px;
  font-weight: 500;
  height: 15px;
  justify-content: center;
  line-height: 1;
  margin-left: auto;
  margin-top: 3px;
  width: 126px;
}

.footer-address {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  margin-top: 24px;
}

.footer-nuv {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 360px;
  min-width: 0;
  width: 100%;
}
.footer-nuv__item {
  white-space: nowrap;
}
.footer-nuv__item > p {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

.footer-pagetop {
  display: block;
  height: 80px;
  margin: 60px 0 0 auto;
  width: 80px;
}
.footer-pagetop img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}

.footer__bottom {
  border-top: 1px solid #ffffff;
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
}

.footer__copy {
  color: #ffffff;
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
}

@media (width >= 768px) {
  .footer {
    padding-top: 170px;
  }
  .footer::before {
    top: 300px;
  }
  .footer-name {
    font-size: 130px;
  }
  .footer-cta {
    display: grid;
    gap: 17px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
  }
  .footer__main {
    align-items: flex-start;
    flex-direction: row;
    gap: 32px;
    justify-content: space-between;
  }
  .footer-nuv {
    gap: 53px 40px;
    justify-content: flex-end;
    margin-left: auto;
  }
}

@media (width >= 1024px) {
  .footer {
    padding-top: 170px;
  }
  .footer::before {
    top: 399px;
  }
  .footer-name {
    font-size: 208px;
    letter-spacing: 10.4px;
    line-height: 257px;
    top: 23px;
  }
  .footer__inner {
    min-height: 1256px;
    padding: 0 20px 44px;
  }
  .footer-cta__card {
    align-items: flex-start;
    display: flex;
    flex-shrink: 0;
    gap: 16px;
    height: auto;
    min-height: 320px;
    padding: 53px 85px 60px 23px;
  }
  .footer-cta__icon {
    flex-shrink: 0;
    height: 70px;
    margin-bottom: 0;
    width: 70px;
  }
  .footer-cta__card--clinic .footer-cta__icon img {
    height: 34px;
    width: 27px;
  }
  .footer-cta__card--contact .footer-cta__icon img {
    height: 23px;
    width: 31px;
  }
  .footer-cta__body {
    flex: 1;
    padding-top: 4px;
  }
  .footer-cta__en {
    font-size: 16px;
  }
  .footer-cta__title {
    font-size: 28px;
    line-height: 1.4;
    margin-top: 5px;
  }
  .footer-cta__desc {
    font-size: 16px;
    line-height: 2;
    margin-top: 16px;
  }
  .footer-cta__arrow {
    height: 91px;
    width: 87px;
  }
  .footer-cta__arrow img {
    height: 22px;
    width: 21px;
  }
  .footer__main {
    margin-top: 87px;
  }
  .footer-info {
    padding-left: 11px;
  }
  .footer-logo {
    width: 206px;
  }
  .footer-logo__link {
    height: 49px;
    width: 206px;
  }
  .footer-logo__label {
    width: 145px;
  }
  .footer-address {
    margin-top: 35px;
  }
  .footer-nuv {
    margin-top: 20px;
    max-width: none;
    width: 420px;
  }
  .footer-pagetop {
    height: 102px;
    margin: 445px 0 0 auto;
    width: 102px;
  }
  .footer__bottom {
    margin-top: 45px;
    padding-top: 20px;
  }
}

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