.footer {
  background-color: #f9f9f9;
  color: #333;
  border-top: 1px solid #ddd;
  padding: 2rem 1rem 0 2rem;
  font-size: 14px;
}

.footer__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.footer__section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
}

.footer__subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #444;
}

.footer__text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
  margin-bottom: 0;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__item {
  margin-bottom: 0.5rem;
}

.footer__link {
  text-decoration: none;
  color: #666;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #000;
}

.footer__btn {
  display: inline-block;
  color: var(--primary-color);
  background-color: #f9f9f9;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer__bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.footer__copy {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0;
  padding-bottom: 14px;
}

@media (max-width: 900px) {
  .footer__wrapper {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer__wrapper {
    display: flex;
    flex-direction: column;
  }

  .footer {
    padding: 1.5rem 1rem;
  }
}

.footer__version {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: -4px;
}

.telegram-channel {
  background: var(--primary-color);
  color: var(--white-color);
}