* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-section p,
.footer-section address,
.footer-section ul {
  font-size: 0.9rem;
  color: #bdc3c7;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: #34495e;
  color: #ffffff;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: #16a085;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #34495e;
  padding-top: 20px;
  color: #bdc3c7;
  font-size: 0.85rem;
}

.footer-nav {
  margin-top: 10px;
}

.footer-nav a {
  color: #bdc3c7;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* Адаптивность */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}