body { margin: 0; }
.onflo-new-footer {
  --onflo-navy-90: #0B3057;
  --onflo-blue-80: #005A8E;
  --onflo-blue-50: #007BC3;
  --onflo-sky-40: #45B6F2;
  --onflo-sky-20: #ADE1FB;
  --onflo-ink: #1E293B;
  --onflo-font-display: 'Urbanist', system-ui, sans-serif;
  --onflo-font-body: 'Inter', system-ui, sans-serif;
  background: var(--onflo-navy-90);
  color: var(--onflo-sky-20);
  padding: 48px 0 24px;
  font-family: var(--onflo-font-body);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
.onflo-new-footer *, .onflo-new-footer *::before, .onflo-new-footer *::after { box-sizing: border-box; }
.onflo-new-footer img { max-width: 100%; }
.onflo-new-footer a { text-decoration: none; }

.onflo-new-footer .onflo-container {
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}
.onflo-new-footer .onflo-svg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}
.onflo-new-footer .onflo-icon {
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
  font-size: 20px;
  line-height: 1;
  user-select: none;
}

.onflo-new-footer-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px clamp(40px, 5vw, 80px);
  align-items: start !important;
}

.onflo-new-footer-links {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 0.8fr 0.8fr;
  gap: 40px clamp(24px, 3vw, 48px);
  align-items: start;
}
.onflo-new-footer-brand {
  display: grid;
  gap: 20px;
  align-content: start;
  padding-right: clamp(28px, 3vw, 52px);
  border-right: 1px solid rgba(173,225,251,0.18);
}
.onflo-new-footer-brand > img,
.onflo-new-footer-brand > .onflo-new-footer-logo > img {
  height: 34px;
  width: auto;
  display: block;
  /* Force the logo to render pure white on the dark footer background, regardless
     of the source SVG's actual fill colors — brightness(0) crushes it to black,
     invert(1) flips that to white. No separate white-logo asset needed. */
  filter: brightness(0) invert(1);
}
.onflo-new-footer-contact { display: grid; gap: 13px; font-style: normal; }
.onflo-new-footer-contact .row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.onflo-new-footer-contact .onflo-icon,
.onflo-new-footer-contact .onflo-svg-icon { color: var(--onflo-sky-40); }
.onflo-new-footer-contact .txt { font: 600 12.5px/1.5 var(--onflo-font-body); color: #fff; }
.onflo-new-footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.onflo-new-footer-social a { display: inline-flex; align-items: center; justify-content: center; color: var(--onflo-sky-20); transition: color 160ms ease; }
.onflo-new-footer-social a:hover,
.onflo-new-footer-social a:focus-visible { color: #fff; }
.onflo-new-footer-social svg { fill: currentColor; }
.onflo-new-footer-rule { height: 1px; background: rgba(173,225,251,0.2); margin: 4px 0; }

.onflo-new-footer-signup { display: grid; gap: 12px; align-content: start; }
.onflo-new-footer-signup p {
  margin: 0;
  font: 600 18px/1.25 var(--onflo-font-display);
  letter-spacing: -0.01em;
  color: #fff;
}
.onflo-new-footer-signup p { margin: 0; font: 400 12.5px/1.55 var(--onflo-font-body); color: var(--onflo-sky-20); }
/* Reserve space for the lazily loaded HubSpot form so the footer does not jump when it appears. Adjust to the rendered form height. */
#onflo-newsletter-hubspot-form { min-height: 90px; }

.onflo-new-footer-col { display: grid; gap: 10px; align-content: start; }
.onflo-new-footer-col h2 {
  margin: 0;
  font: 800 13px/1 var(--onflo-font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.onflo-new-footer-col .bar { width: 40px; height: 3px; border-radius: 2px; background: var(--onflo-sky-40); margin-bottom: 8px; }
.onflo-new-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.onflo-new-footer-col a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  font: 400 13.5px/1.5 var(--onflo-font-body);
  color: var(--onflo-sky-20);
}
.onflo-new-footer-col a:hover { color: #fff; }
/* Grow-on-hover underline, same mechanic as the header's submenu item labels
   (.onav-item-label::after in header.twig): a 0-width bar that animates to
   full width on hover/focus, rather than a static always-on underline. */
.onflo-new-footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--onflo-sky-40);
  transition: width 220ms ease;
}
.onflo-new-footer-col a:hover::after,
.onflo-new-footer-col a:focus-visible::after {
  width: 100%;
}
.onflo-new-footer-col > ul > li > a {
  text-decoration: none !important;
}

.onflo-new-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(173,225,251,0.2);
}
.onflo-new-footer-legal { display: grid; gap: 8px; }
.onflo-new-footer-legal > span:first-child { font: 400 13px/1.4 var(--onflo-font-body); color: rgba(173,225,251,0.75); }
.onflo-new-footer-legal nav ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.onflo-new-footer-legal nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  font: 400 13px/1.4 var(--onflo-font-body);
  color: rgba(173,225,251,0.75);
  text-decoration: none !important;
}
.onflo-new-footer-legal nav a:hover { color: #fff; }
/* Same grow-on-hover underline mechanic as the nav columns above. */
.onflo-new-footer-legal nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--onflo-sky-40);
  transition: width 220ms ease;
}
.onflo-new-footer-legal nav a:hover::after,
.onflo-new-footer-legal nav a:focus-visible::after {
  width: 100%;
}

.onflo-new-footer-badges { display: flex; gap: clamp(10px, 1.2vw, 16px); align-items: start; flex-wrap: wrap; }
.onflo-new-footer-badge { display: grid; justify-items: center; gap: 6px; width: 92px; text-align: center; }
.onflo-new-footer-badge .slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
}
.onflo-new-footer-badge .slot img { width: 100%; height: 100%; object-fit: contain; }
.onflo-new-footer-badge .slot .onflo-icon { color: rgba(173,225,251,0.5); font-size: 22px; }
.onflo-new-footer-badge .name { font: 700 10px/1.2 var(--onflo-font-body); letter-spacing: 0.03em; text-transform: uppercase; color: #fff; }
.onflo-new-footer-badge .state { font: 400 9.5px/1.2 var(--onflo-font-body); color: rgba(173,225,251,0.7); }

@media (max-width: 1200px) {
  .onflo-new-footer-links { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
}
@media (max-width: 1080px) {
  .onflo-new-footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .onflo-new-footer-brand { width: auto; padding-right: 0; border-right: 0; max-width: 480px; }
}
@media (max-width: 620px) {
  .onflo-new-footer-links { grid-template-columns: 1fr; gap: 40px; }
  .onflo-new-footer-bar { flex-direction: column; align-items: flex-start; gap: 32px; }
}
.onflo-new-footer-logo { display:inline-block; line-height:0; }
