.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 92px 0 70px;
}

.footer-inner {
  position: relative;
  width: min(1200px, calc(100% - 150px));
  margin: 0 auto;
}
.footer-lead {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  justify-content: center;
}
.footer-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.footer-lead p {
  margin: 0;
  font-size: 36px;
  line-height: 1.55;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 42px;
  background: var(--red);
  font-size: 18px;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0.1em;
  min-width: 300px;
  margin-left: auto;
  width: 40%;
  transition: opacity 0.2s;
}

.footer-contact:hover {
  opacity: 0.9;
}

.circle {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dot,
.arrow {
  position: absolute;
  color: white;
  font-size: 18px;
  letter-spacing: 0;
  transition: opacity 0.6s ease;
}

.dot {
  opacity: 1;
}

.arrow {
  opacity: 0;
}

.footer-contact:hover .dot {
  opacity: 0;
}

.footer-contact:hover .arrow {
  opacity: 1;
}

.footer-nav {
  display: flex;
  gap: 100px;
  padding: 42px 0 70px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.ft-menu-item {
  position: relative;
  margin: 10px;
  margin-bottom: 20px;
}

.ft-menu-item a,
.ft-menu-item a::before,
.ft-menu-item a::after {
  transition: 0.2s;
}

.ft-menu-item a {
  padding-left: 30px;
}

.ft-menu-item a::before,
.ft-menu-item a::after {
  content: "";
  position: absolute;
}

.ft-menu-item a::before {
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
}

.ft-menu-item a::after {
  top: calc(50% - 3.5px);
  left: 9px;
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  border-width: 2px 2px 0 0;
  border-style: solid;
  border-color: var(--navy) var(--navy) transparent transparent;
}

.ft-menu-item a:hover::before {
  border: 2px solid var(--red);
  background-color: var(--red);
}

.ft-menu-item a:hover::after {
  border-color: #fff #fff transparent transparent;
}

.ft-menu-item a:hover {
  color: var(--red);
}

.back-top {
  position: absolute;
  right: 0;
  bottom: 45px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(53, 98, 167, 0);
  cursor: pointer;
}

.back-top:before {
  position: absolute;
  width: 44px;
  height: 44px;
  content: "";
  border-radius: 100%;
  background-color: rgba(128, 148, 179, 0.7);
  top: 0;
  right: 0;
  transition: 0.2s;
}

.back-top:after {
  position: absolute;
  top: 18px;
  right: 16px;
  transform: rotate(-45deg);
  display: block;
  width: 8px;
  height: 8px;
  content: "";
  border: 1px solid #fff;
  border-width: 3px 3px 0px 0px;
}

.back-top:hover:before {
  background-color: var(--red);
}

.site-footer small {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 800;
  letter-spacing: 0.18em;
}

@media (max-width: 1200px) {
  .footer-contact {
    margin-right: auto;
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    width: min(100% - 40px, 720px);
  }
  .footer-lead {
    grid-template-columns: 1fr;
  }
  .footer-lead p {
    font-size: 28px;
  }
  .footer-contact {
    width: 100%;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    padding: 28px;
  }

  .site-footer small {
    font-size: 10px;
  }

  .site-footer {
    padding: 40px 0 30px;
  }
}

@media (max-width: 370px) {
  .footer-lead p {
    font-size: 22px;
  }
}
