/* Lendora Services - Footer & Modal CSS */
.site-footer {
  background-color: var(--color-navy-900);
  color: var(--color-slate-300);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

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

.footer-brand .brand-logo {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--color-slate-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--color-slate-400);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-white);
}

/* Legal Notice Banner in Footer */
.footer-legal-notice {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  font-size: 0.82rem;
  color: var(--color-slate-400);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.footer-legal-notice p + p {
  margin-top: 0.75rem;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--color-slate-500);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* Modal Popup System */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.3s ease-out;
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  color: var(--color-navy-900);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-slate-500);
  cursor: pointer;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.92rem;
  color: var(--color-slate-700);
  line-height: 1.6;
}

.modal-body h4 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-navy-900);
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--color-slate-200);
  display: flex;
  justify-content: flex-end;
  background-color: var(--color-slate-50);
}
