/* Shared navigation: compact header, useful disclosures, native focus order. */
.site-header,
.site-header.scrolled {
  z-index: 65;
  width: min(1336px, calc(100% - 48px));
  height: 78px;
  top: 20px;
  padding: 10px 12px 10px 24px;
  gap: 20px;
  overflow: visible;
  border-radius: 42px;
  border: 1px solid #ffffffed;
  background: linear-gradient(135deg, #fffffff5, #f3f7fcf0);
  backdrop-filter: blur(34px) saturate(135%);
  -webkit-backdrop-filter: blur(34px) saturate(135%);
  box-shadow:
    0 8px 32px #2946630b,
    0 1px 2px #2946630b,
    inset 0 1px 0 #fff;
  transition:
    top 260ms var(--ease),
    height 260ms var(--ease),
    box-shadow 260ms ease,
    background 260ms ease;
}
.site-header.scrolled {
  top: 12px;
  height: 68px;
  background: #f8fafff5;
  box-shadow:
    0 10px 34px #29466315,
    inset 0 1px 0 #fff;
}
.site-header .brand {
  font-size: 20px;
  gap: 8px;
}
.site-header .brand-light {
  font-size: 10px;
  letter-spacing: 0.035em;
}
.desktop-nav {
  display: flex;
  gap: 1px;
  position: relative;
  align-items: center;
}
.desktop-nav > .nav-direct,
.desktop-nav > .nav-group > summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 11px 12px;
  color: #536578;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 24px;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  transition: color 160ms ease;
}
.nav-group summary::-webkit-details-marker {
  display: none;
}
.nav-group summary::marker {
  content: "";
}
.nav-group summary .nav-chevron {
  display: grid;
  place-items: center;
}
.nav-chevron .icon {
  width: 13px;
  height: 13px;
  transform: rotate(90deg);
  transition: transform 220ms var(--ease);
}
.nav-group[open] > summary .nav-chevron .icon {
  transform: rotate(-90deg);
}
.desktop-nav > .nav-direct:hover,
.desktop-nav > .nav-direct.is-current,
.desktop-nav > .nav-group.is-current > summary,
.desktop-nav > .nav-group[open] > summary {
  color: #214b80;
  background: transparent;
}
.nav-hover {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  border-radius: 24px;
  background: #e6edf7;
  box-shadow: inset 0 1px 0 #fff9;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 280ms var(--ease),
    width 280ms var(--ease),
    opacity 160ms ease;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-header .nav-cta {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 13px;
  gap: 12px;
}
.nav-cta .icon {
  width: 17px;
  height: 17px;
  transition: transform 200ms var(--ease);
}
.nav-cta:hover .icon {
  transform: translateX(3px);
}
.site-header .menu-toggle {
  display: none;
}
.header-progress {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  border-radius: 5px;
  pointer-events: none;
}
.header-progress::after {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8ab5f5, #2b72df);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}
.nav-panel {
  position: absolute;
  top: calc(100% + 26px);
  left: 50%;
  width: 480px;
  transform: translateX(-50%);
  padding: 14px;
  border: 1px solid #fff;
  border-radius: 30px;
  background: #f7fafffa;
  backdrop-filter: blur(32px) saturate(130%);
  -webkit-backdrop-filter: blur(32px) saturate(130%);
  box-shadow:
    0 24px 70px #1e38592b,
    0 2px 7px #1e385910,
    inset 0 1px 0 white;
}
.nav-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  height: 30px;
}
.nav-group[open] > .nav-panel {
  animation: nav-panel-in 240ms var(--ease);
}
.nav-panel-wide {
  width: 860px;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 12px;
}
.nav-panel-wide .nav-panel-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nav-panel-links {
  display: grid;
  align-content: start;
  gap: 3px;
}
.nav-panel .nav-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  gap: 13px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  text-align: left;
  color: #233b50;
  min-height: 68px;
  transition:
    background 180ms ease,
    transform 200ms var(--ease);
}
.nav-panel .nav-card:hover,
.nav-panel .nav-card[aria-current="page"] {
  background: #eaf0f8;
  color: #234b80;
  transform: translateX(2px);
}
.nav-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #e8eef8;
  color: #517399;
  border: 1px solid #fff;
  border-radius: 14px;
}
.nav-card-icon .icon {
  width: 21px;
  height: 21px;
}
.nav-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.nav-card small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #5a7085;
  line-height: 1.4;
}
.nav-card-arrow .icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.nav-panel .nav-feature {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 9px;
  border-radius: 22px;
  background: #eaf0f8;
  text-align: left;
}
.nav-feature img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}
.nav-feature > span:not(.nav-feature-action) {
  font-size: 11px;
  color: #556c83;
  padding: 0 6px;
}
.nav-feature > strong {
  font-size: 23px;
  letter-spacing: -0.04em;
  padding: 1px 6px;
}
.nav-feature > small {
  font-size: 12px;
  padding: 0 6px;
  color: #546b80;
}
.nav-feature .nav-feature-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6px 6px;
  margin-top: auto;
  font-size: 12px;
  color: #285d9e;
}
.nav-feature-action .icon {
  width: 17px;
  height: 17px;
}
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #17355712;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.nav-scrim:not([hidden]) {
  animation: nav-scrim-in 180ms ease;
}
.nav-scrim[hidden],
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu {
  display: none;
}
#process,
#about,
#reviews,
#faq {
  scroll-margin-top: 112px;
}
@keyframes nav-panel-in {
  from {
    opacity: 0;
    translate: 0 -8px;
    scale: 0.985;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@keyframes nav-scrim-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1200px) and (min-width: 1081px) {
  .site-header {
    gap: 10px;
    padding-left: 19px;
  }
  .desktop-nav > .nav-direct,
  .desktop-nav > .nav-group > summary {
    padding-inline: 9px;
    font-size: 12px;
  }
  .site-header .brand-light {
    display: none;
  }
}
@media (max-width: 1080px) {
  .site-header,
  .site-header.scrolled {
    height: 68px;
    top: 14px;
    width: calc(100% - 32px);
    padding: 8px 10px 8px 19px;
    gap: 10px;
  }
  .site-header.scrolled {
    top: 10px;
  }
  .site-header .desktop-nav {
    display: none;
  }
  .site-header .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
  }
  .site-header .nav-cta {
    min-height: 44px;
    padding: 11px 17px;
  }
  .site-header .nav-cta .icon {
    display: none;
  }
  .header-progress {
    left: 29px;
    right: 29px;
  }
  .mobile-menu:not([hidden]) {
    display: block;
    animation: mobile-nav-in 230ms var(--ease);
  }
  .mobile-menu {
    position: fixed;
    top: 94px;
    left: 16px;
    right: 16px;
    z-index: 64;
    margin: 0;
    padding: 12px;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    border: 1px solid white;
    border-radius: 30px;
    background: #f7fafffa;
    box-shadow: 0 22px 65px #19365430;
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
  }
  .mobile-menu .nav-group > summary,
  .mobile-menu .mobile-direct {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px;
    margin: 0;
    min-height: 52px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 18px;
    cursor: pointer;
  }
  .mobile-menu .nav-group[open] > summary {
    background: #e7eef8;
    color: #234d83;
  }
  .mobile-menu .mobile-direct .icon {
    width: 17px;
    height: 17px;
    color: #7d91a8;
  }
  .mobile-menu .nav-panel {
    position: static;
    transform: none;
    padding: 8px 0;
    width: auto;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .mobile-menu .nav-panel::before {
    display: none;
  }
  .mobile-menu .nav-panel .nav-card {
    padding: 10px 12px;
    margin: 0;
    gap: 10px;
    min-height: 58px;
    grid-template-columns: 36px minmax(0, 1fr) 12px;
  }
  .mobile-menu .nav-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .mobile-menu .nav-card strong {
    font-size: 13px;
  }
  .mobile-menu .nav-card small {
    font-size: 11px;
  }
  .mobile-contact {
    margin: 9px 4px 0;
    padding-top: 17px;
    border-top: 1px solid #dce5f0;
  }
  .mobile-menu .mobile-contact .button {
    display: flex;
    width: 100%;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    margin: 0;
    border-radius: 999px;
  }
  .mobile-menu .mobile-contact .button:hover {
    background: #304f6b;
  }
  .mobile-menu .mobile-phone {
    justify-content: center;
    min-height: 44px;
    padding: 11px;
    font-size: 13px;
    margin: 5px 0 0;
    color: #4e647b;
  }
  @keyframes mobile-nav-in {
    from {
      opacity: 0;
      transform: translateY(-9px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}
@media (max-width: 480px) {
  .site-header .brand-light {
    display: none;
  }
  .site-header .brand {
    font-size: 19px;
  }
  .site-header .nav-cta {
    font-size: 12px;
    padding-inline: 16px;
  }
  .header-actions {
    gap: 8px;
  }
}
.motion-paused .nav-panel,
.motion-paused .mobile-menu,
.motion-paused .nav-scrim {
  animation: none !important;
}
.motion-paused .nav-hover {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .nav-panel,
  .mobile-menu,
  .nav-scrim {
    animation: none !important;
  }
  .nav-hover {
    transition: none;
  }
}
