@charset "utf-8";

.footer__map {
  aspect-ratio: 1366 / 452;
  width: 100%;
  height: 452px;
}
.footer__map div,
.footer__map div iframe{
  width: 100%;
  height: 100%;
  border: none;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 1024px) {
  .footer__top {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__top-item {
  padding: 79px 0 67px;
  background: rgba(0, 126, 213, 0.9);
}
.footer__top-item:nth-of-type(2) {
  background: rgba(2, 115, 194, 0.9);
}
.footer__top-item:nth-of-type(3) {
  background: rgba(3, 102, 170, 0.9);
}

.footer__top-btn {
  height: 60px;
  margin-inline: auto !important;
}
.footer__top-btn:hover {
  opacity: 0.7;
}

.footer__top-item:nth-of-type(1) .footer__top-btn {
  padding: 5px 25px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  gap: 35px;
  color: #fff;
}
.footer__top-item:nth-of-type(1) .footer__top-btn::before {
  content: "";
  background: url('../images/icon-tel.svg') center / contain no-repeat;
  width: 8px;
  height: 20px;
}

.footer__top-item:nth-of-type(2) .footer__top-btn,
.footer__top-item:nth-of-type(3) .footer__top-btn {
  padding: 20px 11px 20px 22px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 17px;
  color: #187FC7;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  position: relative;
}
.footer__top-item:nth-of-type(2) .footer__top-btn::before {
  content: "";
  background: url('../images/icon-mail-blue.svg') center / contain no-repeat;
  width: 18px;
  height: 14px;
}
.footer__top-item:nth-of-type(3) .footer__top-btn::before {
  content: "";
  background: url('../images/icon-human.svg') center / contain no-repeat;
  width: 21px;
  height: 17px;
}
.footer__top-item:nth-of-type(2) .footer__top-btn::after,
.footer__top-item:nth-of-type(3) .footer__top-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  background: url('../images/icon-arrow-circle-blue.svg') center / contain no-repeat;
  width: 40px;
  height: 40px;
}

.footer__bottom-wrap {
  padding: 81px 20px 0;
}
@media screen and (min-width: 1024px) {
  .footer__bottom-wrap {
    padding: 81px 119px 0;
  }
}

.footer__bottom {
  display: flex;
  gap: 74px;
  justify-content: space-between;
  flex-direction: column-reverse;
}
@media screen and (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    gap: 0;
  }
}
@media screen and (min-width: 1366px) {
  .footer__bottom {
    max-width: 1366px;
    margin-inline: auto;
  }
}

.footer__logo:hover {
  opacity: 0.7;
}

.footer__bottom-links {
      padding: 40px 6px 40px 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 25px;
  background: #FFFFFF;
  border-radius: 10px;
  max-width: 400px;
}
@media screen and (min-width: 768px) {
  .footer__bottom-links {
   grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}
@media screen and (min-width: 1100px) {
  .footer__bottom-links {
    padding: 60px 57px;
    gap: 23px 93px;
  }
}

.footer__bottom-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.footer__bottom-link p {
  width: fit-content;
  color: #484B4E;
  position: relative;
  display: inline-block;
}
.footer__bottom-link p::after {
  background-color: #484B4E;
  bottom: 0px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: all .3s;
  width: 100%;
}
.footer__bottom-link p:hover::after {
  bottom: -4px;
  opacity: 1;
}

.footer-text__wrap {
  margin-top: 110px;
  display: flex;
  gap: 50px;
  width: 100%;
  height: 72px;
}
@media screen and (min-width: 768px) {
  .footer-text__wrap {
  margin-top: 210px;
  }
}
.footer-text {
  aspect-ratio: 1595 / 72;
  flex-shrink: 0;
  width: auto;
  height: 100%;
  animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.footer__copyright {
  margin-top: -2px;
  position: relative;
  z-index: 5;
  padding: 12px 0 14px;
  font-size: 11px;
  line-height: calc(13 / 11);
  letter-spacing: 0.05em;
  color: rgba(239, 240, 239, 0.8);
  text-align: center;
  background: #0080D9;
}