/* Shared header. Light theme, aligned with the approved footer. */

html {
  color-scheme: light;
  overflow-x: clip;
}

body.bigo-site {
  overflow-x: clip;
}

.bigo-site .topbar {
  background: #f7f9fc;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.8125rem;
}

.bigo-site .topbar-inner {
  min-height: 34px;
  padding-block: 4px;
  gap: 8px 16px;
}

.bigo-site .tb-link,
.bigo-site .tb-hours {
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.bigo-site .tb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  text-decoration: none;
}

.bigo-site .tb-link:hover {
  color: #1d4ed8;
}

.bigo-site .tb-hours {
  margin-left: auto;
  white-space: nowrap;
}

.bigo-site .tb-ico .bigo-ico,
.bigo-site .tb-link .bigo-ico--sm {
  width: 14px;
  height: 14px;
  color: #1d4ed8;
}

.bigo-site .tb-link--wa .bigo-ico {
  color: #128c7e;
}

.bigo-site .site-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bigo-site .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: #e2e8f0;
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.28);
}

.bigo-site .nav-inner {
  min-height: 60px;
}

.bigo-site .nav-toggle,
.bigo-site .nav-drawer-close {
  width: 44px;
  height: 44px;
}

.bigo-site .site-header .header-logo__img {
  display: block;
  width: 168px;
  height: auto;
  max-width: 46vw;
  object-fit: contain;
  object-position: left center;
}

.bigo-site .brand--drawer .header-logo__img {
  width: 146px;
}

@media (max-width: 767px) {
  .bigo-site .site-header .header-logo .header-logo__img {
    width: 146px;
    height: auto;
  }
}

.bigo-site .nav-list a::before,
.bigo-site .nav-list a::after {
  content: none !important;
  display: none !important;
  transform: none !important;
}

.bigo-site .nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 2px;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.bigo-site .nav-services {
  position: relative;
}

.bigo-site .nav-services .nav-sub {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1200px) {
  .bigo-site .nav-services:hover .nav-sub,
  .bigo-site .nav-services:focus-within .nav-sub {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    z-index: 40;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    display: inline-flex;
    min-width: 12.5rem;
    padding: 10px 14px;
    background: #fff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    white-space: nowrap;
  }
}

.bigo-site .nav-list a .bigo-ico--nav {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #1d4ed8;
}

@media (min-width: 1200px) {
  .bigo-site .nav-list a:hover,
  .bigo-site .nav-list a.active,
  .bigo-site .nav-list a.active:hover {
    border-bottom-color: #1d4ed8;
  }
}

.bigo-site .nav-list a:hover {
  color: #1d4ed8;
}

.bigo-site .nav-list a.active,
.bigo-site .nav-list a.active:hover {
  color: #1e3a8a;
  font-weight: 700;
}

.bigo-site .nav-list a:focus-visible,
.bigo-site .nav-toggle:focus-visible,
.bigo-site .nav-drawer-close:focus-visible,
.bigo-site .tb-link:focus-visible,
.bigo-site .nav-cta:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 3px;
  border-radius: 6px;
}

@media not (min-width: 1200px) {
  .bigo-site .brand--drawer {
    display: none !important;
  }

  .bigo-site .nav-drawer-head {
    justify-content: flex-end;
  }

  .bigo-site .topbar-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 2px;
  }

  .bigo-site .tb-hours {
    margin-left: 0;
    flex: 1 1 100%;
    white-space: normal;
  }

  .bigo-site .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .bigo-site .nav-services .nav-sub {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    margin: 0 12px 8px 28px;
    overflow: visible;
    clip: auto;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
  }

  .bigo-site .nav-list a {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 1rem;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }

  .bigo-site .nav-list a.active {
    border-left-color: #1d4ed8;
    background: #eff6ff;
    padding-left: 10px;
  }

  .bigo-site .nav {
    box-sizing: border-box;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
  }

  .bigo-site .nav-drawer-scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .bigo-site .nav-drawer-foot {
    flex: 0 0 auto;
  }
}

@media (max-width: 400px) {
  .bigo-site .tb-link--email,
  .bigo-site .tb-link--wa {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
