/* Harbor contact: final shared rules and responsive variants. */
.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}

.ocf-contact__form {
  background: var(--ocf-bg-alt);
  border-radius: var(--hb-radius);
  padding: 32px;
}

.ocf-contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  color: var(--ocf-primary);
}

.ocf-contact-icon svg {
  width: 22px;
  height: 22px;
}

.ocf-contact-meta {
  display: grid;
}

.ocf-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ocf-border);
}

.ocf-contact-item .ocf-contact-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.ocf-contact-item-body {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .ocf-contact__form {
    grid-row: 1;
  }
}

@media (max-width: 599px) {
  .ocf-contact__form {
    padding: 24px;
  }
}

.ocf-contact__form .hero-form-card {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.hb-form-label {
  display: block;
  margin-bottom: 8px;
  font: 500 14px/20px var(--font-body);
  color: var(--ocf-heading);
}

.ocf-phone-combo {
  border-radius: var(--ocf-radius-sm, 12px);
  background: var(--ocf-bg);
  border: 1px solid var(--ocf-border);
}

.ocf-field :is(input, textarea) {
  border-radius: var(--ocf-radius-sm, 12px);
  background: var(--ocf-bg);
  border: 1px solid var(--ocf-border);
  padding: 12px 16px;
}

.ocf-field textarea {
  min-height: 128px;
}

.form-submit-btn {
  min-height: 56px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px;
}

.form-submit-btn:after {
  content: "→";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: inherit;
  font: 500 22px/1 var(--font-body);
}

.ocf-contact-hours-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  white-space: nowrap;
}

.ocf-contact-hours > p {
  margin: 0;
}

@media (max-width: 599px) {
  .ocf-contact-hours {
    padding: 20px;
  }
}

.ocf-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--ocf-border);
  border-radius: var(--ocf-radius-sm, 12px);
  background: var(--ocf-bg);
  color: var(--ocf-heading);
}

a[href^="tel:"]:not(.ocf-contact-item) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ocf-contact-item .ocf-contact-icon .hb-phone-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: inherit;
}

.ocf-contact-item[href^="tel:"] .ocf-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  background: transparent;
  color: inherit;
  border: 0;
  padding: 0;
}

.ocf-contact__form button[type="submit"] {
  font-size: 16px;
  line-height: 24px;
}

.ocf-contact-meta {
  gap: 16px;
}

.ocf-contact-item .ocf-contact-icon {
  align-self: center;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  flex: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit;
}

.ocf-contact-hours .ocf-contact-icon {
  color: inherit;
}

.ocf-contact-hours-label svg {
  margin-right: 8px;
  vertical-align: middle;
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  color: inherit;
}

.ocf-contact-hours {
  border-top: 1px solid var(--ocf-border);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: none;
  margin-top: 0;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--ocf-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ocf-contact-hours .ocf-contact-item-body {
  display: grid;
  gap: 4px;
}

.ocf-contact-hours .ocf-hours-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ocf-contact-hours .ocf-hours-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--ocf-body);
  font-size: var(--font-body-size);
  line-height: 1.4;
}

.ocf-contact-hours .ocf-hours-row > span {
  color: inherit;
  font-size: inherit;
}

.ocf-contact-hours .ocf-contact-emergency {
  margin: 0;
}
