/* ═══════════════════════════════════════════════════════════════
   Footer — matches PageFooter (front_theme.js) design
   ═══════════════════════════════════════════════════════════════ */

.footer {
  position: relative;
  z-index: 20;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 80px 40px;
  font-family: var(--font-display);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Top section: brand left, columns right ─────────────────── */
.ft-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  align-items: flex-start;
}

/* ── Brand column ───────────────────────────────────────────── */
.ft-brand {
  max-width: 300px;
  flex-shrink: 0;
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ft-logo-img {
  height: 32px;
  opacity: 0.9;
}

.ft-description {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-display);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* ── Social icons ───────────────────────────────────────────── */
.ft-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.ft-social-icon {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
  display: flex;
  text-decoration: none;
}

.ft-social-icon:hover {
  color: #00d1b2;
}

/* ── Link columns ───────────────────────────────────────────── */
.ft-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  flex: 1;
}

.ft-section-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.ft-link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-display);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.ft-link:hover {
  color: rgba(255,255,255,0.8);
}

/* ── Bottom bar ─────────────────────────────────────────────── */
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ft-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-display);
  margin: 0;
}

.ft-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ft-legal-link {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-display);
  text-decoration: none;
  transition: color 0.2s;
}

.ft-legal-link:hover {
  color: rgba(255,255,255,0.8);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer {
    padding: 60px 32px 32px;
  }

  .ft-top {
    flex-direction: column;
    gap: 48px;
  }

  .ft-brand {
    max-width: 100%;
  }

  .ft-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 48px 20px 28px;
  }

  .ft-cols {
    grid-template-columns: 1fr;
  }

  .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
