/* =========================================================================
   Video mārketings · jaunais stils (v3, Figma "Jaunais stils"), svca 30.10.2026
   Kustība: tikai transform un opacity; reduced-motion = gala stāvoklis.
   ========================================================================= */
/* ---------- svca kopīgais: pakalpojumu lapu hero, fakti, ķeksīšu saraksts (dublēts katras lapas CSS) ---------- */
.sx-hero{ position:relative; background:var(--white); padding:clamp(20px, 2.9vw, 56px) 0 var(--sec-y); }
.sx-hero .crumbs{ margin:0; }
.sx-hero .crumbs ol, .sx-crumbs ol{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0; padding:0; list-style:none; font-size:13px; line-height:20px; color:var(--muted); }
.sx-hero .crumbs li + li::before, .sx-crumbs li + li::before{ content:"/"; margin-right:6px; color:var(--muted); }
.sx-hero .crumbs a, .sx-crumbs a{ color:var(--muted); transition:color 180ms var(--ease-v3); }
.sx-hero .crumbs a:hover, .sx-crumbs a:hover{ color:var(--signal); }
.sx-hero .crumbs [aria-current], .sx-crumbs [aria-current]{ color:var(--ink); font-weight:500; }
.sx-hero__row{ display:grid; grid-template-columns:minmax(0, 660fr) minmax(0, 760fr); gap:clamp(40px, 5.3vw, 80px); align-items:center; margin-top:clamp(24px, 2.1vw, 40px); }
.sx-hero__kicker{ margin:0 0 18px; font-size:13px; font-weight:500; line-height:1.5; color:var(--muted); }
.sx-hero__h1{ margin:0; max-width:14em; text-wrap:balance; }
.sx-hero__lead{ margin:22px 0 0; max-width:620px; }
.sx-hero__ctas{ display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; }
.sx-vis{ position:relative; width:100%; aspect-ratio:760 / 480; border-radius:var(--r-lg); background:var(--panel); overflow:hidden; isolation:isolate; }
.sx-facts{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:40px; margin:40px 0 0; padding-top:28px; border-top:1px solid var(--line); }
.sx-facts dt{ font-size:13px; line-height:1.5; color:var(--muted); }
.sx-facts dd{ margin:6px 0 0; font-size:16px; line-height:1.45; letter-spacing:-0.01em; color:var(--ink); }
.sx-check{ display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.sx-check li{ display:grid; grid-template-columns:14px minmax(0, 1fr); gap:12px; font-size:15px; line-height:1.45; color:var(--ink); }
.sx-check svg{ width:14px; height:14px; margin-top:3px; color:var(--signal-soft); }
.sx-cross li svg{ color:var(--muted); }
.sx-note{ display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:40px; color:var(--muted); font-size:15px; }
.sx-note p{ margin:0; max-width:760px; }
.bg-ink .sec-head .h2{ color:var(--white); }
.bg-ink .sec-head__aside, .bg-ink .sec-head__side{ color:var(--on-black-muted); }
@keyframes svca-rise{ from{ opacity:0; transform:translate3d(0, 24px, 0); } to{ opacity:1; transform:none; } }
@keyframes svca-fade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes svca-pop{ from{ opacity:0; transform:scale(.6); } to{ opacity:1; transform:none; } }
@media (max-width: 1024px){
  .sx-hero__row{ grid-template-columns:minmax(0, 1fr); gap:36px; }
  .sx-hero__h1{ max-width:none; }
  .sx-facts{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:20px 24px; }
}
@media (max-width: 700px){
  .sx-hero__ctas{ display:grid; gap:10px; }
  .sx-hero__ctas .btn{ width:100%; --h:44px; --fs:15px; }
  .sx-facts{ grid-template-columns:minmax(0, 1fr); gap:0; margin-top:24px; padding-top:0; border-top:0; }
  .sx-facts > div{ display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:14px 0; border-top:1px solid var(--line); }
  .sx-facts dd{ margin:0; text-align:right; font-size:15px; }
  .sx-note{ flex-direction:column; align-items:stretch; }
  .sx-note .btn{ width:100%; }
}
.sx-check li{ text-wrap:pretty; }

/* ---------- Cenu kartes (lapu veidi, e-veikala paketes, abonementa pakas) ---------- */
.sx-pack{ display:flex; flex-direction:column; min-width:0; padding:28px 30px 26px; border-radius:var(--r-lg); background:var(--white); color:var(--ink); }
.sx-pack--panel{ background:var(--panel); }
.sx-pack--dark{ background:var(--ink); color:var(--white); }
.sx-pack__top{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:26px; }
.sx-pack__meta{ font-size:12px; line-height:1.4; color:var(--muted); }
.sx-pack--dark .sx-pack__meta{ color:var(--on-black-muted); }
.sx-pack__badge{ display:inline-flex; align-items:center; height:26px; padding:0 11px; border-radius:var(--r-pill); background:var(--signal-soft); color:var(--ink); font-size:12px; font-weight:500; white-space:nowrap; }
.sx-pack__name{ margin:18px 0 0; }
.sx-pack__price{ display:flex; align-items:flex-end; gap:8px; margin-top:14px; line-height:1; }
.sx-pack__price small, .sx-pack__price span{ padding-bottom:8px; font-size:12px; color:var(--muted); white-space:nowrap; }
.sx-pack--dark .sx-pack__price small, .sx-pack--dark .sx-pack__price span{ color:var(--on-black-muted); }
.sx-pack__price strong{ font-size:var(--fs-big); font-weight:500; letter-spacing:-0.05em; line-height:.95; white-space:nowrap; font-variant-numeric:tabular-nums; }
.sx-pack__price--text strong{ font-size:var(--fs-h3); letter-spacing:-0.04em; line-height:1.2; padding:14px 0 6px; }
.sx-pack__desc{ margin:16px 0 0; font-size:15px; line-height:1.55; color:var(--muted); }
.sx-pack--dark .sx-pack__desc{ color:var(--on-black-muted); }
.sx-pack__btn{ width:100%; margin-top:20px; }
.sx-pack__inc{ margin-top:20px; flex:1; }
.sx-pack__plus{ margin:0; padding-bottom:8px; font-size:12px; color:var(--muted); border-bottom:1px solid var(--line); }
.sx-pack--dark .sx-pack__plus{ color:var(--on-black-muted); border-color:rgba(255,255,255,.1); }
.sx-pack__list{ gap:0; }
.sx-pack__list li{ padding:12px 0; border-top:1px solid var(--line); font-size:14px; }
.sx-pack__list li:first-child{ border-top:0; }
.sx-pack__plus + .sx-pack__list li:first-child{ border-top:0; }
.sx-pack--dark .sx-pack__list li{ color:var(--white); border-color:rgba(255,255,255,.1); }
.sx-pack__foot{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-top:20px; padding-top:18px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); }
.sx-pack__foot strong{ font-size:15px; font-weight:400; color:var(--ink); white-space:nowrap; }
.sx-pack--dark .sx-pack__foot{ border-color:rgba(255,255,255,.1); color:var(--on-black-muted); }
.sx-pack--dark .sx-pack__foot strong{ color:var(--white); }
.sx-packs{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; align-items:stretch; }
@media (max-width: 1100px){ .sx-packs{ grid-template-columns:minmax(0, 1fr); max-width:620px; } }
@media (max-width: 700px){ .sx-pack{ padding:24px 22px 22px; border-radius:var(--r-md); } .sx-pack__btn{ --h:40px; } }
.sx-note .c-signal{ color:inherit; }
/* v3 kopīgā sec-head labojums: galvene pa visu platumu (base.css align-items:start) */
.page-template-tpl-video .sec-head{ align-items:stretch; }
/* ---------- Hero: video kadrs + krāsu laukumi (M stils) ---------- */
.vhv{ display:grid; grid-template-columns:250fr 255fr 255fr; grid-template-rows:230fr 120fr 130fr; gap:3px; background:var(--white); }
.vhv__frame{ position:relative; grid-row:1 / 4; overflow:hidden; background:var(--ink) center / cover no-repeat; }
.vhv__video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.vhv__rec{ position:absolute; z-index:2; top:12px; left:12px; display:inline-flex; align-items:center; gap:6px; height:22px; padding:0 9px; border-radius:6px; background:rgba(17,19,21,.72); color:var(--white); font-family:var(--mono); font-size:10px; }
.vhv__rec i{ width:6px; height:6px; border-radius:50%; background:var(--signal); animation:vhv-blink 1.2s steps(2) infinite; }
.vhv__bar{ position:absolute; z-index:2; left:0; right:0; bottom:0; height:4px; background:rgba(255,255,255,.25); }
.vhv__bar i{ display:block; height:100%; width:100%; background:var(--signal-soft); transform-origin:0 50%; transform:scaleX(.72); }
.vhv-t{ position:relative; overflow:hidden; isolation:isolate; display:flex; flex-direction:column; justify-content:space-between; min-width:0; padding:14px 16px; color:var(--ink); }
.vhv-t__lbl{ position:relative; font-size:12px; line-height:1.3; }
.vhv-t b{ position:relative; font-size:clamp(22px, 1.2vw + 8px, 32px); font-weight:500; line-height:1; letter-spacing:-0.04em; white-space:nowrap; }
.vhv-t--big{ grid-column:2 / 4; }
.vhv-t--big .vhv-t__num{ font-size:clamp(64px, 5vw + 10px, 112px); font-weight:400; letter-spacing:-0.06em; font-variant-numeric:tabular-nums; }
.vhv-t--lilac{ background:var(--lilac); }
.vhv-t--lilac::after{ content:""; position:absolute; z-index:-1; right:0; bottom:0; width:32%; aspect-ratio:1; border-top-left-radius:100%; background:var(--lilac-2); }
.vhv-t--butter{ background:var(--butter-2); }
.vhv-t--butter::after{ content:""; position:absolute; z-index:-1; right:0; top:0; width:26%; aspect-ratio:1; border-bottom-left-radius:100%; background:var(--butter); }
.vhv-t--signal{ background-color:var(--signal-soft); background-image:repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 7px, transparent 7px 16px); color:var(--white); }
.vhv-t--mint{ background:var(--mint); }
.vhv-t--mint::after{ content:""; position:absolute; z-index:-1; right:0; bottom:0; width:28%; aspect-ratio:1; border-top-left-radius:100%; background:var(--mint-2); }
.vhv-t--slate{ background:var(--slate); color:var(--white); }
html.js:not(.reduced) .vhv:not(.is-in) .vhv-t{ opacity:0; }
html.js:not(.reduced) .vhv:not(.is-in) .vhv__bar i{ transform:scaleX(0); }
.vhv.is-in .vhv-t{ animation:svca-rise 520ms var(--ease-v3) both; animation-delay:var(--d, 0ms); }
.vhv.is-in .vhv__bar i{ animation:vhv-bar 1000ms var(--ease-v3) 200ms both; }
@keyframes vhv-bar{ from{ transform:scaleX(0); } }
@keyframes vhv-blink{ 50%{ opacity:.2; } }
html.reduced .vhv__rec i{ animation:none; }

/* ---------- Formāti ---------- */
.vf2__grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; }
.vf2-card{ display:flex; flex-direction:column; padding:26px 26px 24px; border-radius:var(--r-lg); background:var(--white); }
.vf2-card__top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.vf2-card__spec{ font-size:11px; color:var(--muted); text-align:right; }
.vf2-card__title{ margin:20px 0 0; }
.vf2-card__text{ margin:12px 0 0; font-size:14px; line-height:1.55; color:var(--muted); flex:1; }
.vf2-card__chips{ display:flex; flex-wrap:wrap; gap:6px; margin:18px 0 0; padding:0; list-style:none; }
.vf2-card__chips li{ display:inline-flex; align-items:center; height:28px; padding:0 11px; border-radius:var(--r-pill); background:var(--panel); font-size:12px; font-weight:500; }
.vf2-card__task{ display:flex; flex-direction:column; gap:4px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
.vf2-card__task small{ font-size:12px; color:var(--muted); }
.vf2-card__task strong{ font-size:14px; font-weight:500; }
.vf2-band{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 40px; margin-top:16px; padding:22px 26px; border-radius:var(--r-lg); background:var(--white); }
.vf2-band__label{ font-size:12px; color:var(--muted); }
.vf2-band__stat{ display:flex; align-items:baseline; gap:8px; }
.vf2-band__stat strong{ font-size:var(--fs-h3); font-weight:500; letter-spacing:-0.04em; white-space:nowrap; flex-shrink:0; }
.vf2-band__stat strong .c-signal{ font-size:13px; letter-spacing:0; color:var(--muted); }
.vf2-band__stat span{ font-size:13px; color:var(--muted); }
.vf2-band .btn{ margin-left:auto; --bg:var(--btn-2); }

/* ---------- Filmēšanas diena ---------- */
.vd2__line{ display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:24px; margin:0; padding:0; list-style:none; }
.vd2-step{ position:relative; padding-top:24px; }
.vd2-step::before{ content:""; position:absolute; top:4px; left:18px; right:-6px; height:1px; background:rgba(255,255,255,.18); }
.vd2-step.is-last::before{ right:0; }
.vd2-step__dot{ position:absolute; top:0; left:0; width:9px; height:9px; border-radius:50%; background:var(--white); }
.vd2-step.is-last .vd2-step__dot{ background:var(--signal-soft); }
.vd2-step__time{ display:block; font-family:var(--mono); font-size:11px; color:var(--signal-soft); }
.vd2-step__title{ margin:10px 0 0; color:var(--white); }
.vd2-step__text{ margin:8px 0 0; font-size:13px; line-height:1.5; color:var(--on-black-muted); }
.vd2__total{ margin:28px 0 0; font-size:13px; color:var(--on-black-muted); }
.vd2__cols{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; margin-top:32px; }
.vd2-col{ padding:24px 26px; border-radius:var(--r-lg); background:var(--ink-2); }
.vd2-col__title{ margin:0 0 6px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.1); color:var(--white); }
.vd2-col .sx-check{ gap:0; }
.vd2-col .sx-check li{ padding:14px 0; border-bottom:1px solid rgba(255,255,255,.08); color:var(--white); font-size:14px; }
.vd2-col .sx-check li:last-child{ border-bottom:0; }


/* ---------- Publicēšana: mēneša laika līnija (N stils) ---------- */
.vp2__grid{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 440px); gap:16px; align-items:stretch; }
.vp2-cal, .vp2-rep{ padding:28px 30px; border-radius:var(--r-lg); background:var(--white); }
.vp2-cal__head{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.vp2-cal__head strong{ margin:0; }
.vp2-cal__legend{ display:flex; gap:18px; font-size:11px; color:var(--muted); }
.vp2-cal__legend span{ display:inline-flex; align-items:center; gap:6px; }
.vp2-cal__legend i{ width:8px; height:8px; transform:rotate(45deg); border:1.5px solid var(--slate); }
.vp2-cal__legend i.is-full{ background:var(--slate); }
.vp2-cal__body{ --nc:120px; position:relative; margin-top:26px; padding-bottom:30px; }
.vp2-cal__axis{ position:relative; height:26px; margin-left:var(--nc); border-bottom:1px solid var(--line);
  background-image:repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 29)); background-size:100% 6px; background-position:0 100%; background-repeat:no-repeat; }
.vp2-cal__axis span{ position:absolute; left:var(--x); top:0; transform:translateX(-50%); font-size:10px; color:var(--muted); }
.vp2-lane{ display:grid; grid-template-columns:var(--nc) minmax(0, 1fr); align-items:center; height:50px; }
.vp2-lane__name{ font-size:12px; font-weight:500; }
.vp2-lane__track{ position:relative; height:100%; }
.vp2-lane__track::before{ content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--line); }
.vp2-lane__link{ position:absolute; top:50%; left:var(--a); width:calc(var(--b) - var(--a)); border-top:1.5px dashed var(--c); opacity:.55; }
.vp2-dia{ position:absolute; top:50%; left:var(--x); width:12px; height:12px; margin:-6px 0 0 -6px; transform:rotate(45deg); border:1.5px solid var(--c); background:var(--white); border-radius:1.5px; }
.vp2-dia.is-pub{ background:var(--c); }
.vp2-dia.is-shoot{ width:15px; height:15px; margin:-7.5px 0 0 -7.5px; }
.vp2-cal__today{ position:absolute; top:22px; bottom:20px; width:1.5px; background:var(--signal-soft); }
.vp2-cal__today{ left:calc(var(--nc) + (100% - var(--nc)) * 0.396); }
.vp2-cal__today em{ position:absolute; bottom:-22px; left:50%; transform:translateX(-50%); padding:3px 9px; border-radius:6px; background:var(--signal-soft); color:var(--white); font-style:normal; font-size:11px; white-space:nowrap; }
.vp2-cal__play{ position:absolute; top:26px; bottom:30px; left:var(--nc); right:0; overflow:hidden; pointer-events:none; }
.vp2-cal__play i{ position:absolute; inset:0; }
.vp2-cal__play i::before{ content:""; position:absolute; top:0; bottom:0; left:0; width:1px; background:rgba(17,19,21,.35); }
.vp2-cal.is-in .vp2-cal__play i{ animation:vp2-play 4s linear 600ms infinite; }
@keyframes vp2-play{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(100%,0,0); } }
html.js:not(.reduced) .vp2-cal:not(.is-in) .vp2-dia, html.js:not(.reduced) .vp2-cal:not(.is-in) .vp2-lane__link{ opacity:0; }
.vp2-cal.is-in .vp2-dia{ animation:svca-pop 380ms var(--ease-v3) both; animation-delay:calc(var(--x) * 6ms + 100ms); }
.vp2-cal.is-in .vp2-lane__link{ animation:svca-fade 500ms var(--ease-v3) 500ms both; }
html.reduced .vp2-cal__play{ display:none; }
.vp2-rep__head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:14px; }
.vp2-rep__head h3{ margin:0; }
.vp2-rep__head span{ font-size:11px; color:var(--muted); }
.vp2-rep__rows{ margin:0; padding:0; list-style:none; }
.vp2-row{ display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:end; gap:4px 12px; padding:14px 0; border-top:1px solid var(--line); }
.vp2-row__label{ grid-column:1 / -1; font-size:12px; color:var(--muted); }
.vp2-row__num{ font-size:clamp(30px, 1.2vw + 16px, 40px); font-weight:400; line-height:1; letter-spacing:-0.05em; font-variant-numeric:tabular-nums; }
.vp2-row__delta{ display:inline-flex; align-items:center; gap:6px; padding-bottom:6px; font-style:normal; font-size:12px; color:#1e7b50; }
.vp2-row__delta i{ width:7px; height:7px; transform:rotate(45deg); background:var(--mint-2); }
.vp2-rep__note{ margin:14px 0 0; font-size:12px; line-height:1.5; color:var(--muted); }
html.js:not(.reduced) .vp2-rep:not(.is-in) .vp2-row__delta i{ opacity:0; }
.vp2-rep.is-in .vp2-row__delta i{ animation:svca-pop 360ms var(--ease-v3) both; animation-delay:calc(var(--k) * 150ms + 700ms); }

/* ---------- Īsie video ---------- */
.vs2__foot{ display:flex; justify-content:flex-end; margin-top:28px; }

@media (max-width: 1280px){
  .vf2__grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .vp2__grid{ grid-template-columns:minmax(0, 1fr); }
  .vd2__line{ grid-template-columns:repeat(3, minmax(0, 1fr)); row-gap:32px; }
}
@media (max-width: 900px){
  .vd2__cols{ grid-template-columns:minmax(0, 1fr); }
}
@media (max-width: 760px){
  .vhv{ grid-template-columns:1fr 1fr; grid-template-rows:auto; aspect-ratio:auto; }
  .vhv__frame{ grid-row:auto; grid-column:1 / -1; aspect-ratio:16 / 10; }
  .vhv-t{ min-height:84px; padding:12px; }
  .vhv-t--big{ grid-column:1 / -1; min-height:120px; }
  .vhv-t--big .vhv-t__num{ font-size:64px; }
  .vhv-t b{ font-size:24px; }
  .vf2__grid{ grid-template-columns:minmax(0, 1fr); }
  .vf2-card{ padding:22px; border-radius:var(--r-md); }
  .vf2-band .btn{ margin-left:0; width:100%; }
  .vd2__line{ grid-template-columns:minmax(0, 1fr); gap:0; }
  .vd2-step{ padding:0 0 22px 26px; }
  .vd2-step::before{ top:14px; bottom:0; left:4px; right:auto; width:1px; height:auto; }
  .vd2-step.is-last::before{ display:none; }
  .vd2-step__dot{ top:4px; }
  .vp2-cal, .vp2-rep{ padding:20px 16px; border-radius:var(--r-md); }
  .vp2-cal__body{ --nc:74px; }
  .vp2-lane{ height:42px; }
  .vp2-lane__name{ font-size:11px; }
  .vp2-dia{ width:10px; height:10px; margin:-5px 0 0 -5px; }
  .vs2__foot .btn{ width:100%; }
}

/* ---------- Video anatomija (30.10.2026): īsts mūsu video + montāžas laika līnija ---------- */
.va2__stage{ display:grid; grid-template-columns:minmax(0, 1fr) 460px minmax(0, 1fr); gap:clamp(24px, 3vw, 56px); align-items:center; }
.va2__notes{ display:grid; margin:0; padding:0; list-style:none; }
.va2-note{ position:relative; padding:22px 0 24px; border-top:1px solid var(--line); }
.va2-note__bar{ position:absolute; left:0; right:0; top:-1px; height:2px; overflow:hidden; pointer-events:none; }
.va2-note__bar i{ display:block; height:100%; background:var(--signal-soft); transform:scaleX(0); transform-origin:0 50%; }
.va2-note__label{ display:block; font-size:12px; color:var(--muted); transition:color .3s ease; }
.va2-note__title{ margin:6px 0 0; transition:opacity .4s var(--ease-v3); }
.va2-note__btn{ all:unset; cursor:pointer; color:inherit; font:inherit; letter-spacing:inherit; }
.va2-note__btn::after{ content:""; position:absolute; inset:0; }
.va2-note__btn:focus-visible{ outline:2px solid var(--signal); outline-offset:4px; border-radius:4px; }
.va2-note__text{ margin:8px 0 0; font-size:14px; line-height:1.55; color:var(--muted); transition:opacity .4s var(--ease-v3); }
.va2.is-va .va2-note__title, .va2.is-va .va2-note__text{ opacity:.5; }
.va2.is-va .va2-note.is-on .va2-note__title, .va2.is-va .va2-note.is-on .va2-note__text{ opacity:1; }
.va2.is-va .va2-note.is-on .va2-note__label{ color:var(--signal-text); }
@media (hover: hover) and (pointer: fine){
  .va2.is-va .va2-note:hover .va2-note__title{ opacity:.85; }
  .va2.is-va .va2-note.is-on:hover .va2-note__title{ opacity:1; }
}

/* Montāžas panelis */
.va2-ed{ position:relative; display:grid; gap:12px; padding:14px; border-radius:var(--r-lg); background:var(--ink); color:var(--white); box-shadow:0 30px 60px -24px rgba(17,19,21,.4); isolation:isolate; }
.va2-ed::before{ content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; background-image:var(--noise); opacity:.07; pointer-events:none; }
.va2-ed__top{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:2px 6px; font-family:var(--mono); font-size:11px; color:var(--on-black-muted); }
.va2-ed__file{ display:inline-flex; align-items:center; gap:8px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.va2-ed__file::before{ content:""; flex:none; width:8px; height:8px; border-radius:2px; background:var(--signal-soft); }
.va2-ed__tc{ flex:none; color:var(--white); font-variant-numeric:tabular-nums; }
.va2-ed__view{ display:grid; place-items:center; padding:22px 0; border-radius:var(--r-md); background:var(--ink-2); }

.va2-phone{ position:relative; width:212px; aspect-ratio:9 / 16; border-radius:20px; overflow:hidden; background:#000; box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 20px 40px rgba(0,0,0,.45); }
.va2-phone__video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* Uzraksti telefonā: kas redzams, atkarīgs no posma (data-step uz .va2-ed) */
.va2-o{ position:absolute; inset:0; z-index:2; pointer-events:none; font-size:11px; line-height:1.2; }
.va2-o > *{ position:absolute; opacity:0; transition:opacity .35s var(--ease-v3), transform .5s var(--ease-v3); }
.va2-o__logo{ top:40px; left:16px; height:22px; display:inline-flex; align-items:center; padding:0 8px; border-radius:6px; background:var(--signal-soft); color:var(--ink); font-size:10px; font-weight:600; transform:scale(.6); transform-origin:0 50%; }
.va2-o__chip{ top:10px; right:10px; height:20px; display:inline-flex; align-items:center; padding:0 8px; border-radius:6px; background:rgba(255,255,255,.92); color:var(--ink); font-size:10px; font-variant-numeric:tabular-nums; white-space:nowrap; opacity:1; }
.va2-o__hook{ top:74px; left:16px; right:36px; transform:translateY(-8px); }
.va2-o__hook span{ font-size:14px; font-weight:600; line-height:1.45; color:var(--ink); background:var(--white); padding:1px 6px; border-radius:4px; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.va2-o__sub{ left:14px; right:36px; bottom:96px; display:flex; flex-wrap:wrap; justify-content:center; gap:4px; opacity:1; }
.va2-o__sub span{ display:inline-block; padding:4px 8px; border-radius:6px; background:rgba(17,19,21,.86); color:var(--white); font-size:12px; font-weight:500; opacity:0; transform:translateY(6px); transition:opacity .3s ease, transform .45s var(--ease-v3); }
.va2-o__cut{ inset:0; background:var(--white); transition:none; }
.va2-o__safe{ inset:0; }
.va2-o__zone{ position:absolute; background:rgba(244,131,74,.2); }
.va2-o__zone--top{ top:0; left:0; right:0; height:9%; }
.va2-o__zone--side{ right:0; top:44%; bottom:22%; width:15%; display:grid; justify-items:center; align-content:space-evenly; }
.va2-o__zone--side i{ width:18px; height:18px; border-radius:50%; background:rgba(255,255,255,.6); }
.va2-o__zone--bottom{ left:0; right:0; bottom:0; height:22%; display:grid; align-content:center; gap:6px; padding:0 14px; }
.va2-o__zone--bottom i{ width:70%; height:6px; border-radius:3px; background:rgba(255,255,255,.6); }
.va2-o__zone--bottom i + i{ width:44%; }
.va2-o__frame{ position:absolute; top:9%; left:5%; right:15%; bottom:22%; border:1.5px dashed var(--signal-soft); border-radius:8px; }
.va2-o__frame em{ position:absolute; top:6px; right:6px; padding:2px 6px; border-radius:4px; background:var(--signal-soft); color:var(--ink); font-size:10px; font-style:normal; font-weight:500; white-space:nowrap; }
.va2-o__cta{ left:50%; bottom:96px; height:30px; display:inline-flex; align-items:center; padding:0 14px; border-radius:6px; background:var(--white); color:var(--ink); font-size:11px; font-weight:600; white-space:nowrap; transform:translate(-50%, 8px) scale(.92); }

.va2-ed[data-step] .va2-o__logo{ opacity:1; transform:none; }
.va2-ed[data-step="1"] .va2-o__hook, .va2-ed[data-step="2"] .va2-o__hook{ opacity:1; transform:none; }
.va2-ed[data-step="2"] .va2-o__sub span, .va2-ed[data-step="3"] .va2-o__sub span, .va2-ed[data-step="4"] .va2-o__sub span{ opacity:1; transform:none; }
.va2-ed[data-step="2"] .va2-o__sub span + span{ transition-delay:.7s; }
.va2-ed[data-step="3"] .va2-o__cut{ animation:va2-cut .5s linear infinite; }
.va2-ed[data-step="4"] .va2-o__safe{ opacity:1; }
.va2-ed[data-step="5"] .va2-o__cta{ opacity:1; transform:translate(-50%, 0) scale(1); }
@keyframes va2-cut{ 0%{ opacity:0; } 6%{ opacity:.32; } 26%, 100%{ opacity:0; } }

/* Laika līnija */
.va2-tl{ overflow:hidden; padding:2px 6px 6px; font-family:var(--mono); font-size:10px; color:var(--on-black-muted); }
.va2-tl__ruler{ display:flex; justify-content:space-between; margin:0 0 6px 22px; padding-bottom:5px; border-bottom:1px solid rgba(255,255,255,.08); font-variant-numeric:tabular-nums; }
.va2-tl__tracks{ position:relative; display:grid; gap:4px; }
.va2-tl__row{ display:grid; grid-template-columns:16px minmax(0, 1fr); gap:6px; align-items:center; }
.va2-tl__row b{ font-size:10px; font-weight:500; text-align:center; color:var(--on-black-muted); }
.va2-tl__lane{ position:relative; height:18px; border-radius:4px; background:rgba(255,255,255,.04); }
.va2-tl__clip{ position:absolute; top:0; bottom:0; left:calc(var(--a) * 100%); width:calc((var(--b) - var(--a)) * 100% - 2px); display:flex; align-items:center; padding:0 6px; border-radius:4px; overflow:hidden; color:var(--ink); font-size:9.5px; white-space:nowrap; text-overflow:ellipsis; opacity:.5; transition:opacity .3s ease; }
.va2-tl__clip--logo{ background:var(--peach); opacity:.85; }
.va2-tl__clip--hook{ background:var(--lilac); }
.va2-tl__clip--sub{ background:var(--butter-2); }
.va2-tl__clip--cta{ background:var(--mint-2); }
.va2-ed[data-step="1"] [data-va-clip="1"],
.va2-ed[data-step="2"] [data-va-clip="2"], .va2-ed[data-step="3"] [data-va-clip="2"], .va2-ed[data-step="4"] [data-va-clip="2"],
.va2-ed[data-step="5"] [data-va-clip="5"]{ opacity:1; }
.va2-tl__row--v .va2-tl__lane{ height:40px; background:none; }
.va2-tl__film{ display:grid; grid-template-columns:repeat(8, minmax(0, 1fr)); gap:2px; }
.va2-tl__cell{ border-radius:3px; background-color:var(--ink-3); background-repeat:no-repeat; background-size:800% auto; background-position:calc(var(--i) * 100% / 7) 42%; }
.va2-ed[data-step="3"] .va2-tl__cell{ animation:va2-cell 1.33s linear infinite; animation-delay:calc(var(--i) * .166s); }
@keyframes va2-cell{ 0%{ box-shadow:inset 0 0 0 2px var(--signal-soft); } 22%, 100%{ box-shadow:inset 0 0 0 0 rgba(244,131,74,0); } }
.va2-tl__wave svg{ display:block; width:100%; height:100%; fill:rgba(159,216,181,.6); }
.va2-tl__head{ position:absolute; top:-25px; bottom:-2px; left:22px; right:0; pointer-events:none; transform:translateX(16.67%); will-change:transform; }
.va2-tl__head i{ position:absolute; top:0; bottom:0; left:-1px; width:2px; border-radius:1px; background:var(--signal); }
.va2-tl__head i::before{ content:""; position:absolute; top:0; left:-4px; width:10px; height:10px; border-radius:2px 2px 5px 5px; background:var(--signal); }

@media (prefers-reduced-motion: reduce){
  .va2-o > *, .va2-o__sub span, .va2-note__title, .va2-note__text{ transition:none; }
  .va2-ed[data-step="3"] .va2-o__cut, .va2-ed[data-step="3"] .va2-tl__cell{ animation:none; }
}
@media (max-width: 1280px){
  .va2__stage{ grid-template-columns:minmax(0, 1fr) 400px minmax(0, 1fr); }
}
@media (max-width: 1100px){
  .va2__stage{ grid-template-columns:minmax(0, 1fr) 360px minmax(0, 1fr); gap:24px; }
  .va2-phone{ width:196px; }
}
@media (max-width: 900px){
  .va2__stage{ grid-template-columns:minmax(0, 1fr); gap:8px; }
  .va2-ed{ order:-1; width:100%; max-width:460px; justify-self:center; margin-bottom:24px; }
  .va2-note:first-child{ border-top:0; }
  .va2-ed + .va2__notes .va2-note:first-child{ border-top:1px solid var(--line); }
}
@media (max-width: 420px){
  .va2-ed{ padding:10px; }
  .va2-phone{ width:188px; }
}
