.cbx-site-footer {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid #ddd6fe !important;
  background: #f5f3ff !important;
  color: #312e81 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  text-align: left !important;
}

.cbx-site-footer *,
.cbx-site-footer *::before,
.cbx-site-footer *::after {
  box-sizing: border-box;
}

.cbx-footer-shell {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 26px;
}

.cbx-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(150px, 0.8fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cbx-footer-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 11px;
  margin: 0 !important;
  color: #1e1b4b !important;
  text-decoration: none !important;
}

.cbx-footer-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(30, 27, 75, 0.12));
}

.cbx-footer-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.cbx-footer-brand-copy strong {
  color: #1e1b4b !important;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.cbx-footer-brand-copy span {
  margin-top: 5px;
  color: #6366f1 !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cbx-footer-brand-block > p {
  max-width: 42ch;
  margin: 17px 0 14px !important;
  color: #312e81 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
}

.cbx-footer-trust-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4f46e5 !important;
  font-size: 12px;
  font-weight: 650;
}

.cbx-footer-trust-note::before {
  content: "✓";
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 11px;
}

.cbx-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.cbx-footer-column h2 {
  margin: 0 0 16px !important;
  color: #4f46e5 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}

.cbx-footer-column a,
.cbx-footer-column button {
  display: inline-block !important;
  margin: 0 0 11px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #312e81 !important;
  font: inherit !important;
  font-size: 13.5px !important;
  font-weight: 550 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: pointer;
}

.cbx-footer-column a:hover,
.cbx-footer-column button:hover {
  color: #4f46e5 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.cbx-footer-contact p {
  margin: 0 0 12px !important;
  color: #312e81 !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
}

.cbx-footer-contact strong {
  color: #1e1b4b !important;
}

.cbx-footer-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid #ddd6fe;
}

.cbx-site-footer .cbx-startup-india {
  min-height: 50px;
  padding: 9px 15px;
  border-color: #ddd6fe;
}

.cbx-site-footer .cbx-footer-social-link {
  border-color: #c7d2fe;
  background: #fff;
  color: #312e81 !important;
}

.cbx-site-footer .cbx-footer-social-link:hover {
  border-color: #6366f1;
  background: #e0e7ff;
  color: #4f46e5 !important;
}

.cbx-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ddd6fe;
}

.cbx-footer-bottom p {
  margin: 0 !important;
  color: #5b6473 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

@media (max-width: 980px) {
  .cbx-footer-grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .cbx-footer-contact {
    grid-column: 2 / -1;
  }
}

@media (max-width: 680px) {
  .cbx-footer-shell {
    width: min(100% - 32px, 1360px);
    padding-top: 40px;
  }

  .cbx-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .cbx-footer-brand-block,
  .cbx-footer-contact {
    grid-column: 1 / -1;
  }

  .cbx-footer-trust-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cbx-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .cbx-footer-grid {
    grid-template-columns: 1fr;
  }

  .cbx-footer-brand-block,
  .cbx-footer-contact {
    grid-column: auto;
  }
}

.cbx-footer-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(49, 46, 129, 0.16);
}

.cbx-footer-connect--compact {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.cbx-footer-connect--dark {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.cbx-startup-india {
  display: inline-flex !important;
  align-items: center;
  min-height: 48px;
  margin: 0 !important;
  padding: 8px 14px;
  border: 1px solid rgba(30, 27, 75, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 27, 75, 0.08);
  line-height: 1;
}

.cbx-startup-india:hover {
  border-color: rgba(99, 102, 241, 0.42);
  transform: translateY(-1px);
}

.cbx-startup-india img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 190px;
}

.cbx-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cbx-footer-social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0 !important;
  padding: 9px 13px;
  border: 1px solid rgba(49, 46, 129, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #312e81 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cbx-footer-social-link:hover {
  border-color: #6366f1;
  background: #fff;
  color: #4f46e5 !important;
  transform: translateY(-1px);
}

.cbx-footer-connect--dark .cbx-footer-social-link {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.cbx-footer-connect--dark .cbx-footer-social-link:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.cbx-footer-social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .cbx-footer-connect {
    align-items: flex-start;
    flex-direction: column;
  }

  .cbx-footer-socials {
    width: 100%;
  }
}
