/* Shared dev-v2 navigation. All desktop dropdowns use one compact mega-menu. */
.header { top: 40px; }
.header .logo img { width: 170px; height: auto; }
.header__wrapper { position: relative; }
.header__right { gap: 40px; }
.header__menu { gap: 40px; margin: 0; padding: 0; list-style: none; }
.header__menu-item { position: static; list-style: none; }
.header__link { gap: 0; padding: 8px 0; color: var(--gray); font-size: 18px; font-weight: 400; text-decoration: none; }
.header__link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s ease; }
.header__menu-item:hover > .header__link { color: var(--dark-gray); }
.header__menu-item:hover > .header__link svg { transform: rotate(180deg); }
.header--color-2 .header__link { color: rgba(255,255,255,.88); }
.header--color-2 .header__menu-item:hover > .header__link { color: #fff; }

.megamenu {
  top: calc(100% + 12px);
  left: 50%;
  width: min(1080px, calc(100vw - 64px));
  padding: 18px;
  border: 1px solid #dce3e8;
  border-radius: 7px;
  color: #24292f;
  box-shadow: 0 20px 48px rgba(4,30,68,.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 40;
}
.header__menu-item:hover .megamenu { top: 100%; opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.megamenu__wrapper { grid-template-columns: minmax(390px,1.35fr) minmax(230px,.8fr) minmax(200px,.62fr); gap: 18px; align-items: stretch; }
.megamenu__links h3 { margin: 0 0 10px; color: #252525; font-size: 19px; font-weight: 700; letter-spacing: 0; }
.megamenu__menu { gap: 7px; }
.megamenu__item { min-height: 60px; gap: 13px; padding: 8px 12px; border: 1px solid #d9dfe3; border-radius: 7px; color: #252525; background: #f7f9f9; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.megamenu__item:hover { border-color: #9dcce9; background: #f0f9fe; transform: translateX(2px); }
.megamenu__icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 7px; background: #063778; }
.megamenu__icon img { width: 23px; height: 23px; object-fit: contain; filter: brightness(0) invert(1); }
.megamenu__item strong,.megamenu__item small { display: block; letter-spacing: 0; }
.megamenu__item strong { margin-bottom: 1px; color: #24292f; font-size: 14px; line-height: 1.2; }
.megamenu__item small { color: #747b82; font-size: 11.5px; line-height: 1.3; }

.megamenu__feature { overflow: hidden; border: 1px solid #d9dfe3; border-radius: 7px; color: #252525; background: #f7f9f9; text-align: center; text-decoration: none; }
.megamenu__feature img { display: block; width: calc(100% - 20px); height: 130px; margin: 10px; border-radius: 6px; object-fit: cover; }
.megamenu__feature span { display: block; padding: 2px 15px 15px; }
.megamenu__feature strong,.megamenu__feature small { display: block; letter-spacing: 0; }
.megamenu__feature strong { margin-bottom: 7px; color: #24292f; font-size: 18px; }
.megamenu__feature small { color: #747b82; font-size: 12px; line-height: 1.38; }

.megamenu__contact { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 8px 6px 8px 16px; background: #fff; }
.megamenu__contact > div > span { display: block; margin-bottom: 6px; color: #282828; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.megamenu__contact > div > a { display: flex; align-items: center; gap: 6px; color: #777e86; font-size: 13px; text-decoration: none; }
.megamenu__contact > div > a img { width: 17px; height: 17px; object-fit: contain; }
.megamenu__socials { display: flex; gap: 7px; }
.megamenu__socials a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #252525; border-radius: 50%; }
.megamenu__socials img { width: 15px; height: 15px; object-fit: contain; }

.header__toggle { width: 46px; height: 46px; border-radius: 8px; background: #07356f; }
.header__toggle svg { width: 24px; fill: none; stroke: #fff; stroke-width: 2; }
.offcanvas.mobile-nav { width: min(400px, calc(100vw - 28px)); border: 0; border-right: 1px solid #d7e3ee; background: #f4f8fc; box-shadow: 18px 0 42px rgba(4,30,68,.2); }
.mobile-nav__header { display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 18px 20px; border-bottom: 1px solid #dce6f0; background: #fff; }
.mobile-nav__header .logo img { width: 154px; height: auto; }
.mobile-nav__close { place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 8px; color: #fff; background: #07356f; }
.mobile-nav__close svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-nav .offcanvas-body { padding: 18px 18px 26px; overscroll-behavior: contain; scrollbar-color: #98aec3 transparent; scrollbar-width: thin; }
.mobile-nav .offcanvas-body::-webkit-scrollbar { width: 5px; }
.mobile-nav .offcanvas-body::-webkit-scrollbar-track { background: transparent; }
.mobile-nav .offcanvas-body::-webkit-scrollbar-thumb { border-radius: 5px; background: #98aec3; }
.mobile-nav__intro { padding: 17px; border-radius: 8px; color: #fff; background: #062f68; }
.mobile-nav__eyebrow,.mobile-nav__section-label { display: block; color: #0bbce9; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.mobile-nav__intro > strong { display: block; max-width: 300px; margin-top: 4px; font-size: 20px; line-height: 1.25; letter-spacing: 0; }
.mobile-nav__quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.mobile-nav__quick { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.mobile-nav__quick img { width: 19px; height: 19px; object-fit: contain; filter: brightness(0) invert(1); }
.mobile-nav__quick--search { border-color: #12bce7; color: #062f68; background: #17bde6; }
.mobile-nav__quick--search img { filter: brightness(0) saturate(100%) invert(17%) sepia(30%) saturate(2742%) hue-rotate(177deg) brightness(86%) contrast(101%); }
.mobile-nav__quick--account { background: rgba(255,255,255,.08); }
.mobile-nav__section-label { margin: 20px 3px 8px; color: #60738b; }
.offcanvas__menu { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.mobile-nav__group { overflow: hidden; border: 1px solid #d9e4ef; border-radius: 8px; background: #fff; }
.offcanvas__link { gap: 11px; min-height: 54px; padding: 7px 10px; color: #092f63; font-size: 15px; font-weight: 750; text-align: left; text-decoration: none; background: #fff; }
.offcanvas__link[aria-expanded="true"] { color: #0059b8; background: #eef8fd; }
.mobile-nav__group-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 7px; background: #07356f; }
.mobile-nav__group-icon img { width: 21px; height: 21px; object-fit: contain; filter: brightness(0) invert(1); }
.mobile-nav__group-label { flex: 1 1 auto; }
.mobile-nav__chevron { flex: 0 0 19px; width: 19px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.offcanvas__link[aria-expanded="true"] .mobile-nav__chevron { transform: rotate(90deg); }
.offcanvas__submenu { gap: 6px; padding: 5px 8px 9px; border-top: 1px solid #dce7f1; background: #f7fafc; }
.offcanvas__submenu-link { gap: 10px; min-height: 54px; padding: 7px 8px; border: 1px solid transparent; border-radius: 7px; color: #173a64; text-decoration: none; background: #fff; }
.offcanvas__submenu-link:hover { border-color: #9fd9ee; color: #005dbd; }
.offcanvas__submenu-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 7px; background: #e7f6fd; }
.offcanvas__submenu-icon img { width: 20px; height: 20px; object-fit: contain; }
.offcanvas__submenu-link > span:nth-child(2) { min-width: 0; flex: 1 1 auto; }
.offcanvas__submenu-link strong,.offcanvas__submenu-link small { display: block; letter-spacing: 0; }
.offcanvas__submenu-link strong { color: #102f56; font-size: 13px; line-height: 1.25; }
.offcanvas__submenu-link small { overflow: hidden; margin-top: 2px; color: #728197; font-size: 10.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.offcanvas__submenu-link > svg { flex: 0 0 16px; width: 16px; fill: none; stroke: #6f8196; stroke-width: 2; }
.mobile-nav__contact { margin-top: 18px; padding-top: 1px; border-top: 1px solid #d8e3ed; }
.mobile-nav__contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-nav__contact-links > a { display: flex; align-items: center; gap: 8px; min-height: 62px; padding: 10px; border: 1px solid #d8e3ee; border-radius: 8px; color: #11365f; text-decoration: none; background: #fff; }
.mobile-nav__contact-links img { width: 22px; height: 22px; object-fit: contain; }
.mobile-nav__contact-links small,.mobile-nav__contact-links strong { display: block; letter-spacing: 0; }
.mobile-nav__contact-links small { margin-bottom: 2px; color: #748298; font-size: 9.5px; line-height: 1.2; }
.mobile-nav__contact-links strong { font-size: 11.5px; line-height: 1.2; }
.mobile-nav__utility { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 15px; }
.mobile-nav__utility a { color: #56708d; font-size: 11px; font-weight: 650; text-decoration: none; }

@media (max-width: 1399px) {
  .header__right { gap: 32px; }
  .header__menu { gap: 32px; }
  .megamenu { width: min(1020px, calc(100vw - 48px)); }
}
@media (max-width: 1199px) {
  .header { top: 24px; }
  .header .logo img { width: 150px; }
}
@media (max-width: 575px) {
  .header { top: 18px; }
  .header .logo img { width: 145px; }
  .mobile-nav__header { min-height: 70px; padding: 14px 16px; }
  .mobile-nav .offcanvas-body { padding: 14px 14px 22px; }
}
