/* Keep service-page navigation controls inside narrow viewports. */
@media (max-width: 720px) {
  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav .container {
    padding-inline: 12px;
    gap: 8px;
  }

  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav-logo {
    min-width: 0;
    margin-right: 0;
    gap: 6px;
    flex: 0 1 auto;
  }

  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav-brand {
    min-width: 0;
  }

  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav .nav-brand-name {
    font-size: clamp(12px, 3.7vw, 18px);
    letter-spacing: .015em;
  }

  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav-logo img,
  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav.scrolled .nav-logo img {
    width: auto;
    height: 36px;
    flex-shrink: 0;
  }

  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav-lang {
    flex: 0 0 auto;
  }

  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav-toggle {
    flex: 0 0 auto;
    min-width: 40px;
    min-height: 40px;
    margin-left: 0;
    padding: 8px;
    justify-content: center;
  }

  body:is(.services-page, .ai-umbrella-page, .ai-workshops-page) .nav.open .container {
    gap: 0 12px;
  }
}
