/* Шапка и подвал сайта для страниц без общего шаблона (юридические документы). Выделено из static.css. */
:root{--onyx:#141920;--midnight:#2A3550;--steel:#B9C0D6;--gold:#C89F58;--ivory:#F4F1EA;--sand:#E2D6C1;--muted:#4A5268;--line-d:rgba(185,192,214,.16);color-scheme:light}
.hdr a,.site-foot a{font-style:normal}
.hdr{position:sticky;top:0;z-index:50;background:rgba(20,25,32,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--line-d)}
.hdr .in{max-width:1200px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:10px 28px;flex-wrap:wrap}
.hdr .brand{display:flex;align-items:center;gap:10px;color:var(--ivory);text-decoration:none}
.hdr .brand img{height:48px;width:auto}
.hdr .brand b{display:block;font-size:26px;font-weight:800;letter-spacing:.02em;line-height:1}
.hdr .brand span{display:block;font-size:13.5px;font-weight:600;color:#fff;margin-top:4px}
.hdr nav{display:flex;gap:6px 24px;flex-wrap:wrap;margin-left:auto}
.hdr nav a{font-size:16px;font-weight:600;color:var(--steel);text-decoration:none;padding:8px 2px;border-bottom:2px solid transparent}
.hdr nav a:hover{color:var(--ivory)}
.hdr nav a.on{color:var(--ivory);border-bottom-color:var(--gold)}
.hdr .cta{display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:12px;font-weight:700;text-decoration:none;color:var(--onyx);background:linear-gradient(180deg,#D8B172,#B98F4C);border:1px solid rgba(255,235,200,.45)}
@media (max-width:899px){
  .hdr{position:static}
  .hdr .in{padding:10px 16px 8px;gap:4px 12px}
  .hdr .brand img{height:42px}
  .hdr .brand b{font-size:24px}
  .hdr .brand span{font-size:11.5px}
  .hdr nav{margin-left:0;width:100%;order:3;justify-content:space-between;gap:0 8px}
  .hdr nav a{font-size:15.5px;padding:6px 0}
  .hdr .cta{display:none}
}
.site-foot{background:var(--onyx);color:var(--steel);padding:48px 24px calc(var(--tabbar-h,0px) + 40px);font-size:15px;line-height:1.65;border-top:1px solid var(--line-d)}
.site-foot .in{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:40px}
.site-foot b{color:var(--ivory)}
.site-foot a{color:var(--gold);text-decoration:none}
.site-foot a:hover{color:var(--ivory)}
.foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 32px;padding-bottom:32px;border-bottom:1px solid var(--line-d)}
.foot-top a{font-size:17px;font-weight:700;color:var(--ivory);padding:4px 0}
.foot-top a:hover{color:var(--gold)}
.foot-cols{display:grid;grid-template-columns:1fr;gap:40px}
.foot-h{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:700;margin-bottom:18px}
.foot-contact .fl{margin-bottom:18px}
.foot-docs ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.foot-req{font-size:13px;color:var(--steel);opacity:.85;padding-top:28px;border-top:1px solid var(--line-d)}
@media (min-width:760px){
  .site-foot{padding:72px 32px 60px}
  .site-foot .in{gap:52px}
  .foot-top{padding-bottom:40px}
  .foot-cols{grid-template-columns:1.3fr 1fr;gap:80px}
}

/* ═══ Единая типографика: абзацы 16px / интервал 1,2 / отступы 6 пт / по ширине; заголовки — воздух не меньше 12 пт ═══ */
main p:not(.note),main li,main .d,main .a,.wrap p,.wrap li{font-size:16px!important;line-height:1.2!important;margin-top:6pt!important;margin-bottom:6pt!important;text-align:justify;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:6 3 3}
.thanks p,.thanks li{text-align:center!important}
.inc{line-height:1.2!important}
main h1,.wrap h1{margin-top:12pt!important;margin-bottom:14pt!important}
main h2,.wrap h2{margin-top:36pt!important;margin-bottom:14pt!important}
main h3,.wrap h3{margin-top:24pt!important;margin-bottom:12pt!important}
.svc-rail-head h2{margin:0!important}
.foot-docs li,.foot-docs a{line-height:1!important}
/* воздух под логотипом в шапке */
.mobile-top{padding-bottom:12pt}
@media (min-width:900px){header.site .in{padding:14px 24px 18px}}
