/* Shared, scoped styles: the home/services pages also use these assets. */
#ofu-contact {
  --ofu-contact-ink: #131311;
  --ofu-contact-paper: #faf9f6;
  font-family: 'Inter', sans-serif;
  color: var(--ofu-contact-ink);
  line-height: 1.5;
}
#ofu-contact *, #ofu-contact *::before, #ofu-contact *::after { box-sizing: border-box; }
#ofu-contact button, #ofu-contact input, #ofu-contact textarea { font: inherit; }
#ofu-contact button { cursor: pointer; }
#ofu-contact button:focus-visible, #ofu-contact a:focus-visible {
  outline: 3px solid #92856c;
  outline-offset: 4px;
}
#ofu-contact .ofu-contact-toggle {
  position: fixed;
  right: 24px;
  bottom: 98px;
  z-index: 121;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250,249,246,.22);
  border-radius: 50%;
  background: var(--ofu-contact-ink);
  color: var(--ofu-contact-paper);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.35), 0 0 0 5px rgba(19,19,17,.06);
  transition: transform .2s;
}
#ofu-contact .ofu-contact-toggle:hover { transform: translateY(-2px); }
#ofu-contact .ofu-contact-toggle svg { width: 28px; height: 28px; }
#ofu-contact .ofu-contact-hint {
  position: absolute;
  right: 74px;
  padding: 9px 14px;
  white-space: nowrap;
  border: 1px solid rgba(19,19,17,.12);
  border-radius: 100px;
  background: var(--ofu-contact-paper);
  color: var(--ofu-contact-ink);
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
#ofu-contact .ofu-contact-close-icon,
#ofu-contact .ofu-contact-toggle[aria-expanded="true"] .ofu-contact-chat-icon,
#ofu-contact .ofu-contact-toggle[aria-expanded="true"] .ofu-contact-hint { display: none; }
#ofu-contact .ofu-contact-toggle[aria-expanded="true"] .ofu-contact-close-icon { display: block; }
#ofu-contact .ofu-contact-panel {
  position: fixed;
  right: 24px;
  bottom: 174px;
  z-index: 122;
  width: 390px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(19,19,17,.12);
  border-radius: 22px;
  background: var(--ofu-contact-paper);
  box-shadow: 0 24px 80px -20px rgba(19,19,17,.35);
  animation: ofu-contact-appear .18s ease-out;
}
#ofu-contact .ofu-contact-panel[hidden] { display: none; }
#ofu-contact .ofu-contact-header {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px 22px 22px;
  background: var(--ofu-contact-ink);
  color: var(--ofu-contact-paper);
}
#ofu-contact .ofu-contact-logo { width: 58px; height: auto; flex: none; }
#ofu-contact .ofu-contact-heading { flex: 1; min-width: 0; }
#ofu-contact .ofu-contact-eyebrow { margin: 0 0 7px; font-size: 9px; font-weight: 500; letter-spacing: .12em; color: #c4c3bb; }
#ofu-contact #ofu-contact-title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}
#ofu-contact #ofu-contact-title:focus { outline: none; }
#ofu-contact .ofu-contact-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
}
#ofu-contact .ofu-contact-close:hover { background: rgba(255,255,255,.1); }
#ofu-contact .ofu-contact-close svg { width: 22px; height: 22px; }
#ofu-contact .ofu-contact-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px; }
#ofu-contact .ofu-contact-welcome { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
#ofu-contact .ofu-contact-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
#ofu-contact .ofu-contact-bubble { background: #eeede7; padding: 12px 14px; border-radius: 0 14px 14px 14px; font-size: 12.5px; line-height: 1.6; }
#ofu-contact .ofu-contact-bubble p { margin: 0; }
#ofu-contact .ofu-contact-bubble .ofu-contact-name { margin-bottom: 5px; font-size: 11px; font-weight: 600; color: #595952; }
#ofu-contact .ofu-contact-form { margin: 0; }
#ofu-contact .ofu-contact-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#ofu-contact .ofu-contact-field { margin-bottom: 13px; }
#ofu-contact .ofu-contact-field label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 600; }
#ofu-contact .ofu-contact-optional { font-weight: 400; color: #71716a; }
#ofu-contact .ofu-contact-field input, #ofu-contact .ofu-contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #d8d7cf;
  border-radius: 10px;
  background: #fff;
  color: var(--ofu-contact-ink);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
#ofu-contact .ofu-contact-field input::placeholder, #ofu-contact .ofu-contact-field textarea::placeholder { color: #77776f; font-size: 13px; opacity: 1; }
#ofu-contact .ofu-contact-field input:focus, #ofu-contact .ofu-contact-field textarea:focus { outline: none; border-color: #71674f; box-shadow: 0 0 0 3px rgba(113,103,79,.12); }
#ofu-contact .ofu-contact-field textarea { min-height: 88px; resize: vertical; }
#ofu-contact .ofu-contact-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 17px;
  padding: 12px 18px;
  border: 0;
  border-radius: 100px;
  background: var(--ofu-contact-ink);
  color: var(--ofu-contact-paper);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
#ofu-contact .ofu-contact-submit:hover { background: #34342e; }
#ofu-contact .ofu-contact-submit:disabled { opacity: .65; cursor: wait; }
#ofu-contact .ofu-contact-submit svg { width: 19px; height: 19px; }
#ofu-contact .ofu-contact-status { margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
#ofu-contact .ofu-contact-status:empty { display: none; }
#ofu-contact .ofu-contact-status.is-success { color: #246039; }
#ofu-contact .ofu-contact-status.is-error { color: #a13027; }
#ofu-contact .ofu-contact-note { margin: 17px 0 6px; color: #71716a; font-size: 11px; line-height: 1.6; text-align: center; }
#ofu-contact .ofu-contact-email-link { display: block; width: fit-content; margin: 0 auto; color: #57574f; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
@keyframes ofu-contact-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 880px) {
  #ofu-contact .ofu-contact-hint { display: none; }
}
@media (max-width: 560px) {
  #ofu-contact .ofu-contact-toggle { right: 16px; bottom: 84px; width: 54px; height: 54px; }
  #ofu-contact .ofu-contact-toggle svg { width: 26px; height: 26px; }
  #ofu-contact .ofu-contact-panel { right: 12px; bottom: 152px; width: calc(100vw - 24px); max-width: 390px; max-height: calc(100vh - 164px); max-height: calc(100dvh - 164px); border-radius: 18px; }
  #ofu-contact .ofu-contact-header { padding: 18px 14px 18px 18px; gap: 12px; }
  #ofu-contact .ofu-contact-logo { width: 48px; }
  #ofu-contact #ofu-contact-title { font-size: 19px; }
  #ofu-contact .ofu-contact-body { padding: 18px; }
}
@media (max-height: 480px) and (min-width: 561px) {
  #ofu-contact .ofu-contact-panel {
    right: 100px;
    bottom: 16px;
    max-width: calc(100vw - 116px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #ofu-contact .ofu-contact-panel { animation: none; }
  #ofu-contact .ofu-contact-toggle, #ofu-contact input, #ofu-contact textarea { transition: none; }
}

#ofu-contact .ofu-contact-privacy { margin: 16px 0; font-size: 12px; line-height: 1.65; color: #57574f; }
#ofu-contact .ofu-contact-privacy a { color: #131311; text-decoration: underline; text-underline-offset: 3px; }
body.ofu-consent-open #ofu-contact .ofu-contact-hint { display: none; }
