/* v5.14 – Google reviews as an endless rail. v6.0 (Martin, 23. 10. 2026: „tie recenzie vyzerajú zle, daj ich do takej farby
   ako … konkrétny človek., jednoduchšie, aby sa to ľahšie čítalo a vyzeralo viac prémiovo“): dark, quiet cards; the brand
   gradient (turquoise → blue → violet → pink, the one of „konkrétny človek.“) only in the details – the hairline border,
   the stars, the ring around the initial and the 5,0.
   Markup: build/v4/reviews_v514.py (homepage, services hub, the six service pages). Behaviour: /assets/reviews.js.
   Default = a plain row you scroll (no JavaScript, reduced motion); .is-anim = the moving rail.
   v6.2 (Martin, 30. 10. 2026: „Odstráň toto tlačidlo z webu“): no pause button any more, the rail stops under the mouse,
   on keyboard focus, while dragged, off screen and with the site-wide „Pozastaviť animácie“ in the footer. */

.rvm-bar,.rvm{--rvm-grad:linear-gradient(110deg,#2DE0D6 0%,#4D9BFF 32%,#9D5CFF 64%,#FF5CB0 100%)}

/* ---------- rating bar: 5,0 · stars · 9 reviews · Google ---------- */
.rvm-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px;margin:0 0 30px;padding:14px 14px 14px 22px;
  border:1px solid rgba(234,238,244,.1);border-radius:18px;background:rgba(255,255,255,.025)}
.rvm-score{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0;font-size:15px;line-height:1.3;color:rgba(234,238,244,.74)}
.rvm-gl{width:22px;height:22px;flex:none}
.rvm-num{font-family:var(--fd,'Space Grotesk',system-ui,sans-serif);font-size:27px;font-weight:500;line-height:1;letter-spacing:-.02em;
  background:var(--rvm-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.rvm-stars,.rvm-cst{display:inline-block;letter-spacing:3px;line-height:1;
  background:var(--rvm-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.rvm-stars{font-size:17px}
.rvm-act{display:flex;flex-wrap:wrap;gap:10px}
.rvm-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 18px;border-radius:999px;
  border:1px solid rgba(234,238,244,.18);background:rgba(255,255,255,.03);color:#EAEEF4;
  font-family:var(--fb,'DM Sans',system-ui,sans-serif);font-size:14.5px;font-weight:500;line-height:1.2;letter-spacing:0;text-transform:none;
  text-decoration:none;white-space:nowrap;cursor:pointer;transition:border-color .25s,background-color .25s,color .25s}
.rvm-btn:hover{border-color:rgba(45,224,214,.62);background:rgba(45,224,214,.07);color:#fff}
.rvm-btn:focus-visible{outline:2px solid #2DE0D6;outline-offset:3px}
.rvm-ic{width:16px;height:16px;flex:none;fill:currentColor}
.rvm-ic-ext{fill:none}

/* ---------- the rail: full width, soft edges ---------- */
.rvm{--rvm-cw:360px;--rvm-gap:18px;--rvm-fade:clamp(28px,7vw,112px);--rvm-in:max(var(--rvm-fade),calc(50vw - 620px));
  position:relative;width:100vw;margin-left:calc(50% - 50vw)}
.rvm-vp{position:relative;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;
  padding:8px var(--rvm-in) 22px;scroll-padding-inline:var(--rvm-in);outline:none;
  scrollbar-width:thin;scrollbar-color:rgba(124,145,255,.45) transparent;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--rvm-fade),#000 calc(100% - var(--rvm-fade)),transparent);
  mask-image:linear-gradient(90deg,transparent,#000 var(--rvm-fade),#000 calc(100% - var(--rvm-fade)),transparent)}
.rvm-track{display:flex;gap:var(--rvm-gap);width:max-content}
.rvm-set{display:flex;gap:var(--rvm-gap);margin:0;padding:0;list-style:none}
.rvm-dup{display:none}
.rvm.is-anim .rvm-vp{overflow:hidden;padding-inline:0;scroll-snap-type:none;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none}
.rvm.is-anim .rvm-vp:active{cursor:grabbing}
.rvm.is-anim .rvm-dup{display:flex}
.rvm.is-anim .rvm-track{will-change:transform}
/* keyboard focus on the rail (it pauses; arrows move it): a ring outside the faded edges */
.rvm::after{content:'';position:absolute;inset:2px calc(var(--rvm-fade) * .5) 14px;border:2px solid transparent;border-radius:24px;pointer-events:none}
.rvm:has(.rvm-vp:focus-visible)::after{border-color:rgba(45,224,214,.8)}

/* ---------- a review card: one quiet style for all nine ---------- */
.rvm-card{flex:none;display:flex;width:var(--rvm-cw);scroll-snap-align:start}
/* the hairline border in the brand gradient: a transparent 1 px border shows the gradient layer painted under the solid
   padding-box layer, so the card itself stays one solid colour (no pseudo-element, no mask) */
.rvm-fig{position:relative;box-sizing:border-box;display:flex;flex-direction:column;width:100%;margin:0;padding:27px 27px 21px;
  border:1px solid transparent;border-radius:20px;
  background:linear-gradient(#0E1019,#0E1019) padding-box,
    #0E1019 linear-gradient(110deg,rgba(45,224,214,.55),rgba(77,155,255,.3) 32%,rgba(157,92,255,.3) 64%,rgba(255,92,176,.55)) border-box;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 26px 50px -32px rgba(0,0,0,.95);
  transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s}
.rvm-cst{align-self:flex-start;font-size:14px}       /* own width, so the gradient runs across the five stars */
.rvm-q{flex:1;margin:16px 0 22px;padding:0;border:0}
.rvm-q p{margin:0;font-family:var(--fb,'DM Sans',system-ui,sans-serif);font-size:16.5px;line-height:1.65;color:#E9ECF2;font-style:normal}
.rvm-by{display:flex;align-items:center;gap:13px;margin:0;padding-top:17px;border-top:1px solid rgba(234,238,244,.08)}
.rvm-av{position:relative;box-sizing:border-box;flex:none;display:flex;align-items:center;justify-content:center;width:38px;height:38px;
  border:1.5px solid transparent;border-radius:50%;font-family:var(--fd,'Space Grotesk',system-ui,sans-serif);font-size:15px;font-weight:600;color:#fff;
  background:linear-gradient(#161A28,#161A28) padding-box,#161A28 var(--rvm-grad) border-box}      /* the ring: same trick as the card border */
.rvm-who{display:flex;flex-direction:column;gap:2px;min-width:0}
.rvm-name{font-family:var(--fd,'Space Grotesk',system-ui,sans-serif);font-size:15.5px;font-weight:500;line-height:1.25;color:#F3F5F9}
.rvm-src{font-size:13px;line-height:1.3;color:rgba(234,238,244,.62)}
@media (hover:hover){
  .rvm-card:hover .rvm-fig{transform:translateY(-3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 30px 60px -30px rgba(77,155,255,.32)}
}

/* ---------- where it sits ---------- */
.reviews .rvm-bar{margin-top:-8px}
.sreviews.rvm-sec{margin-top:clamp(56px,7vw,88px);padding:0;border:0;background:none;box-shadow:none}
.rvm-sec .rvm-note{margin:12px 0 22px;max-width:70ch;font-size:14px;line-height:1.6;color:rgba(234,238,244,.62)}
.svp .sv-rev.rvm-sec{margin-top:0;padding:clamp(56px,6.5vw,88px) 0}

@media (max-width:760px){
  .rvm{--rvm-cw:min(310px,82vw);--rvm-gap:14px}
  .rvm-bar{padding:14px;gap:12px}
  .rvm-act{width:100%}
  .rvm-act .rvm-btn{flex:1 1 auto;padding:0 14px}
  .rvm-fig{padding:21px 21px 19px;border-radius:18px}
  .rvm-q p{font-size:16px}
  .reviews .rvm-bar{margin-top:0}
}
@media (prefers-reduced-motion:reduce){.rvm-fig{transition:none}}
