/* New York Blue Sky shared five-language selector. */
.lang-switch,
.lang-btn,
#langToggle {
  display: none !important;
}

.nbs-language-switcher {
  --nbs-blue: #0369a1;
  --nbs-blue-light: #e0f2fe;
  position: relative;
  z-index: 2147482000;
  flex: 0 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
}

.nav-right > .nbs-language-switcher {
  margin: 0;
}

.nbs-language-trigger {
  min-width: 132px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0 13px;
  border: 2px solid #3b82c4;
  border-radius: 999px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 7px 20px rgba(3, 105, 161, .18);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nbs-language-trigger:hover,
.nbs-language-trigger:focus-visible,
.nbs-language-switcher.is-open .nbs-language-trigger {
  border-color: #0284c7;
  box-shadow: 0 10px 28px rgba(3, 105, 161, .25);
  outline: none;
}

.nbs-language-trigger:active { transform: translateY(1px); }

.nbs-language-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nbs-language-flag {
  width: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.nbs-language-chevron {
  width: 9px;
  height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.nbs-language-switcher.is-open .nbs-language-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nbs-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 224px;
  padding: 10px;
  border: 1px solid #d8e2ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.nbs-language-switcher.is-open .nbs-language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nbs-language-option {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: left;
  transition: background .16s ease, color .16s ease;
}

.nbs-language-option:hover,
.nbs-language-option:focus-visible {
  background: #f0f7fd;
  color: var(--nbs-blue);
  outline: none;
}

.nbs-language-option[aria-current="true"] {
  background: var(--nbs-blue);
  color: #fff;
}

.nbs-language-check {
  margin-left: auto;
  color: #fbbf24;
  font-size: 20px;
  font-weight: 900;
}

header > .container > .logo { order: 1; }
header > .container > nav { order: 2; margin-left: auto; }
header > .container > .nbs-language-switcher { order: 3; margin-left: 10px; }
header > .container > .menu-toggle { order: 4; }

.nbs-translate-status {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(3, 105, 161, .96);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
  font: 650 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.nbs-translate-status.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nbs-translate-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fbbf24;
  border-radius: 50%;
  animation: nbs-spin .7s linear infinite;
}

@keyframes nbs-spin { to { transform: rotate(360deg); } }

#nbs-google-translate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
body > .skiptranslate,
body > [class*="VIpgJd-ZVi9od-ORHb"],
iframe[class*="VIpgJd-ZVi9od-ORHb"],
iframe.skiptranslate {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

html,
body,
body.translated-ltr,
body.translated-rtl { top: 0 !important; }

@media (max-width: 1120px) {
  .header-inner > nav,
  header > .container > nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15,23,42,.2);
  }

  .header-inner > nav.open,
  header > .container > nav.open { display: flex; }

  .header-inner > .mobile-menu-btn,
  header > .container > .menu-toggle { display: block; }

  .header-inner,
  header > .container { position: relative; }
}

@media (max-width: 640px) {
  .nbs-language-trigger {
    min-width: 72px;
    width: 72px;
    height: 42px;
    padding: 0 10px;
  }

  .nbs-language-trigger .nbs-language-name { display: none; }
  .nbs-language-menu { width: min(224px, calc(100vw - 24px)); right: -48px; }
  .nav-right { gap: 5px !important; }
  .nav-right .cta-phone { padding-left: 10px; padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .nbs-language-trigger,
  .nbs-language-chevron,
  .nbs-language-menu,
  .nbs-translate-status { transition: none; }
}
