.footer {
  flex-shrink: 0;
  padding: 24px 20px 32px;
}

.footer-inner {
  max-width: 402px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-text {
  color: var(--color-system-300);
  margin: 0;
  line-height: 1.6;
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-company-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.footer-link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--color-system-300);
  cursor: pointer;
  line-height: 1.6;
}

.footer-link:hover {
  color: var(--color-system-100);
  text-decoration: underline;
}

.footer-divider {
  color: var(--color-system-300);
  font-size: 12px;
  line-height: 1;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--color-system-300);
}

.footer-instagram:hover {
  color: var(--color-system-100);
}

.footer-copyright {
  font-size: 11px;
}

.modal-body .footer-modal-content {
  text-align: left;
  color: var(--color-bg-back);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  padding: 0 4px;
}

.footer-modal-section + .footer-modal-section {
  margin-top: 20px;
}

.footer-modal-content > .footer-modal-p:first-child {
  margin-bottom: 16px;
}

.footer-modal-h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
}

.footer-modal-h4 {
  font-weight: 700;
  margin-top: 8px;
}

.footer-modal-p {
  margin: 0;
}

.footer-modal-p + .footer-modal-p {
  margin-top: 4px;
}

.footer-modal-sub {
  padding-left: 12px;
}

@media (min-width: 1024px) {
  .modal-dialog.footer-modal-dialog {
    max-width: 720px;
  }
}
