:root {
  --ink: #152536;
  --navy: #153b5b;
  --navy-deep: #0d2a42;
  --blue: #23638f;
  --gold: #c7a14a;
  --paper: #ffffff;
  --mist: #f3f6f8;
  --line: #dbe3e9;
  --muted: #5a6874;
  --success: #1e6a45;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-user-select: text !important;
  user-select: text !important;
}

body,
input,
textarea,
button {
  font-family: "Open Sans", Arial, sans-serif;
}

a {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100000;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 0 0 0.35rem 0.35rem;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hear-line {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 22px rgba(18, 43, 61, 0.08);
}

.menu-mainmenu-container a,
.header-phone-number a {
  text-decoration: none;
}

.menu-mainmenu-container a:hover,
.menu-mainmenu-container a:focus-visible {
  color: var(--blue);
}

.page-content,
.our-team,
.services-wrap {
  font-size: 1rem;
}

.page-content p,
.page-content li,
.our-team p,
.our-team li {
  line-height: 1.75;
}

.page-content h1,
.page-content h2,
.page-content h3,
.our-team h1,
.our-team h2,
.our-team h3 {
  color: var(--navy-deep);
  line-height: 1.2;
}

.static-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.static-contact-form .form-title,
.static-contact-form .form-wide,
.static-contact-form .form-note,
.static-contact-form .form-status {
  grid-column: 1 / -1;
}

.static-contact-form .form-title {
  margin: 0 0 0.2rem;
  color: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.static-contact-form label {
  display: block;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.static-contact-form input,
.static-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9c6cf;
  border-radius: 0.25rem;
  box-shadow: none;
}

.static-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.static-contact-form button {
  grid-column: 1 / -1;
  min-height: 46px;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--navy-deep);
  border: 0;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.static-contact-form button:hover {
  background: var(--blue);
}

.static-contact-form .form-note {
  margin: 0;
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.78;
}

.static-contact-form .form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--success);
  font-weight: 700;
}

.static-contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.static-map {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.flex-direction-nav a {
  background: none !important;
  text-indent: 0 !important;
  font-size: 0;
}

.flex-direction-nav a::before {
  color: #fff;
  font-size: 28px;
  line-height: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.flex-direction-nav .flex-prev::before {
  content: "‹";
}

.flex-direction-nav .flex-next::before {
  content: "›";
}

#footer-section {
  background: var(--navy-deep);
}

#footer-section,
#footer-section a {
  color: #fff;
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .static-contact-form {
    grid-template-columns: 1fr;
  }

  .static-contact-form > * {
    grid-column: 1 !important;
  }

  .static-map {
    height: 330px;
  }

  .nav-wrapper.static-nav-open {
    display: block !important;
  }

  .our-team .row:has(> .left-colon) {
    display: flex;
    flex-direction: column;
  }

  .our-team .row:has(> .left-colon) > .span7 {
    order: 1;
  }

  .our-team .row:has(> .left-colon) > .left-colon {
    order: 2;
    margin-top: 2rem;
  }

  .page-content,
  .our-team,
  .services-wrap {
    overflow-wrap: anywhere;
  }
}
