/* Standalone navigation: no dependency on legacy .nav, .navlinks or .mobile-nav rules. */
.pp-header { position: relative; z-index: 1000; border-bottom: 1px solid #e6eaf3; background: #fff; }
.pp-header__inner { display: flex; min-height: 86px; align-items: center; gap: 28px; }
.pp-header__brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.pp-header__brand img { display: block; width: 205px; height: auto; }
.pp-header__desktop { display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: clamp(16px, 2vw, 30px); }
.pp-header__desktop a { color: #091635; font-size: 13px; font-weight: 800; white-space: nowrap; }
.pp-header__desktop a:hover { color: #5c3df4; }
.pp-header__studio { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 13px 17px; border-radius: 9px; background: #6243ed; box-shadow: 0 10px 20px rgba(92, 61, 244, .20); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.pp-header__toggle, .pp-header__panel { display: none; }

@media (max-width: 860px) {
  .pp-header__inner { min-height: 74px; justify-content: space-between; }
  .pp-header__brand img { width: 164px; }
  .pp-header__desktop, .pp-header__studio { display: none; }
  .pp-header__toggle { display: grid; width: 46px; height: 46px; padding: 10px; border: 1px solid #dbe1ee; border-radius: 10px; background: #fff; cursor: pointer; place-content: center; gap: 5px; }
  .pp-header__toggle span { display: block; width: 23px; height: 2px; border-radius: 99px; background: #5c3df4; transition: transform .2s ease, opacity .2s ease; }
  .pp-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pp-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .pp-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .pp-header__panel { position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; display: grid; overflow: hidden; padding: 12px; border: 1px solid #dce2ef; border-radius: 15px; background: #fff; box-shadow: 0 20px 42px rgba(15, 27, 66, .20); }
  .pp-header__panel[hidden] { display: none; }
  .pp-header__panel a:not(.pp-header__panel-studio) { padding: 14px 10px; border-bottom: 1px solid #edf0f6; color: #091635; font-size: 16px; font-weight: 800; }
  .pp-header__panel-studio { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 2px; padding: 15px 16px; border-radius: 10px; background: #6243ed; color: #fff; font-size: 15px; font-weight: 800; }
}

@media (max-width: 430px) { .pp-header__inner { min-height: 70px; } .pp-header__brand img { width: 150px; } }
