/* Shared header navigation, 9 November 2026. */
.nav { flex-wrap: nowrap; gap: 18px; }
.nav-services { position: relative; }
.nav-services > summary {
  display: flex; align-items: center; gap: 7px; min-height: 44px;
  padding: 10px 0; font-size: .8rem; cursor: pointer; list-style: none;
}
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary::after {
  content: ''; width: 6px; height: 6px; margin: -3px 2px 0 0;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.nav-services[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.nav-services.is-current > summary { text-decoration: underline; text-underline-offset: 7px; }
.nav-services > summary:focus-visible, .nav-services__list a:focus-visible {
  outline: 2px solid var(--ink, #171a2e); outline-offset: 4px; border-radius: 3px;
}
.nav-services__list {
  position: absolute; top: calc(100% + 8px); left: -18px; z-index: 30;
  width: 300px; max-width: calc(100vw - 40px); margin: 0; padding: 8px;
  list-style: none; background: var(--milk, #faf6f1); border: 1px solid var(--line, #d4c9c0);
  border-radius: 6px; box-shadow: 0 12px 30px rgb(23 26 46 / 12%);
}
.nav-services__list li { margin: 0; }
.nav-services__list a {
  display: block; padding: 12px; border-radius: 3px; text-decoration: none; line-height: 1.45;
}
.nav-services__list a:hover, .nav-services__list a[aria-current=page] { background: rgb(23 26 46 / 6%); }
.nav-services__list a[aria-current=page] > span { text-decoration: underline; text-underline-offset: 4px; }
.nav-services__list span { display: block; font-size: .9rem; font-weight: 500; }
.nav-services__list small { display: block; color: var(--muted, #696574); font-size: .75rem; margin-top: 3px; }
@media (max-width: 1100px) {
  .header__in { min-height: 84px; flex-wrap: wrap; padding-block: 14px; }
  .header.is-enhanced .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 10px 0; }
  .nav > a, .nav-services > summary { font-size: .93rem; padding: 13px 0; border-top: 1px solid var(--line); }
  .nav-services > summary { justify-content: space-between; }
  .nav-services__list { position: static; width: 100%; max-width: none; margin: 0 0 12px; box-shadow: none; }
  .nav-services__list a { min-height: 44px; padding: 12px; }
  .nav .is-cta { margin-top: 12px; text-align: center; }
  .header.is-enhanced .nav { display: none; }
  .header.is-enhanced.is-open .nav { display: flex; }
}
/* Recovery landing pages keep their own content styles and share only navigation. */
header.header--standalone { display: block; position: relative; z-index: 20; padding: 0; background: #faf6f1; }
.header--standalone .header__in { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header--standalone .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.header--standalone .logo img { width: 48px; height: 56px; object-fit: contain; }
.header--standalone .logo > span { font: 400 1.2rem/1.3 Lora, Georgia, serif; letter-spacing: .01em; }
.header--standalone .logo small { display: block; font: 400 .6rem/1.4 Golos, Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; margin-top: 6px; color: var(--muted); }
.header--standalone .nav { display: flex; align-items: center; }
.header--standalone .nav > a { font-size: .8rem; text-decoration: none; padding: 10px 0; }
.header--standalone .nav > a[aria-current=page] { text-decoration: underline; text-underline-offset: 7px; }
.header--standalone .nav .is-cta { padding: 12px 18px; border: 1px solid var(--ink); border-radius: 4px; }
.header--standalone .nav-toggle { display: none; color: var(--ink); background: none; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 4px; }
.footer-service-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0 auto 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-service-nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1100px) {
  .header--standalone .header__in { min-height: 84px; flex-wrap: wrap; padding-block: 14px; }
  .header--standalone.is-enhanced .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .header--standalone .nav { align-items: stretch; }
  .header--standalone .nav > a { font-size: .93rem; padding: 13px 0; border-top: 1px solid var(--line); }
  .header--standalone.is-enhanced .nav { display: none; }
  .header--standalone.is-enhanced.is-open .nav { display: flex; }
}
@media (max-width: 640px) {
  .header--standalone .logo img { width: 36px; height: 44px; }
  .header--standalone .logo > span { font-size: 1.1rem; }
  .header--standalone .header__in { min-height: 78px; }
}
