/* ===== FOOTER ===== */
.footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0;
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 24px 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 2fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 18px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-primary);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.footer-logo i {
  font-size: 0.95rem;
  flex-shrink: 0;
  transform: translateY(-1px);
}

.footer-logo span {
  display: inline-block;
  max-width: 220px;
}

.footer-description {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.98rem;
  line-height: 1.65;
}

.footer-socials {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.22s ease;
}

.footer-socials a:hover {
  color: var(--accent-primary);
  border-color: rgba(255, 107, 53, 0.28);
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}

.footer-links-wrap {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 24px;
  align-items: start;
}

.footer-links h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  white-space: nowrap;
}

.footer-legal {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  max-width: 680px;
  text-align: right;
}

@media (max-width: 960px) {
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-copy {
    white-space: normal;
  }

  .footer-legal {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .footer-container {
    padding: 30px 24px 14px;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .footer-logo span {
    max-width: none;
  }

  .footer-links-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-description,
  .footer-links a {
    font-size: 0.92rem;
  }
}
