/* Footer */
.footer {
  margin-top: 60px;
  padding: 60px 0 0;
  background: #1a1f25;
  color: #e8eaed;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.footer__logo span {
  color: #f08a24;
}

.footer__about {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #b0b5ba;
}

/* Footer socials */
.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: #f08a24;
  transform: translateY(-3px);
}

.footer__social-link .social-icon {
  width: 22px;
  height: 22px;
  margin-right: 0;
  transition: filter 0.3s ease;
}

/* Footer titles */
.footer__title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #f08a24;
  border-radius: 2px;
}

/* Footer navigation */
.footer__nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav li {
  margin-bottom: 12px;
}

.footer__link {
  font-size: 14px;
  color: #b0b5ba;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer__link:hover {
  color: #f08a24;
  padding-left: 5px;
}

/* Footer contacts */
.footer__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__contacts li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #b0b5ba;
}

.footer__contacts i {
  width: 18px;
  font-size: 14px;
  color: #f08a24;
}

.footer__contacts a {
  color: #b0b5ba;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contacts a:hover {
  color: #f08a24;
}

/* Footer bottom */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  font-size: 13px;
  color: #8a9098;
}

.footer__copyright p,
.footer__dev p {
  margin: 0;
}

.footer__dev a {
  color: #f08a24;
  text-decoration: none;
}

.footer__dev a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .footer {
    margin-top: 40px;
    padding: 40px 0 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    text-align: center;
  }

  .footer__title {
    text-align: center;
  }

  .footer__title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__nav {
    text-align: center;
  }

  .footer__nav li a:hover {
    padding-left: 0;
  }

  .footer__contacts li {
    justify-content: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__about,
  .footer__logo {
    text-align: center;
  }

  .footer__social-link {
    width: 40px;
    height: 40px;
  }

  .footer__social-link .social-icon {
    width: 18px;
    height: 18px;
  }
}