/* Shared dark footer — self-contained (works on any page) */
:root {
  --nano-footer-primary: #2196f3;
}

.nano-footer {
  background: #0f172a;
  color: #94a3b8;
}

.nano-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.nano-footer a:hover {
  color: var(--nano-footer-primary);
}

.nano-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 20px;
}

.nano-footer__grid--desktop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.nano-col h3 {
  margin: 0 0 14px;
  font-size: 15px;
  color: #e2e8f0;
}

.nano-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nano-col li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.nano-contact-list li {
  margin-bottom: 8px;
}

.nano-footer__mobile {
  display: none;
}

.nano-footer__bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  line-height: 1.8;
}

.nano-footer__bottom p {
  margin: 0;
}

.nano-legal-links {
  display: flex;
  gap: 14px;
}

@media (max-width: 768px) {
  .nano-footer__container {
    padding: 36px 16px 16px;
  }

  .nano-footer__grid--desktop {
    display: none;
  }

  .nano-footer__mobile {
    display: block;
  }

  .nano-footer__mobile details {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 10px 0;
  }

  .nano-footer__mobile summary {
    list-style: none;
    cursor: pointer;
    color: #e2e8f0;
    font-weight: 600;
    padding: 6px 0;
  }

  .nano-footer__mobile summary::-webkit-details-marker {
    display: none;
  }

  .nano-footer__mobile ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
  }

  .nano-footer__mobile li {
    margin-bottom: 8px;
  }

  .nano-footer__bottom {
    flex-direction: column;
    gap: 4px;
  }

  .nano-legal-links {
    gap: 12px;
    flex-wrap: wrap;
  }
}
