/* ==========================================================================
   CUBALAB: Redesign preview stylesheet (style-new.css)
   Používa ho iba indexnew.php. Ostrá verzia (style.css) ostáva nedotknutá.
   Fáza 2–3 briefu: dizajnové tokeny + navigácia + hero + statické sekcie.
   Fáza 4 (GSAP/Lenis) zatiaľ NIE je: reveal rieši IntersectionObserver.
   ========================================================================== */

/* ---- 1. TOKENY ---------------------------------------------------------- */
:root {
  color-scheme: light;
  /* farby */
  --c-bg:            #ffffff;
  --c-bg-alt:        #f4f7fb;
  --c-bg-dark:       #0a1020;
  --c-bg-dark-2:     #0f1830;
  --c-surface:       #ffffff;
  --c-border:        #e2e8f0;
  --c-border-strong: #cbd5e1;
  --c-text:          #0f172a;
  --c-text-muted:    #51607a;
  --c-text-faint:    #8a97ad;
  --c-text-invert:   #ffffff;
  --c-accent:        #0066ff;
  --c-accent-ink:    #0047b3;
  --c-accent-soft:   rgba(0, 102, 255, 0.10);
  --c-accent-2:      #22d3ee;
  --c-danger:        #dc2626;
  --c-ok:            #059669;

  /* typografia */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --text-xs:   0.78rem;
  --text-sm:   0.88rem;
  --text-base: 1rem;
  --text-lg:   1.15rem;
  --text-xl:   1.4rem;
  --text-2xl:  clamp(1.6rem, 3vw, 2.1rem);
  --text-3xl:  clamp(2rem, 4.5vw, 3rem);
  --text-4xl:  clamp(2.6rem, 6.5vw, 4.6rem);

  /* rozostupy */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --section-pad: clamp(64px, 10vw, 120px);

  /* tvary */
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* tiene: layered depth system */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow:    0 8px 24px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.22);
  --shadow-xl: 0 32px 72px rgba(15, 23, 42, 0.28);
  --shadow-hover: 0 20px 48px rgba(0, 102, 255, 0.15);

  --nav-h: 68px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- 2. RESET -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--c-accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---- 3. LAYOUT PRIMITÍVY ------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-invert); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-title em { color: var(--c-accent); font-style: normal; }

.section-intro {
  margin-top: var(--space-4);
  max-width: 56ch;
  color: var(--c-text-muted);
  font-size: var(--text-lg);
}
.section--dark .section-intro { color: #b9c3d6; }

.section-head { margin-bottom: var(--space-7); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .section-intro { margin-inline: auto; }

/* ---- 4. TLAČIDLÁ ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 26px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-sm);
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--c-accent-ink); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  border-color: var(--c-border-strong);
  color: var(--c-text);
}
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }

.section--dark .btn-ghost,
.hero-pin .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.section--dark .btn-ghost:hover,
.hero-pin .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-block { width: 100%; }

/* ---- 5. NAVIGÁCIA ------------------------------------------------------------ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--c-accent);
  z-index: 1200;
  transition: width 0.1s linear;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1100;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: #fff;
  transition: color 0.3s;
}
.nav__logo span { color: var(--c-accent-2); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__links a:not(.btn) {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding-block: 6px;
  position: relative;
  transition: color 0.2s;
}
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__links a:not(.btn):hover { color: #fff; }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { transform: scaleX(1); }

/* solid stav po scrolle */
.nav.is-solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.nav.is-solid .nav__logo { color: var(--c-text); }
.nav.is-solid .nav__links a:not(.btn) { color: var(--c-text-muted); }
.nav.is-solid .nav__links a:not(.btn):hover,
.nav.is-solid .nav__links a.is-active { color: var(--c-text); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav.is-solid .nav__burger span { background: var(--c-text); }

/* ---- 6. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + var(--space-8)) var(--space-9);
  background: var(--c-bg-dark);
  color: var(--c-text-invert);
  overflow: hidden;
  isolation: isolate;
}
.hero__mesh {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(0,102,255,0.55) 0%, transparent 60%),
    radial-gradient(45% 45% at 85% 15%, rgba(34,211,238,0.35) 0%, transparent 60%),
    radial-gradient(50% 55% at 75% 85%, rgba(0,102,255,0.30) 0%, transparent 65%);
  filter: blur(30px);
  animation: meshDrift 24s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-40px,20px,0) scale(1.08); }
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-8);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #d6e0f5;
  margin-bottom: var(--space-5);
}
.hero__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-accent-2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-4xl);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero h1 em { color: var(--c-accent-2); font-style: normal; }
.hero__lead {
  margin-top: var(--space-5);
  max-width: 52ch;
  font-size: var(--text-lg);
  color: #c3cde0;
}
.hero__actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__stats {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  gap: var(--space-8);
}
.hero__stat .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  min-height: 2.4rem; /* rezerva proti CLS pri count-up */
  display: block;
}
.hero__stat .n em { color: var(--c-accent-2); font-style: normal; }
.hero__stat .l { font-size: var(--text-xs); color: #9fabc4; }

.hero__panel {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  padding: var(--space-6);
  backdrop-filter: blur(6px);
}
.hero__panel h2 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fabc4;
  margin-bottom: var(--space-4);
}
.hero__panel ul { display: grid; gap: var(--space-3); }
.hero__panel li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: #dbe3f2;
}
.hero__panel li::before {
  content: '✓';
  color: var(--c-accent-2);
  font-weight: 700;
}

/* ---- 7. PÁS DÔVERY (marquee) ------------------------------------------------ */
.trust {
  background: var(--c-bg-dark-2);
  color: #fff;
  padding-block: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.trust__label {
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b97b0;
  margin-bottom: var(--space-4);
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--space-8);
  padding-inline: var(--space-6);
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #cdd6e8;
  opacity: 0.75;
  white-space: nowrap;
  align-self: center;
}
/* druhotný rád: domény z referencií, tichšie než značky */
.marquee__item--sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: #8b97b0;
  opacity: 0.55;
}

/* ---- 11. SLUŽBY --------------------------------------------------------- */

/* spoločný štítok: používa ho aj portfólio a blog */
.tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
}

.svc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --svc-line:    rgba(255, 255, 255, 0.09);
  --svc-line-hi: rgba(122, 178, 255, 0.45);
  --svc-tile:    rgba(255, 255, 255, 0.035);
  --svc-muted:   #9aa7bf;
  --svc-blue:    #5aa2ff;
}

/* technický raster + dve svetelné aury v pozadí */
.svc__bg { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.svc__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 0%, #000 22%, transparent 76%);
          mask-image: radial-gradient(120% 78% at 50% 0%, #000 22%, transparent 76%);
}
.svc__aura { position: absolute; border-radius: 50%; filter: blur(110px); }
.svc__aura--a { width: 640px; height: 640px; top: -300px; left: -200px; background: rgba(0, 102, 255, 0.40); }
.svc__aura--b { width: 540px; height: 540px; bottom: -320px; right: -160px; background: rgba(34, 211, 238, 0.16); }

.svc .eyebrow { color: var(--svc-blue); }
.svc .section-title em {
  background: linear-gradient(96deg, #6fb0ff, #22d3ee);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.svc__head { max-width: 66ch; }

/* --- mriežka ----------------------------------------------------------- */
.svc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* príchod dlaždíc: translate (nie transform): transform ostáva voľný pre hover */
.svc [data-svc-tile] {
  transition-property: opacity, translate, transform, border-color, background-color, box-shadow;
  transition-duration: 0.7s, 0.7s, 0.4s, 0.4s, 0.4s, 0.4s;
  transition-timing-function: var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s, 0s, 0s;
}
.js .svc [data-svc-tile]:not(.is-in) { opacity: 0; translate: 0 30px; }

.svc__tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border-radius: 22px;
  border: 1px solid var(--svc-line);
  background-color: var(--svc-tile);
}
.svc__tile:hover,
.svc__tile:focus-within {
  transform: translateY(-6px);
  border-color: var(--svc-line-hi);
  background-color: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.9);
}

/* svetelná škvrna + rozsvietený okraj, oboje kopírujú kurzor */
.svc__tile::before,
.svc__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.svc__tile::after {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(90, 162, 255, 0.20), transparent 68%);
}
.svc__tile::before {
  padding: 1px;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(150, 196, 255, 0.9), rgba(150, 196, 255, 0) 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.svc__tile:hover::before,
.svc__tile:hover::after,
.svc__tile:focus-within::before,
.svc__tile:focus-within::after { opacity: 1; }

/* --- hlavička dlaždice -------------------------------------------------- */
.svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.svc__num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.4s var(--ease);
}
.svc__tile:hover .svc__num { color: rgba(150, 196, 255, 0.7); }

.svc__ico {
  flex: none;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #e3ecff;
  --i-accent: #6fb0ff;
  background: linear-gradient(158deg, rgba(90, 162, 255, 0.22), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(122, 178, 255, 0.22);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.svc__ico svg { width: 27px; height: 27px; overflow: visible; }
.svc__ico .i-accent { stroke: var(--i-accent); }
.svc__tile:hover .svc__ico {
  transform: translateY(-3px);
  border-color: rgba(122, 178, 255, 0.55);
  box-shadow: 0 12px 26px -14px rgba(90, 162, 255, 0.9);
}

/* mikroanimácie ikon */
.svc__ico svg .i-web-l,
.svc__ico svg .i-web-r,
.svc__ico svg .i-pen,
.svc__ico svg .i-dot,
.svc__ico svg .i-cycle,
.svc__ico svg .i-bolt,
.svc__ico svg .i-cube,
.svc__ico svg .i-play,
.svc__ico svg .i-meridian,
.svc__ico svg .i-pulse {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.55s var(--ease);
}
.svc__tile:hover .i-web-l { transform: translateX(-1.8px); }
.svc__tile:hover .i-web-r { transform: translateX(1.8px); }
.svc__tile:hover .i-pen   { transform: translate(1.3px, -1.3px); }
.svc__tile:hover .i-dot   { animation: svcDot 1.7s var(--ease) infinite; }
.svc__tile:hover .i-cycle { transform: rotate(180deg); }
.svc__tile:hover .i-bolt  { animation: svcBolt 1.3s steps(1, end) infinite; }
.svc__tile:hover .i-cube  { transform: rotate(-10deg) scale(0.94); }
.svc__tile:hover .i-play  { transform: scale(1.2); }
.svc__tile:hover .i-meridian { animation: svcSpin 2.6s linear infinite; }
.i-pulse { stroke-dasharray: 9 26; }
.svc__tile:hover .i-pulse { animation: svcPulse 1.6s linear infinite; }

@keyframes svcDot   { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.28); } }
@keyframes svcBolt  { 0%, 62%, 100% { opacity: 1; } 72%, 86% { opacity: 0.25; } }
@keyframes svcSpin  { 0% { transform: scaleX(1); } 25% { transform: scaleX(0.06); } 50% { transform: scaleX(1); } 75% { transform: scaleX(0.06); } 100% { transform: scaleX(1); } }
@keyframes svcPulse { from { stroke-dashoffset: 35; } to { stroke-dashoffset: 0; } }

/* --- text dlaždice ------------------------------------------------------ */
.svc__tile h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--space-3);
}
.svc__desc { font-size: var(--text-sm); line-height: 1.62; color: var(--svc-muted); }

.svc__foot {
  margin-top: auto;
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.svc__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.svc .tag {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #a9b6cd;
  transition: border-color 0.4s, color 0.4s;
}
.svc__tile:hover .tag { border-color: rgba(122, 178, 255, 0.32); color: #d3e2ff; }

.svc__go {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cfe0ff;
  transition: background-color 0.35s var(--ease), border-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.svc__go svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.svc__tile:hover .svc__go { background-color: var(--c-accent); border-color: transparent; color: #fff; }
.svc__tile:hover .svc__go svg { transform: translateX(2px); }
.svc__go:hover { transform: scale(1.09); }
.svc__go:focus-visible { outline-offset: 3px; }

/* --- hlavná dlaždica ---------------------------------------------------- */
.svc__tile--feature {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
  gap: var(--space-6);
  padding: 34px;
  border-color: rgba(122, 178, 255, 0.2);
  background-image: linear-gradient(152deg, rgba(0, 102, 255, 0.18), rgba(34, 211, 238, 0.05) 58%, rgba(255, 255, 255, 0.02));
}
.svc__copy { flex: 1 1 44%; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.svc__tile--feature h3 { font-size: var(--text-2xl); }
.svc__tile--feature .svc__desc { font-size: var(--text-base); }
.svc__tile--feature .svc__top { justify-content: flex-start; gap: var(--space-4); }
.svc__tile--feature .svc__num { font-size: var(--text-base); }
.svc__tile--feature .svc__ico { width: 60px; height: 60px; border-radius: 18px; }
.svc__tile--feature .svc__ico svg { width: 30px; height: 30px; }

.svc__list { margin-top: var(--space-5); display: grid; gap: 10px; }
.svc__list li {
  position: relative;
  padding-left: 28px;
  font-size: var(--text-sm);
  color: #c3cee4;
}
.svc__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.36em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--svc-blue);
  border-bottom: 2px solid var(--svc-blue);
  border-radius: 1px;
  transform: rotate(-45deg);
}

/* --- živá ukážka (browser mock) ----------------------------------------- */
.svc__stage {
  position: relative;
  flex: 1 1 56%;
  min-width: 0;
  display: flex;
  align-items: center;
  perspective: 1400px;
}
.svc__frame { position: relative; width: 100%; }
.mock {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #111e3d, #0a1326);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 50px 90px -44px rgba(0, 0, 0, 0.95);
  transform: rotateY(-11deg) rotateX(5deg);
  transition: transform 0.8s var(--ease);
}
.svc__tile--feature:hover .mock { transform: rotateY(-5deg) rotateX(2deg) scale(1.02); }

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mock__bar i:nth-child(1) { background: rgba(255, 112, 100, 0.6); }
.mock__bar i:nth-child(2) { background: rgba(255, 200, 90, 0.55); }
.mock__bar i:nth-child(3) { background: rgba(90, 220, 150, 0.55); }
.mock__url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #8ea3c7;
}
.mock__body { padding: 16px; display: grid; gap: 10px; }
.mock__hero { height: 72px; border-radius: 8px; }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__row span { height: 40px; border-radius: 7px; }
.mock__line { height: 9px; border-radius: var(--radius-pill); }
.mock__line--s { width: 56%; }
.mock__hero,
.mock__row span,
.mock__line {
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0.07) 0 38%, rgba(90, 162, 255, 0.32) 50%, rgba(255, 255, 255, 0.07) 62%);
  background-size: 260% 100%;
  animation: mockSweep 3.4s linear infinite;
}
.mock__row span:nth-child(2) { animation-delay: 0.16s; }
.mock__row span:nth-child(3) { animation-delay: 0.32s; }
.mock__line { animation-delay: 0.5s; }
.mock__line--s { animation-delay: 0.64s; }
@keyframes mockSweep { from { background-position: 150% 0; } to { background-position: -150% 0; } }

.mock__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 38%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(120, 190, 255, 0.10) 68%, rgba(160, 215, 255, 0.30));
  border-bottom: 1px solid rgba(160, 215, 255, 0.45);
  animation: mockScan 5.5s var(--ease) infinite;
}
@keyframes mockScan {
  0%   { transform: translateY(-105%); opacity: 0; }
  10%  { opacity: 0.6; }
  52%  { transform: translateY(270%); opacity: 0; }
  100% { transform: translateY(270%); opacity: 0; }
}

.mock__score,
.mock__pill {
  position: absolute;
  background: rgba(11, 19, 38, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.95);
}
.mock__score {
  left: -16px;
  bottom: -16px;
  width: 116px;
  padding: 12px 10px 10px;
  border-radius: 18px;
  text-align: center;
  animation: svcFloat 6s ease-in-out infinite;
}
.mock__score svg { display: block; width: 58px; height: 58px; margin-inline: auto; }
.mock__ring { stroke-dasharray: 163.4; stroke-dashoffset: 163.4; }
.is-in .mock__ring { animation: svcRingIn 1.7s var(--ease) 0.35s forwards; }
@keyframes svcRingIn { to { stroke-dashoffset: 3.3; } }
.mock__score-n {
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  line-height: 1;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 800;
  color: #fff;
}
.mock__score-l {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa1c0;
}
.mock__pill {
  right: -12px;
  top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border-color: rgba(122, 178, 255, 0.32);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #eaf2ff;
  animation: svcFloat 7s ease-in-out 0.9s infinite;
}
.mock__pill svg { width: 15px; height: 15px; color: #ffd166; }
@keyframes svcFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* --- pätka sekcie ------------------------------------------------------- */
.svc__note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-6);
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.svc__note:hover { border-color: rgba(122, 178, 255, 0.4); background-color: rgba(255, 255, 255, 0.04); }
.svc__note-plus {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: var(--space-5);
  color: #cfe0ff;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  transition: transform 0.5s var(--ease), color 0.4s;
}
.svc__note-plus svg { width: 24px; height: 24px; }
.svc__note:hover .svc__note-plus { transform: rotate(90deg); color: #fff; }
.svc__note h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--space-3);
}
.svc__note .btn { margin-top: auto; padding-top: 12px; padding-bottom: 12px; min-height: 44px; }
.svc__note .svc__desc { margin-bottom: var(--space-5); }

/* --- responzívne -------------------------------------------------------- */
@media (max-width: 1080px) {
  .svc__grid { grid-template-columns: repeat(2, 1fr); }
  .svc__copy { flex-basis: 50%; }
  .svc__stage { flex-basis: 50%; }
  .mock__score { left: -10px; }
}
@media (max-width: 860px) {
  .svc__tile--feature { flex-direction: column; gap: var(--space-6); }
  .svc__stage { padding-inline: 10px; }
  .mock { transform: none; }
  .mock__pill { top: -16px; right: 4px; }
  .mock__score { bottom: -20px; }
  .svc__tile--feature:hover .mock { transform: scale(1.01); }
}
@media (max-width: 620px) {
  .svc__grid { grid-template-columns: 1fr; }
  .svc__tile { padding: var(--space-5); }
  .svc__tile--feature { padding: var(--space-5); }
  .mock__score { left: -10px; bottom: -14px; width: 80px; padding: 8px 6px 6px; border-radius: 15px; }
  .mock__score svg { width: 42px; height: 42px; }
  .mock__score-n { top: 22px; font-size: 0.88rem; }
  .mock__score-l { font-size: 8px; letter-spacing: 0.06em; margin-top: 3px; }
  .mock__pill { right: 0; top: -15px; padding: 7px 11px; }
  .svc__note { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .svc [data-svc-tile] { opacity: 1; translate: none; }
  .mock { transform: none; }
  .mock__scan { display: none; }
  .mock__ring { stroke-dashoffset: 3.3; }
}

/* ---- 12. PORTFÓLIO ---------------------------------------------------- */
.folio__card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
.folio__card:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent);
  box-shadow: var(--shadow);
}
.folio__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.folio__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.folio__card:hover .folio__media img { transform: scale(1.05); }
.folio__body { padding: var(--space-5); }
.folio__cat {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.folio__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin: var(--space-2) 0 var(--space-1);
}
.folio__outcome { font-size: var(--text-sm); color: var(--c-text-muted); }
.folio__more { margin-top: var(--space-7); text-align: center; }

/* plná mriežka + filtre (mechanika prevzatá z index.php) */
#folioFull { margin-top: var(--space-7); }
.folio__filters {
  position: sticky;
  top: var(--nav-h);
  z-index: 800;
  background: color-mix(in srgb, var(--c-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--space-6);
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.folio__filters::-webkit-scrollbar { display: none; }
.filter-btn {
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border-strong);
  background: var(--c-surface);
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.filter-btn.active { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.folio__grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.folio__card.is-hidden { display: none; }

.blog-card__link {
  display: block;
  height: 100%;
}
.blog-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card__meta {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-2);
}
.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.blog__more {
  margin-top: var(--space-7);
  text-align: center;
}
.blog__empty {
  padding: var(--space-6);
  border: 1px dashed var(--c-border-strong);
  border-radius: var(--radius-lg);
  background: var(--c-bg-alt);
  color: var(--c-text-muted);
}
.blog-page__intro {
  margin-bottom: var(--space-7);
}
.blog-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.blog-article {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-article__body {
  padding: var(--space-5);
}
.blog-article__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.blog-article__body p {
  color: var(--c-text-muted);
  margin-bottom: var(--space-4);
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.8fr);
  gap: var(--space-8);
  align-items: start;
}
.article-hero {
  margin-bottom: var(--space-6);
}
.article-hero__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  background: var(--c-bg-alt);
  margin-bottom: var(--space-5);
}
.article-hero__media img {
  width: 100%;
  height: auto;
  display: block;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--c-text-muted);
  font-size: var(--text-sm);
}
.article-content {
  font-size: 1.03rem;
  color: var(--c-text);
}
.article-content > * + * {
  margin-top: var(--space-4);
}
.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: var(--font-display);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.article-content p,
.article-content ul,
.article-content ol {
  color: var(--c-text-muted);
}
.article-content ul {
  list-style: disc;
  padding-left: 1.3em;
}
.article-content ol {
  padding-left: 1.3em;
}
.article-content li + li {
  margin-top: var(--space-2);
}
.article-content a {
  color: var(--c-accent);
}
.article-content code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9em;
  background: var(--c-accent-soft);
  color: var(--c-accent-ink);
  padding: 0.15em 0.4em;
  border-radius: 6px;
}
.article-content blockquote {
  margin: var(--space-4) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--c-accent);
  background: var(--c-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--c-text);
  font-style: italic;
}
.article-content blockquote p {
  color: var(--c-text);
  margin: 0;
}
.article-content .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 560px;
}
.article-content th,
.article-content td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}
.article-content thead th {
  background: var(--c-bg-alt);
  font-family: var(--font-display);
  color: var(--c-text);
  white-space: nowrap;
}
.article-content tbody td {
  color: var(--c-text-muted);
}
.article-content tbody tr:last-child td {
  border-bottom: none;
}
.article-sidebar {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: var(--c-bg-alt);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.article-sidebar h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.related-list {
  display: grid;
  gap: var(--space-4);
}
.related-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-3);
  background: var(--c-surface);
}
.related-item h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.related-item p {
  color: var(--c-text-muted);
  font-size: var(--text-sm);
}

/* ---- BLOG + ČLÁNOK — RESPONZÍVNE ------------------------------- */
@media (max-width: 1000px) {
  .blog-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* bočný panel sa presúva pod článok */
  .article-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }
  .article-sidebar {
    position: static;
    top: auto;
  }
}
@media (max-width: 620px) {
  .blog-page__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .blog-article__body { padding: var(--space-4); }
  .blog-page__intro { margin-bottom: var(--space-6); }
  .article-hero { margin-bottom: var(--space-5); }
  .article-hero__media { margin-bottom: var(--space-4); }
  .article-content { font-size: 1rem; }
  .article-content img { height: auto; }
  .article-content > table { display: block; min-width: 0; overflow-x: auto; }
  .article-sidebar { padding: var(--space-4); }
  .related-list { gap: var(--space-3); }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(6, 10, 22, 0.96);
  backdrop-filter: blur(8px);
  display: none;
  padding: var(--space-8) var(--space-5);
  overflow-y: auto;
}
.lightbox.active { display: block; }
.lightbox__wrap { max-width: 960px; margin-inline: auto; display: grid; gap: var(--space-5); }
.lightbox__wrap img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__wrap .video-wrap { position: relative; aspect-ratio: 16/9; }
.lightbox__wrap iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
/* Náhľad videa: statický obrázok, iframe sa načíta až po kliknutí. */
.video-facade {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-alt);
  cursor: pointer;
}
.video-facade img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.video-facade__play {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease);
}
.video-facade__play::before {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  translate: -50% -50%;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.video-facade:hover .video-facade__play { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .video-facade__play { transition: none; }
  .video-facade:hover .video-facade__play { transform: none; }
}
.lightbox__close {
  position: fixed;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--c-accent);
  color: #fff;
  font-size: 1.6rem;
  z-index: 3100;
}

/* ---- 13. REFERENCIE -------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.quote {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.quote__mark { font-family: var(--font-display); font-size: 2.4rem; color: var(--c-accent); line-height: 0.5; }
.quote p { font-size: var(--text-base); color: var(--c-text); }
.quote__by { margin-top: auto; font-size: var(--text-sm); color: var(--c-text-muted); }
.quote__by strong { color: var(--c-text); display: block; font-weight: 600; }
.todo-flag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-danger);
  border: 1px dashed var(--c-danger);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  margin-bottom: var(--space-3);
}

/* ---- 16. KONTAKT ------------------------------------------------ */
.form-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--c-surface);
  box-shadow: var(--shadow);
}
.form { display: grid; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--text-xs); font-weight: 600; color: var(--c-text-muted); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-accent-soft);
}
.field textarea { min-height: 120px; resize: vertical; }

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chip-toggle {
  border: 1.5px solid var(--c-border-strong);
  background: var(--c-bg);
  color: var(--c-text-muted);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all 0.15s;
}
.chip-toggle[aria-pressed="true"] {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(5,150,105,0.1); border: 1px solid rgba(5,150,105,0.3); color: var(--c-ok); }
.form-msg.error { background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.3); color: var(--c-danger); }

/* ---- 17. PÄTIČKA ---------------------------------------------- */
.footer {
  background: var(--c-bg-dark);
  color: #b9c3d6;
  padding-block: var(--space-7);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.footer a { color: #dbe3f2; }
.footer a:hover { color: #fff; }
.footer__links { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer__copy { font-size: var(--text-xs); }

/* ---- 18. MOBILNÝ SPODNÝ CTA PRUH -------------------------------- */
.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border);
  transform: translateY(120%);
  transition: transform 0.3s var(--ease);
  display: none;
}
.mobile-cta.show { transform: translateY(0); }

/* ---- 20. REVEAL (IntersectionObserver) ------------------------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
/* skryjeme až keď je JS aktívne: obsah tak nikdy neuviazne neviditeľný */
.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
}

/* ---- 21. RESPONSIVE ------------------------------------------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .folio__grid-full { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-6);
    background: var(--c-bg);
    padding: var(--space-7);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a:not(.btn) { color: var(--c-text) !important; font-size: 1.25rem; }
  .nav__links .btn { width: 100%; }
  .nav__burger { display: flex; }
  .nav.menu-open { background: var(--c-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.menu-open .nav__logo { color: var(--c-text); }
  .nav.menu-open .nav__burger span { background: var(--c-text); }
  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .folio__grid-full { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: var(--space-5); }
  .mobile-cta { display: block; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ---- 22. REDUCED MOTION (reálna vetva, nie dodatok) ------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__mesh { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: var(--space-4); }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   HERO s 3D časticami: pripoj na KONIEC style-new.css
   Používa existujúce tokeny z :root (--c-accent, --c-accent-2, --nav-h …)
   ========================================================================== */

.hero-pin { position: relative; height: 400vh; background: var(--c-bg-dark); }
.hero-pin__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  color: var(--c-text-invert);
}
.hero-pin__stage .hero__mesh {
  position: absolute;
  inset: -22% -14%;
  z-index: 0;
  height: auto;
  animation: none;                 /* pohyb riadi myš a scroll, nie slučka */
  will-change: transform;
  transform:
    translate3d(calc(var(--hero-mx, 0) * -24px),
                calc(var(--hero-my, 0) * -16px + var(--hero-p, 0) * 64px), 0)
    scale(calc(1 + var(--hero-p, 0) * 0.13));
}

/* druhá, bližšia vrstva svetla: hýbe sa výrazne viac, tým vzniká hĺbka */
.hero__mesh2 {
  position: absolute;
  inset: -18% -12%;
  z-index: 0;
  pointer-events: none;
  filter: blur(46px);
  will-change: transform;
  background:
    radial-gradient(26% 32% at 70% 26%, rgba(34, 211, 238, 0.30) 0%, transparent 64%),
    radial-gradient(22% 28% at 26% 74%, rgba(0, 102, 255, 0.38) 0%, transparent 66%);
  transform:
    translate3d(calc(var(--hero-mx, 0) * -68px),
                calc(var(--hero-my, 0) * -46px + var(--hero-p, 0) * 148px), 0)
    scale(calc(1 + var(--hero-p, 0) * 0.22));
}
.hero__particles { position: absolute; inset: 0; z-index: 1; display: block; }
/* kým je na plátne guľa alebo prach, dá sa roztočiť ťahom - kurzor to naznačí */
.hero__particles.is-spinnable { cursor: grab; }
.hero__particles.is-spinnable:active { cursor: grabbing; }
/* v kalendári sa dá klikať na políčka */
.hero__particles.is-cal { cursor: pointer; }
@media (hover: none) { .hero__particles.is-spinnable { cursor: default; } }
.hero-pin__stage .hero__grain { z-index: 2; opacity: .35; }
/* veľká typografia leží na časticiach, preto pod ňu ide široký mäkký prechod.
   Musí byť na scéne, nie na kontajneri, inak by mal viditeľnú zvislú hranu. */
.hero-pin__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* vo finále text zmizne, takže prechod ustúpi a logo nestmavuje */
  opacity: calc(1 - var(--hero-out, 0) * .82);
  background: linear-gradient(100deg,
    rgba(10, 16, 32, .72) 0%,
    rgba(10, 16, 32, .54) 26%,
    rgba(10, 16, 32, .24) 48%,
    rgba(10, 16, 32, 0) 70%);
}

/* finále: pod logom stmavne pozadie, aby biele častice mali kontrast.
   Leží nad mesh vrstvami (z-index 0), ale pod časticami (z-index 1). */
.hero-pin__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--hero-out, 0);
  background: radial-gradient(46% 50% at 49% 50%,
    rgba(4, 8, 18, .86) 0%,
    rgba(4, 8, 18, .62) 42%,
    rgba(4, 8, 18, .26) 66%,
    rgba(4, 8, 18, 0) 82%);
}

.hero-pin__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  padding-block: calc(var(--nav-h) + 4px) 20px;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero-pin__inner .hero__col {
  pointer-events: auto;
  max-width: 38ch;
  translate: 0 calc(var(--hero-p, 0) * -26px + var(--hero-out, 0) * -46px);
  opacity: calc(1 - var(--hero-out, 0));
}

/* slová nadpisu prilietajú po jednom */
.hero-pin__inner h1 .w { display: inline-block; }
.js .hero-pin__inner h1 .w {
  opacity: 0;
  translate: 0 .42em;
  filter: blur(10px);
  animation: heroWordIn .85s var(--ease) forwards;
  animation-delay: calc(var(--w, 0) * 75ms + 140ms);
}
@keyframes heroWordIn { to { opacity: 1; translate: 0 0; filter: blur(0); } }

/* zvyšok stĺpca nabehne za nadpisom */
.js .hero-pin__inner .hero__badge,
.js .hero-pin__inner .hero__story,
.js .hero-pin__inner .hero__actions,
.js .hero-pin__inner .hero__stats {
  opacity: 0;
  filter: blur(9px);
  animation: heroPartIn .8s var(--ease) forwards;
}
.js .hero-pin__inner .hero__badge   { animation-delay: 60ms; }
.js .hero-pin__inner .hero__story   { animation-delay: 640ms; }
.js .hero-pin__inner .hero__actions { animation-delay: 780ms; }
.js .hero-pin__inner .hero__stats   { animation-delay: 860ms; }
@keyframes heroPartIn { to { opacity: 1; filter: blur(0); } }

/* vrstvy sa pri scrolle posúvajú rôznou rýchlosťou: bližšie ide rýchlejšie */
.hero-pin__inner .hero__badge   { translate: 0 calc(var(--hero-p, 0) * -14px); }
.hero-pin__inner h1             { translate: 0 calc(var(--hero-p, 0) * -26px); }
.hero-pin__inner .hero__story   { translate: 0 calc(var(--hero-p, 0) * -40px); }
.hero-pin__inner .hero__actions { translate: 0 calc(var(--hero-p, 0) * -54px); }
.hero-pin__inner .hero__stats   { translate: 0 calc(var(--hero-p, 0) * -66px); }

.hero-pin__inner h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5.4vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.hero-pin__inner h1 em { color: var(--c-accent-2); font-style: normal; }
.hero-pin__inner .hero__badge { margin-bottom: var(--space-4); padding: 6px 14px; }

/* progress rail + rotujúce popisky */
/* ---- príbeh v hero: číslo kapitoly + veľká veta ---- */
.hero__story { margin-top: clamp(20px, 2.6vh, 34px); max-width: 100%; }

.hero__track {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .13);
  margin-bottom: clamp(26px, 3.2vh, 38px);
}
/* ozubený hrebeň, po ktorom sa koliesko odvaľuje */
.hero__rack {
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 7px;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .11) 0 1.5px, transparent 1.5px 9px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 78%, transparent 97%);
          mask-image: linear-gradient(90deg, #000 0 78%, transparent 97%);
}
.hero__gear {
  position: absolute;
  top: 1px;
  left: calc(var(--hero-pm, 0) * 100%);
  width: 44px;
  height: 44px;
  color: #e2efff;
  translate: -50% -50%;
  rotate: calc(var(--hero-pm, 0) * 1080deg);
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, .45));
}
.hero__gear svg { width: 100%; height: 100%; display: block; }
.hero__track-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(var(--hero-pm, 0));
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  box-shadow: 0 0 16px rgba(34, 211, 238, .55);
}
.hero__track i {
  position: absolute;
  top: 50%;
  left: calc(var(--t, 0) * 100% / 4);
  width: 2px;
  height: 15px;
  margin: -7.5px 0 0 -1px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .24);
  transition: background-color .45s var(--ease), scale .45s var(--ease);
}
.hero-pin__stage[data-stage="1"] .hero__track i:nth-of-type(-n+2),
.hero-pin__stage[data-stage="2"] .hero__track i:nth-of-type(-n+3),
.hero-pin__stage[data-stage="3"] .hero__track i:nth-of-type(-n+4),
.hero-pin__stage[data-stage="4"] .hero__track i:nth-of-type(-n+5) {
  background: rgba(122, 178, 255, .6);
}
.hero-pin__stage[data-stage="0"] .hero__track i:nth-of-type(1),
.hero-pin__stage[data-stage="1"] .hero__track i:nth-of-type(2),
.hero-pin__stage[data-stage="2"] .hero__track i:nth-of-type(3),
.hero-pin__stage[data-stage="3"] .hero__track i:nth-of-type(4),
.hero-pin__stage[data-stage="4"] .hero__track i:nth-of-type(5) {
  background: #fff;
  scale: 1 1.45;
}

.hero__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 1.5vw, 26px);
  align-items: start;
}

/* číslo kapitoly: všetkých päť leží na sebe, svieti vždy jedno */
.hero__num { display: grid; }
.hero__num b {
  grid-area: 1 / 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  line-height: .92;
  letter-spacing: -.05em;
  background: linear-gradient(168deg, #c2e0ff 10%, #5aa2ff 62%, rgba(34, 211, 238, .38));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  translate: 0 14px;
  rotate: -7deg;
  filter: blur(7px);
  transition: opacity .5s var(--ease), translate .6s var(--ease), rotate .6s var(--ease), filter .5s var(--ease);
}
.hero-pin__stage[data-stage="0"] .hero__num b:nth-child(1),
.hero-pin__stage[data-stage="1"] .hero__num b:nth-child(2),
.hero-pin__stage[data-stage="2"] .hero__num b:nth-child(3),
.hero-pin__stage[data-stage="3"] .hero__num b:nth-child(4),
.hero-pin__stage[data-stage="4"] .hero__num b:nth-child(5) {
  opacity: 1;
  translate: 0 0;
  rotate: 0deg;
  filter: blur(0);
}

/* veta: mriežka sa sama roztiahne na najdlhší text, takže nič neposkakuje */
.hero__caps { display: grid; margin: 0; padding: 0; list-style: none; }
.hero__caps li {
  grid-area: 1 / 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.18rem, 1.85vw, 2rem);
  line-height: 1.24;
  letter-spacing: -.022em;
  color: #fff;
  text-wrap: balance;
}
.hero__caps li span {
  display: inline-block;
  opacity: 0;
  translate: 0 .55em;
  filter: blur(9px);
  transition: opacity .45s var(--ease), translate .6s var(--ease), filter .45s var(--ease);
}
.hero-pin__stage[data-stage="0"] .hero__caps li:nth-child(1) span,
.hero-pin__stage[data-stage="1"] .hero__caps li:nth-child(2) span,
.hero-pin__stage[data-stage="2"] .hero__caps li:nth-child(3) span,
.hero-pin__stage[data-stage="3"] .hero__caps li:nth-child(4) span,
.hero-pin__stage[data-stage="4"] .hero__caps li:nth-child(5) span {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
  transition-delay: calc(var(--w, 0) * 52ms);
}

.hero-pin__inner .hero__actions { margin-top: 20px; }
.hero-pin__inner .hero__stats {
  margin-top: 14px;
  padding-top: 8px;
  gap: 26px;
  flex-wrap: wrap;
}
.hero-pin__inner .hero__stat .n { font-size: 1.15rem; line-height: 1.15; min-height: 0; }

/* nad 860px beží pin naplno: hero má priestor, typografia musí niesť pozornosť */
@media (min-width: 861px) {
  .hero-pin__inner .hero__col { max-width: min(58ch, 47vw); }
  .hero-pin__inner h1 {
    font-size: clamp(1.95rem, 2.75vw, 3.15rem);
    line-height: 1.06;
    letter-spacing: -.028em;
  }
  .hero__story { max-width: 100%; }
  .hero-pin__inner .hero__stats { gap: 40px; }
  .hero-pin__inner .hero__stat .n { font-size: clamp(1.4rem, 1vw + 1.1rem, 2.2rem); }
}

.hero__scrollcue {
  position: absolute;
  right: var(--space-5);
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
  /* v závere hero (keď ostane logo) sa nápoveda stratí spolu s textom */
  opacity: calc(1 - var(--hero-out, 0));
  transition: color .25s ease;
}
.hero__scrollcue-txt { display: block; text-align: right; line-height: 1.5; }
.hero__scrollcue-txt b { display: block; font-weight: 700; color: rgba(255,255,255,.82); }

.hero__scrollcue-ico { width: 54px; height: 68px; flex: none; overflow: visible; }
.hero__scrollcue-ico .sc-body,
.hero__scrollcue-ico .sc-split,
.hero__scrollcue-ico .sc-hand-line,
.hero__scrollcue-ico .sc-arrow {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__scrollcue-ico .sc-body { stroke-width: 2.4; }
.hero__scrollcue-ico .sc-split { stroke-width: 1.7; opacity: .7; }
.hero__scrollcue-ico .sc-hand-line { stroke-width: 2.4; }
.hero__scrollcue-ico .sc-arrow { stroke-width: 2.2; }
.hero__scrollcue-ico .sc-wheel { fill: var(--c-accent-2, #22d3ee); }

/* ruka aj koliesko idú dole, potom sa vrátia - ukazuje sa samotný pohyb.
   Výrez v maske musí ísť s rukou, inak by sa spod nej vynorila čiara myši. */
.hero__scrollcue-ico .sc-hand,
.hero__scrollcue-ico .sc-hand-mask { animation: scHand 2.4s ease-in-out infinite; }
.hero__scrollcue-ico .sc-wheel { animation: scWheel 2.4s ease-in-out infinite; }
.hero__scrollcue-ico .sc-arrow--1 { animation: scArrow 2.4s ease-in-out infinite; }
.hero__scrollcue-ico .sc-arrow--2 { animation: scArrow 2.4s ease-in-out .18s infinite; }

@keyframes scHand {
  0%, 12%   { transform: translateY(0); }
  40%, 52%  { transform: translateY(5px); }
  80%, 100% { transform: translateY(0); }
}
@keyframes scWheel {
  0%, 12%   { transform: translateY(0); opacity: 1; }
  40%, 52%  { transform: translateY(6px); opacity: .55; }
  80%, 100% { transform: translateY(0); opacity: 1; }
}
@keyframes scArrow {
  0%, 20%  { opacity: 0; transform: translateY(-4px); }
  45%      { opacity: .9; transform: translateY(0); }
  70%,100% { opacity: 0; transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scrollcue-ico .sc-hand,
  .hero__scrollcue-ico .sc-hand-mask,
  .hero__scrollcue-ico .sc-wheel,
  .hero__scrollcue-ico .sc-arrow { animation: none; }
  .hero__scrollcue-ico .sc-arrow { opacity: .75; }
}

/* na dotykových zariadeniach nedáva myš zmysel */
@media (hover: none), (max-width: 860px) {
  .hero__scrollcue { display: none; }
}

/* ---- pás „V cene od 200 €“ ---- */
.incl {
  background: var(--c-bg-dark-2);
  color: #fff;
  padding-block: var(--space-7);
  border-top: 1px solid rgba(255,255,255,.08);
}
.incl__inner {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: var(--space-7);
  align-items: center;
}
.incl__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.eyebrow--light { color: var(--c-accent-2); }
.incl__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px var(--space-6);
}
.incl__list li { display: flex; gap: var(--space-3); font-size: .92rem; color: #dbe3f2; }
.incl__list li::before { content: '✓'; color: var(--c-accent-2); font-weight: 700; }

@media (max-width: 1000px) {
  .incl__inner { grid-template-columns: 1fr; gap: var(--space-5); }
}
@media (max-width: 860px) {
  /* text leží priamo na časticiach, preto podň dáme jemný závoj */
  .hero-pin__stage::before {
    background: linear-gradient(176deg,
      rgba(10, 16, 32, .70) 0%,
      rgba(10, 16, 32, .52) 38%,
      rgba(10, 16, 32, .18) 68%,
      rgba(10, 16, 32, 0) 92%);
  }
  /* na mobile sa --hero-p točí dokola, preto pozadie neviažem naň, aby sa netrhlo */
  .hero-pin__stage .hero__mesh {
    transform: none;
    animation: meshDrift 24s ease-in-out infinite alternate;
  }
  .hero__mesh2 { transform: none; }
  /* na mobile bez pinu: častice bežia v slučke */
  .hero-pin { height: auto; }
  .hero-pin__stage { position: relative; height: 100svh; }
  .incl__list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pin { height: auto; }
  .hero-pin__stage { position: relative; height: 100svh; }
  .hero__caps li { position: static; grid-area: auto; }
  .hero__caps li span,
  .hero__num b { opacity: 1 !important; translate: none !important; rotate: none !important; filter: none !important; }
  .hero__gear, .hero__rack { display: none; }
  .hero-pin__inner .hero__badge,
  .hero-pin__inner h1,
  .hero-pin__inner .hero__story,
  .hero-pin__inner .hero__actions,
  .hero-pin__inner .hero__stats { translate: none; }
  .hero__num b:not(:first-child) { display: none; }
  .hero-pin__inner .hero__col { translate: none; opacity: 1; }
  .hero__caps { gap: 10px; }
  .hero-pin__stage .hero__mesh,
  .hero__mesh2 { transform: none; }
}

/* ==========================================================================
   23. SPOLOČNÉ EFEKTY PRE SVETLÉ SEKCIE
   Rovnaký jazyk ako tmavá sekcia „Služby": jemný raster + svetelné aury,
   dlaždice so svetlom pod kurzorom a postupný príchod pri scrolle.
   ========================================================================== */
.sec-fx { position: relative; isolation: isolate; overflow: hidden; }
.sec-fx > .container { position: relative; z-index: 1; }

.lightfx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lightfx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 74% at 50% 0%, #000 16%, transparent 74%);
          mask-image: radial-gradient(120% 74% at 50% 0%, #000 16%, transparent 74%);
}
.lightfx__aura { position: absolute; border-radius: 50%; filter: blur(120px); }
.lightfx__aura--a { width: 560px; height: 560px; top: -280px; left: -180px; background: rgba(0, 102, 255, 0.16); }
.lightfx__aura--b { width: 480px; height: 480px; bottom: -280px; right: -140px; background: rgba(34, 211, 238, 0.14); }
.lightfx__aura--c { width: 620px; height: 620px; top: -330px; right: -220px; background: rgba(0, 102, 255, 0.12); }

/* príchod pri scrolle: translate, aby transform ostal voľný pre hover */
[data-in] {
  transition-property: opacity, translate;
  transition-duration: 0.75s, 0.75s;
  transition-timing-function: var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms);
}
.js [data-in]:not(.is-in) { opacity: 0; translate: 0 var(--in-y, 28px); }

/* svetlo pod kurzorom */
.glow { position: relative; isolation: isolate; }
.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 102, 255, 0.12), transparent 70%);
}
.glow:hover::after,
.glow:focus-within::after { opacity: 1; }

.btn-wrap { white-space: normal; text-align: center; line-height: 1.3; }
.btn-light {
  background: #fff;
  color: var(--c-bg-dark);
  border-color: #fff;
}
.btn-light:hover { background: #dce8ff; transform: translateY(-2px); }

/* ==========================================================================
   24. POROVNANIE: AGENTÚRA VERZUS CUBALAB
   ========================================================================== */
.cmp { display: grid; gap: 12px; }
.cmp__head,
.cmp__row {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.cmp__head { align-items: end; padding-bottom: 4px; }
.cmp__brand { display: flex; flex-direction: column; gap: 1px; padding-inline: 6px; }
.cmp__brand b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  letter-spacing: -0.03em;
}
.cmp__brand span { font-size: var(--text-xs); color: var(--c-text-faint); }
.cmp__brand--a b { color: var(--c-text-faint); }
.cmp__brand--b b {
  background: linear-gradient(96deg, var(--c-accent), var(--c-accent-2));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cmp__label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text);
}
.cmp__label svg { flex: none; width: 20px; height: 20px; color: var(--c-accent); }

.cmp__cell {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--c-border);
  transition: transform 0.4s var(--ease), border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
}
.cmp__cell p { font-size: var(--text-sm); line-height: 1.55; }
.cmp__mark {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.cmp__mark svg { width: 14px; height: 14px; }

.cmp__cell--a { background: rgba(15, 23, 42, 0.035); color: var(--c-text-muted); }
.cmp__cell--a .cmp__mark { background: rgba(220, 38, 38, 0.10); color: var(--c-danger); }

.cmp__cell--b { background: var(--c-surface); color: var(--c-text); box-shadow: var(--shadow-sm); }
.cmp__cell--b .cmp__mark { background: rgba(5, 150, 105, 0.13); color: var(--c-ok); }
.cmp__cell--b::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
  background: linear-gradient(118deg, rgba(0, 102, 255, 0.6), rgba(34, 211, 238, 0.45) 52%, rgba(0, 102, 255, 0) 88%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.cmp__cell--b:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cmp__cell--b:hover::before { opacity: 1; }
.cmp__tag { display: none; }

.cmp__foot {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}
.cmp__quote {
  position: relative;
  padding: 28px 30px 26px;
  border-radius: 22px;
  border: 1px solid rgba(0, 102, 255, 0.16);
  background: linear-gradient(140deg, rgba(0, 102, 255, 0.08), rgba(34, 211, 238, 0.05));
}
.cmp__quote-mark {
  position: absolute;
  top: 2px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(0, 102, 255, 0.16);
}
.cmp__quote p {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.cmp__quote figcaption { margin-top: 14px; font-size: var(--text-xs); font-weight: 600; color: var(--c-text-muted); }

.cmp__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.cmp__cta b {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.cmp__cta span { font-size: var(--text-sm); color: var(--c-text-muted); }
.cmp__cta .btn { margin-top: 14px; align-self: flex-start; }

@media (max-width: 900px) {
  .cmp { gap: 26px; }
  .cmp__head { display: none; }
  .cmp__row { grid-template-columns: 1fr; gap: 20px; }
  .cmp__label { padding-block: 0 2px; }
  .cmp__cell { padding-top: 22px; }
  .cmp__tag {
    display: block;
    position: absolute;
    top: -10px;
    left: 16px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .cmp__cell--a .cmp__tag { background: var(--c-text-muted); color: #fff; }
  .cmp__cell--b .cmp__tag { background: var(--c-accent); color: #fff; }
  .cmp__foot { grid-template-columns: 1fr; }
  .cmp__cta .btn { align-self: stretch; }
}

/* ==========================================================================
   25. ŠTYRI KROKY: časová os, ktorá sa plní podľa scrollu
   ========================================================================== */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}
.flow__rail {
  position: absolute;
  top: 26px;
  left: 28px;
  right: calc(25% - 41.5px);
  height: 3px;
  border-radius: 3px;
  background: var(--c-border-strong);
  overflow: hidden;
}
.flow__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  transform: scaleX(var(--flow-p, 0));
  transform-origin: left center;
}
.flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.flow__node {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  color: var(--c-text-faint);
  box-shadow: var(--shadow-sm);
  transition: background 0.5s var(--ease), border-color 0.5s, color 0.5s, transform 0.5s var(--ease), box-shadow 0.5s;
}
.flow__node svg { width: 26px; height: 26px; }
.flow__step.is-on .flow__node {
  background: linear-gradient(150deg, var(--c-accent), #3b8cff);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px rgba(0, 102, 255, 0.85);
}
.flow__ping { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset 0.9s var(--ease) 0.15s; }
.flow__step.is-on .flow__ping { stroke-dashoffset: 0; }

.flow__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.4s var(--ease);
}
.flow__step.is-on .flow__card { border-color: rgba(0, 102, 255, 0.28); box-shadow: var(--shadow); }
.flow__card:hover { transform: translateY(-4px); }
.flow__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  color: var(--c-text-faint);
  transition: color 0.5s var(--ease);
}
.flow__step.is-on .flow__n { color: var(--c-accent); }
.flow__card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.025em;
  margin: 8px 0 8px;
}
.flow__card p { font-size: var(--text-sm); color: var(--c-text-muted); }
.flow__chip {
  margin-top: auto;
  padding-top: 18px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-accent-ink);
}
.flow__chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--c-accent-2);
  vertical-align: 1px;
}

.flow__cta {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-5);
}
.flow__cta span { font-size: var(--text-sm); color: var(--c-text-muted); }

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow__rail { top: 28px; bottom: 26px; left: 26px; right: auto; width: 3px; height: auto; }
  .flow__fill { transform: scaleY(var(--flow-p, 0)); transform-origin: center top; }
  .flow__step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .flow__card { min-width: 0; }
  .flow__chip { padding-top: 14px; }
}
@media (max-width: 420px) {
  .flow__node { width: 46px; height: 46px; border-radius: 15px; }
  .flow__node svg { width: 22px; height: 22px; }
  .flow__rail { left: 21px; }
  .flow__card { padding: 18px; }
}

/* ==========================================================================
   26. CENA: čísla a prevádzkové náklady
   ========================================================================== */
.offer__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer__stat {
  padding: 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.75s var(--ease) calc(var(--i, 0) * 90ms),
              translate 0.75s var(--ease) calc(var(--i, 0) * 90ms),
              transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.offer__stat:hover { transform: translateY(-4px); border-color: rgba(0, 102, 255, 0.28); box-shadow: var(--shadow); }
.offer__stat-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}
.offer__stat-ico svg { width: 20px; height: 20px; }
.offer__stat .n {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--c-text);
}
.offer__stat .l { display: block; margin-top: 4px; font-size: var(--text-xs); color: var(--c-text-muted); }

.offer__bars { display: grid; gap: 14px; }
.bar { display: grid; gap: 7px; }
.bar__top { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-xs); }
.bar__name { color: var(--c-text-muted); }
.bar__val { font-weight: 700; color: var(--c-text); white-space: nowrap; }
.bar__track {
  display: block;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.bar__fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  transition: width 1.1s var(--ease) 0.25s;
}
.bar__fill--dim { background: linear-gradient(90deg, #c2ccdc, #dde4ee); }
.js .offer__bars:not(.is-in) .bar__fill { width: 0; }
.bar__fine { font-size: 11px; line-height: 1.45; color: var(--c-text-faint); }


/* ==========================================================================
   27. KONTAKT: panel + formulár
   ========================================================================== */
.ctc {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: start;
}
.ctc__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 28px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(152deg, #0f1c3a 0%, #0a1020 62%);
  border: 1px solid rgba(122, 178, 255, 0.20);
  box-shadow: 0 40px 80px -42px rgba(10, 16, 32, 0.85);
}
.ctc__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ctc__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 80% 0%, #000 12%, transparent 72%);
          mask-image: radial-gradient(120% 80% at 80% 0%, #000 12%, transparent 72%);
}
.ctc__aura {
  position: absolute;
  width: 460px;
  height: 460px;
  bottom: -250px;
  right: -170px;
  border-radius: 50%;
  filter: blur(110px);
  background: rgba(34, 211, 238, 0.26);
}
.ctc__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #bfe9f5;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
}
.ctc__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  animation: ctcPulse 2.4s var(--ease) infinite;
}
@keyframes ctcPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.ctc__h {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.ctc__steps { margin-top: 18px; counter-reset: ctc; list-style: none; }
.ctc__steps li {
  position: relative;
  padding: 11px 0 11px 48px;
  transition: opacity 0.6s var(--ease), translate 0.6s var(--ease);
  transition-delay: calc(0.2s + var(--j, 0) * 90ms);
}
.ctc__steps li::before {
  counter-increment: ctc;
  content: counter(ctc);
  position: absolute;
  left: 0;
  top: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xs);
  color: #cfe4ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ctc__steps li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 44px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0));
}
.ctc__steps li:last-child::after { display: none; }
.ctc__steps b { display: block; font-family: var(--font-display); font-size: var(--text-base); letter-spacing: -0.015em; }
.ctc__steps span { display: block; margin-top: 2px; font-size: var(--text-sm); color: #9fb0cc; }
.js .ctc__panel:not(.is-in) .ctc__steps li { opacity: 0; translate: 0 10px; }

.ctc__direct {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: grid;
  gap: 20px;
}
.ctc__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: #fff;
  transition: color 0.25s;
}
.ctc__link:hover { color: #7fd3ea; }
.ctc__link-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.25s, background-color 0.25s;
}
.ctc__link:hover .ctc__link-ico { border-color: rgba(34, 211, 238, 0.45); background: rgba(34, 211, 238, 0.12); }
.ctc__link-ico svg { width: 19px; height: 19px; }
.ctc__call { display: grid; gap: 3px; }
.ctc__call b { font-family: var(--font-display); font-size: var(--text-base); }
.ctc__call span { font-size: var(--text-sm); color: #9fb0cc; }
.ctc__call .btn { margin-top: 14px; justify-self: start; }

.form-card__head {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--c-border);
}
.form-card__head b { display: block; font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: -0.025em; }
.form-card__head span { font-size: var(--text-sm); color: var(--c-text-muted); }
.form-fine { font-size: 11px; line-height: 1.5; color: var(--c-text-faint); text-align: center; }

@media (max-width: 1000px) {
  .ctc { grid-template-columns: 1fr; }
  .ctc__panel { padding: 26px 22px; }
  .ctc__call .btn { justify-self: stretch; }
}

/* ==========================================================================
   28. LOGO V NAVIGÁCII
   ========================================================================== */
.nav__logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  --logo-accent: #22d3ee;
  transition: color 0.3s;
}
.nav__logo-svg {
  display: block;
  height: 26px;
  width: auto;
  overflow: visible;
}
.nav.is-solid .nav__logo { color: var(--c-text); --logo-accent: var(--c-accent); }
.nav.menu-open .nav__logo { color: var(--c-text); --logo-accent: var(--c-accent); }
@media (max-width: 420px) {
  .nav__logo-svg { height: 22px; }
}

/* ==========================================================================
   29. REDUCED MOTION PRE NOVÉ SEKCIE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  .bar__fill { width: var(--w) !important; }
  .flow__fill { transform: none !important; }
  .flow__ping { stroke-dashoffset: 0 !important; }
  .ctc__dot { animation: none; }
}

/* ==========================================================================
   30. REFERENČNÉ PROJEKTY
   ========================================================================== */
.work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.work__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow);
  color: var(--c-text);
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.4s,
              opacity 0.75s var(--ease) calc(var(--i, 0) * 90ms),
              translate 0.75s var(--ease) calc(var(--i, 0) * 90ms);
}
.work__card:hover,
.work__card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(0, 102, 255, 0.32);
  box-shadow: var(--shadow-xl);
}
.work__card--lead { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }

.work__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--c-bg-alt);
  border-radius: var(--radius);
}
.work__card--lead .work__media { flex: 1 1 58%; min-width: 0; aspect-ratio: auto; border-radius: var(--radius-lg); }
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ease);
}
.work__card:hover .work__media img { transform: scale(1.08); }
.work__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 102, 255, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.work__card:hover .work__overlay { opacity: 1; }
.work__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.34) 50%, transparent 58%);
  translate: -120% 0;
  transition: translate 1s var(--ease);
}
.work__card:hover .work__shine { translate: 120% 0; }

.work__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.work__card--lead .work__body { flex: 1 1 42%; min-width: 0; padding: 32px; justify-content: center; }
.work__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.work__cat {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.work__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--c-ok);
}
.work__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-ok);
  animation: workLive 2.6s var(--ease) infinite;
}
@keyframes workLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); }
  70%      { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
}
.work__card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.work__card--lead h3 { font-size: var(--text-2xl); }
.work__desc { font-size: var(--text-sm); line-height: 1.55; color: var(--c-text-muted); }
.work__card--lead .work__desc { font-size: var(--text-base); }
.work__list { display: grid; gap: 9px; margin-top: 18px; }
.work__list b {
  position: relative;
  padding-left: 28px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text);
}
.work__list b::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.34em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  border-radius: 1px;
  transform: rotate(-45deg);
}
.work__foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.work__url { font-size: var(--text-xs); font-weight: 700; color: var(--c-text-faint); }
.work__go {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-border-strong);
  color: var(--c-text-muted);
  transition: background-color 0.35s var(--ease), border-color 0.35s, color 0.35s;
}
.work__go svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.work__card:hover .work__go { background-color: var(--c-accent); border-color: transparent; color: #fff; }
.work__card:hover .work__go svg { transform: translateX(2px); }

@media (max-width: 1000px) {
  .work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__card--lead { flex-direction: column; }
  .work__card--lead .work__media { flex: none; aspect-ratio: 16 / 9; }
  .work__card--lead .work__body { padding: 24px; }
}
@media (max-width: 620px) {
  .work { grid-template-columns: 1fr; }
  .work__body { padding: 20px; }
}

/* ==========================================================================
   31. BLOG NA ÚVODNEJ STRÁNKE
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.4s,
              opacity 0.75s var(--ease) calc(var(--i, 0) * 90ms),
              translate 0.75s var(--ease) calc(var(--i, 0) * 90ms);
}
.post:hover,
.post:focus-within {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 255, 0.32);
  box-shadow: var(--shadow-lg);
}
.post__link { display: flex; flex-direction: column; height: 100%; }
.post__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--c-bg-alt);
}
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__date {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.post__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.post__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.35;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__body p {
  margin-top: 10px;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--c-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.post__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.post__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-accent);
}
.post__go svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.post:hover .post__go svg { transform: translateX(3px); }
.blog__more { margin-top: var(--space-7); text-align: center; }

@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* ==========================================================================
   32. O MNE (tmavá sekcia)
   ========================================================================== */
.section--dark .section-title em {
  background: linear-gradient(96deg, #6fb0ff, #22d3ee);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.me {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --me-line: rgba(255, 255, 255, 0.10);
}
.me__bg { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.me__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 78% at 70% 0%, #000 20%, transparent 74%);
          mask-image: radial-gradient(120% 78% at 70% 0%, #000 20%, transparent 74%);
}
.me__aura { position: absolute; border-radius: 50%; filter: blur(115px); }
.me__aura--a { width: 600px; height: 600px; top: -300px; right: -180px; background: rgba(0, 102, 255, 0.34); }
.me__aura--b { width: 460px; height: 460px; bottom: -270px; left: -150px; background: rgba(34, 211, 238, 0.16); }
.me .eyebrow { color: #6fb0ff; }

.me__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 52px; align-items: start; }
.me__figure { position: relative; max-width: 320px; }
.me__photo {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 4 / 5;
  background: #0f1830;
  border: 1px solid rgba(122, 178, 255, 0.22);
  box-shadow: 0 44px 84px -42px rgba(0, 0, 0, 0.92);
}
.me__photo img { width: 100%; height: 100%; object-fit: cover; }
.me__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(10, 16, 32, 0.6));
}
.me__badge {
  position: absolute;
  right: -14px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(11, 19, 38, 0.88);
  border: 1px solid rgba(122, 178, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.95);
  animation: svcFloat 7s ease-in-out infinite;
}
.me__badge b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  background: linear-gradient(96deg, #7ab6ff, #22d3ee);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.me__badge span { font-size: 11px; font-weight: 600; line-height: 1.25; color: #9fb0cc; }
.me__sign {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #c3cee4;
}
.me__sign-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; }

.me__stats { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.me__stat {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--me-line);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.4s var(--ease), background-color 0.4s;
}
.me__stat:hover { border-color: rgba(122, 178, 255, 0.42); background: rgba(255, 255, 255, 0.06); }
.me__stat .n {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #fff;
}
.me__stat .l { display: block; margin-top: 3px; font-size: var(--text-xs); color: #9aa7bf; }

.me__block { margin-top: 28px; }
.me__label {
  display: block;
  margin-bottom: 12px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f8ea8;
}
.me__logos { display: flex; flex-wrap: wrap; gap: 10px; }
.me__logos span {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--me-line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: #d3e2ff;
  transition: border-color 0.3s, background-color 0.3s;
}
.me__logos span:hover { border-color: rgba(122, 178, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
}
.me .chips { margin-top: 0; }
.me .chip { border-color: var(--me-line); background: rgba(255, 255, 255, 0.03); color: #a9b6cd; }

@media (max-width: 900px) {
  .me__grid { grid-template-columns: 1fr; gap: 34px; }
  .me__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .me__stat { padding: 15px 13px; }
  .me__stat .n { font-size: 1.4rem; }
}

/* ==========================================================================
   33. ČASTÉ OTÁZKY
   ========================================================================== */
.faqx { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 52px; align-items: start; }
.faqx__aside { position: sticky; top: calc(var(--nav-h) + 26px); }
.faqx__cta {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.faqx__cta b { font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: -0.02em; }
.faqx__cta span { font-size: var(--text-sm); color: var(--c-text-muted); }
.faqx__cta .btn { margin-top: 14px; align-self: flex-start; }

.faq { max-width: none; margin-inline: 0; display: grid; gap: 12px; }
.faq__item {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s,
              opacity 0.75s var(--ease) calc(var(--i, 0) * 90ms),
              translate 0.75s var(--ease) calc(var(--i, 0) * 90ms);
}
.faq__item:hover { border-color: rgba(0, 102, 255, 0.26); }
.faq__item.is-open { border-color: rgba(0, 102, 255, 0.4); box-shadow: var(--shadow); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--c-text);
}
.faq__qt { flex: 1; }
.faq__q .ico {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-border-strong);
  color: var(--c-accent);
  transition: background-color 0.35s var(--ease), border-color 0.35s, color 0.35s;
}
.faq__q .ico svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.faq__q[aria-expanded="true"] .ico { background-color: var(--c-accent); border-color: transparent; color: #fff; }
.faq__q[aria-expanded="true"] .ico svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 20px; font-size: var(--text-sm); line-height: 1.65; color: var(--c-text-muted); }

@media (max-width: 900px) {
  .faqx { grid-template-columns: 1fr; gap: var(--space-6); }
  .faqx__aside { position: static; }
  .faqx__cta .btn { align-self: stretch; }
  .faq__q { padding: 18px; }
  .faq__a p { padding: 0 18px 18px; }
}

/* ==========================================================================
   34. MODAL: DOHODNÚŤ SI HOVOR
   ========================================================================== */
.callm {
  margin: auto;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: 26px;
  background: var(--c-surface);
  box-shadow: 0 50px 100px -40px rgba(15, 23, 42, 0.55);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--c-text);
}
.callm::backdrop { background: rgba(10, 16, 32, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.callm:focus, .callm:focus-visible { outline: none; }
.callm[open] { animation: callmIn 0.35s var(--ease); }
@keyframes callmIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

.callm__inner { border-radius: inherit; }
.callm__head {
  position: relative;
  padding: 26px 26px 22px;
  border-radius: 26px 26px 0 0;
  color: #fff;
  background: linear-gradient(152deg, #0f1c3a, #0a1020 72%);
  overflow: hidden;
}
.callm__head::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: -190px;
  right: -110px;
  border-radius: 50%;
  filter: blur(80px);
  background: rgba(34, 211, 238, 0.32);
}
.callm__head > * { position: relative; }
.callm__head h2 { font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: -0.025em; }
.callm__head p { margin-top: 6px; font-size: var(--text-sm); color: #9fb0cc; }
.callm__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: background-color 0.25s, border-color 0.25s;
}
.callm__close:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }
.callm__close svg { width: 16px; height: 16px; }

.callm__body { padding: 24px 26px 26px; display: grid; gap: var(--space-4); }
.callm__legend {
  display: block;
  margin-bottom: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-text-muted);
}
.callm__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.callm__day {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--c-border-strong);
  background: var(--c-bg);
  text-align: center;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.callm__day b { font-family: var(--font-display); font-size: var(--text-sm); }
.callm__day span { font-size: 11px; color: var(--c-text-muted); }
.callm__day[aria-pressed="true"] { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.callm__day[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.82); }
.callm__day[disabled] { opacity: 0.4; cursor: not-allowed; }

.callm__slots { display: flex; flex-wrap: wrap; gap: 7px; }
.callm__slot {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border-strong);
  background: var(--c-bg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-muted);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.callm__slot:hover { border-color: var(--c-accent); color: var(--c-accent); }
.callm__slot[aria-pressed="true"] { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.callm__none { font-size: var(--text-sm); color: var(--c-text-muted); }
.callm__pick {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border-radius: 14px;
  background: var(--c-accent-soft);
  border: 1px solid rgba(0, 102, 255, 0.2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-accent-ink);
}
.callm__pick svg { width: 17px; height: 17px; flex: none; }
.callm .form-fine { margin-top: -4px; }

@media (max-width: 520px) {
  .callm__head { padding: 22px 20px 20px; }
  .callm__body { padding: 20px; }
  .callm__days { grid-template-columns: 1fr; }
  .callm__day { flex-direction: row; align-items: center; justify-content: center; gap: 8px; }
}

/* ==========================================================================
   35. REDUCED MOTION (doplnok)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .work__shine { display: none; }
  .work__live i,
  .me__badge { animation: none; }
  .callm[open] { animation: none; }
}

.callm__pick[hidden] { display: none; }

/* ==========================================================================
   36. TMAVÉ POZADIE PRE SEKCIE (protipól .lightfx)
   ========================================================================== */
.darkfx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.darkfx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 0%, #000 20%, transparent 74%);
          mask-image: radial-gradient(120% 78% at 50% 0%, #000 20%, transparent 74%);
}
.darkfx__aura { position: absolute; border-radius: 50%; filter: blur(115px); }
.darkfx__aura--a { width: 620px; height: 620px; top: -310px; left: -190px; background: rgba(0, 102, 255, 0.34); }
.darkfx__aura--b { width: 500px; height: 500px; bottom: -280px; right: -150px; background: rgba(34, 211, 238, 0.16); }
.darkfx__aura--c { width: 660px; height: 660px; top: -340px; right: -220px; background: rgba(0, 102, 255, 0.28); }

.section--dark .eyebrow { color: #6fb0ff; }
.section--dark .glow::after {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(90, 162, 255, 0.20), transparent 70%);
}
.section--dark .tag {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #a9b6cd;
  transition: border-color 0.4s, color 0.4s;
}

/* ==========================================================================
   37. BLOG NA TMAVOM PODKLADE
   ========================================================================== */
.section--dark .post {
  border-color: rgba(255, 255, 255, 0.09);
  /* nepriehľadnejšie, aby znakový dážď nepresvital cez text karty */
  background: linear-gradient(180deg, rgba(17, 26, 47, 0.88), rgba(11, 18, 34, 0.92));
  box-shadow: none;
}
.section--dark .post:hover,
.section--dark .post:focus-within {
  border-color: rgba(122, 178, 255, 0.45);
  background: linear-gradient(180deg, rgba(23, 34, 58, 0.92), rgba(14, 22, 40, 0.94));
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.9);
}
.section--dark .post__media { background: #0f1830; }
.section--dark .post__date {
  color: #eaf2ff;
  background: rgba(11, 19, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.95);
}
.section--dark .post__body h3 { color: #fff; }
.section--dark .post__body p { color: #9aa7bf; }
.section--dark .post__go { color: #7ab6ff; }
.section--dark .post:hover .tag { border-color: rgba(122, 178, 255, 0.32); color: #d3e2ff; }
.section--dark .blog__empty {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #9aa7bf;
}

/* ==========================================================================
   38. KONTAKT NA TMAVOM PODKLADE
   ========================================================================== */
.section--dark .ctc__panel {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}
.section--dark .ctc__aura { background: rgba(34, 211, 238, 0.18); }

.section--dark .form-card {
  color: #fff;
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028) 62%);
  border-color: rgba(122, 178, 255, 0.24);
  box-shadow: 0 44px 84px -44px rgba(0, 0, 0, 0.92);
}
.section--dark .form-card__head { border-bottom-color: rgba(255, 255, 255, 0.12); }
.section--dark .form-card__head b { color: #fff; }
.section--dark .form-card__head span { color: #9fb0cc; }
.section--dark .field label { color: #9fb0cc; }
.section--dark .field input,
.section--dark .field textarea {
  color: #fff;
  background: rgba(8, 13, 28, 0.6);
  border-color: rgba(255, 255, 255, 0.16);
}
.section--dark .field input::placeholder,
.section--dark .field textarea::placeholder { color: #6d7d99; }
.section--dark .field input:focus,
.section--dark .field textarea:focus {
  border-color: #5aa2ff;
  box-shadow: 0 0 0 4px rgba(90, 162, 255, 0.18);
}
.section--dark .chip-toggle {
  color: #b9c3d6;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}
.section--dark .chip-toggle:hover { border-color: rgba(122, 178, 255, 0.5); color: #fff; }
.section--dark .chip-toggle[aria-pressed="true"] {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.section--dark .form-fine { color: #7f8ea8; }
.section--dark .form-msg.success {
  background: rgba(5, 150, 105, 0.16);
  border-color: rgba(5, 150, 105, 0.42);
  color: #6ee7b7;
}
.section--dark .form-msg.error {
  background: rgba(220, 38, 38, 0.16);
  border-color: rgba(220, 38, 38, 0.42);
  color: #fca5a5;
}

/* pätička nadväzuje na tmavý kontakt, preto jemná deliaca linka */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   39. NOČNÝ REŽIM
   Prepína sa podľa lokálneho času používateľa (20:00 až 7:00) alebo ručne
   tlačidlom v navigácii. Voľba sa pamätá v localStorage.
   ========================================================================== */
:root[data-theme="dark"] {
  color-scheme: dark;
  --c-bg:            #0a1020;
  --c-bg-alt:        #0d1527;
  --c-surface:       rgba(255, 255, 255, 0.042);
  --c-border:        rgba(255, 255, 255, 0.10);
  --c-border-strong: rgba(255, 255, 255, 0.20);
  --c-text:          #e9eff9;
  --c-text-muted:    #9aa7bf;
  --c-text-faint:    #76849c;
  --c-accent:        #4d94ff;
  --c-accent-ink:    #8cc0ff;
  --c-accent-soft:   rgba(90, 162, 255, 0.14);
  --c-ok:            #34d399;
  --c-danger:        #f87171;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow:    0 18px 40px -18px rgba(0, 0, 0, 0.78);
  --shadow-lg: 0 36px 70px -26px rgba(0, 0, 0, 0.88);
}

/* plochy, na ktorých leží biely text, potrebujú sýtejšiu modrú */
:root[data-theme="dark"] .btn-primary,
:root[data-theme="dark"] .skip-link,
:root[data-theme="dark"] .filter-btn.active,
:root[data-theme="dark"] .chip-toggle[aria-pressed="true"],
:root[data-theme="dark"] .callm__day[aria-pressed="true"],
:root[data-theme="dark"] .callm__slot[aria-pressed="true"],
:root[data-theme="dark"] .work__card:hover .work__go,
:root[data-theme="dark"] .faq__q[aria-expanded="true"] .ico,
:root[data-theme="dark"] .cmp__cell--b .cmp__tag {
  background-color: #0b60e8;
  border-color: #0b60e8;
  color: #fff;
}
:root[data-theme="dark"] .btn-primary:hover { background-color: #2f83ff; }

/* navigácia a spodný pruh */
:root[data-theme="dark"] .nav.is-solid { background: rgba(10, 16, 32, 0.9); }
:root[data-theme="dark"] .mobile-cta { background: rgba(10, 16, 32, 0.95); }

/* raster v svetlých sekciách musí byť svetlý */
:root[data-theme="dark"] .lightfx::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

/* jednotlivé komponenty, ktoré mali farbu natvrdo */
:root[data-theme="dark"] .cmp__cell--a { background: rgba(255, 255, 255, 0.028); }
:root[data-theme="dark"] .cmp__cell--a .cmp__tag { background: #46536b; color: #fff; }
:root[data-theme="dark"] .bar__fill--dim { background: linear-gradient(90deg, #3a4560, #4d5a75); }
:root[data-theme="dark"] .post__date {
  color: #eaf2ff;
  background: rgba(11, 19, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
:root[data-theme="dark"] .callm { background: #101a30; }
:root[data-theme="dark"] .form-msg.success {
  background: rgba(5, 150, 105, 0.16);
  border-color: rgba(5, 150, 105, 0.42);
  color: #6ee7b7;
}
:root[data-theme="dark"] .form-msg.error {
  background: rgba(220, 38, 38, 0.16);
  border-color: rgba(220, 38, 38, 0.42);
  color: #fca5a5;
}
:root[data-theme="dark"] .work__shine {
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.18) 50%, transparent 58%);
}

/* ==========================================================================
   40. PREPÍNAČ REŽIMU V NAVIGÁCII
   ========================================================================== */
.nav__side { display: flex; align-items: center; gap: 6px; }
.nav__theme {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fff;
  transition: background-color 0.25s var(--ease), border-color 0.25s, color 0.25s;
}
.nav__theme svg { width: 19px; height: 19px; }
.nav__theme:hover { background: rgba(255, 255, 255, 0.14); }
.nav.is-solid .nav__theme,
.nav.menu-open .nav__theme { border-color: var(--c-border-strong); color: var(--c-text); }
.nav.is-solid .nav__theme:hover,
.nav.menu-open .nav__theme:hover {
  background: var(--c-accent-soft);
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.nav__theme .i-sun { display: none; }
:root[data-theme="dark"] .nav__theme .i-sun { display: block; }
:root[data-theme="dark"] .nav__theme .i-moon { display: none; }

/* ==========================================================================
   41. ZNAKOVÝ DÁŽĎ ZA BLOGOM
   ========================================================================== */
.mxrain {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .34;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
}
@media (max-width: 620px) { .mxrain { opacity: .26; } }
@media (prefers-reduced-motion: reduce) { .mxrain { display: none; } }

/* ==========================================================================
   42. BALÍKY: tri cenové úrovne
   ========================================================================== */
.pkgs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: 24px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.75s var(--ease) calc(var(--i, 0) * 90ms),
              translate 0.75s var(--ease) calc(var(--i, 0) * 90ms),
              transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.pkg:hover { transform: translateY(-5px); border-color: rgba(0, 102, 255, 0.28); box-shadow: var(--shadow); }

/* prostredný balík ide na tmavý podklad, aby ťahal oko */
.pkg--featured {
  color: #fff;
  background: linear-gradient(152deg, #0f1c3a 0%, #0a1020 58%, #0b1428 100%);
  border-color: rgba(122, 178, 255, 0.22);
  box-shadow: 0 40px 80px -42px rgba(10, 16, 32, 0.85);
}
.pkg--featured:hover { border-color: rgba(122, 178, 255, 0.45); }
.pkg--featured.glow::after {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(122, 178, 255, 0.16), transparent 70%);
}

.pkg__flag {
  position: absolute;
  top: -13px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #06121f;
  background: linear-gradient(96deg, #7ab6ff, #22d3ee);
  box-shadow: 0 10px 22px -12px rgba(34, 211, 238, 0.9);
}

.pkg__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
}
.pkg__price {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  font-size: clamp(2.4rem, 4.4vw, 3.1rem);
  color: var(--c-text);
}
.pkg__price span { font-size: 0.45em; font-weight: 700; letter-spacing: 0; }
.pkg--featured .pkg__price {
  background: linear-gradient(96deg, #7ab6ff, #22d3ee);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pkg__once { margin-top: 8px; font-size: var(--text-xs); color: var(--c-text-faint); }
.pkg--featured .pkg__once { color: #8595b4; }
.pkg__tagline { margin-top: 12px; font-size: var(--text-sm); color: var(--c-text-muted); }
.pkg--featured .pkg__tagline { color: #9fb0cc; }

.pkg__design {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-accent);
  background: var(--c-accent-soft);
  border: 1px solid rgba(0, 102, 255, 0.16);
}
.pkg__design-ico { display: inline-grid; place-items: center; flex: none; }
.pkg__design svg { width: 19px; height: 19px; }
.pkg--featured .pkg__design {
  color: #8fd8ea;
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.28);
}

.pkg__list { margin-top: 22px; display: grid; gap: 11px; }
.pkg__list li {
  position: relative;
  padding-left: 28px;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}
.pkg__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.34em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  border-radius: 1px;
  transform: rotate(-45deg);
}
.pkg--featured .pkg__list li { color: #d2dcf0; }
.pkg--featured .pkg__list li::before { border-color: #5aa2ff; }
.pkg__opt {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  white-space: nowrap;
}
.pkg--featured .pkg__opt { border-color: rgba(255, 255, 255, 0.24); color: #9fb0cc; }

/* upresnenie rozsahu, nie benefit: neutrálna odrážka namiesto fajky */
.pkg__list li.is-info { color: var(--c-text-faint); }
.pkg__list li.is-info::before {
  top: 0.5em;
  left: 4px;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--c-border-strong);
  transform: none;
}
.pkg--featured .pkg__list li.is-info { color: #8595b4; }
.pkg--featured .pkg__list li.is-info::before { background: rgba(255, 255, 255, 0.3); }

/* zhrnutie zdedeného rozsahu, aby vyšší balík nepôsobil chudobnejšie */
.pkg__incl {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--c-text-faint);
}
.pkg--featured .pkg__incl { border-top-color: rgba(255, 255, 255, 0.12); color: #8595b4; }

/* tlačidlo sadá na spodnú hranu karty; odstup nad ním drží predchádzajúci
   prvok, aby si .btn udržal svoj vlastný symetrický padding */
.pkg__cta { margin-top: auto; width: 100%; }
.pkg > :nth-last-child(2) { margin-bottom: 28px; }

@media (max-width: 1000px) {
  .pkgs { grid-template-columns: 1fr; gap: 28px; }
}
@media (min-width: 1001px) {
  .pkg--featured { margin-block: -16px; padding-block: 46px; }
}
@media (max-width: 420px) {
  .pkg { padding: 26px 20px; }
  .pkg__flag { left: 20px; }
}

/* v nočnom režime musí zvýraznený balík stále vystupovať z ostatných */
:root[data-theme="dark"] .pkg--featured {
  background: linear-gradient(152deg, #16274d 0%, #0d1730 58%, #111d3a 100%);
  border-color: rgba(122, 178, 255, 0.38);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(122, 178, 255, 0.12);
}
:root[data-theme="dark"] .pkg--featured:hover { border-color: rgba(122, 178, 255, 0.6); }

/* ==========================================================================
   43. CENA: pás s číslami a spodný rad (v cene / prevádzka / na mieru)
   ========================================================================== */
/* kotva pre staré odkazy na #value, sekcia má dnes id #pricing */
.anchor-alias { display: block; height: 0; overflow: hidden; }

/* štyri čísla pod balíkmi idú do jedného radu, nie 2x2 */
.offer__stats--row {
  margin-top: 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pval {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.pval__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.pval__h {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.pval__list { margin-top: 16px; display: grid; gap: 11px; }
.pval__list li {
  position: relative;
  padding-left: 28px;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}
.pval__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.34em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  border-radius: 1px;
  transform: rotate(-45deg);
}

/* prevádzkové lišty sedia v karte; poznámka pod nimi drží spodnú hranu */
.pval__card.offer__bars { gap: 14px; }
.pval__card.offer__bars .pval__h { margin-bottom: 2px; }
.pval__card.offer__bars .bar__fine { margin-top: auto; padding-top: 8px; }

/* posledná karta ťahá na kontakt, preto tmavý podklad ako pri balíku Standard */
.pval__card--cta {
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(152deg, #0f1c3a 0%, #0a1020 58%, #0b1428 100%);
  border-color: rgba(122, 178, 255, 0.22);
  box-shadow: 0 40px 80px -42px rgba(10, 16, 32, 0.85);
}
.pval__card--cta .pval__h { color: #fff; }
.pval__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pval__aura {
  position: absolute;
  width: 360px;
  height: 360px;
  top: -200px;
  right: -140px;
  border-radius: 50%;
  filter: blur(100px);
  background: rgba(0, 102, 255, 0.5);
}
.pval__p { margin-top: 12px; font-size: var(--text-sm); color: #b3c2db; }
.pval__cta { margin-top: auto; width: 100%; }
.pval__card--cta .pval__p { margin-bottom: 20px; }
.pval__fine { margin-top: 12px; font-size: var(--text-xs); line-height: 1.5; color: #8595b4; }

@media (max-width: 1000px) {
  .offer__stats--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pval { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .pval__card { padding: 22px 18px; }
}
@media (max-width: 340px) {
  .offer__stats--row { grid-template-columns: 1fr; }
}
@media (min-width: 1001px) {
  /* zvýraznený balík presahuje o 16px nižšie, takže odstup pod ním
     dorovnávame, aby aj od neho ostalo 40px */
  .offer__stats--row { margin-top: 56px; }
}

/* ==========================================================================
   44. BALÍKY: bočné karty sa počas scrollu prisunú a narazia do prostrednej
   Polohu riadi --p (0 rozostúpené, 1 na mieste), priehľadnosť --o. Obe
   nastavuje JS podľa scrollu. Zámerne používam translate/scale/rotate ako
   samostatné vlastnosti, aby sa nebili s .pkg:hover, ktorý sedí na transform.
   Pravidlá visia na .js, takže pri prefers-reduced-motion nič z toho nebeží.
   ========================================================================== */
.js .pkgs[data-pkg-collide] { --p: 0; --o: 0; }

.js .pkgs[data-pkg-collide] .pkg {
  --dx: 0px;
  translate: calc(var(--dx) * (1 - var(--p))) calc(26px * (1 - var(--p)));
  opacity: var(--o);
  will-change: translate, opacity;
  /* scroll musí prekresľovať okamžite, preto tu už opacity ani translate neprechádzajú */
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.js .pkgs[data-pkg-collide] .pkg:first-child { --dx: clamp(80px, 11vw, 160px); translate: calc(var(--dx) * (var(--p) - 1)) 0; }
.js .pkgs[data-pkg-collide] .pkg:last-child  { --dx: clamp(80px, 11vw, 160px); translate: calc(var(--dx) * (1 - var(--p))) 0; }

/* prostredná karta je na mieste skôr, aby bolo do čoho naraziť */
.js .pkgs[data-pkg-collide] .pkg--featured {
  translate: 0 calc(26px * (1 - min(1, var(--p) * 1.8)));
}

/* okamih nárazu */
.js .pkgs[data-pkg-collide].is-hit .pkg:first-child {
  transform-origin: right center;
  animation: pkgHitSide 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js .pkgs[data-pkg-collide].is-hit .pkg:last-child {
  transform-origin: left center;
  animation: pkgHitSide 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js .pkgs[data-pkg-collide].is-hit .pkg--featured {
  transform-origin: center center;
  animation: pkgHitMid 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pkgHitSide {
  0%   { scale: 1 1; }
  14%  { scale: 0.972 1.028; }
  40%  { scale: 1.014 0.988; }
  68%  { scale: 0.995 1.005; }
  100% { scale: 1 1; }
}
@keyframes pkgHitMid {
  0%   { scale: 1 1; filter: none; }
  13%  { scale: 0.948 1.052; filter: brightness(1.22); }
  38%  { scale: 1.026 0.976; filter: brightness(1.06); }
  66%  { scale: 0.99 1.008; filter: none; }
  100% { scale: 1 1; filter: none; }
}

/* v jednom stĺpci nie je do čoho naraziť, karty len nabehnú zdola */
@media (max-width: 1000px) {
  .js .pkgs[data-pkg-collide] .pkg,
  .js .pkgs[data-pkg-collide] .pkg:first-child,
  .js .pkgs[data-pkg-collide] .pkg:last-child,
  .js .pkgs[data-pkg-collide] .pkg--featured {
    translate: 0 calc(22px * (1 - var(--p)));
  }
  .js .pkgs[data-pkg-collide].is-hit .pkg:first-child,
  .js .pkgs[data-pkg-collide].is-hit .pkg:last-child,
  .js .pkgs[data-pkg-collide].is-hit .pkg--featured { animation: none; }
}
