/*
 * Shared responsive header for standalone service templates.
 * Desktop template styling remains unchanged.
 */
.lava-service-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    position: relative;
    min-height: 74px;
    gap: 14px;
  }

  .site-header .brand {
    min-width: 0;
    gap: 10px;
  }

  .site-header .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .site-header .brand-copy {
    display: block !important;
    min-width: 0;
  }

  .site-header .brand-copy strong {
    display: block !important;
    font-size: .9rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .site-header .brand-copy small {
    display: block !important;
    margin-top: 4px;
    font-size: .55rem;
    line-height: 1;
    white-space: nowrap;
  }

  .lava-service-menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d8e0eb;
    border-radius: 12px;
    color: #071f42;
    background: #f4f7fb;
    cursor: pointer;
  }

  .lava-service-menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .lava-service-menu-toggle .menu-close-icon {
    display: none;
  }

  .lava-service-menu-toggle[aria-expanded="true"] .menu-open-icon {
    display: none;
  }

  .lava-service-menu-toggle[aria-expanded="true"] .menu-close-icon {
    display: block;
  }

  .site-header .header-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid #dce3ec;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: rgba(255,255,255,.99);
    box-shadow: 0 18px 38px rgba(7,31,66,.16);
  }

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

  .site-header .header-nav a,
  .site-header .header-nav a:not(.cta-mini) {
    width: 100%;
    min-height: 46px;
    display: flex !important;
    align-items: center;
    padding: 11px 14px;
    border: 1px solid #e0e6ee;
    border-radius: 10px;
    background: #f7f9fc;
  }

  .site-header .header-nav .cta-mini {
    justify-content: center;
    color: #fff;
    background: #071f42;
    border-color: #071f42;
  }
}

@media (max-width: 380px) {
  .site-header .header-inner {
    min-height: 68px;
  }

  .site-header .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .site-header .brand-copy strong {
    font-size: .82rem;
  }

  .site-header .brand-copy small {
    font-size: .49rem;
  }

  .lava-service-menu-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}
