/* Footer Styles - Finplan Design System */
.footer-front {
  margin-top: 5rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.footer-front .blurred-card {
  padding: 40px 36px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
  align-self: flex-start;
}

.footer-title {
  color: var(--slate-900);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 16px;
}

.footer-description {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--slate-700);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-link.active {
  color: var(--primary);
  font-weight: 600;
}

.footer-mail {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
  margin-top: 4px;
  display: inline-block;
}

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

.media-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.socmed-link {
  align-items: center;
  border-radius: 8px;
  color: var(--slate-600);
  display: inline-flex;
  justify-content: center;
  width: 36px;
  height: 36px;
  text-decoration: none;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.socmed-link img,
.socmed-link svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.socmed-link:hover {
  background-color: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--slate-200);
  color: var(--slate-500);
  position: relative;
  margin-top: 36px;
  padding-top: 20px;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  color: var(--slate-500);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bottom-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

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

  .footer-front .blurred-card {
    padding: 30px 24px 20px;
  }
}

@media (max-width: 640px) {
  .footer-front {
    margin-top: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

