/* ============================================================
   SafeCloud — Footer
   ============================================================ */

.site-footer {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  padding-block: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Brand column --- */
.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1rem;
}

.footer-brand .brand-logo-mark {
  width: 2.125rem;
  height: 2.125rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(56, 189, 248, 0.3));
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--txt-dim);
  line-height: 1.7;
}

/* --- Column headings --- */
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-col .link-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.footer-col .link-list a {
  font-size: 0.875rem;
  color: var(--txt-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col .link-list a:hover {
  color: var(--accent);
}

/* --- Bottom bar --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--txt-dim);
}
