/* ============ FOOTER ============ */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem 1rem 1.5rem;
}

.footer-brand-area {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  color: var(--ink);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 450px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-toggle-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  cursor: pointer;
  margin-top: -0.2rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.footer-toggle-btn:hover {
  background: var(--paper-2);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.footer-toggle-btn i {
  transition: transform 0.4s ease;
}

.footer-extra-container {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  width: 100%;
}

.footer-extra-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-divider {
  height: 1px;
  background: var(--line);
  width: 100%;
  margin: 0.5rem 0 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  width: 100%;
}

.footer-copyright {
  color: var(--muted);
}

.footer-made-with {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--ink);
}
