/* sv-kit: общий слой страниц услуг на шаблоне 45 (кроме логотипа).
   Рамки для работ, герой-колода, широкие карточки портфолио. */
.svk-fr{position:relative;display:block;width:100%;border-radius:14px;overflow:hidden;background:#141416;
  box-shadow:0 24px 60px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.06)}
.svk-fr img{display:block;width:100%;height:100%;object-fit:cover}
.svk-fr--slide{aspect-ratio:16/9}
.svk-fr--sheet{aspect-ratio:4/3}
.svk-fr--sq{aspect-ratio:1/1}
.svk-fr--phone{aspect-ratio:9/16;max-width:260px;margin:0 auto;border-radius:30px;border:8px solid #1d1d1f}
.svk-fr--plain{background:none;box-shadow:none}
.gcard .svk-fr{margin:auto 0 0}
/* колода: слайды лежат стопкой, JS двигает их по прокрутке */
.svk-stack{overflow:visible;background:none;box-shadow:none}
.svk-stack .svk-st{position:absolute;inset:0;border-radius:14px;overflow:hidden;background:#141416;
  box-shadow:0 30px 80px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.07);
  transform-origin:50% 100%;will-change:transform,opacity}
.svk-stack .svk-st:not(:first-child){opacity:0}
.js .svk-stack .svk-st{transition:none}
.hero-stage .svk-hero{width:min(1040px,86vw);max-height:60svh;aspect-ratio:16/9;margin:0 auto}
@media (max-width:760px){.hero-stage .svk-hero{width:92vw}}
/* широкие работы вместо квадратных знаков */
.svk-wide .lcard.svk-w{aspect-ratio:16/10}
.svk-wide .lcard.svk-w img{left:0;top:0;width:100%;height:100%;object-fit:cover}
.svk-wide .lwall{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1000px){.svk-wide .lwall{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.svk-wide .lwall{grid-template-columns:repeat(2,minmax(0,1fr))}}
.svk-wide .pick-card.svk-p img{width:100%;max-height:none;aspect-ratio:16/10;object-fit:cover;border-radius:10px}
.svk-wide .ba-slot img{width:100%;height:100%;object-fit:cover}
.svk-wide .pick-view img{object-fit:contain}
/* «Проверьте сами»: версии внутри .vstage */
.svk-mv{position:absolute;inset:0;display:grid;place-items:center;padding:4% 6%}
.svk-mv .svk-fr--slide{height:100%;width:auto;max-width:100%}
.svk-mv .svk-fr--sheet{height:100%;width:auto}
.svk-mv .svk-fr--phone{height:100%;width:auto;max-width:none}
.svk .vstage{position:relative;overflow:hidden}
.svk-fr--phone img{object-fit:contain;background:#fff}
@media (max-width:760px){.hero-stage .svk-hero{width:calc(100vw - 40px)}}
/* «Избранное» на страницах услуг: широкие карточки во всю площадь, подпись снизу */
.svk-wide .pick-card.svk-p{width:clamp(280px,34vw,460px);padding:0;background:none;box-shadow:none;align-items:stretch;gap:12px}
.svk-wide .pick-card.svk-p img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:14px;margin:0;max-height:none}
.svk-wide .pick-card.svk-p .pc-cap{color:var(--muted);text-align:left;margin:0}
.svk-wide .pick-card.svk-p .pc-cap b{color:var(--text)}
.svk-cut .pick-card.svk-p img,.svk-cut .lcard.svk-w img{object-fit:contain;background:#fff}
/* просмотрщик */
.svk-view{position:fixed;inset:0;z-index:2000;background:rgba(8,8,10,.96);display:none;align-items:center;justify-content:center}
.svk-view.open{display:flex}
.svk-view figure{margin:0;max-width:min(1500px,92vw);max-height:84vh;display:flex}
.svk-view img{max-width:100%;max-height:84vh;width:auto;height:auto;object-fit:contain;border-radius:10px;background:#fff}
.svk-vx,.svk-vp,.svk-vn{position:absolute;border:0;background:rgba(255,255,255,.08);color:#f5f5f7;border-radius:50%;width:48px;height:48px;font-size:22px;cursor:pointer}
.svk-vx{top:18px;right:18px}.svk-vp{left:18px;top:50%;transform:translateY(-50%)}.svk-vn{right:18px;top:50%;transform:translateY(-50%)}
.svk-vc{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:var(--muted);font-size:14px}
.svk-vc b{color:#f5f5f7}.svk-vc span{margin-left:8px;opacity:.7}
@media (max-width:640px){.svk-vp,.svk-vn{display:none}.svk-view figure{max-width:100vw}}
/* иконки семейства iconwerk */
.ic{width:100%;height:100%;display:block}
.trow-ic .ic{width:22px;height:22px}
.file-ic.svk-fic{display:grid;place-items:center}.file-ic.svk-fic .ic{width:56px;height:56px}
.ucell-img.svk-uimg{display:grid;place-items:center}.ucell-img.svk-uimg .ic{width:42%;height:auto}
.ng-c .ic{width:44px;height:44px;margin:8px auto 4px}
.svk-scene{width:100%;height:auto;display:block;color:var(--text,#f5f5f7)}
.gcard .svk-scene{margin:auto 0 0}
.svk-icv{display:grid;place-items:center;width:100%;height:100%;color:currentColor}
.svk-icv .ic{width:56%;max-width:120px;height:auto}
.specs .svk-icv{width:64px;height:64px;margin-bottom:10px}.specs .svk-icv .ic{width:100%}
.svk-brw{position:relative;display:block;border-radius:12px;overflow:hidden;background:#fff;padding-top:24px;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.svk-brw b{position:absolute;left:12px;top:8px;width:8px;height:8px;border-radius:50%;background:#d2d2d7;box-shadow:13px 0 #d2d2d7,26px 0 #d2d2d7}
.svk-wide .pick-card.svk-p .svk-brw img{border-radius:0;aspect-ratio:16/10;object-position:top}
/* правки 07.10 (вечер): картинки целиком в одинаковых контейнерах */
.svk .shot .ph img,.svk .ba-slot img{object-fit:contain;background:#f5f5f7}
.svk .shot .ph,.svk .ba-imgs{cursor:zoom-in}
/* пропорция карточек «Избранного» по услуге: 16/10 по умолчанию, 3/4 — WB/Ozon, 4/5 — Instagram */
.svk .pick-card.svk-p img{aspect-ratio:var(--svk-pr,16/10)}
.svk .pick-card.svk-p{width:clamp(240px,calc(30vw * var(--svk-pw,1)),460px)}
/* стена работ: плотная мозаика разных пропорций (ряды выравнивает sv-kit.js) */
.svk .lwall.svk-mosaic{display:flex;flex-wrap:wrap;gap:12px}
.svk .lwall.svk-mosaic .lcard{position:relative;aspect-ratio:auto;flex:0 0 auto;margin:0}
.svk .lwall.svk-mosaic .lcard img{position:static;width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
.svk-view.svk-single .svk-vp,.svk-view.svk-single .svk-vn{display:none}
/* герой из вырезанных PNG (упаковка, устройства): без рамки и фона, предмет на всю высоту */
.svk-hero--cut .svk-st{background:none;box-shadow:none;border-radius:0}
.svk-hero--cut .svk-st img{object-fit:contain;filter:drop-shadow(0 30px 40px rgba(0,0,0,.45))}
.hero-stage .svk-hero.svk-hero--cut{aspect-ratio:16/10;max-height:66svh}

/* sv-kit: док второго уровня — размеры как у Apple: кнопки 32 px, в одну строку, название не переносится */
.dock{padding:7px 7px 7px 18px}
.dock-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dock-r{flex:0 0 auto;flex-wrap:nowrap!important;gap:8px}
.dock-btn,.dock-buy{height:32px;padding:0 14px!important;font-size:13px!important;line-height:1;border-radius:999px;
  box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
@media(max-width:640px){.dock{padding:6px 6px 6px 16px}.dock-btn,.dock-buy{height:30px;padding:0 12px!important}
  .ribbon.is-one{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;padding-left:12px;padding-right:12px}}

/* sv-kit: ток на чипе ART-OS страниц услуг — виден только когда реально играет (иначе iPhone рисует кнопку play) */
#chip .chip-bolt{position:absolute;inset:0;z-index:6;width:100%;height:100%;object-fit:fill;mix-blend-mode:screen;pointer-events:none;visibility:hidden;opacity:0;transition:opacity .45s}
#chip.is-on .chip-bolt.is-playing{visibility:visible;opacity:1}
#chip .chip-bolt::-webkit-media-controls,#chip .chip-bolt::-webkit-media-controls-start-playback-button{display:none!important}
#chip .chip-m{transition:opacity .35s ease,transform .7s cubic-bezier(.2,.9,.25,1.15)}
#chip .chip-lid{transition:opacity .45s ease,transform .9s cubic-bezier(.3,.8,.2,1)}
@media(prefers-reduced-motion:reduce){#chip .chip-bolt{display:none}}
body.svk[style*="--svk-pr"] .pick-card.svk-p{aspect-ratio:auto;height:auto;flex-direction:column;overflow:visible;width:clamp(280px,44vw,680px);flex:0 0 clamp(280px,44vw,680px)}
body.svk[style*="--svk-pr"] .pick-card.svk-p img{height:auto;border-radius:14px}
body.svk[style*="--svk-pr"] .pick-card.svk-p .pc-cap{position:static;background:none;padding:12px 2px 0;text-align:left}
.svk-fr--scene{border-radius:16px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.4)}
body.svk[style*="--svk-pr"] .shots{grid-template-columns:1.6fr 1fr;gap:20px}
body.svk[style*="--svk-pr"] .shots .shot{display:flex;flex-direction:column}
body.svk[style*="--svk-pr"] .shots .shot:first-child{grid-row:span 2}
body.svk[style*="--svk-pr"] .shots .shot .ph{aspect-ratio:16/9;padding:0;overflow:hidden}
body.svk[style*="--svk-pr"] .shots .shot:first-child .ph{aspect-ratio:auto;flex:1;min-height:380px}
body.svk[style*="--svk-pr"] .shots .shot .ph img{object-fit:cover;width:100%;height:100%;max-height:none;background:none}
@media (max-width:760px){body.svk[style*="--svk-pr"] .shots{grid-template-columns:1fr}body.svk[style*="--svk-pr"] .shots .shot:first-child{grid-row:auto}body.svk[style*="--svk-pr"] .shots .shot:first-child .ph{aspect-ratio:16/9;min-height:0}}
