/* Footer Styles - Global */
.footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 4rem 0 2rem;
}

@media (min-width: 1024px) {
  .footer {
    padding: 5rem 0 2rem;
  }
}

.footer-content {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--background);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-description {
  color: color-mix(in srgb, var(--background) 60%, transparent);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 2.5rem;
  height: 2.5rem;
  background-color: color-mix(in srgb, var(--background) 10%, transparent);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.footer-social-btn:hover {
  background-color: color-mix(in srgb, var(--background) 20%, transparent);
}

.footer-nav-title,
.footer-services-title,
.footer-contacts-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--background);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  color: color-mix(in srgb, var(--background) 60%, transparent);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--background);
}

.footer-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: color-mix(in srgb, var(--background) 60%, transparent);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

a.footer-contact-item:hover {
  color: var(--background);
}

.footer-messengers {
  margin-top: 1.5rem;
}

.footer-messengers-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--background);
}

.footer-messengers-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-messenger-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--background) 60%, transparent);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid color-mix(in srgb, var(--background) 20%, transparent);
  transition: all 0.2s ease;
}

.footer-messenger-item:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.footer-messenger-item svg {
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--background) 10%, transparent);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: color-mix(in srgb, var(--background) 40%, transparent);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  color: color-mix(in srgb, var(--background) 40%, transparent);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--background);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-messengers-list {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-messenger-item {
    justify-content: center;
  }
}