/* ==========================================================================
   Site shell for static (non-Next.js) pages: header menus, mobile drawer.
   Used together with /js/shell.js.
   ========================================================================== */
:root { --sh-ease: cubic-bezier(.22, 1, .36, 1); --sh-sans: var(--font-inter), "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sh-menu {
  position: fixed; top: 112px; left: 50%; transform: translate(-50%, 10px); width: min(560px, calc(100vw - 32px));
  background: #fff; border: 1px solid #eee; border-radius: 22px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.2); padding: 12px;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--sh-ease), visibility 0s .3s; z-index: 70;
}
.sh-menu.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--sh-ease); }
.sh-menu a { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: #0d0d0d; font-family: var(--sh-sans); }
.sh-menu a:hover, .sh-menu a:focus-visible { background: #f7f5f1; }
.sh-menu b { font-size: 15px; font-weight: 700; }
.sh-menu span { font-size: 13px; color: #6b645b; line-height: 1.45; }
.sh-menu small { font-size: 11px; font-weight: 700; color: #c43d14; margin-left: 6px; }
.sh-drawer-bg { position: fixed; inset: 0; background: rgba(23,20,15,.4); backdrop-filter: blur(6px); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.sh-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100vw); background: #fff; z-index: 1001; transform: translateX(100%); transition: transform .45s var(--sh-ease); display: flex; flex-direction: column; font-family: var(--sh-sans); }
.sh-open .sh-drawer-bg { opacity: 1; visibility: visible; transition: opacity .3s; }
.sh-open .sh-drawer { transform: none; }
.sh-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #f1ede6; }
.sh-drawer__head img { height: 40px; width: auto; }
.sh-drawer__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f7f5f1; cursor: pointer; display: grid; place-items: center; }
.sh-drawer nav { padding: 12px 24px; overflow-y: auto; flex: 1; }
.sh-drawer nav > a, .sh-drawer summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 18px; font-weight: 700; color: #0d0d0d; text-decoration: none; border-bottom: 1px solid #f4f1ec; cursor: pointer; list-style: none; }
.sh-drawer summary::-webkit-details-marker { display: none; }
.sh-drawer details a { display: block; padding: 10px 0 10px 14px; font-size: 15.5px; font-weight: 500; color: #3b3630; text-decoration: none; }
.sh-drawer nav > a[aria-current="page"] { color: #c43d14; }
.sh-drawer__foot { padding: 20px 24px; border-top: 1px solid #f1ede6; }
.sh-drawer__foot a { display: flex; justify-content: center; align-items: center; height: 52px; border-radius: 14px; background: #ff5b2e; color: #fff; font-weight: 700; text-decoration: none; }
html.sh-lock { overflow: hidden; }


@media (prefers-reduced-motion: reduce) {
  .sh-menu, .sh-drawer, .sh-drawer-bg { transition: none !important; }
}
