/* ===========================================================
   06-footer.css - dark navy footer with brand / solutions / contacts
   columns plus the legal bar. The legacy single-row footer is hidden
   once the new markup is present.
   ============================================================= */

.bottom-bar {
  background:
    radial-gradient(600px 220px at 15% 0%, rgba(79, 107, 255, 0.22), transparent 60%),
    radial-gradient(700px 260px at 90% 10%, rgba(0, 194, 209, 0.14), transparent 60%),
    linear-gradient(180deg, #1a214d 0%, #12173a 100%);
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 !important;
}

.content .qi-footer {
  max-width: var(--qi-max);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 40px) 22px clamp(20px, 4vw, 40px);
}
.content .qi-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.content .qi-footer-brand p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--qi-text-on-dark-muted);
  margin: 14px 0 0 0;
  max-width: 380px;
}
.content .qi-footer-logo { display: flex; align-items: center; gap: 14px; }
.content .qi-footer-logo svg,
.content .qi-footer-logo img { height: 46px; width: auto; flex-shrink: 0; }
.content .qi-footer-logo strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #fff;
}
.content .qi-footer-logo small {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
.content .qi-footer h5 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 4px 0 14px 0;
}
.content .qi-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.content .qi-footer ul a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-radius: 6px;
}
.content .qi-footer ul a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.content .qi-footer-contact {
  display: grid;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
}
.content .qi-footer-contact > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.content .qi-footer-contact a { color: #fff; }
.content .qi-footer-contact .mdi {
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.content .qi-footer-legal {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
    padding-bottom: 20px !important;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.content .qi-footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.content .qi-footer-legal a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.content .qi-footer-legal a:hover { color: #fff; text-decoration: underline; }

/* Legacy single-row footer content stays in the DOM but is not shown. */
.bottom-bar .qi-legacy-footer { display: none; }

@media (max-width: 800px) {
  .content .qi-footer-grid { grid-template-columns: 1fr; }
}
