/* 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:business-hours-footer START */
.hb-footer__hours {
  padding-left: 14px;
  border-left: 2px solid var(--ocf-primary, #E8731C);
}

.hb-footer__hours h2 {
  margin: 0 0 8px;
  color: var(--ocf-primary, #E8731C);
  font-size: 1rem;
  font-weight: 600;
}

.hb-footer__hours p {
  margin: 0;
  color: var(--ocf-body, #fff);
  font-size: 14px;
  line-height: 1.5;
}

.hb-footer__hours p + p {
  margin-top: 3px;
}
/* OCF_AGENT_BLOCK:business-hours-footer END */

/* OCF_AGENT_BLOCK:mohr-chat-widget START */
.mc-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  font-family: inherit;
}
.mc-chat__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: #E8731C;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
  margin-left: auto;
}
.mc-chat__toggle:hover { transform: scale(1.06); background: #d0631a; }
.mc-chat__toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mc-chat__icon-close { display: none; }
.mc-chat[data-open="true"] .mc-chat__icon-open { display: none; }
.mc-chat[data-open="true"] .mc-chat__icon-close { display: block; }
.mc-chat__panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 360px;
  max-height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.mc-chat__panel[hidden] { display: none; }
.mc-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #E8731C;
  color: #fff;
}
.mc-chat__head strong { display: block; font-size: 16px; line-height: 1.2; color: #fff; }
.mc-chat__head span { font-size: 13px; opacity: 0.9; }
.mc-chat__close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.mc-chat__log {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
}
.mc-chat__msg { display: flex; flex-direction: column; max-width: 88%; }
.mc-chat__msg--bot { align-self: flex-start; }
.mc-chat__msg--user { align-self: flex-end; align-items: flex-end; }
.mc-chat__bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
}
.mc-chat__msg--bot .mc-chat__bubble { background: #2a2a2a; border-bottom-left-radius: 4px; }
.mc-chat__msg--user .mc-chat__bubble { background: #E8731C; border-bottom-right-radius: 4px; }
.mc-chat__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mc-chat__actions a {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #E8731C;
  color: #fff;
  text-decoration: none;
}
.mc-chat__actions a:hover { background: #E8731C; }
.mc-chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}
.mc-chat__chips button {
  font: inherit;
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.mc-chat__chips button:hover { border-color: #E8731C; color: #E8731C; }
.mc-chat__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #141414;
}
.mc-chat__form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #222;
  color: #fff;
}
.mc-chat__form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.mc-chat__form button {
  flex: 0 0 auto;
  width: 44px;
  border: 0;
  border-radius: 10px;
  background: #E8731C;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
@media (max-width: 599px) {
  .mc-chat { right: 14px; bottom: 14px; }
  .mc-chat__toggle { width: 56px; height: 56px; }
  .mc-chat__panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 80px;
    width: auto;
    max-height: calc(100vh - 100px);
  }
}
/* OCF_AGENT_BLOCK:mohr-chat-widget END */

/* OCF_AGENT_BLOCK:agency-credit START */
.hb-footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hb-footer__credit a:hover { color: #E8731C; }
/* OCF_AGENT_BLOCK:agency-credit END */
