/* Phase-one accessibility and conversion improvements layered over styles.css. */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid rgba(15, 35, 64, .24);
  border-radius: 7px;
  background: #fff;
  color: #0f2340;
  font: 700 .94rem Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.mobile-menu-toggle:focus-visible,
.nav a:focus-visible,
.card:focus-visible,
.related-services a:focus-visible {
  outline: 3px solid #b87319;
  outline-offset: 3px;
}

.cards a.card {
  display: block;
  color: inherit;
}

.cards a.card:hover {
  border-color: #b87319;
  transform: translateY(-2px);
}

.related-services {
  margin: 36px auto 0;
  max-width: 900px;
  text-align: center;
}

.related-services h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.related-services-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.related-services a {
  color: #0f2340;
  font-weight: 700;
  border-bottom: 2px solid #b87319;
}

.hero .eyebrow {
  margin-bottom: 14px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: #0f2340;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  margin-bottom: 0;
}

.form-note {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: .9rem;
}

.form-note a {
  color: #0f2340;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 620px) {
  .nav {
    position: relative;
    flex-wrap: wrap;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  html:not(.js) .nav nav,
  html.js .nav nav.is-open {
    display: flex;
  }

  .nav nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    background: #f8f5ef;
  }

  html.js .nav nav {
    display: none;
  }

  .nav nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(15, 35, 64, .14);
  }

  .nav nav a:last-child {
    border-bottom: 0;
  }

  .related-services-links {
    display: grid;
    gap: 12px;
  }
}

