/* ============================================
   SummitFX — Shared footer styles
   Loaded by index, personal, business, and all
   5 product pages. Footer markup itself lives
   in /footer.html and is injected via components.js
   ============================================ */

footer {
  background: #080f1a;
  padding: 4rem 3rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Footer logo links back to homepage */
.footer-logo-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-logo-link:hover {
  opacity: 0.85;
}

/* Contact us block (lives inside .footer-brand, under the logo) */
.footer-contact-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-label:hover {
  color: #fff;
}
.footer-contact-phone {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.85rem;
  transition: color 0.2s;
}
.footer-contact-phone:hover {
  color: var(--azure);
}
.footer-contact-address {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--azure-dim);
  border: 1px solid var(--azure-border);
  color: var(--azure);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
}
.footer-social a:hover {
  background: rgba(0, 181, 224, 0.25);
  border-color: var(--azure);
  color: var(--azure);
  transform: translateY(-1px);
}

/* WhatsApp channel buttons (sit below the LinkedIn/FB social row) */
.footer-wa-channels {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.footer-wa-btn:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.6);
  transform: translateY(-1px);
}
.footer-wa-btn svg {
  flex-shrink: 0;
}

/* Column headings and links */
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.65rem;
}
.footer-col a {
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}

/* Bottom strip */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}
.footer-disclaimer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-disclaimer span:first-child {
  flex: 1;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.4);
}
.footer-disclaimer a {
  color: var(--azure);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-disclaimer a:hover {
  color: #fff;
}
.footer-disclaimer .fca-tag {
  flex-shrink: 0;
}
.footer-copyright {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}
.fca-tag {
  background: var(--azure-dim);
  border: 1px solid var(--azure-border);
  color: var(--azure);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 560px) {
  footer {
    padding: 3rem 1.5rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-disclaimer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
  }
  .footer-copyright {
    text-align: center;
  }
}
