@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: #444;
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.85rem 1rem 0.35rem;
}

.site-header__brand {
  display: flex;
  justify-content: center;
}

.site-header__logo {
  display: block;
  width: min(320px, 72vw);
  height: auto;
}

.site-header__toggle {
  display: none;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.site-header__toggle-bars,
.site-header__toggle-bars::before,
.site-header__toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #101828;
  border-radius: 2px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.site-header__toggle-bars {
  position: relative;
}

.site-header__toggle-bars::before,
.site-header__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-header__toggle-bars::before {
  top: -6px;
}

.site-header__toggle-bars::after {
  top: 6px;
}

.site-header.is-nav-open .site-header__toggle-bars {
  background: transparent;
}

.site-header.is-nav-open .site-header__toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .site-header__toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header__nav {
  background: #006eb7;
}

.site-header__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__item {
  position: relative;
}

.site-header__link {
  display: block;
  padding: 1rem 1.35rem;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.site-header__link:hover,
.site-header__link.is-current,
.site-header__link--parent:hover {
  background: #73c539;
}

.site-header__link--parent {
  cursor: default;
}

.site-header__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 220px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #006eb7;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.site-header__item--has-children:hover .site-header__submenu,
.site-header__item--has-children:focus-within .site-header__submenu {
  display: block;
}

.site-header__submenu .site-header__link {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header__submenu li:last-child .site-header__link {
  border-bottom: 0;
}

.site-footer {
  margin-top: auto;
  background: #1f2a37;
  color: #d0d5dd;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.site-footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer__nav a:hover {
  color: #73c539;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
}

.site-footer__social a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer__social a:hover {
  color: #73c539;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header__bar {
    justify-content: flex-start;
    padding: 0.65rem 3.75rem 0.65rem 1rem;
  }

  .site-header__brand {
    justify-content: flex-start;
  }

  .site-header__logo {
    width: min(220px, 58vw);
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__nav {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.is-nav-open .site-header__nav {
    display: block;
  }

  .site-header__menu {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header__submenu {
    position: static;
    display: block;
    box-shadow: none;
    background: #005a96;
  }

  .site-header__item--has-children .site-header__link--parent {
    background: rgba(0, 0, 0, 0.08);
  }

  .site-header__link {
    white-space: normal;
  }
}
