/* Shared СИГНАТОН header. Keep this file identical on both Sites. */
header.sig-header{position:sticky;top:0;z-index:100;display:block;width:100%;margin:0;padding:0;border:0;border-bottom:1px solid #e6e1e5;background:#faf9f7ed;backdrop-filter:blur(15px);color:#232128;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4;box-sizing:border-box}
.sig-header *, .sig-header *::before, .sig-header *::after{box-sizing:border-box}
header.sig-header nav.sig-nav{display:flex;align-items:center;justify-content:space-between;gap:32px;width:100%;max-width:1320px;min-height:80px;margin:0 auto;padding:14px 32px;border:0;background:transparent;font-size:14px;line-height:1.4}
header.sig-header nav.sig-nav a.sig-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;text-decoration:none;transform:none}
.sig-header .sig-mark{display:block;width:48px;height:46px;max-width:none;object-fit:contain}
.sig-header .sig-lockup{display:flex;flex-direction:column;width:170px;gap:5px}
.sig-header .sig-wordmark{display:block;width:170px;height:29px;max-width:none;object-fit:contain}
.sig-header .sig-tagline{display:block;width:170px;height:11px;overflow:visible;color:#232128}
.sig-header .sig-menu{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin:0;padding:0}
.sig-header .sig-menu a{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0;min-height:44px;padding:10px 10px;border:0;border-radius:0;background:transparent;color:#332f35;text-decoration:none;font:600 16px/1.4 Arial,Helvetica,sans-serif;white-space:nowrap;letter-spacing:0;transform:none;transition:color .16s}
.sig-header .sig-menu a:hover{color:#9c007b}
.sig-header .sig-menu a[aria-current="page"]{color:#9c007b;font-weight:600}
.sig-header .sig-menu > a:first-child{font-weight:700}
.sig-header a:focus-visible{outline:3px solid #b8208e;outline-offset:4px}
@media(max-width:1279px) and (min-width:1200px){header.sig-header nav.sig-nav{gap:20px;padding:14px 24px}.sig-header .sig-menu{gap:4px}.sig-header .sig-menu a{padding-inline:8px}}
@media(max-width:1199px){header.sig-header nav.sig-nav{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:13px 20px;min-height:0}.sig-header .sig-mark{width:36px;height:36px}.sig-header .sig-lockup{width:132px;gap:4px}.sig-header .sig-wordmark{width:132px;height:23px}.sig-header .sig-tagline{width:132px;height:auto}.sig-header .sig-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:5px}.sig-header .sig-menu a{display:flex;min-height:44px;padding:10px 7px;font-size:14px;white-space:normal;text-align:center}}
@media(max-width:520px){.sig-header .sig-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.sig-header .sig-menu a{font-size:14px;padding:9px 8px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.sig-header .sig-menu a{transition:none}}

/* Компактное раскрываемое меню включается только после загрузки скрипта. */
.sig-header .sig-menu-toggle{display:none}
.sig-header .sig-menu-toggle:focus-visible{outline:3px solid #b8208e;outline-offset:3px}
@media(max-width:1199px){
 header.sig-header.sig-menu-ready nav.sig-nav{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;padding:10px 20px;min-height:60px}
 .sig-header.sig-menu-ready .sig-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 4px;border:0;background:transparent;color:#5e5661;font:600 14px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
 .sig-header.sig-menu-ready .sig-menu-toggle::after{content:'⌄';font-size:18px;line-height:1}
 .sig-header.sig-menu-open .sig-menu-toggle::after{transform:rotate(180deg)}
 .sig-header.sig-menu-ready .sig-menu{grid-column:1/-1;margin-top:8px}
 .sig-header.sig-menu-ready:not(.sig-menu-open) .sig-menu{display:none}
}

/* The converter is the only button-style item in the shared navigation. */
.sig-header .sig-menu a.sig-converter{min-height:44px;padding:8px 12px;border:1px solid #232128;border-radius:10px;background:#232128;color:#fff;font-weight:600;gap:7px}
.sig-header .sig-menu a.sig-converter:hover{background:#413940;border-color:#413940;color:#fff}
.sig-header .sig-menu a.sig-converter[aria-current="page"]{color:#fff}
.sig-header .sig-menu .sig-converter-icon{display:block;flex:none;width:18px;height:18px}
