/* =============================================================
   FOOTER — Signet Capital Group
   Template: Elementor Footer #77
   BEM prefix: scg-footer__
   Version: 1.3.2
   All containers use content_width:"full" (e-con-full) —
   no .e-con-inner wrapper; target BEM classes directly.
   ============================================================= */

/* ── Outer section ────────────────────────────────────────────── */
footer.elementor-location-footer .scg-footer {
  background-color: #093868;
  padding-top: 64px !important;
  padding-bottom: 32px !important;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* ── Inner max-width wrapper ──────────────────────────────────── */
footer.elementor-location-footer .scg-footer__inner {
  max-width: 1176px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Top row (brand + nav) ────────────────────────────────────── */
footer.elementor-location-footer .scg-footer__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 64px;
  width: 100%;
}

/* ── Brand / logo column ──────────────────────────────────────── */
footer.elementor-location-footer .scg-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 0 1 auto !important;
  max-width: 360px !important;
}

/* Logo image */
footer.elementor-location-footer .scg-footer__logo img {
  width: 200px !important;
  max-width: 200px !important;
  height: auto;
  display: block;
}
footer.elementor-location-footer .scg-footer__logo .elementor-widget-container {
  padding: 0;
}

/* Tagline */
footer.elementor-location-footer
  .scg-footer__tagline
  .elementor-widget-container,
footer.elementor-location-footer .scg-footer__tagline .elementor-text-editor {
  padding: 0;
  margin: 0;
}
footer.elementor-location-footer .scg-footer__tagline p {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 0;
  max-width: 360px;
}

/* ── Social icons ─────────────────────────────────────────────── */
footer.elementor-location-footer
  .scg-footer__social
  .elementor-widget-container {
  padding: 0;
}
footer.elementor-location-footer
  .scg-footer__social
  .elementor-social-icons-wrapper {
  display: flex;
  justify-content: unset;
  flex-direction: row;
  gap: 12px;
  flex-wrap: nowrap;
}
footer.elementor-location-footer .scg-footer__social .elementor-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  padding: 0;
  margin: 0;
}
footer.elementor-location-footer
  .scg-footer__social
  .elementor-social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
footer.elementor-location-footer .scg-footer__social .elementor-social-icon i {
  font-size: 16px;
  color: inherit;
  line-height: 1;
}

/* ── Nav columns container ────────────────────────────────────── */
.elementor-77 .elementor-element.elementor-element-scgft08 {
  flex: 1 1 0 !important;
  justify-content: flex-end;
}

footer.elementor-location-footer .scg-footer__nav {
  display: flex;
  flex-direction: row;
  gap: 96px;
  flex-wrap: nowrap;
  align-items: flex-start;
  flex: 0 1 auto;
}

/* ── Each link column ─────────────────────────────────────────── */
footer.elementor-location-footer .scg-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 1 auto !important;
  width: auto;
}

/* Column heading */
footer.elementor-location-footer
  .scg-footer__col-heading
  .elementor-widget-container {
  padding: 0;
}
footer.elementor-location-footer
  .scg-footer__col-heading
  .elementor-heading-title {
  font-family: "DM Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  letter-spacing: 0.4px !important;
  margin: 0;
  padding: 0;
  text-transform: none !important;
}

/* ── Link lists ───────────────────────────────────────────────── */
footer.elementor-location-footer .scg-footer__links .elementor-widget-container,
footer.elementor-location-footer .scg-footer__links .elementor-text-editor {
  padding: 0;
  margin: 0;
}
footer.elementor-location-footer .scg-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
footer.elementor-location-footer .scg-footer__links li {
  margin: 0;
  padding: 0;
}
footer.elementor-location-footer .scg-footer__links a {
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  display: block !important;
}
footer.elementor-location-footer .scg-footer__links a:hover {
  color: #ffffff;
}

/* ── Bottom bar ───────────────────────────────────────────────── */
footer.elementor-location-footer .scg-footer__bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 32px !important;
  gap: 16px !important;
  width: 100%;
}

/* Copyright text */
footer.elementor-location-footer
  .scg-footer__copyright
  .elementor-widget-container,
footer.elementor-location-footer .scg-footer__copyright .elementor-text-editor {
  padding: 0;
  margin: 0;
}
footer.elementor-location-footer .scg-footer__copyright p {
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin: 0 !important;
}

/* ── Bottom bar links (Privacy / Terms) ──────────────────────── */
footer.elementor-location-footer
  .scg-footer__bottom-links
  .elementor-widget-container,
footer.elementor-location-footer
  .scg-footer__bottom-links
  .elementor-text-editor {
  padding: 0;
  margin: 0;
}
footer.elementor-location-footer .scg-footer__bottom-links p {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
footer.elementor-location-footer .scg-footer__bottom-links a {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
footer.elementor-location-footer .scg-footer__bottom-links a:hover {
  color: #ffffff;
}

/* ── Responsive: ≤1024px (tablet) ────────────────────────────── */
@media (max-width: 1024px) {
  /* Override Elementor's fixed 320px brand — allow it to shrink */
  .elementor-77 .elementor-element.elementor-element-scgft04 {
    flex: 0 1 auto !important;
    max-width: 220px !important;
    min-width: 0 !important;
  }

  footer.elementor-location-footer .scg-footer__brand {
    min-width: 0;
  }

  /* Reduce gap so link text stops wrapping */
  footer.elementor-location-footer .scg-footer__nav {
    gap: 40px !important;
    min-width: 0;
  }

  footer.elementor-location-footer .scg-footer__col {
    flex: 0 1 auto;
    min-width: 0;
  }
}

/* ── Responsive: ≤767px (mobile) ─────────────────────────────── */
@media (max-width: 767px) {
  footer.elementor-location-footer .scg-footer__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  footer.elementor-location-footer .scg-footer__top {
    flex-direction: column !important;
    gap: 40px !important;
  }

  /* Override Elementor's fixed 320px — brand goes full width */
  .elementor-77 .elementor-element.elementor-element-scgft04 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  footer.elementor-location-footer .scg-footer__brand {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Nav: 2-col CSS grid — Company/Funding row 1, Legal row 2 col 2 */
  footer.elementor-location-footer .scg-footer__nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    flex-wrap: unset !important;
  }

  /* Legal stays in column 2, row 2 */
  .elementor-77 .elementor-element.elementor-element-scgft0f {
    grid-column: 2 !important;
  }

  footer.elementor-location-footer .scg-footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
