/* ============================================================
   vbeget.ru — тема default. Собрано из макета скриптом.
   Правки стилей — здесь, разметка — в .tpl
   ============================================================ */
.vb-skip { position:absolute; left:-9999px; top:0; z-index:200; background:#023483; color:#F7F3EA; padding:12px 18px; font-size:14px; }
    .vb-skip:focus { left:0; }
    /* поля в разметке движка: .form-wrap → .form-label-outside + .form-input */
    .form-wrap { position:relative; display:flex; flex-direction:column; gap:6px; }
    .form-label-outside { font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; margin:0; }
    .form-validation { position:absolute; right:0; top:-2px; font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:10.5px; letter-spacing:.03em; color:#E27C6C; pointer-events:none; }
    .vb-card .form-validation { color:#C0392B; }
    .vb-form .form-input.error { border-color:#C0392B; }
    .snackbars { position:fixed; left:50%; bottom:24px; transform:translateX(-50%); z-index:120; display:flex; flex-direction:column; gap:8px; width:min(440px, calc(100vw - 32px)); }
    .snackbars > div { background:#0A1730; color:#F7F3EA; border-left:3px solid #73B6FD; padding:14px 18px; font-size:14.5px; line-height:1.5; box-shadow:0 18px 40px rgba(6,16,36,.32); }
    .snackbars .alert-success, .snackbars .snackbar-success { border-left-color:#4FA36B; }
    .snackbars .alert-error, .snackbars .snackbar-error { border-left-color:#C0392B; }
    * { box-sizing: border-box; }
    body { margin: 0; }
    a { color: #023483; text-decoration: none; }
    a:hover { color: #0B4198; }
    ::selection { background: #73B6FD; color: #06214D; }
    p { text-wrap: pretty; }
    .mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
    .serif { font-family: 'Literata', Georgia, serif; }
    .wrap { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
    .vb-link-u { border-bottom: 1px solid rgba(2,52,131,.3); transition: border-color .15s ease, color .15s ease; }
    .vb-link-u:hover { border-color: #023483; }
    .vb-btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
    .vb-btn-solid:hover { background: #73B6FD !important; color: #06214D !important; }
    .vb-btn-line:hover { border-color: #023483 !important; background: rgba(2,52,131,.05); }
    .vb-row { position: relative; transition: background-color .18s ease, box-shadow .18s ease, border-color .18s ease; }
    .vb-row::before { content: ''; position: absolute; left: -18px; top: 0; bottom: -1px; width: 3px; background: #023483; opacity: 0; transform: scaleY(.4); transform-origin: top; transition: opacity .18s ease, transform .22s cubic-bezier(.2,.7,.3,1); }
    .vb-row:hover::before { opacity: 1; transform: scaleY(1); }
    .vb-save5 { position: relative; display: inline-block; }
    .vb-save5::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 3px; background: #023483; opacity: 0; transform: scaleX(0); transform-origin: right; transition: opacity .18s ease, transform .26s cubic-bezier(.2,.7,.3,1); }
    .vb-row:hover .vb-save5::after { opacity: 1; transform: scaleX(1); }
    .vb-row:hover { background: rgba(176,155,108,.12); box-shadow: -18px 0 0 rgba(176,155,108,.12), 18px 0 0 rgba(176,155,108,.12); border-bottom-color: #023483; }
    input, textarea { font-family: 'IBM Plex Sans', sans-serif; width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(247,243,234,.20); padding: 13px 14px; font-size: 15.5px; color: #F7F3EA; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
    input:hover, textarea:hover { background: rgba(255,255,255,.09); }
    input:focus, textarea:focus { outline: none; border-color: #73B6FD; background: rgba(255,255,255,.10); box-shadow: 0 0 0 3px rgba(115,182,253,.20); }
    input::placeholder, textarea::placeholder { color: rgba(247,243,234,.42); }
    .vb-r { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
    .vb-modal { display: none; position: fixed; inset: 0; z-index: 90; align-items: center; justify-content: center; padding: 24px; }
    #m-call:checked ~ .vb-modal-call, #m-smeta:checked ~ .vb-modal-smeta { display: flex; }
    .vb-backdrop { position: absolute; inset: 0; background: rgba(6,16,36,.62); cursor: pointer; }
    .vb-card { position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto; background: #FDFBF6; border: 1px solid #131A2B; box-shadow: 0 30px 70px rgba(6,16,36,.35); }
    .vb-card input { background: #fff; border: 1px solid #C9C1AF; color: #131A2B; }
    .vb-card input:hover { background: #fff; border-color: #A9A294; }
    .vb-card input:focus { background: #fff; border-color: #023483; box-shadow: 0 0 0 3px rgba(2,52,131,.16); }
    .vb-card input::placeholder { color: #A9A294; }
    .vb-lab { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #6E7688; }
    .vb-close:hover { color: #023483; }
    @keyframes vb-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
    .ticker-track { display: flex; width: max-content; animation: vb-ticker 68s linear infinite; }
    .ticker-track:hover { animation-play-state: paused; }
    @media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
    @media (max-width: 700px) {
      .ticker-track { animation-duration: 44s; }
      .ticker-track span { font-size: 11.5px !important; }
      .vb-head { gap: 12px !important; padding-top: 18px !important; padding-bottom: 18px !important; }
      .vb-head svg { height: 32px !important; width: 109px !important; }
      .vb-head label.vb-btn { font-size: 12.5px !important; height: 38px !important; padding: 0 16px !important; }
      .vb-topline { font-size: 12px !important; gap: 10px !important; }
      .vb-topline > span:first-child, .vb-hours { display: none !important; }
      .vb-modal-duo { grid-template-columns: 1fr !important; }
    }
    @media (max-width: 1000px) {
      .wrap { padding: 0 22px; }
      .duo { grid-template-columns: 1fr !important; gap: 36px !important; }
      .vb-nav { display: none !important; }
      .vb-figs { grid-template-columns: 1fr !important; gap: 18px !important; }
      .vb-figs > div { border-left: none !important; padding-left: 0 !important; }
      .vb-ledger-cell { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
      .vb-est-row { grid-template-columns: 1fr 62px 62px !important; gap: 8px !important; }
      .vb-est-row span { font-size: 13.5px !important; }
      .vb-foot { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
    }

/* ============================================================
   Омни-виджет «Электронный офис»
   ============================================================ */
.eo-omni{
  --eo-accent:#023483;
  --eo-accent-dark:#011E4D;
  --eo-ring:#73B6FD;
  --eo-surface:#F7F3EA;
  --eo-border:#DCD5C7;
  --eo-size:66px;
  --eo-robot:#8A6A3C;
  --eo-robot-light:#BFAD94;
  --eo-robot-dark:#5A4527;
  --eo-robot-deep:#45351E;
  --eo-icon:#ffffff;
  --eo-icon-todo:#c9ccd1;
  --eo-progress:0;
  --eo-x:22px;
  --eo-y:26px;
  position:fixed; right:var(--eo-x); bottom:var(--eo-y); z-index:9990;
  display:flex; flex-direction:column; align-items:flex-end; gap:12px;
  pointer-events:none;
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
.eo-omni.eo-left{ right:auto; left:var(--eo-x); align-items:flex-start; }
.eo-omni > *{ pointer-events:auto; }
.eo-omni *{ box-sizing:border-box; }

.eo-totop{
  display:flex; align-items:center; gap:10px;
  border:none; background:none; padding:0; margin:0; cursor:pointer;
  font:inherit;
  opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s;
}
.eo-omni.eo-left .eo-totop{ flex-direction:row-reverse; }
.eo-totop[data-shown]{ opacity:1; visibility:visible; transform:none; }
.eo-omni.eo-open .eo-totop{ opacity:0; visibility:hidden; transform:translateY(8px); }

.eo-totop-label{
  font-size:11.5px; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  color:var(--eo-accent); background:var(--eo-surface);
  border:1px solid var(--eo-border); border-radius:20px; padding:7px 14px;
  box-shadow:0 10px 22px -14px rgba(20,16,12,.6); white-space:nowrap;
  opacity:0; transform:translateX(8px);
  transition:opacity .25s ease, transform .25s ease;
}
.eo-totop:hover .eo-totop-label,
.eo-totop:focus-visible .eo-totop-label{ opacity:1; transform:none; }

.eo-totop-ring{
  position:relative; display:grid; place-items:center;
  width:var(--eo-size); height:var(--eo-size); border-radius:50%; padding:3px;
  background:conic-gradient(var(--eo-ring) calc(var(--eo-progress) * 1%), rgba(0,0,0,.14) 0);
  box-shadow:0 14px 30px -12px rgba(20,16,12,.6);
  transition:transform .25s ease, box-shadow .25s ease;
}
.eo-totop-ring:before{
  content:''; position:absolute; inset:3px; border-radius:50%;
  background:var(--eo-accent); transition:background .25s ease;
}
.eo-totop-ring svg{
  position:relative; width:24px; height:24px;
  stroke:var(--eo-ring); fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
  transition:stroke .25s ease, transform .25s ease;
}
.eo-totop:hover .eo-totop-ring{ transform:translateY(-3px); box-shadow:0 18px 34px -12px rgba(20,16,12,.7); }
.eo-totop:hover .eo-totop-ring:before{ background:var(--eo-accent-dark); }
.eo-totop:hover .eo-totop-ring svg{ stroke:#fff; transform:translateY(-1px); }
.eo-totop:focus-visible .eo-totop-ring{ outline:2px solid var(--eo-ring); outline-offset:3px; }

.eo-stack{ position:relative; display:block; }

.eo-main{
  position:relative; display:block; padding:0; margin:0;
  width:var(--eo-size); height:var(--eo-size);
  border:3px solid var(--eo-surface); border-radius:50%; cursor:pointer;
  background:var(--eo-robot); overflow:hidden;
  box-shadow:0 12px 28px -10px rgba(20,16,12,.55);
  transition:transform .2s ease, box-shadow .2s ease;
}
.eo-main:hover{ transform:scale(1.06); box-shadow:0 16px 34px -10px rgba(20,16,12,.65); }
.eo-main:focus-visible{ outline:2px solid var(--eo-ring); outline-offset:3px; }
.eo-main svg{ display:block; width:102%; height:102%; margin:-1%; }
.eo-main .eo-r-body{ fill:var(--eo-robot); }
.eo-main .eo-r-light{ fill:var(--eo-robot-light); }
.eo-main .eo-r-dark{ fill:var(--eo-robot-dark); }
.eo-main .eo-r-deep{ fill:var(--eo-robot-deep); }
.eo-main .eo-s1{ stop-color:var(--eo-robot-light); }
.eo-main .eo-s2{ stop-color:var(--eo-robot); }
.eo-main .eo-s3{ stop-color:var(--eo-robot-dark); }

.eo-pulse{
  position:absolute; inset:-6px; border-radius:50%; z-index:1;
  border:2px solid var(--eo-ring); opacity:0; pointer-events:none;
  animation:eo-pulse 2.6s ease-out infinite;
}
@keyframes eo-pulse{
  0%{ transform:scale(.86); opacity:.55; }
  70%{ transform:scale(1.12); opacity:0; }
  100%{ transform:scale(1.12); opacity:0; }
}
.eo-omni.eo-open .eo-pulse{ animation:none; opacity:0; }

.eo-chats{
  position:absolute; right:0; bottom:calc(100% + 12px);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  opacity:0; visibility:hidden; transform:translateY(10px); pointer-events:none;
  transition:opacity .25s ease, transform .25s ease, visibility .25s;
}
.eo-omni.eo-left .eo-chats{ right:auto; left:0; }
.eo-omni.eo-open .eo-chats{ opacity:1; visibility:visible; transform:none; pointer-events:auto; }

.eo-chats a{
  position:relative; display:grid; place-items:center; margin:0;
  width:var(--eo-size); height:var(--eo-size);
  border:3px solid var(--eo-surface); border-radius:50%;
  color:var(--eo-icon);
  box-shadow:0 8px 20px -8px rgba(20,16,12,.5);
  transform:scale(.6); opacity:0;
  transition:transform .22s ease, opacity .22s ease, box-shadow .2s ease;
}
.eo-chats a.eo-todo{ color:var(--eo-icon-todo); }
.eo-omni.eo-open .eo-chats a{ transform:none; opacity:1; }
.eo-omni.eo-open .eo-chats a:nth-child(1){ transition-delay:.24s; }
.eo-omni.eo-open .eo-chats a:nth-child(2){ transition-delay:.21s; }
.eo-omni.eo-open .eo-chats a:nth-child(3){ transition-delay:.18s; }
.eo-omni.eo-open .eo-chats a:nth-child(4){ transition-delay:.15s; }
.eo-omni.eo-open .eo-chats a:nth-child(5){ transition-delay:.12s; }
.eo-omni.eo-open .eo-chats a:nth-child(6){ transition-delay:.09s; }
.eo-omni.eo-open .eo-chats a:nth-child(7){ transition-delay:.06s; }
.eo-omni.eo-open .eo-chats a:nth-child(8){ transition-delay:.03s; }
.eo-chats a:hover{ transform:scale(1.08); box-shadow:0 12px 26px -8px rgba(20,16,12,.6); }
.eo-chats a:focus-visible{ outline:2px solid var(--eo-surface); outline-offset:2px; }
.eo-chats svg{
  width:56%; height:56%; display:block;
  fill:currentColor; stroke:none;
}
.eo-chats svg.eo-stroke{
  fill:none; stroke:currentColor; stroke-width:1.9;
  stroke-linecap:round; stroke-linejoin:round;
}

.eo-main[aria-label]:before,
.eo-chats a[aria-label]:before{
  content:attr(aria-label); position:absolute; right:calc(100% + 12px); top:50%;
  transform:translate(6px,-50%);
  background:var(--eo-surface); color:var(--eo-accent); border:1px solid var(--eo-border);
  font-size:12px; font-weight:500; letter-spacing:.05em; white-space:nowrap;
  padding:7px 13px; border-radius:100px; box-shadow:0 10px 22px -14px rgba(20,16,12,.6);
  opacity:0; pointer-events:none; transition:opacity .18s ease, transform .18s ease;
}
.eo-omni.eo-left .eo-main[aria-label]:before,
.eo-omni.eo-left .eo-chats a[aria-label]:before{
  right:auto; left:calc(100% + 12px); transform:translate(-6px,-50%);
}
.eo-main:hover:before,
.eo-chats a:hover:before{ opacity:1; transform:translate(0,-50%); }

@media (max-width:760px){
  .eo-omni{ --eo-x:14px; --eo-y:16px; gap:10px; --eo-size:58px; }
  .eo-main:before, .eo-chats a:before{ display:none; }
  .eo-totop-label{ display:none; }
  .eo-totop-ring svg{ width:21px; height:21px; }
}
@media (prefers-reduced-motion:reduce){
  .eo-omni *{ animation:none !important; transition-duration:.01ms !important; }
}
@media print{ .eo-omni{ display:none !important; } }

/* ============================================================
   Внутренние страницы (site.tpl): типографика %content%
   ============================================================ */
.vb-article .kicker { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #8A8272; margin: 0 0 10px; }
.vb-article h1 { font-family: 'Literata', Georgia, serif; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -.018em; margin: 0 0 26px; }
.vb-article h2 { font-family: 'Literata', Georgia, serif; font-size: 25px; line-height: 1.26; font-weight: 600; margin: 42px 0 12px; }
.vb-article h3 { font-family: 'Literata', Georgia, serif; font-size: 20px; line-height: 1.3; font-weight: 600; margin: 30px 0 10px; }
.vb-article p, .vb-article li { font-size: 16.5px; line-height: 1.66; color: #2B3550; }
.vb-article p { margin: 0 0 15px; }
.vb-article ul, .vb-article ol { padding-left: 20px; margin: 0 0 18px; }
.vb-article li { margin: 5px 0; }
.vb-article blockquote { margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid #023483; font-family: 'Literata', Georgia, serif; font-size: 19px; line-height: 1.5; color: #131A2B; }
.vb-article img { max-width: 100%; height: auto; display: block; margin: 24px 0; }
.vb-article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.vb-article th, .vb-article td { text-align: left; padding: 11px 14px; border-bottom: 1px solid #E0D9C8; }
.vb-article th { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #8A8272; font-weight: 500; }
.vb-article td.num { text-align: right; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.vb-article hr { border: none; border-top: 1px solid #E0D9C8; margin: 34px 0; }
@media (max-width: 700px) {
  .vb-article h1 { font-size: 28px; }
  .vb-article h2 { font-size: 21px; }
  .vb-article p, .vb-article li { font-size: 16px; }
}
