/* Harbor footer: final shared rules and responsive variants. */
.hb-footer {
  padding: 64px 0 32px;
}

.hb-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.hb-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hb-footer__logo-link {
  align-self: flex-start;
  display: inline-flex;
}

.hb-footer__logo {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 64px;
  object-fit: contain;
}

.hb-footer a {
  color: inherit;
  text-decoration: none;
}

.hb-footer a:hover {
  text-decoration: underline;
}

.hb-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.hb-footer__column a {
  font-size: inherit;
  line-height: inherit;
}

.hb-footer__legal {
  font-size: 14px;
  line-height: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--ocf-border);
  padding-top: 32px;
  margin-top: 40px;
}

.hb-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 1199px) {
  .hb-footer__grid {
    gap: 32px;
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .hb-footer__brand {
    grid-column: 1/-1;
  }
}

@media (max-width: 599px) {
  .hb-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .hb-footer__brand {
    grid-column: 1/-1;
  }
  .hb-footer__legal {
    flex-direction: column;
  }
}

.hb-footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  max-width: 100%;
}

.hb-footer__contact svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hb-footer__contact span {
  overflow-wrap: anywhere;
}

.hb-footer__column h2 {
  color: inherit;
  font: 500 14px/20px var(--font-body);
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.hb-footer__column h2 a {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.hb-footer__brand .hb-phone {
  font-size: 18px;
  line-height: 1.5;
}

.hb-footer {
  background: var(--ocf-bg-dark);
  color: var(--ocf-heading-alt);
  margin-top: 0;
  border-top: 1px solid color-mix(in srgb, var(--ocf-heading-alt) 18%, var(--ocf-bg-dark));
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hb-footer > .container-global {
  position: relative;
  z-index: 1;
}

.hb-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/wp-content/uploads/2026/09/harbor-texture31-speckles.png") center top / 960px auto repeat;
  opacity: .16;
  mix-blend-mode: screen;
  display: none;
}

/* OCF_AGENT_BLOCK:footer-two-column-layout START */
.hb-footer__grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.hb-footer__brand {
  max-width: 560px;
}

.hb-footer__column {
  justify-self: start;
  min-width: 0;
}

.hb-footer__column ul {
  gap: 12px;
}

.hb-footer__legal {
  align-items: center;
  margin-top: 48px;
}

@media (max-width: 1199px) {
  .hb-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, .7fr);
    gap: 48px;
  }

  .hb-footer__brand {
    grid-column: auto;
  }
}

@media (max-width: 599px) {
  .hb-footer {
    padding: 48px 0 28px;
  }

  .hb-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hb-footer__brand {
    grid-column: auto;
  }

  .hb-footer__legal {
    margin-top: 36px;
    gap: 12px;
  }
}
/* OCF_AGENT_BLOCK:footer-two-column-layout END */
