/* Шапка и подвал siberia-ai.ru, 13.11.2026.
   Отдельный файл, а не obshchee.css: шесть страниц реестра ПО, страница робота и образец Тендеров
   заморожены и подключают obshchee.css, их вид эта правка менять не должна.
   Цвета берутся из переменных страницы (--fg, --muted, --line, --accent, --bg), запасные значения
   на случай набора стилей без них. */

.sh{position:sticky;top:0;z-index:50;background:var(--bg,#f6f7f5);border-bottom:1px solid var(--line,#dfe3df)}
.sh .sh-in{display:flex;align-items:center;gap:16px;min-height:64px;flex-wrap:nowrap}
.sh .brand{flex:0 0 auto;min-height:48px;display:inline-flex;align-items:center}
.sh .brand img{height:36px;width:auto;display:block}
.sh-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.sh-nav a,.sh-dd-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border-radius:8px;
  color:var(--fg,#1b2a24);text-decoration:none;font:inherit;font-size:16px;white-space:nowrap}
.sh-nav a:hover,.sh-dd-btn:hover{background:color-mix(in srgb,var(--fg,#1b2a24) 7%,transparent);text-decoration:none}
.sh-nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--accent,#22603f);text-decoration-thickness:2px}
.sh-dd{position:relative}
.sh-dd-btn{background:none;border:0;cursor:pointer;gap:6px}
.sh-dd-btn::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);transition:transform .15s}
.sh-dd-btn[aria-expanded="true"]::after{transform:translateY(2px) rotate(225deg)}
.sh-dd-list{display:flex;flex-direction:column;min-width:300px;padding:8px;margin:0;list-style:none;
  background:var(--bg,#fff);border:1px solid var(--line,#dfe3df);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.14)}
.sh-js .sh-dd-list{position:absolute;top:calc(100% + 6px);left:0}
.sh-js .sh-dd-list[hidden]{display:none}
@media (min-width:961px){.sh-js .sh-dd-btn[aria-expanded="false"]+.sh-dd-list{display:none}}
.sh-dd-list a{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:8px 12px;white-space:normal;min-height:48px}
.sh-dd-list a b{font-weight:600}
.sh-dd-list a span{font-size:14px;color:var(--muted,#56635c);line-height:1.35}
.sh-dd-list hr{border:0;border-top:1px solid var(--line,#dfe3df);margin:6px 4px}
.sh-tel{white-space:nowrap;color:var(--fg,#1b2a24);text-decoration:none;font-size:16px;padding:0 6px}
.sh-cta{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:10px;font-weight:600;
  background:var(--accent,#22603f);color:#fff !important;text-decoration:none;white-space:nowrap}
.sh-cta:hover{filter:brightness(1.08);text-decoration:none}
.sh-burger{display:none;margin-left:auto;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:10px;
  border:1px solid var(--line,#dfe3df);background:none;color:var(--fg,#1b2a24);font:inherit;font-size:16px;cursor:pointer}
.sh-burger i,.sh-burger i::before,.sh-burger i::after{display:block;width:18px;height:2px;background:currentColor;position:relative;content:""}
.sh-burger i::before{position:absolute;top:-6px}
.sh-burger i::after{position:absolute;top:6px}
.sh-tel-wide{display:none}
@media (min-width:1180px){.sh-tel-wide{display:inline-flex}}

/* Телефон и узкий планшет: меню за кнопкой, группы раскрыты списком */
@media (max-width:960px){
  .sh .sh-in{flex-wrap:wrap;gap:0 12px}
  .sh-js .sh-burger{display:inline-flex}
  .sh-nav{flex-direction:column;align-items:stretch;width:100%;margin:0;padding:4px 0 16px;gap:0;order:3}
  .sh-js .sh-nav{display:none}
  .sh-js .sh.open .sh-nav{display:flex}
  .sh.open{max-height:100vh;overflow-y:auto}
  .sh-nav>a,.sh-dd-btn{min-height:48px;padding:0 4px}
  .sh-dd-btn{width:100%;justify-content:space-between;font-weight:600}
  .sh-js .sh-dd-list{position:static;box-shadow:none;border:0;padding:0 0 8px 8px;min-width:0}
  .sh-cta{justify-content:center;margin-top:8px}
  .sh-tel{padding:0 4px;min-height:48px;display:inline-flex;align-items:center}
}

/* Подвал */
.sf{margin-top:48px;border-top:1px solid var(--line,#dfe3df);padding:40px 0 32px;color:var(--muted,#56635c);font-size:14px}
.sf a{color:var(--fg,#1b2a24);text-decoration:none}
.sf a:hover{text-decoration:underline;text-underline-offset:3px}
.sf-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:32px}
.sf-h{margin:0 0 10px;font-size:14px;font-weight:700;color:var(--fg,#1b2a24);letter-spacing:.02em}
.sf-col ul{list-style:none;margin:0;padding:0}
.sf-col li{margin:0}
.sf-col li a{display:inline-block;padding:7px 0;font-size:15px;line-height:1.35}
.sf-co p{margin:0 0 10px;font-size:15px;line-height:1.5}
.sf-co .sf-tel{font-size:20px;font-weight:700}
.sf-co img.sf-logo{height:30px;width:auto;display:block;margin:0 0 14px}
.sf-low{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;
  margin-top:32px;padding-top:20px;border-top:1px solid var(--line,#dfe3df)}
.sf-low p{margin:0;font-size:14px;line-height:1.5}
.sf-sk{display:flex;align-items:center;gap:12px}
.sf-sk img{height:32px;width:auto;display:block}
.sf .foot-avtor{flex-basis:100%;margin:0;font-size:13px}
@media (max-width:960px){.sf-grid{grid-template-columns:1fr 1fr}.sf-co{grid-column:1/-1}}
@media (max-width:520px){.sf-grid{grid-template-columns:1fr}.sf-col li a{padding:11px 0}}
@media print{.sh{position:static}.sh-nav,.sh-burger{display:none}}
