/*! © ARTEM OPARIN® (товарный знак зарегистрирован). Демо-сайт SitePilot. Дизайн, код, тексты и изображения принадлежат правообладателю. Копирование и использование без письменного разрешения запрещено. */
/* ---------- герой v2: до/после в первом экране (Claude2artembot oae, 25.10) ---------- */
.hero--v2{padding:clamp(18px,2.4vw,26px) 0 clamp(28px,3.4vw,44px);background:linear-gradient(180deg,var(--paper) 0,var(--bg) 78%)}
.hero--v2 .hero__in{grid-template-columns:minmax(0,1fr) minmax(0,1.14fr);column-gap:clamp(28px,3.4vw,48px);align-items:stretch}
.hero__col{display:flex;flex-direction:column;min-width:0;align-self:start}
.hero--v2 .hero__head{min-width:0}
.hero--v2 .hero__k{font-size:13px;padding:6px 13px 6px 11px;margin-bottom:12px}
.hero--v2 h1{font-size:clamp(32px,3.5vw,50px);line-height:1.06;margin-bottom:14px}
.hero--v2 .hero__lead{font-size:clamp(15.5px,1.15vw,17px);line-height:1.55;max-width:48ch;margin-bottom:16px}
.htrust{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.htrust li{display:inline-flex;align-items:center;gap:7px;padding:7px 12px 7px 9px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px var(--line);font-size:13.5px;font-weight:500;color:var(--tx);white-space:nowrap;line-height:1.2}
.htrust li b{font-weight:700;color:var(--ink)}
.htrust .ico{width:17px;height:17px;color:var(--color-brand)}
.htrust .ico--star{color:#E2A400}
.hero--v2 .qp{padding:16px 18px 14px;box-shadow:inset 0 0 0 1px var(--line),var(--sh)}
.hero--v2 .qp__hd{margin-bottom:10px}
.hero--v2 .qp__items{gap:7px;margin-bottom:12px}
.hero--v2 .qp__item{padding:8px 12px;font-size:13.5px}
.hero--v2 .qp__out{padding-top:12px}
.hero--v2 .qp__note{margin-top:8px}
/* слайдер */
.hb{display:flex;flex-direction:column;gap:10px;height:100%;min-width:0}
.hb__stage{position:relative;flex:1 1 auto;min-height:440px;border-radius:var(--r-l);overflow:hidden;background:var(--paper-2);box-shadow:var(--sh-l);cursor:ew-resize;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;--p:50%}
.hb__stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none;max-width:none}
.hb__before{clip-path:inset(0 calc(100% - var(--p)) 0 0)}
.hb__line{position:absolute;top:0;bottom:0;left:var(--p);width:3px;margin-left:-1.5px;background:#fff;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:3;pointer-events:none}
.hb__knob{position:absolute;top:50%;left:50%;width:50px;height:50px;margin:-25px 0 0 -25px;border:0;border-radius:50%;background:#fff;color:var(--color-brand-700);box-shadow:0 4px 16px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;gap:0;pointer-events:auto;cursor:ew-resize;padding:0;touch-action:none}
.hb__knob svg{width:17px;height:17px}
.hb__knob svg:first-child{transform:rotate(180deg);margin-right:-3px}
.hb.is-anim .hb__before{transition:clip-path .55s var(--ease)}
.hb.is-anim .hb__line{transition:left .55s var(--ease)}
.hb__tag{position:absolute;top:14px;z-index:2;font-size:12.5px;font-weight:700;padding:5px 11px;border-radius:999px;color:#fff;line-height:1.2}
.hb__tag--b{left:14px;background:rgba(15,34,28,.82)}
.hb__tag--a{right:14px;background:var(--color-brand-700)}
.hb__hint{position:absolute;left:var(--p);top:calc(50% + 36px);transform:translateX(-50%);z-index:4;display:inline-flex;align-items:center;gap:6px;background:rgba(15,34,28,.84);color:#fff;font-size:12.5px;font-weight:600;padding:6px 12px;border-radius:999px;white-space:nowrap;pointer-events:none;transition:opacity .3s}
.hb.is-touched .hb__hint{opacity:0}
.hb__card{position:absolute;z-index:4;background:#fff;color:var(--tx);border-radius:14px;box-shadow:0 8px 24px rgba(15,34,28,.18);pointer-events:none;line-height:1.25}
.hb__res{right:14px;bottom:14px;padding:10px 13px;display:grid;gap:6px;max-width:min(62%,300px)}
.hb__res li{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink)}
.hb__res li span{min-width:0}
.hb__chk{flex:none;width:20px;height:20px;border-radius:50%;background:var(--color-brand-soft);color:var(--color-brand-700);display:flex;align-items:center;justify-content:center}
.hb__chk svg{width:13px;height:13px}
.hb__who{left:14px;bottom:14px;padding:8px 13px 8px 8px;display:flex;align-items:center;gap:10px}
.hb__who img{position:static;width:38px;height:38px;border-radius:50%;object-fit:cover}
.hb__who b{display:block;font-size:13px;color:var(--ink)}
.hb__who small{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted);white-space:nowrap}
.hb__who small svg{width:13px;height:13px;color:#E2A400}
.hb__tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px;border-radius:16px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);flex:none}
.hb__tab{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:transparent;border-radius:12px;padding:8px 6px;color:var(--tx);text-align:left;min-width:0;transition:background .16s,box-shadow .16s}
.hb__tab:hover{background:#fff}
.hb__tab.is-on{background:#fff;box-shadow:0 1px 2px rgba(15,34,28,.06),0 4px 12px rgba(15,34,28,.08),inset 0 0 0 1.5px var(--color-brand)}
.hb__tab svg{width:22px;height:22px;color:var(--color-brand)}
.hb__tab span{display:flex;flex-direction:column;min-width:0}
.hb__tab b{font-size:14px;font-weight:700;color:var(--ink);line-height:1.2}
.hb__tab small{font-size:12px;color:var(--muted);white-space:nowrap;line-height:1.3}
@media(max-width:1180px){.hb__who{display:none}.hb__res{left:14px;right:auto}.hb__tab svg{display:none}.hb__tab{text-align:center}.hb__tab span{align-items:center}}
@media(max-width:980px){
  .hero--v2 .hero__in{display:flex;flex-direction:column;gap:0}
  .hero__col{display:contents}
  .hero--v2 .hero__head{order:0}.hb{order:1}.htrust{order:2}.hero--v2 .qp{order:3}
  .hb{height:auto;margin:4px 0 16px}
  .hb__tabs{order:-1}
  .hb__stage{flex:none;min-height:0;aspect-ratio:3/2}
  .hero--v2 .hero__lead{max-width:60ch}
}
@media(max-width:560px){
  .hero--v2 h1{font-size:clamp(28px,8vw,34px)}
  .hb__stage{aspect-ratio:4/3.3;border-radius:20px}
  .hb__who{display:none}
  .hb__res{left:10px;right:auto;top:44px;bottom:auto;padding:8px 10px;max-width:calc(100% - 20px)}
  .hb__res li+li{display:none}
  .hb__res li{font-size:12.5px}
  .hb__tag{top:10px;font-size:12px;padding:4px 10px}.hb__tag--b{left:10px}.hb__tag--a{right:10px}
  .hb__knob{width:44px;height:44px;margin:-22px 0 0 -22px}
  .hb__hint{top:calc(50% + 30px);font-size:12px}
  .hb__tabs{order:-1}
  .hb__tab{padding:7px 2px}
  .hb__tab b{font-size:13px}
  .htrust{gap:6px}
  .htrust li{font-size:12.5px;padding:6px 10px 6px 8px}
}
@media(prefers-reduced-motion:reduce){.hb.is-anim .hb__before,.hb.is-anim .hb__line{transition:none}}
