.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(79, 106, 104, 0.35);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
  margin-top: var(--space-section);
}

.footer__links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(79, 106, 104, 0.3);
}

.footer__links a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-heading);
}

.footer__contacts {
  text-align: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(79, 106, 104, 0.3);
}

.footer__contacts-label {
  display: block;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer__contacts ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer__contacts a {
  color: var(--color-heading);
  font-size: 0.9rem;
  word-break: break-word;
  transition: color var(--transition);
}

.footer__contacts a:hover {
  color: var(--color-accent-lime);
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 0;
}

.footer__payments img {
  height: 34px;
  width: auto;
  border-radius: 6px;
}

.footer__responsible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  padding-bottom: 1.5rem;
}

.footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #d32f2f;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.footer__responsible-text {
  color: var(--color-text);
  font-size: 0.9rem;
  max-width: 60ch;
  margin: 0;
}

.footer__copyright {
  text-align: center;
  color: var(--color-text);
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(79, 106, 104, 0.3);
}

.footer__copyright p {
  margin: 0;
}
