/* Lightflow v0.6.1 — information architecture and service navigation only. */

.nav-services-menu {
  position: relative;
  flex: 0 0 auto;
}

.nav-services-trigger {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  padding: 0 13px;
  align-items: center;
  gap: 7px;
  color: #34517e;
  background: transparent;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: color .2s, background .2s;
}

.nav-services-trigger::after {
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  content: "";
  background: var(--yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}

.nav-services-trigger:hover,
.nav-services-trigger:focus-visible,
.nav-services-trigger.is-current,
.nav-services-menu.is-open .nav-services-trigger {
  color: var(--navy);
  background: rgba(13, 111, 197, .06);
}

.nav-services-trigger.is-current::after,
.nav-services-menu.is-open .nav-services-trigger::after {
  transform: scaleX(1);
}

.nav-services-trigger:focus-visible,
.nav-services-panel a:focus-visible,
.section-deep-link:focus-visible,
.service-choice-link:focus-visible {
  outline: 3px solid rgba(13, 111, 197, .24);
  outline-offset: 3px;
}

.nav-services-chevron {
  display: inline-block;
  color: var(--blue);
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .2s var(--ease);
}

.nav-services-menu.is-open .nav-services-chevron {
  transform: translateY(1px) rotate(180deg);
}

.nav-services-panel {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 10px);
  left: 50%;
  width: min(450px, calc(100vw - 32px));
  padding: 10px;
  background: rgba(255, 255, 255, .985);
  border: 1px solid rgba(16, 46, 99, .12);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(10, 42, 86, .18);
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav-services-panel[hidden] {
  display: none;
}

.nav-services-panel::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
  content: "";
}

.primary-nav .nav-services-panel a {
  min-height: 0;
  padding: 12px 13px;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 13px;
  font-size: 13px;
}

.primary-nav .nav-services-panel a::after {
  display: none;
}

.primary-nav .nav-services-panel a:hover,
.primary-nav .nav-services-panel a:focus-visible {
  color: var(--navy);
  background: #edf8ff;
}

.nav-services-panel strong,
.nav-services-panel small {
  display: block;
}

.nav-services-panel strong {
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 850;
}

.nav-services-panel small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
}

.primary-nav .nav-services-overview {
  display: grid;
  margin-bottom: 6px;
  padding: 14px;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #eef9ff, #f7fbff);
  border: 1px solid #d9ebf6;
}

.nav-services-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 11px;
  font-size: 15px;
  font-weight: 900;
}

.nav-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.nav-services-grid > a:last-child {
  grid-column: 1 / -1;
}

.section-deep-link {
  position: relative;
  z-index: 4;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: -26px auto 38px;
  padding: 10px 14px;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  background: #f4faff;
  border: 1px solid #dceaf5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}

.section-deep-link:hover {
  color: var(--navy);
  background: #fff5bf;
  border-color: #f1d66a;
  transform: translateY(-2px);
}

.coverage .section-deep-link {
  margin: 22px 0 0;
}

.section-deep-link--light {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .24);
}

.section-deep-link--light:hover {
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--yellow);
}

.service-compare {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #dce9f3;
  border-radius: 30px;
  box-shadow: 0 24px 68px rgba(18, 63, 111, .09);
  overflow: hidden;
}

.service-compare-head,
.service-choice-row {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) repeat(3, minmax(155px, 1fr)) minmax(104px, .52fr);
  gap: 20px;
}

.service-compare-head {
  padding: 16px 24px;
  color: #637a99;
  background: #edf8ff;
  border-bottom: 1px solid #dce9f3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-choice-row {
  min-height: 148px;
  padding: 24px;
  align-items: center;
  border-bottom: 1px solid #e4edf4;
  transition: background .2s;
}

.service-choice-row:last-child {
  border-bottom: 0;
}

.service-choice-row:hover {
  background: #fbfdff;
}

.service-choice-name {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.service-choice-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--blue);
  background: #eaf7ff;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 900;
}

.service-choice-mark img {
  width: 38px;
  height: auto;
}

.service-choice-name h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 22px;
  letter-spacing: -.03em;
}

.service-choice-name small {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.service-choice-cell > span {
  display: none;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-choice-cell p {
  margin: 0;
  color: #536b8c;
  font-size: 12px;
  line-height: 1.62;
}

.service-choice-link {
  display: inline-flex;
  padding: 11px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 850;
  transition: transform .2s, box-shadow .2s;
}

.service-choice-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(144, 109, 0, .16);
}

.service-compare-note {
  display: grid;
  margin-top: 24px;
  padding: 24px 26px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  background: #edf8ff;
  border: 1px solid #d7eaf7;
  border-radius: 22px;
}

.service-compare-note > strong {
  color: var(--navy);
  font-size: 17px;
}

.service-compare-note > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.service-compare-note .button {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .nav-services-trigger {
    padding-inline: 9px;
    font-size: 11px;
  }

  .service-compare-head,
  .service-choice-row {
    gap: 14px;
    grid-template-columns: minmax(150px, .8fr) repeat(3, minmax(135px, 1fr)) minmax(94px, .5fr);
  }
}

@media (max-width: 900px) {
  .primary-nav {
    max-height: calc(100vh - 92px);
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-services-menu {
    width: 100%;
  }

  .nav-services-trigger {
    width: 100%;
    min-height: 44px;
    padding-inline: 9px;
    justify-content: space-between;
    font-size: 13px;
  }

  .nav-services-panel {
    position: static;
    width: 100%;
    margin: 3px 0 7px;
    padding: 8px;
    background: #f5faff;
    border-radius: 15px;
    box-shadow: none;
    transform: none;
  }

  .nav-services-panel::before {
    display: none;
  }

  .primary-nav .nav-services-panel a {
    padding: 11px;
  }

  .service-compare-head {
    display: none;
  }

  .service-choice-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }

  .service-choice-name {
    grid-column: 1 / -1;
  }

  .service-choice-cell > span {
    display: block;
  }

  .service-choice-link {
    align-self: end;
  }

  .service-compare-note {
    grid-template-columns: 1fr auto;
  }

  .service-compare-note > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .nav-services-grid {
    grid-template-columns: 1fr;
  }

  .nav-services-grid > a:last-child {
    grid-column: auto;
  }

  .section-deep-link {
    width: 100%;
    margin-top: -28px;
    justify-content: center;
    text-align: center;
  }

  .coverage .section-deep-link {
    width: auto;
    margin-top: 20px;
    justify-content: flex-start;
  }

  .service-choice-row {
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-choice-name {
    grid-column: auto;
  }

  .service-choice-link {
    width: 100%;
  }

  .service-compare-note {
    padding: 22px;
    grid-template-columns: 1fr;
  }

  .service-compare-note > p {
    grid-column: auto;
    grid-row: auto;
  }

  .service-compare-note .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-services-chevron,
  .section-deep-link,
  .service-choice-link {
    transition: none;
  }
}
