/* WrapForge web v2 — layout podľa ITAgency šablóny, farby WrapForge */

:root {
  --bg0: #0c0d10;
  --bg1: #1e2126;
  --bg2: #262a31;
  --line: #33383f;
  --text: #d6dae2;
  --dim: #8b93a1;
  --yellow: #ffcc00;
  --green: #21c74a;
  --r: 1rem;                                   /* radius kariet zo šablóny */
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, .35);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px;
       overflow-x: clip; }
body {
  background: var(--bg0);
  color: var(--text);
  font: 16px/1.65 "Inter", -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px;
                 border-radius: 4px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--yellow); color: #1b1b1b; font-weight: 600;
  padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }
a { color: var(--yellow); text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; line-height: 1.25; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── animácie (AOS-lite) ─────────────────────────────────────────────────
   Skrýva sa LEN keď beží JS (trieda .js na <html>) — bez JS je stránka
   celá viditeľná. */
.js .anim { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.js .anim[data-anim="up"]    { transform: translateY(26px); }
.js .anim[data-anim="down"]  { transform: translateY(-26px); }
.js .anim[data-anim="left"]  { transform: translateX(26px); }
.js .anim[data-anim="right"] { transform: translateX(-26px); }
.js .anim.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .anim, .js .anim[data-anim] {
    opacity: 1; transform: none; transition: none;
  }
  html { scroll-behavior: auto; }
  .card:hover, .btn:hover, .media:hover { transform: none; }
}

/* ── tlačidlá (pill zo šablóny) ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s,
              border-color .2s, color .2s;
}
.btn.sm { padding: 9px 20px; font-size: 14px; }
.btn.primary { background: var(--yellow); color: #1b1b1b; }
.btn.primary:hover {
  background: #ffd633;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 204, 0, .25);
}
.btn.outline { border: 1px solid #6e7684; color: var(--text); }
.btn.outline:hover { border-color: var(--yellow); color: var(--yellow);
                     transform: translateY(-2px); }
.btn.dark { background: #1b1b1b; color: var(--yellow); }
.btn.dark:hover { transform: translateY(-2px);
                  box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }

/* ── header ──────────────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 13, 16, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .28s ease;
}
/* Pri rolovaní DOLE lišta uhne, aby nezaberala miesto; jediný pohyb
   kolieskom SPÄŤ ju vráti — netreba sa preto vracať na začiatok
   stránky. Trieda sa prepína v skripte na konci každej stránky. */
header.uhla { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { header { transition: none; } }
.nav { display: flex; align-items: center; gap: 28px; min-height: 98px; }
.logo img { height: 46px; width: auto; }
.links { display: flex; gap: 22px; flex: 1; justify-content: center;
         flex-wrap: wrap; }
.links a { color: var(--dim); font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--yellow); }

/* ── polygónová sieť za celou stránkou ──────────────────────────────────
   V strede, kde je obsah, je zámerne potlačená — po okrajoch je plná. */
#plexus, #tien {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
#plexus { z-index: 0; }
#tien   { z-index: 0; }   /* v DOM za sieťou → kreslí sa nad ňou */
/* obsah nad plátna pozadia. Lišta tu ZÁMERNE nie je — mala by
   `position: relative`, čím by prišla o `sticky` z pravidla vyššie
   a odrolovala by preč (tak to bolo do 25.8.2026). Svoj z-index 50
   aj tak má, takže nad pozadím je. */
main, footer { position: relative; z-index: 1; }

/* ── hero (obrázok vľavo, text vpravo — ako v šablóne) ───────────────── */
.hero { position: relative; border-bottom: 1px solid var(--line); }
.hero-grid { z-index: 1; }
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.3fr .85fr;
  align-items: center; gap: 24px;
  min-height: min(80vh, 720px);
  padding-top: 150px; padding-bottom: 150px;
}
.heroshot {
  margin: 0;
  margin-left: clamp(-190px, -11vw, -30px);
}
.hero-copy { position: relative; z-index: 1; }
.heroshot picture { display: block; }
.heroshot img {
  width: 100%;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .55));
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 66px);
  letter-spacing: -1px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}
.typedline {
  font-family: "Poppins", sans-serif;
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 600;
  color: var(--yellow);
  margin-top: 8px;
  min-height: 1.4em;
}
.caret {
  display: inline-block; width: 2px; height: 1.05em;
  background: var(--yellow); vertical-align: -0.15em;
  margin-left: 3px; animation: blik 1s steps(1) infinite;
}
@keyframes blik { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
.hero .sub { max-width: 520px; color: var(--dim); margin-top: 16px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  display: inline-block;
  margin-top: 18px; font-size: 13.5px; color: var(--dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  background: rgba(30, 33, 38, .6);
}
.badge b { color: var(--yellow); font-weight: 600; }

/* ── počítadlá ───────────────────────────────────────────────────────── */
.counters { border-bottom: 1px solid var(--line); padding: 0; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
         padding-top: 150px; padding-bottom: 150px; text-align: center; }
.counter b {
  font-family: "Poppins", sans-serif;
  font-size: clamp(38px, 4.6vw, 58px); font-weight: 700; color: var(--yellow); display: block;
}
.counter span { color: var(--dim); font-size: 14.5px; }

/* ── sken sa rozvinie do strihu (časová os riadená scrollom) ─────────── */
.morph { padding: 150px 0;
         border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.morph .wrap { max-width: 1480px; }
.mgrid { display: grid; grid-template-columns: .62fr 2.38fr; gap: 44px;
         align-items: center; width: 100%; }
.mtext h2 { font-family: "Poppins", sans-serif; font-weight: 700; color: #fff;
            font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.5px;
            line-height: 1.12; margin-bottom: 14px; }
.mtext p { color: var(--dim); }

.mline { position: relative; --pic: 300px; }
/* posledná fáza je širšia — rozvinutý strih je na šírku */
.mstages { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.35fr 1.35fr; gap: 18px; }
.mstages.five { grid-template-columns: 1fr 1fr 1.3fr 1fr 1fr; gap: 20px; }
.morph.novinka { border-top: 0; }               /* dve sekcie za sebou = jedna čiara */
.mstep { display: grid; grid-template-rows: var(--pic) auto; }

.mpic { align-self: end; display: flex; align-items: flex-end;
        justify-content: center; padding-bottom: 16px;
        position: relative; overflow: hidden;
        opacity: 0; transform: translateY(18px);
        transition: opacity .55s ease, transform .55s ease; }
.mstep.tu .mpic { opacity: 1; transform: none; }
.mpic img { max-height: calc(var(--pic) - 16px); width: auto; max-width: 100%; }

/* pri rozsvietení fázy cez záber prejde skenovací pruh */
.mpic::after {
  content: ""; position: absolute; left: -10%; right: -10%; height: 26%;
  top: 0; transform: translateY(-140%); opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent,
              rgba(255, 204, 0, .10) 35%, rgba(255, 204, 0, .30) 50%,
              rgba(255, 204, 0, .10) 65%, transparent);
}
.mstep.tu .mpic::after { animation: sken 1.15s cubic-bezier(.4, 0, .2, 1) .15s 1; }
@keyframes sken {
  0%   { transform: translateY(-140%); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(430%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mstep.tu .mpic::after { animation: none; }
}

/* koľajnica, po ktorej postup beží */
.mrail { position: absolute; left: 0; right: 0; top: var(--pic);
         height: 1px; background: var(--line); }
.mrail i { display: block; height: 100%; width: 0; background: var(--yellow);
           box-shadow: 0 0 14px 1px rgba(255, 204, 0, .45); }

.mnode { position: relative; padding-top: 28px;
         opacity: .32; transition: opacity .45s ease; }
.mstep.tu .mnode { opacity: 1; }
.mnum {
  position: absolute; top: -14px; left: 0;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg2); color: var(--dim);
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 13px;
  transition: background .45s ease, color .45s ease, border-color .45s ease;
}
.mstep.tu .mnum { background: var(--yellow); color: #1b1b1b;
                  border-color: var(--yellow); }
.mnode b { display: block; color: var(--text); font-size: 15.5px; }
.mnode span:not(.mnum) { display: block; color: var(--dim); font-size: 13.5px;
                         line-height: 1.45; }

/* ── interaktívny 3D viewer (js/unfold3d.js) ──────────────────────────
   Sekcia dostane .has3d až keď viewer nabehne — dovtedy platia obrázky. */
.u3d { position: relative; height: 560px; margin-bottom: 4px;
       border-radius: var(--r); border: 1px solid var(--line); overflow: hidden;
       background: radial-gradient(ellipse at 50% 62%, #1b1e24 0%, var(--bg0) 72%); }
.u3d canvas { width: 100%; height: 100%; display: block;
              touch-action: pan-y; cursor: grab; }
.u3d.grab canvas { cursor: grabbing; }
.u3d-ui { position: absolute; left: 0; right: 0; bottom: 0;
          display: flex; align-items: center; justify-content: space-between;
          gap: 16px; padding: 12px 18px; pointer-events: none; }
.u3d-ui > * { pointer-events: auto; }
.u3d-hint { color: var(--dim); font-size: 13px; }
.u3d-slider { display: flex; align-items: center; gap: 10px;
              color: var(--dim); font-size: 13px; font-weight: 600; }
.u3d-slider input { width: 220px; accent-color: var(--yellow); cursor: pointer; }
.u3d-legend { position: absolute; top: 14px; right: 16px;
              display: flex; align-items: center; gap: 8px;
              font-size: 12px; color: var(--dim);
              opacity: 0; transition: opacity .4s ease; }
.u3d-legend.on { opacity: 1; }
.u3d-legend i { width: 140px; height: 8px; border-radius: 4px;
                background: linear-gradient(to right, #295cf2 0%, #fff 33.3%,
                            #0ff 50%, #0f0 66.7%, #ff0 83.3%, #f00 100%); }
.u3d-legend b { color: var(--text); font-weight: 600; margin-left: 4px; }
/* titulka: viewer namiesto obrázka, obrázok je poster do načítania dát */
.u3d-hero { height: auto; aspect-ratio: 16 / 9.5; border: 0; overflow: visible;
            background: radial-gradient(ellipse at 50% 55%,
                        rgba(255, 204, 0, .07) 0%, transparent 62%); }
.u3d-hero canvas { position: absolute; inset: 0; opacity: 0;
                   transition: opacity .8s ease; }
.u3d-hero.on canvas { opacity: 1; }
.u3d-poster { position: absolute; inset: 0; display: block;
              transition: opacity .8s ease; }
/* poster je render 1. snímky v rovnakej kamere: cover drží výšku ako
   plátno (pri užšom pomere sa orežú len boky), bez tieňa ako plátno */
.u3d-poster img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.u3d.on .u3d-poster { opacity: 0; pointer-events: none; }
.u3d-hero:not(.on) .u3d-ui, .u3d-hero:not(.on) .u3d-legend,
.u3d-hero:not(.on) .u3d-phase { opacity: 0; pointer-events: none; }
.u3d-hero .u3d-ui { padding: 8px 6px; }
.u3d-phase { position: absolute; left: 10px; top: 6px;
             font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px;
             color: var(--yellow); letter-spacing: .3px; transition: opacity .6s ease; }
.u3d-phase::before { content: ""; display: inline-block; width: 8px; height: 8px;
                     border-radius: 50%; background: var(--yellow); margin-right: 9px;
                     vertical-align: 1px; box-shadow: 0 0 10px rgba(255, 204, 0, .7); }
.u3d-phase.swap { animation: phasein .5s ease; }
@keyframes phasein { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.u3d-hero .u3d-legend { top: 8px; right: 6px; }
.has3d .mline { --pic: 0px; }
.has3d .mpic { display: none; }
.has3d .mstep { grid-template-rows: auto; }   /* bez obrázka je uzol 1. riadok */
.has3d .mrail { position: static; margin-top: 18px; }
.has3d .mnode { cursor: pointer; }
.has3d .mnode:hover b, .has3d .mnode:focus-visible b { color: #fff; }
.has3d .mnode:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.has3d .mstep.akt .mnum { box-shadow: 0 0 0 4px rgba(255, 204, 0, .25); }

/* ── rez plotra cez uložené plátno ───────────────────────────────────── */
.rez { position: relative; }
.rez picture { display: block; clip-path: inset(0 var(--rez, 0%) 0 0); }
.noz {
  position: absolute; top: 0; bottom: 0; width: 2px;
  left: calc(100% - var(--rez, 0%)); background: var(--yellow);
  box-shadow: 0 0 22px 4px rgba(255, 204, 0, .6);
  opacity: 0; pointer-events: none;
}
.rez.reze .noz { opacity: 1; }

/* ── sekcie ──────────────────────────────────────────────────────────── */
section { padding: 150px 0; }
section.alt { border-top: 1px solid var(--line);
              border-bottom: 1px solid var(--line); }
.kicker {
  display: inline-block;
  color: var(--yellow); font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 10px;
}
section h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700;
             color: #fff; letter-spacing: -.5px; }
.lead { color: var(--dim); max-width: 640px; margin: 12px 0 40px; }
.sechead { display: flex; align-items: flex-end; justify-content: space-between;
           gap: 24px; flex-wrap: wrap; }

/* ── karty ───────────────────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease,
              border-color .25s ease;
}
.js .card.anim { transition: opacity .55s ease, transform .4s ease,
                             box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover);
              border-color: #4a5058; }
.card.pad { padding: 26px; }
.card h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.card p { color: var(--dim); font-size: 14.5px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ikony v kartách */
.ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255, 204, 0, .12);
  margin-bottom: 14px;
  transition: background .25s ease, border-color .25s ease;
}
.ic svg { width: 26px; height: 26px; fill: none;
          stroke: var(--yellow); stroke-width: 1.7;
          stroke-linecap: round; stroke-linejoin: round; }

/* karty remesiel — ikona v strede hore (ako služby v šablóne) */
.card.trade { text-align: center; padding: 32px 24px; }
.trade .ic {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; margin: 0 auto 16px;
  background: rgba(255, 204, 0, .10);
  border: 1px solid rgba(255, 204, 0, .30);
}
.trade .ic svg { width: 31px; height: 31px; }
.trade:hover .ic { background: rgba(255, 204, 0, .20);
                   border-color: rgba(255, 204, 0, .55); }

/* ── ukážky (striedavé riadky) ───────────────────────────────────────── */
.show {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 44px; align-items: center;
  margin-bottom: 64px;
}
.show:last-child { margin-bottom: 0; }
.show.flip .media { order: 2; }
.show .media { display: flex; align-items: center; justify-content: center; }
.show .media img { width: 100%;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, .5)); }
.show .media.wide img { filter: none; }
.show h3 { font-size: 24px; color: #fff; margin-bottom: 10px; }
.show p { color: var(--dim); margin-bottom: 14px; }
.show li { position: relative; padding: 7px 0 7px 26px; font-size: 15px;
           color: var(--dim); }
.show li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(33, 199, 74, .18);
}
.show li::after {
  content: ""; position: absolute; left: 4px; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.show li b { color: var(--text); }
.show .media.wide { grid-column: 1 / -1; order: 0; }
.show .media.wide + div { grid-column: 1 / -1; }

/* dvojica záberov v jednej karte (3D model + rozvinutý strih) */
.media.duo picture + picture { border-top: 1px solid var(--line); }

/* ── video ukážka ────────────────────────────────────────────────────────
   aspect-ratio drží miesto ešte pred načítaním postera, takže sa stránka
   pod videom pri načítaní neposunie. */
.vidblok { margin-bottom: 64px; }
.vidblok video {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9;                /* video 1920×1080; poster (3:2) sa oreže */
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.vidblok .popis {
  color: var(--dim); font-size: 14.5px; margin-top: 14px;
}

/* ── postup ──────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { overflow: hidden; }
.step img { width: 100%; }
.step picture { display: block; background: var(--bg1); }
.step .body { padding: 20px 22px 24px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); color: #1b1b1b;
  font-family: "Poppins", sans-serif; font-weight: 700;
  margin-bottom: 10px;
}

/* ── licencia ────────────────────────────────────────────────────────── */
.license { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px;
           align-items: center; }
.license li { position: relative; padding: 9px 0 9px 26px; color: var(--dim); }
.license li::after {
  content: ""; position: absolute; left: 4px; top: 18px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.license li b { color: var(--text); }
.trialbox { padding: 36px 30px; text-align: center;
            border-color: rgba(255, 204, 0, .45); }
.trialbox:hover { border-color: rgba(255, 204, 0, .75); }
.trialbox .days { font-family: "Poppins", sans-serif; font-size: 46px;
                  font-weight: 700; color: var(--yellow); }
.trialbox .lbl { color: var(--dim); margin: 4px 0 20px; }

/* ── CTA pás ─────────────────────────────────────────────────────────── */
.ctaband { background: var(--yellow); padding: 56px 0; text-align: center; }
.ctaband h2 { color: #1b1b1b; font-size: clamp(24px, 3vw, 34px); }
.ctaband p { color: rgba(27, 27, 27, .75); margin: 10px 0 24px; }

/* ── kontakt ─────────────────────────────────────────────────────────── */
.kontakt { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px;
           align-items: start; }
.kudaje { display: grid; gap: 18px; }
.kudaje h3 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.kudaje p { font-size: 15px; }

/* formulár */
.fbox {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  padding: 30px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px;
      overflow: hidden; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pole { margin-bottom: 16px; }
.fgrid .pole { margin-bottom: 0; }
.fgrid + .fgrid, .fgrid + .pole { margin-top: 16px; }
.pole label { display: block; font-size: 13.5px; color: var(--dim);
              margin-bottom: 6px; }
.pole input, .pole select, .pole textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg0); border: 1px solid #4e555f;
  border-radius: 10px; padding: 11px 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pole textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.pole select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%),
                    linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.pole input:hover, .pole select:hover, .pole textarea:hover {
  border-color: #6e7684;
}
.pole input:focus, .pole select:focus, .pole textarea:focus {
  outline: none; border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, .22);
}
.pole input::placeholder, .pole textarea::placeholder { color: #838c99; }

.fpata { display: flex; align-items: flex-end; justify-content: space-between;
         gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.kapca { margin-bottom: 0; max-width: 210px; }
.kapca label b { color: var(--yellow); font-weight: 700; }
.fpata .btn { padding: 12px 32px; }
.fpata .btn[disabled] { opacity: .55; pointer-events: none; }

.fstav { margin-top: 14px; font-size: 14.5px; min-height: 1.2em; }
.fstav.ok { color: var(--green); }
.fstav.zle { color: #e0876f; }
.fnoscript { color: #e0876f; margin-bottom: 18px; font-size: 14.5px; }
.fpozn { margin-top: 12px; font-size: 12.5px; color: var(--dim); }

/* ── footer ──────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); background: #0b0c0f; }
.fcols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px;
         padding-top: 48px; padding-bottom: 36px; }
.flogo { height: 28px; width: auto; margin-bottom: 14px; }
.fcols p { color: var(--dim); font-size: 14px; max-width: 320px; }
.fcols h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.fcols a { display: block; color: var(--dim); font-size: 14.5px;
           padding: 4px 0; }
.fcols a:hover { color: var(--yellow); }
footer .row { display: flex; gap: 20px; align-items: center;
              border-top: 1px solid var(--line);
              padding-top: 18px; padding-bottom: 22px;
              font-size: 13.5px; color: var(--dim); }
footer .row a { color: var(--text); text-decoration: underline;
                text-underline-offset: 3px; }
footer .row a:hover { color: var(--yellow); }
.kudaje p a { text-decoration: underline; text-underline-offset: 3px; }
.spacer { flex: 1; }

/* ── obchodné podmienky (vop.html, en/terms.html) ────────────────────── */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 24px 90px;
         position: relative; z-index: 1; }
.legal h1 { font-size: clamp(26px, 3.4vw, 38px); color: #fff;
            margin: 26px 0 26px; letter-spacing: -.5px; }
.legal h2 { font-size: 19px; color: #fff; margin: 34px 0 10px; }
.legal p { color: var(--dim); font-size: 15px; margin-bottom: 10px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-block; font-size: 14.5px; font-weight: 600;
        text-decoration: none; }
.back:hover { text-decoration: underline; }

/* tabuľky a lišta o cookies na právnych stránkach */
.legal-lead { color: var(--text); font-size: 16px; margin-bottom: 8px; }
/* na úzkych displejoch sa tabuľka posúva vodorovne vo vlastnom rámci */
.legal-scroll { overflow-x: auto; margin: 14px 0 8px; }
.legal-tab { width: 100%; min-width: 460px; border-collapse: collapse;
             font-size: 14px; }
.legal-tab th, .legal-tab td {
  border: 1px solid var(--line); padding: 9px 11px;
  text-align: left; vertical-align: top; color: var(--dim);
}
.legal-tab th { color: var(--text); font-weight: 600; background: var(--bg1); }
.legal-tab td b { color: var(--text); }

/* informačná lišta o cookies — používame len nevyhnutný súbor cookie,
   preto informuje, nepýta sa na súhlas */
.cookies[hidden] { display: none; }   /* inak by display:flex prebil hidden */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  padding: 16px 20px; font-size: 14px; color: var(--dim);
}
.cookies p { margin: 0; flex: 1 1 320px; }
.cookies a { text-decoration: underline; text-underline-offset: 3px; }
.cookies .btn { padding: 9px 22px; font-size: 14px; }
@media (max-width: 600px) {
  .cookies { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
}

/* ── mobil ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid, .steps, .grid4 { grid-template-columns: 1fr 1fr; }
  .kontakt { grid-template-columns: 1fr; }
  .morph { padding: 90px 0; }
  .mgrid { grid-template-columns: 1fr; gap: 26px; }
  .mline { --pic: 190px; }
  .mstages, .mstages.five { grid-template-columns: 1fr 1fr; gap: 26px 22px; }
  .mrail { display: none; }
  /* bez koľajnice čísla krokov liezli do spodku vieweru — nižšie */
  .mnum { top: 4px; }
  .mnode { padding-top: 46px; }
  .u3d { height: 340px; }
  .u3d-hero { height: auto; aspect-ratio: 4 / 3.3; }
  /* legenda napätia by sa na úzkom plátne prekrývala s názvom fázy —
     ide na druhý riadok pod názov, s kratším pásikom */
  .u3d-hero .u3d-legend { top: 34px; left: 10px; right: auto; }
  .u3d-legend i { width: 96px; }
  .u3d-slider input { width: 150px; }
  .u3d-hint { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; text-align: center;
               padding-top: 44px; padding-bottom: 90px; }
  .heroshot { margin-left: 0; order: 2; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .show, .license { grid-template-columns: 1fr; gap: 24px; }
  .show.flip .media { order: 0; }
  .fcols { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 940px) {
  /* hlavička: logo + CTA v riadku, odkazy ako posuvný pás pod nimi */
  .nav { min-height: 0; padding-top: 10px; padding-bottom: 10px;
         flex-wrap: wrap; gap: 10px; }
  .logo { flex: 1; }
  .links {
    order: 3; flex: 1 1 100%; justify-content: flex-start;
    flex-wrap: nowrap; overflow-x: auto; gap: 18px;
    padding-bottom: 2px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .links::-webkit-scrollbar { display: none; }
  .links a { white-space: nowrap; }
  html { scroll-padding-top: 104px; }
}
@media (max-width: 600px) {
  .grid, .steps, .grid4 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .fbox { padding: 22px; }
  section { padding: 90px 0; }
}

/* ── systémové požiadavky ────────────────────────────────────────────── */
.spec .tier {
  display: inline-block; margin-bottom: 12px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 204, 0, .10);
  border: 1px solid rgba(255, 204, 0, .32);
  color: var(--yellow); font-size: 12px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
}
.spec.hi { border-color: rgba(255, 204, 0, .45); }
.spec.hi:hover { border-color: rgba(255, 204, 0, .75); }
.spec dl { margin-top: 18px; border-top: 1px solid var(--line); }
.spec dl > div {
  display: grid; grid-template-columns: 86px 1fr; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.spec dt { color: var(--dim); font-size: 13.5px; }
.spec dd { color: var(--text); font-size: 14.5px; }
.spec dd b { color: #fff; font-weight: 600; }

.notes { margin-top: 18px; }
.notes:hover { transform: none; box-shadow: var(--shadow); }
.notes h3 { margin-bottom: 18px; }
.notes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 36px; }
.notes li { position: relative; padding: 0 0 0 26px;
            color: var(--dim); font-size: 14.5px; }
.notes li::after {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.notes li b { color: var(--text); }
.notes-cta { margin-top: 22px; padding-top: 18px;
             border-top: 1px solid var(--line); }
.notes-cta a { color: var(--yellow); }
.notes-cta a:hover { text-decoration: underline; }
@media (max-width: 760px) { .notes ul { grid-template-columns: 1fr; } }

/* ── hlavička: osem odkazov v JEDNOM riadku aj pri užšom okne (7.9.2026,
   user: „Kontakt" padal do druhého riadku) — tlačidlo Skúšobná verzia
   z hlavičky zmizlo, pri šírke do ~1120 px sa ešte stiahnu medzery a písmo */
@media (max-width: 1120px) {
  header .links { gap: 12px; }
  header .links a { font-size: 13.5px; }
  /* anglické popisky sú o kus dlhšie (Who it is for, Requirements…) */
  html[lang="en"] header .links { gap: 9px; }
  html[lang="en"] header .links a { font-size: 13px; }
}
