.site-header { position: sticky; top: 0; z-index: 20; height: 43px; }
.header-contact { height: 43px; background: var(--navy); color: #fff; }
.header-contact__inner { width: min(calc(100% - 64px), var(--content-width)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; white-space: nowrap; }
.header-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-contact .ri-icon { color: var(--gold); font-size: 20px; }
.desktop-nav { position: absolute; z-index: 21; top: 96px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 64px), var(--content-width)); height: 71px; border-radius: 32px; background: #fff; display: grid; grid-template-columns: 170px minmax(0, 1fr) 100px; grid-template-rows: 71px; align-items: center; box-shadow: 0 12px 32px #07122b20; }
.desktop-nav__logo { position: absolute; left: 84px; top: 6px; width: 57px; height: 59px; }
.desktop-nav__logo img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav__links { grid-column: 2; display: grid; grid-template-columns: 1.05fr 1.1fr 1.1fr 1.6fr 1.25fr 1.3fr; align-items: stretch; width: 100%; height: 100%; min-width: 0; }
.desktop-nav__link { display: flex; min-width: 0; align-items: center; justify-content: center; height: 100%; padding: 0 6px; white-space: nowrap; font-size: 16px; font-style: italic; letter-spacing: -.01em; }
.desktop-nav__link--active { background: var(--navy); color: var(--gold); }
.desktop-nav__link:hover:not(.desktop-nav__link--active) { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.desktop-nav__appointment { position: absolute; top: 0; right: 0; display: grid; width: 100px; height: 113px; padding: 15px 8px 30px; place-items: center; background: var(--gold); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); font-size: 17px; font-style: italic; line-height: 1.16; text-align: center; }
.desktop-nav__appointment:hover { background: #e9971a; }
.desktop-nav__appointment:focus-visible { outline-offset: -5px; }
.mobile-header, .mobile-menu { display: none; }
@media (max-width: 1200px) {
  .desktop-nav { display: none; }
  .site-header { height: 105px; background: #fff; border-bottom: 1px solid var(--line); }
  .mobile-header { height: 62px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
  .mobile-header__logo, .mobile-header__logo img { width: 36px; height: 38px; }
  .mobile-header__actions { display: flex; align-items: center; gap: 12px; }
  .mobile-header__appointment { display: inline-grid; min-height: 38px; padding: 0 16px; place-items: center; border-radius: 19px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; white-space: nowrap; }
  .mobile-header__appointment:hover, .mobile-menu__appointment:hover { background: #e9971a; }
  .mobile-header__toggle { display: flex; width: 44px; height: 44px; padding: 11px 10px; background: transparent; border: 0; flex-direction: column; justify-content: space-between; }
  .mobile-header__toggle span { display: block; width: 24px; height: 2px; border-radius: 1px; background: var(--navy); }
  .mobile-header__toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
  .mobile-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-header__toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { display: flex; position: fixed; z-index: 19; top: 105px; left: 0; right: 0; bottom: 0; overflow: auto; background: #fff; padding: 28px 32px 55px; flex-direction: column; align-items: center; }
  .mobile-menu > a:not(.mobile-menu__appointment) { display: grid; width: min(100%, 326px); min-height: 64px; place-items: center; border-bottom: 1px solid var(--line); font-size: 23px; color: var(--navy); }
  .mobile-menu__appointment { display: grid; width: min(100%, 278px); min-height: 54px; margin: 28px auto 0; place-items: center; border-radius: 16px; background: var(--gold); color: var(--navy); font-size: 16px; font-weight: 700; }
}
@media (max-width: 600px) {
  .site-header { height: 116px; }
  .header-contact { height: 54px; }
  .header-contact__inner { width: min(calc(100% - 32px), var(--content-width)); flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; }
  .header-contact a { min-height: 24px; gap: 7px; font-size: 11px; }
  .header-contact .ri-icon { font-size: 16px; }
  .mobile-menu:not([hidden]) { top: 116px; }
}
