.panda-header {
  position: relative;
  z-index: 100;
  background: #07080a;
  color: #fff;
  border-bottom: 2px solid #075390;
}
.panda-header__inner {
  width: min(calc(100% - 48px), var(--panda-content-width));
  height: 95px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 316px minmax(0, 1fr) 190px;
  align-items: center;
  column-gap: 22px;
}
.panda-header__brand { position: relative; height: 100%; z-index: 2; }
.panda-header__brand a { display: block; width: max-content; max-width: 100%; }
.panda-header__brand img {
  display: block;
  width: 316px;
  max-width: 100%;
  height: 113px;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-8px);
}
.panda-header__brand .custom-logo-link img { width: 316px; }
.panda-site-name {
  display: inline-flex !important;
  align-items: center;
  height: 100%;
  color: #fff;
  font: 400 30px/1 var(--panda-heading-font);
  text-decoration: none;
  text-transform: uppercase;
}
.panda-header__inner--no-menu { grid-template-columns: minmax(0, 1fr) 190px; }
.panda-nav { justify-self: center; }
.panda-nav__label { display: none; }
.panda-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 3.4vw, 62px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.panda-nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #bfc0c2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  font: 400 18px/1 var(--panda-heading-font);
  transition: color .18s ease;
}
.panda-nav-list a:hover,
.panda-nav-list a:focus-visible,
.panda-nav-list .current-menu-item > a,
.panda-nav-list .current_page_item > a { color: #fff; }
.panda-nav-list .current-menu-item > a::after,
.panda-nav-list .current_page_item > a::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: 1px;
  height: 3px;
  background: var(--panda-orange);
}
.panda-call {
  min-height: 46px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid var(--panda-yellow);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, #ffb900 0%, #ff8400 54%, #ff5a00 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.35), 0 2px 8px rgba(0,0,0,.3);
  text-decoration: none;
  white-space: nowrap;
  font: 400 19px/1 var(--panda-heading-font);
  transition: transform .18s ease, filter .18s ease;
}
.panda-call:hover, .panda-call:focus-visible { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.panda-call__icon { width: 22px; height: 22px; flex:none; color: #fff; }
.panda-menu-toggle { display: none; }
@media (max-width: 1100px) {
  .panda-header__inner { grid-template-columns: 230px minmax(0, 1fr) 165px; gap: 12px; }
  .panda-header__inner--no-menu { grid-template-columns: minmax(0, 1fr) 165px; }
  .panda-header__brand .custom-logo-link img, .panda-header__brand img { width: 230px; }
  .panda-nav-list { gap: 20px; }
  .panda-nav-list a { font-size: 16px; }
  .panda-call { font-size: 16px; min-height: 44px; gap: 7px; }
  .panda-call__icon { width: 20px; height: 20px; }
}
@media (max-width: 800px) {
  body.panda-menu-open { overflow: hidden; }
  .panda-header.is-menu-open {
    z-index: 99999;
  }
  .panda-header__inner {
    width: min(calc(100% - 32px), var(--panda-content-width));
    height: 78px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
  }
  .panda-header__brand .custom-logo-link img, .panda-header__brand img { width: 205px; height: 87px; transform: translateY(-5px); }
  .panda-header__inner--no-menu { grid-template-columns: minmax(0, 1fr) auto; }
  .panda-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 3px solid #078aff;
    border-radius: 14px;
    color: #fff;
    background: transparent;
    cursor: pointer;
  }
  .panda-menu-toggle span { width: 24px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .15s ease; }
  .panda-header.is-menu-open .panda-menu-toggle span:first-child { transform: translateY(8px) rotate(45deg); }
  .panda-header.is-menu-open .panda-menu-toggle span:nth-child(2) { opacity: 0; }
  .panda-header.is-menu-open .panda-menu-toggle span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .panda-nav {
    display: none;
    position: fixed;
    top: var(--panda-menu-panel-top, 80px);
    left: 0;
    right: auto;
    bottom: 0;
    z-index: 1;
    width: 100vw;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    justify-self: stretch;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(35px, 8vh, 95px) 20px max(28px, env(safe-area-inset-bottom));
    background: radial-gradient(ellipse at 50% 38%, #0d1014 0%, #050608 63%, #030405 100%);
  }
  .panda-nav.is-open { display: flex; flex-direction: column; align-items: center; }
  .panda-nav.is-closing { display: flex; flex-direction: column; align-items: center; pointer-events: none; }
  .panda-nav.is-open { animation: panda-menu-reveal 190ms ease-out both; }
  .panda-nav.is-closing { animation: panda-menu-hide 180ms ease-in both; }
  .panda-nav.is-open .panda-nav__label span { animation: panda-menu-label-in 210ms ease-out 70ms both; }
  .panda-nav.is-open .panda-nav__label::before { transform-origin: right center; animation: panda-menu-rule-in 220ms ease-out 90ms both; }
  .panda-nav.is-open .panda-nav__label::after { transform: rotate(180deg); transform-origin: center; animation: panda-menu-rule-right-in 220ms ease-out 90ms both; }
  .panda-nav.is-open .panda-nav-list li {
    animation: panda-menu-link-in 210ms cubic-bezier(.2,.7,.25,1) both;
    animation-delay: calc(95ms + var(--panda-menu-index, 0) * 60ms);
  }
  .panda-nav.is-open .panda-nav-list li:not(:last-child)::before,
  .panda-nav.is-open .panda-nav-list li:not(:last-child)::after {
    animation: panda-menu-glow-in 240ms ease-out both;
    animation-delay: calc(175ms + var(--panda-menu-index, 0) * 60ms);
  }
  .panda-nav__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 5vw, 40px);
    width: min(100%, 300px);
    margin: 0 auto 26px;
    color: #f6f6f8;
    font: 400 clamp(18px, 4.5vw, 24px)/1.2 var(--panda-body-font);
    letter-spacing: .38em;
  }
  .panda-nav__label::before,
  .panda-nav__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #d9e0e5); }
  .panda-nav__label::after { transform: rotate(180deg); }
  .panda-nav-list { display: flex; flex-direction: column; gap: 0; width: min(100%, 580px); margin-inline: auto; }
  .panda-nav-list li { position: relative; width: 100%; text-align: center; }
  .panda-nav-list li:not(:last-child) { margin-bottom: clamp(14px, 3vh, 35px); padding-bottom: clamp(14px, 3vh, 35px); }
  .panda-nav-list li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: -6px;
    height: 16px;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0, 165, 255, .72) 0%, rgba(0, 110, 255, .3) 38%, transparent 72%);
    filter: blur(6px);
  }
  .panda-nav-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 0;
    height: 5px;
    pointer-events: none;
    background: linear-gradient(90deg, #0078d7, #14caff 50%, #0078d7);
    clip-path: polygon(0 50%, 48% 0, 52% 0, 100% 50%, 52% 100%, 48% 100%);
  }
  .panda-nav-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(60px, 10vh, 125px);
    max-width: 100%;
    padding-inline: 4px;
    color: #fafafa;
    font: 400 clamp(46px, 12vw, 98px)/1 var(--panda-heading-font);
    letter-spacing: -.025em;
    white-space: normal;
    overflow-wrap: anywhere;
    text-shadow: none;
  }
  .panda-nav-list a:hover,
  .panda-nav-list a:focus-visible,
  .panda-nav-list .current-menu-item > a,
  .panda-nav-list .current_page_item > a { color: #fff; text-shadow: none; }
  .panda-nav-list .current-menu-item > a::after,
  .panda-nav-list .current_page_item > a::after { content: none; }
  .panda-call { min-height: 52px; width: 52px; padding: 0; gap: 0; border: 3px solid #ffe200; border-radius: 14px; font-size: 0; }
  .panda-call span { display: none; }
  .panda-call__icon { width: 27px; height: 27px; }
}
@media (max-width: 460px) {
  .panda-header__inner { gap: 8px; }
  .panda-header__brand .custom-logo-link img, .panda-header__brand img { width: min(52vw, 205px); height: 78px; transform: translateY(-3px); }
  .panda-site-name { font-size: 22px; }
  .panda-menu-toggle, .panda-call { width: 47px; height: 47px; min-height: 47px; border-radius: 12px; }
  .panda-call__icon { width: 25px; height: 25px; }
}
@media (max-width: 800px) and (max-height: 660px) {
  .panda-nav { padding-top: 18px; }
  .panda-nav__label { margin-bottom: 8px; }
  .panda-nav-list a { min-height: 45px; font-size: clamp(40px, 9vh, 65px); }
  .panda-nav-list li:not(:last-child) { margin-bottom: 12px; padding-bottom: 12px; }
}
@keyframes panda-menu-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes panda-menu-hide { from { opacity: 1; } to { opacity: 0; } }
@keyframes panda-menu-label-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panda-menu-rule-in { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes panda-menu-rule-right-in { from { opacity: 0; transform: rotate(180deg) scaleX(0); } to { opacity: 1; transform: rotate(180deg) scaleX(1); } }
@keyframes panda-menu-link-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panda-menu-glow-in { from { opacity: 0; transform: scaleX(.35); filter: brightness(2); } to { opacity: 1; transform: scaleX(1); filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) {
  .panda-nav.is-open,
  .panda-nav.is-closing,
  .panda-nav.is-open .panda-nav__label span,
  .panda-nav.is-open .panda-nav__label::before,
  .panda-nav.is-open .panda-nav__label::after,
  .panda-nav.is-open .panda-nav-list li,
  .panda-nav.is-open .panda-nav-list li:not(:last-child)::before,
  .panda-nav.is-open .panda-nav-list li:not(:last-child)::after { animation: none !important; }
}
