body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: #f4f6f8;
  color: #111;
}

#global-nav {
  position: sticky;
  top: 0;
  z-index: 20;
}

header {
  background: #1f2a36;
  color: white;
  padding: 30px 20px;
}

header h1 {
  margin: 0;
  font-size: 28px;
}

.sub {
  margin-top: 10px;
  color: #d0d7de;
}

.global-nav {
  background: #2c3e50;
  color: #fff;
  border-bottom: 2px solid #1f2a36;
}

.global-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.global-nav__brand {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

.global-nav__toggle {
  display: none;
  margin-left: auto;
  border: 1px solid #95a5a6;
  background: transparent;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.global-nav__list,
.global-nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav__list {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.global-nav__list > li {
  position: relative;
}

.global-nav a,
.global-nav__submenu-toggle {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.global-nav a:hover,
.global-nav__submenu-toggle:hover {
  background: #1f2a36;
}

.global-nav a.is-active,
.global-nav__item--submenu.is-active > .global-nav__submenu-toggle {
  background: #1f2a36;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.global-nav__phone {
  margin-left: 12px;
  background: #f4f6f8;
  color: #1f2a36 !important;
  border-radius: 999px;
  padding: 8px 12px !important;
  font-weight: 700;
  white-space: nowrap;
}

.global-nav__phone:hover {
  background: #ffffff !important;
}

.global-nav__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #1f2a36;
  border: 1px solid #3f4f62;
}

.global-nav__item--submenu.is-open > .global-nav__submenu,
.global-nav__item--submenu:hover > .global-nav__submenu {
  display: block;
}

.global-nav__submenu a {
  font-weight: normal;
}

.fallback-nav {
  background: #2c3e50;
  border-bottom: 2px solid #1f2a36;
  padding: 10px 14px;
}

.fallback-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-right: 12px;
  display: inline-block;
  margin-bottom: 6px;
}

.fallback-nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: white;
}

h2 {
  margin-top: 30px;
}

ul {
  margin-left: 20px;
}

.cta {
  background: #e8f1ff;
  padding: 20px;
  margin-top: 30px;
  border: 2px solid #2c3e50;
}

.phone {
  font-size: 24px;
  font-weight: bold;
}

footer {
  background: #1f2a36;
  color: white;
  padding: 20px;
  margin-top: 40px;
}

footer a {
  color: #fff;
}

@media (max-width: 860px) {
  header {
    padding: 22px 16px;
  }

  header h1 {
    font-size: 24px;
  }

  main {
    margin: 16px 10px;
    padding: 16px;
  }

  .phone {
    font-size: 22px;
  }

  .global-nav__inner {
    flex-wrap: wrap;
  }

  .global-nav__toggle {
    display: inline-block;
    margin-left: 8px;
  }

  .global-nav__phone {
    margin-left: auto;
    padding: 6px 10px !important;
    font-size: 14px;
  }

  .global-nav__list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    border-top: 1px solid #3f4f62;
    padding-top: 6px;
  }

  .global-nav__list.is-open {
    display: flex;
  }

  .global-nav__submenu {
    position: static;
    border: 0;
    background: #263646;
    margin-left: 12px;
    margin-bottom: 8px;
  }

  .global-nav__item--submenu:hover > .global-nav__submenu {
    display: none;
  }

  .global-nav__item--submenu.is-open > .global-nav__submenu {
    display: block;
  }

  .fallback-nav {
    padding: 10px;
  }
}
