/* GENERATED FILE — DO NOT EDIT DIRECTLY.
   Logos Publicity — site-chrome.css (header + footer + nav)
   Edit assets/css/src/ (see src/README.md), then run: node scripts/build-css.mjs
   Asset version: 20260814-about3
*/

/* === from src/site-header.css === */
/**
 * header.css — Logos Publicity Limited
 *
 * Owns: #header, .nav-logo, .nav-menu, .mobile-nav*, .mobile-nav-toggle,
 *       .mobile-nav-overly, .mobile-nav-active,
 *       legacy "header nav:not(.nav-menu)" fallback.
 *
 * Migration status: STEP 1 — COPY ONLY
 *   Rules are duplicated here and still present in style.css.
 *   After visual verification, the style.css blocks will be removed.
 *
 * Source blocks in style.css (before removal):
 *   Zone A: lines 88–388 (nav bar section + nav-menu responsive rules)
 *   Zone B: lines 2315–2668 (#Header + #Navigation Menu sections)
 */

/* --------------------------------------------------------------------------
   Zone A — Early nav rules (originally style.css lines 88–388)
   -------------------------------------------------------------------------- */

/*--------------------------------------------------------------
# NAVIGATION BAR (legacy)
--------------------------------------------------------------*/

body h1 {
  font-size: 70px;
  color: #fff;
  font-family: "Montserrat";
  font-weight: 700;
}

body::before {
  content: '';
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  background: #fff;
  width: 100%;
  height: 100%;
}

/* Legacy header nav — exclude Knight .nav-menu (current site navigation) */
#header nav:not(.nav-menu) {
  position: fixed;
  width: 100%;
  top: 0%;
  left: 0%;
  text-decoration: none;
  z-index: 10;
}

#header nav:not(.nav-menu) ul {
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  text-decoration: none;
}

#header nav:not(.nav-menu) ul li {
  position: relative;
  display: inline-block;
  margin-right: -4px;
  text-align: center;
  text-decoration: none;
}

#header nav:not(.nav-menu) ul li:first-child a {
  width: 49px;
  padding: 10px 0;
}

#header nav:not(.nav-menu) ul li:last-child {
  margin: 0;
}

#header nav:not(.nav-menu) ul li a {
  display: block;
  background: #fff;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s linear;
  color: #999;
}

#header nav:not(.nav-menu) ul li ul {
  position: absolute;
  top: 90%;
  left: 0;
  width: 90px;
  margin-left: -28px;
  background-color: transparent;
}

#header nav:not(.nav-menu) ul li ul li {
  display: block;
  width: 100%;
  margin: 0;
  text-align: right;
  margin-bottom: -20px;
}

#header nav:not(.nav-menu) ul li ul li a {
  display: block;
  background-color: transparent;
  padding: 10px 15px;
}

#header nav:not(.nav-menu) ul li ul li a:first-child {
  background-color: transparent;
  width: auto;
  border-left: 0px solid transparent;
  padding: 10px 15px;
  font-size: 14px;
}

/* Knight .nav-menu — current site header navigation */
#header .nav-menu {
  position: static;
  width: auto;
  top: auto;
  left: auto;
  z-index: auto;
}

#header .nav-menu .nav-inner::after {
  content: "";
  display: table;
  clear: both;
}

#header .nav-menu .sub-menu {
  float: none;
  margin-left: auto;
}

#header .nav-menu .sub-menu > a.sub-menu-toggle {
  padding: 18px 15px;
  background: transparent;
  color: #151515;
  font-size: 14px;
  font-weight: 400;
  transition: none;
}

@media (max-width: 991.98px) {
  #header .nav-menu {
    display: none !important;
  }

  #header .nav-inner > .nav-logo,
  #header .nav-inner > li.nav-logo {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #header .logo.d-block.d-lg-none,
  #header > .container > .logo {
    display: none !important;
  }

  #header .mobile-nav-toggle {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #header .container {
    min-height: 64px;
    max-width: var(--container-max, 1440px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--section-inline, clamp(1.25rem, 3.5vw, 3rem));
    padding-right: var(--section-inline, clamp(1.25rem, 3.5vw, 3rem));
  }

  #header .nav-menu {
    width: 100%;
  }

  /* Agency-style desktop nav: text links, no hamburger */
  #header .nav-menu .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .nav-logo {
    float: none;
    flex-shrink: 0;
    margin-top: 0;
    list-style: none;
  }

  #header .nav-inner > li.nav-logo {
    display: block;
  }

  #header .nav-menu .sub-menu {
    float: none;
    margin-left: auto;
  }

  #header .nav-menu .sub-menu > .sub-menu-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #header .nav-menu .sub-menu > ul {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: clamp(1.125rem, 1.35vw, 1.5rem);
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }

  #header .nav-menu .sub-menu > ul > li {
    display: flex;
    align-items: stretch;
    margin: 0;
  }

  /* Top-level links only — do NOT style .services-nav-menu descendants */
  #header .nav-menu .sub-menu > ul > li > a {
    display: flex;
    align-items: center;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    color: #151515;
    background: transparent;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s linear;
  }

  #header .nav-menu .sub-menu > ul > li > a:hover,
  #header .nav-menu .sub-menu > ul > li.active > a,
  #header .nav-menu .sub-menu > ul > li:hover > a {
    color: #2c83db;
  }
}

@media (max-width: 992px) {
  #header .container {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
  }

  #header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
  }

  #header .container,
  #header .logo {
    width: 100%;
  }

  #header .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  #header .logo img {
    height: 56px;
    max-height: 56px;
    width: auto;
    max-width: min(58vw, 220px);
  }

  .mobile-nav-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
}

/* --------------------------------------------------------------------------
   Zone B — Main header/nav block (originally style.css lines 2315–2668)
   -------------------------------------------------------------------------- */

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  /* Keep header stable on mobile (no scroll-jank transitions). */
  transition: box-shadow 0.25s ease;
  z-index: 1000;
  background: #fff;
  box-shadow: none;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: visible;
  align-items: stretch;
}

#header > .container {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--container-max, 1440px);
  margin-inline: auto;
  overflow: visible;
}

/* Subtle separation once the page scrolls past the hero */
#header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

@media (max-width: 992px) {
  #header {
    transition: none;
  }
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a, #header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 56px;
  width: auto;
  max-width: 216px;
}

@media (max-width: 992px) {
  #header {
    height: 70px;
  }
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-logo {
  z-index: 10;
  list-style: none;
  float: left;
  margin-left: 0;
  background-color: transparent;
  width: auto;
  max-width: 210px;
  margin-top: 0;
  padding: 0;
  display: block;
}

.nav-logo a {
  display: block;
  width: 100%;
  line-height: 0;
}

.nav-logo img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 230px;
}

/* Desktop hamburger sub-menu — hidden by default, positioned dropdown */
.nav-menu .nav-inner {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu .sub-menu {
  position: relative;
  list-style: none;
}

.nav-menu .sub-menu > a,
.nav-menu .sub-menu > .sub-menu-toggle {
  display: inline-block;
  cursor: pointer;
}

.nav-menu .sub-menu > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  z-index: 1001;
  width: auto;
  min-width: 180px;
  margin: 0;
  margin-left: 0;
  padding: 10px 0;
  background: #fff;
  background-color: #fff;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
  list-style: none;
  opacity: 1;
  visibility: visible;
}

.nav-menu .sub-menu > ul > li {
  list-style: none;
  display: block;
  width: auto;
  margin: 0;
  margin-bottom: 0;
  text-align: left;
}

.nav-menu .sub-menu > ul > li > a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #151515;
  background-color: #fff;
  text-decoration: none;
}

.nav-menu .sub-menu > ul > li > a:hover,
.nav-menu .sub-menu > ul > li.active > a,
.nav-menu .sub-menu > ul > li:hover > a {
  color: #2c83db;
  text-decoration: none;
}


/* Mobile Navigation — full-height drawer with logo header */
.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  left: -280px;
  width: min(280px, 86vw);
  padding: 0 0 max(1.25rem, env(safe-area-inset-bottom, 0px));
  background: #fff;
  box-shadow: 8px 0 28px rgba(0, 0, 0, 0.14);
  transition: left 0.35s ease;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.mobile-nav ul,
.mobile-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: var(--header-mobile-height, 70px);
  padding: 0 1rem;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
}

.mobile-nav__brand a {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.mobile-nav__brand a:hover,
.mobile-nav__brand a:focus {
  background: transparent;
  color: inherit;
}

.mobile-nav__brand img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 220px;
}

.mobile-nav > ul {
  flex: 1 1 auto;
  padding: 0.85rem 0 1rem;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #151515;
  padding: 14px 22px;
  min-height: 48px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav .mobile-nav__brand a {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #2c83db;
  background: rgba(44, 131, 219, 0.06);
  text-decoration: none;
}

.mobile-nav__social {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding: 1rem 1.35rem 0.25rem;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
}

.mobile-nav__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  color: #151515;
  background: rgba(21, 21, 21, 0.04);
  font-size: 1.05rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav__social a:hover,
.mobile-nav__social a:focus {
  color: #2c83db;
  background: rgba(44, 131, 219, 0.1);
}

.mobile-nav__social a:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: 2px;
}


.mobile-nav-toggle {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 10002;
  border: 0;
  background: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: color 0.25s ease;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  padding: 0;
  text-decoration: none;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-toggle:focus {
  outline: none;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid #2c83db !important;
  outline-offset: 3px;
}

.mobile-nav-toggle .icon-svg {
  color: #2c83db;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.mobile-nav-overly[hidden] {
  display: none !important;
}

.mobile-nav-overly:not([hidden]) {
  display: block;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  left: 0;
}

/*
 * When the drawer is open, the panel owns the logo.
 * Keep only the close (X) control from the sticky header.
 */
.mobile-nav-active #header {
  z-index: 10001;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.mobile-nav-active #header .logo {
  visibility: hidden;
}

.mobile-nav-active .mobile-nav-toggle .icon-svg {
  color: #151515;
}

/* Progressive enhancement: usable navigation without JavaScript on mobile */
@media (max-width: 991.98px) {
  html.no-js .mobile-nav-toggle,
  html.no-js .mobile-nav-overly {
    display: none !important;
  }

  html.no-js .mobile-nav {
    position: static;
    left: auto;
    width: 100%;
    max-width: none;
    box-shadow: none;
    overflow: visible;
    display: block;
    z-index: auto;
  }

  html.no-js .mobile-nav .services-nav-menu {
    display: block !important;
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    padding-left: 0.75rem;
  }

  html.no-js .mobile-nav .services-nav-toggle {
    display: none;
  }
}


/* === from src/site-footer.css === */
/**
 * footer.css — Logos Publicity Limited
 *
 * Owns: #footer, #footer .footer-top, #footer .footer-bottom,
 *       #footer .copyright, all #footer .* selectors.
 *
 * Migration status: Step 2 — extracted from style.css lines 4629–4780 (pre-extraction numbering).
 * Note: The background image path is relative to the CSS file location (assets/css/).
 * Loaded in all HTML pages via inject script after style.css.
 */

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: url("../images/site/footer_img1.webp") center center no-repeat;
  color: #fff;
  font-size: 14px;
  position: relative;
  background-size: cover;
}

#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 1;
}

#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}

#footer .footer-top .footer-logo img {
  height: 130px;
  width: auto;
  max-width: min(70vw, 320px);
}

#footer .footer-top h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Montserrat", sans-serif;
  padding: 30px 0 0 0;
  margin-bottom: 0;
}

#footer .footer-top p {
  font-size: 15px;
  font-style: italic;
  margin: 30px 0 0 0;
  padding: 0;
}


#footer .footer-top .social-links {
  margin-top: 30px;
}

#footer .footer-quick-links {
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

#footer .footer-quick-links a,
#footer .footer-contact-meta a {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

#footer .footer-quick-links a:hover,
#footer .footer-quick-links a:focus,
#footer .footer-contact-meta a:hover,
#footer .footer-contact-meta a:focus {
  color: #fff;
  text-decoration: underline;
}

#footer .footer-contact-meta {
  margin: 18px auto 0;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

#footer .footer-contact-meta address {
  margin: 0;
  font-style: normal;
}

#footer .footer-contact-meta address a {
  color: inherit;
}

#footer .footer-top .social-links a {
  position: relative;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 0.5px solid #fff;
  line-height: 1;
  padding: 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

#footer .footer-top .social-links a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

#footer .footer-top .social-links a:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

#footer .footer-bottom {
  border-top: 1px solid #222222;
  z-index: 2;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

#footer .copyright {
  text-align: center;
}


#footer .footer-top {
  padding: 44px 0 34px;
}

#footer .footer-top .footer-logo img {
  height: clamp(82px, 8vw, 104px);
}

#footer .footer-hub-link {
  margin: 14px 0;
}

#footer .btn-hub-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 10px 24px;
  border-radius: 0;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

#footer .btn-hub-link:hover,
#footer .btn-hub-link:focus {
  background: #fff;
  color: #151515;
  border-color: #fff;
  text-decoration: none;
}

#footer .footer-quick-links {
  margin-top: 14px;
  gap: 8px 18px;
}

#footer .footer-contact-meta {
  margin-top: 14px;
  gap: 8px 18px;
}

#footer .footer-affiliation {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

#footer .footer-affiliation img {
  display: block;
  width: auto;
  height: clamp(13px, 2vw, 18px);
  max-width: min(110px, 42vw);
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

#footer .footer-top .social-links {
  margin-top: 24px;
}

#footer .footer-bottom {
  padding-top: 22px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#footer .footer-bottom__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  width: 100%;
}

#footer .footer-legal-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

#footer .footer-legal-links a {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

#footer .footer-legal-links a:hover,
#footer .footer-legal-links a:focus {
  color: #fff;
  text-decoration: underline;
}

#footer .footer-legal-links__sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1;
}

#footer .copyright {
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  #footer .footer-top {
    padding: 34px 0 28px;
  }

  #footer .footer-contact-meta,
  #footer .footer-quick-links {
    flex-direction: column;
  }

  #footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #footer .footer-bottom__row {
    flex-direction: column;
    gap: 0.5rem;
  }

  #footer .copyright,
  #footer .footer-legal-links a {
    white-space: normal;
    text-align: center;
  }

  #footer .copyright {
    font-size: 12px;
  }
}


/* === from src/site-nav.css === */
/* Accessible split Services navigation. */
.services-nav-item {
  position: relative;
}

.services-nav-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #151515;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.services-nav-toggle svg {
  transition: transform 0.2s ease;
}

.services-nav-item.is-open > .services-nav-toggle svg {
  transform: rotate(180deg);
}

.services-nav-toggle:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: -3px;
}

.services-nav-menu {
  display: none !important;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: #fff;
}

.services-nav-item.is-open > .services-nav-menu {
  display: block !important;
}

.mobile-nav .services-nav-menu a {
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  #header {
    --header-height: 76px;
    min-height: var(--header-height);
    height: var(--header-height);
    box-sizing: border-box;
    border-bottom: 1px solid rgba(21, 21, 21, 0.07);
    overflow: visible;
  }

  #header > .container {
    height: 100%;
    min-height: 0;
    padding-left: var(--section-inline, clamp(1.25rem, 3.5vw, 3rem));
    padding-right: var(--section-inline, clamp(1.25rem, 3.5vw, 3rem));
    display: flex;
    align-items: center;
    overflow: visible;
  }

  #header .nav-menu {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
  }

  #header .nav-menu,
  #header .nav-menu .nav-inner {
    height: 100%;
  }

  #header .nav-logo {
    margin-top: 0;
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-shrink: 0;
    height: 100%;
  }

  #header .nav-logo a {
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 0;
  }

  #header .nav-logo img {
    display: block;
    height: 64px;
    max-height: 64px;
    max-width: 230px;
    width: auto;
  }

  #header .nav-menu .nav-inner {
    gap: 0;
    overflow: visible;
  }

  #header .nav-menu .sub-menu {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    overflow: visible;
  }

  #header .nav-menu .sub-menu > ul {
    height: 100%;
    gap: clamp(1.25rem, 1.55vw, 1.75rem);
    flex-wrap: nowrap;
    align-items: stretch;
    overflow: visible;
  }

  #header .nav-menu .sub-menu > ul > li {
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
  }

  #header .nav-menu .sub-menu > ul > li > a {
    min-height: 44px;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 1;
  }

  /* Services dropdown — panel below the bar, no clash with top-level link styles */
  #header .nav-menu .services-nav-item {
    display: flex !important;
    align-items: stretch;
    position: relative;
    gap: 0;
    height: 100%;
    overflow: visible;
  }

  #header .nav-menu .services-nav-item > a {
    min-height: 44px;
    height: 100%;
    padding: 0;
  }

  #header .nav-menu .services-nav-item > .services-nav-toggle {
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    transform: none;
    width: 18px;
    min-width: 18px;
    height: auto;
    margin: 0 0 0 2px;
    justify-content: center;
    z-index: 2;
    background: transparent;
  }

  #header .nav-menu .services-nav-item > .services-nav-toggle::before {
    content: "";
    position: absolute;
    inset: 0 -10px;
  }

  #header .nav-menu .services-nav-item > .services-nav-toggle svg {
    width: 12px;
    height: 12px;
    margin-left: 0;
    transform: none;
  }

  #header .nav-menu .services-nav-item.is-open > .services-nav-toggle svg {
    transform: rotate(180deg);
  }

  #header .nav-menu .services-nav-item.is-open > a,
  #header .nav-menu .services-nav-item.is-open > .services-nav-toggle {
    color: #2c83db;
  }

  #header .nav-menu .services-nav-item > .services-nav-menu {
    display: block !important;
    position: absolute;
    z-index: 1100;
    top: 100%;
    left: 0;
    right: auto;
    transform: none;
    width: min(300px, calc(100vw - 2rem));
    min-width: 240px;
    margin: 0;
    padding: 0.5rem 0;
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-top: 1px solid rgba(21, 21, 21, 0.08);
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: none;
    list-style: none;
    transition: opacity 0.15s ease, visibility 0s linear 0.15s;
  }

  #header .nav-menu .services-nav-item.is-open > .services-nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  #header .nav-menu .services-nav-item > .services-nav-menu > li {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
  }

  #header .nav-menu .services-nav-item > .services-nav-menu > li > a {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 0.65rem 1.1rem;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: normal;
    color: #151515;
    background: #fff;
    text-decoration: none;
  }

  #header .nav-menu .services-nav-item > .services-nav-menu > li > a:hover,
  #header .nav-menu .services-nav-item > .services-nav-menu > li > a:focus-visible {
    color: #2c83db;
    background: rgba(44, 131, 219, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  #header .nav-menu .services-nav-menu {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  #header {
    --header-mobile-height: 70px;
    height: var(--header-mobile-height);
    min-height: var(--header-mobile-height);
    overflow: visible;
    z-index: 1000;
  }

  #header > .container {
    height: var(--header-mobile-height);
    min-height: var(--header-mobile-height);
    padding-left: var(--section-inline, clamp(1rem, 4vw, 1.25rem));
    padding-right: var(--section-inline, clamp(1rem, 4vw, 1.25rem));
    position: relative;
    overflow: visible;
  }

  #header .logo {
    position: relative;
    z-index: 1;
  }

  #header .logo img {
    height: 58px;
    max-height: 58px;
    width: auto;
    max-width: min(60vw, 230px);
  }

  #header .mobile-nav-toggle {
    position: absolute;
    top: 50%;
    right: var(--section-inline, clamp(1rem, 4vw, 1.25rem));
    transform: translateY(-50%);
    z-index: 10002;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav .services-nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .mobile-nav .services-nav-item > a {
    grid-column: 1;
    grid-row: 1;
  }

  .mobile-nav .services-nav-item > .services-nav-toggle {
    grid-column: 2;
    grid-row: 1;
    width: 52px;
    min-width: 52px;
    height: 100%;
    min-height: 48px;
    border-left: 1px solid rgba(21, 21, 21, 0.08);
    color: inherit;
  }

  .mobile-nav .services-nav-item.is-open > a,
  .mobile-nav .services-nav-item.is-open > .services-nav-toggle {
    color: #2c83db;
    background: rgba(44, 131, 219, 0.06);
  }

  .mobile-nav .services-nav-item.is-open > .services-nav-toggle {
    border-left-color: rgba(44, 131, 219, 0.12);
  }

  .mobile-nav .services-nav-item > .services-nav-menu {
    grid-column: 1 / -1;
    padding: 0.25rem 0 0.55rem;
    border-top: 1px solid rgba(21, 21, 21, 0.06);
    background: rgba(21, 21, 21, 0.025);
  }

  .mobile-nav .services-nav-item > .services-nav-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 22px 11px 36px;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-transform: none;
    background: transparent;
  }
}
