/* bCom Africa footer — matched to www.bcom.africa */
.bc-bcom-footer {
  --primary: #0b6bff;
  --primary-2: #094bb8;
  --footer-bg: linear-gradient(180deg, #0d2137 0%, #071426 45%, #020c1b 100%);
  --footer-border: rgba(11, 107, 255, 0.12);
  --footer-surface: rgba(255, 255, 255, 0.06);
  --footer-accent: var(--primary);
}

.bc-bcom-footer.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 2.5rem 0 0;
  margin-top: 0;
  color: #fff;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 1;
}

.bc-bcom-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 40px);
}

.bc-bcom-footer .footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.95fr 1.05fr 1fr 1fr minmax(10rem, 1fr);
  gap: 2rem 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--footer-border);
}

.bc-bcom-footer .footer-col-brand {
  grid-column: 1;
  align-self: start;
}

.bc-bcom-footer .footer-col-nav {
  grid-column: 2;
}

.bc-bcom-footer .footer-col-sms {
  grid-column: 3;
}

.bc-bcom-footer .footer-col-engage {
  grid-column: 4;
}

.bc-bcom-footer .footer-col-products {
  grid-column: 5;
}

.bc-bcom-footer .footer-col-solutions {
  grid-column: 6;
}

.bc-bcom-footer .footer-col-legal {
  grid-column: 7;
}

.bc-bcom-footer .footer-col-sms .footer-nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.bc-bcom-footer .footer-col-legal {
  justify-self: end;
  text-align: right;
}

.bc-bcom-footer .footer-col-legal .footer-links {
  align-items: flex-end;
}

.bc-bcom-footer .footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bc-bcom-footer .footer-col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.bc-bcom-footer .footer-col-nav .footer-nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.bc-bcom-footer .footer-col-engage .footer-col-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}

.bc-bcom-footer .footer-newsletter-title-short {
  display: none;
}

.bc-bcom-footer .footer-newsletter-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.bc-bcom-footer .footer-newsletter-form {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.bc-bcom-footer .newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid var(--footer-border);
  border-radius: 4px;
  background: var(--footer-surface);
  color: #fff;
  box-sizing: border-box;
}

.bc-bcom-footer .newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.bc-bcom-footer .newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.bc-bcom-footer .footer-engage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.bc-bcom-footer .newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: var(--footer-accent);
  color: #fff;
  flex-shrink: 0;
}

.bc-bcom-footer .newsletter-button:hover {
  opacity: 0.9;
}

.bc-bcom-footer .footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bc-bcom-footer .footer-cta-link {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--footer-accent);
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
}

.bc-bcom-footer .footer-cta-link:hover {
  background: var(--primary-2);
}

.bc-bcom-footer .footer-logo-link {
  display: inline-flex;
  text-decoration: none;
  color: #fff;
}

.bc-bcom-footer .footer-logo-text {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  animation: footer-bcom-pop 2.5s ease-in-out infinite;
}

@keyframes footer-bcom-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.bc-bcom-footer .footer-long-form {
  font-size: 1.0625rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.35rem 0 0;
  max-width: 280px;
  font-weight: 500;
}


.bc-bcom-footer .footer-social {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding-left: 0.35rem;
}

.bc-bcom-footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bc-bcom-footer .footer-social-link:hover {
  transform: translateY(-2px) scale(1.05);
}

.bc-bcom-footer .footer-social-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.bc-bcom-footer .footer-social-link--facebook { background: #1877f2; }
.bc-bcom-footer .footer-social-link--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.bc-bcom-footer .footer-social-link--threads { background: #101010; }
.bc-bcom-footer .footer-social-link--linkedin { background: #0a66c2; }
.bc-bcom-footer .footer-social-link--whatsapp { background: #25d366; }

.bc-bcom-footer .newsletter-button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.bc-bcom-footer .footer-badge svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

.bc-bcom-footer .footer-nav-links a,
.bc-bcom-footer .footer-products-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.bc-bcom-footer .footer-nav-links a:hover,
.bc-bcom-footer .footer-products-list a:hover {
  color: #fff;
}

.bc-bcom-footer .footer-col-products .footer-nav-links,
.bc-bcom-footer .footer-col-solutions .footer-nav-links {
  display: block;
  padding: 0;
  border: none;
}

.bc-bcom-footer .footer-products-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bc-bcom-footer .footer-col-legal .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.bc-bcom-footer .footer-col-legal .footer-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0.15rem 0 0.15rem 0.5rem;
  border-left: 2px solid var(--footer-border);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.bc-bcom-footer .footer-col-legal .footer-links a:hover {
  color: #fff;
  border-left-color: rgba(255, 255, 255, 0.5);
}

.bc-bcom-footer .footer-security-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--footer-border);
}

.bc-bcom-footer .footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.35rem 0.6rem;
  background: var(--footer-surface);
  border: 1px solid var(--footer-border);
  border-radius: 4px;
}

.bc-bcom-footer .footer-bar {
  padding: 1rem 0 1.25rem;
  text-align: center;
}

.bc-bcom-footer .footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.bc-bcom-footer .footer-copy a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.bc-bcom-footer .footer-copy a:hover {
  color: #fff;
}

@media (max-width: 1200px) {
  .bc-bcom-footer .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bc-bcom-footer .footer-col-brand,
  .bc-bcom-footer .footer-col-nav,
  .bc-bcom-footer .footer-col-sms,
  .bc-bcom-footer .footer-col-engage,
  .bc-bcom-footer .footer-col-products,
  .bc-bcom-footer .footer-col-solutions,
  .bc-bcom-footer .footer-col-legal {
    grid-column: auto;
  }
  .bc-bcom-footer .footer-col-legal {
    justify-self: start;
    text-align: left;
  }
  .bc-bcom-footer .footer-col-legal .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .bc-bcom-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bc-bcom-footer .footer-security-badges {
    justify-content: center;
  }
  .bc-bcom-footer .footer-social {
    flex-wrap: nowrap;
  }
  .bc-bcom-footer .footer-newsletter-title-long { display: none; }
  .bc-bcom-footer .footer-newsletter-title-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .bc-bcom-footer .footer-logo-text { animation: none; }
}
