/* ===================
   FOOTER STYLES
   =================== */

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #ffffff;
  padding: 1.7rem 0 2.2rem;
  margin-top: 3rem;
}

/* Two-Tier Footer (Option 3) */
.site-footer.two-tier-footer {
  border-top: none;
  background: #ffffff;
  padding: 0;
  margin-top: 0;
}

.two-tier-footer .footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.two-tier-footer .footer-brand {
  max-width: 300px;
}

.two-tier-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.two-tier-footer .footer-logo .logo-mark {
  width: 26px;
  height: 26px;
}

.two-tier-footer .footer-logo .logo-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.two-tier-footer .footer-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.two-tier-footer .footer-columns {
  display: flex;
  gap: 3.5rem;
}

.two-tier-footer .footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.two-tier-footer .footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.two-tier-footer .footer-col a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.two-tier-footer .footer-col a:hover {
  color: var(--color-accent);
}

.two-tier-footer .footer-cta-btn {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--color-accent);
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.85rem;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.two-tier-footer .footer-cta-btn:hover {
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.two-tier-footer .footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: #f8f9ff;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.two-tier-footer .footer-copy {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0;
}

.two-tier-footer .footer-legal {
  display: flex;
  gap: 1.25rem;
}

.two-tier-footer .footer-legal a {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.two-tier-footer .footer-legal a:hover {
  color: var(--color-accent);
}

/* Two-Tier Footer Responsive */
@media (max-width: 768px) {
  .two-tier-footer .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .two-tier-footer .footer-brand {
    max-width: none;
    text-align: center;
  }

  .two-tier-footer .footer-logo {
    justify-content: center;
  }

  .two-tier-footer .footer-columns {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .two-tier-footer .footer-col {
    align-items: center;
    text-align: center;
    min-width: 140px;
  }

  .two-tier-footer .footer-bottom-bar {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* Light Footer (Option 2) */
.site-footer.light-footer {
  border-top: 3px solid var(--color-accent);
  background: #f8f9ff;
  padding: 2.5rem 0 1.75rem;
  margin-top: 0;
}

.light-footer .footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(207, 214, 244, 0.6);
}

.light-footer .footer-brand {
  max-width: 480px;
}

.light-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.light-footer .footer-logo .logo-mark {
  width: 26px;
  height: 26px;
}

.light-footer .footer-logo .logo-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.light-footer .footer-tagline {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.light-footer .footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.light-footer .footer-nav a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.light-footer .footer-nav a:hover {
  color: var(--color-accent);
}

.light-footer .footer-cta-btn {
  padding: 0.45rem 1rem;
  background: var(--color-accent);
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.light-footer .footer-cta-btn:hover {
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.light-footer .footer-bottom {
  display: flex;
  justify-content: center;
  padding-top: 1.25rem;
}

.light-footer .footer-copy {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Light Footer Responsive */
@media (max-width: 600px) {
  .light-footer .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .light-footer .footer-brand {
    max-width: none;
  }

  .light-footer .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Dark Footer (Option 1) */
.site-footer.dark-footer {
  border-top: none;
  background: linear-gradient(135deg, #1f2352, #0e1025);
  padding: 3rem 0 2rem;
  margin-top: 0;
  color: #ffffff;
}

.dark-footer .footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-footer .footer-brand {
  max-width: 480px;
}

.dark-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.dark-footer .footer-logo .logo-mark {
  width: 28px;
  height: 28px;
  filter: brightness(1.2);
}

.dark-footer .footer-logo .logo-text {
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
}

.dark-footer .footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0;
}

.dark-footer .footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dark-footer .footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dark-footer .footer-nav a:hover {
  color: #ffffff;
}

.dark-footer .footer-cta-btn {
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dark-footer .footer-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.dark-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
}

.dark-footer .footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.dark-footer .footer-social {
  display: flex;
  gap: 1rem;
}

.dark-footer .footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.dark-footer .footer-social a:hover {
  color: #ffffff;
}

/* Dark Footer Responsive */
@media (max-width: 600px) {
  .dark-footer .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dark-footer .footer-brand {
    max-width: none;
  }

  .dark-footer .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dark-footer .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Legacy Footer Styles */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
