/* Lotus Webdesign · verejný web. Bez frameworkov, bez externých požiadaviek. */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-full-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fraunces Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }


:root {
  --ink: #0b0d12;
  --ink-0: #04070c;
  --ink-2: #12151d;
  --ink-3: #1b1f2b;
  --line-dark: rgba(255,255,255,.12);
  --paper: #f7f6f3;
  --paper-2: #eeece6;
  --white: #fff;
  --text: #14171f;
  --muted: #565b6b;
  --on-dark: #eceef4;
  --on-dark-muted: #a9b0c2;
  --line: #e1ded6;
  --a1: #6d5dfc;
  --a2: #3b82f6;
  --a1-d: #5b4cf0;
  --a2-d: #2f6fe8;
  --link: #4337d6;
  --grad: linear-gradient(135deg, var(--a1), var(--a2));
  --grad-btn: linear-gradient(135deg, var(--a1-d), var(--a2-d));
  --focus: #8b7dff;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow: 0 1px 2px rgba(20,23,31,.05), 0 14px 34px -14px rgba(20,23,31,.18);
  --shadow-lift: 0 2px 4px rgba(20,23,31,.05), 0 28px 50px -24px rgba(60,48,180,.45);
  --shadow-lg: 0 34px 70px -24px rgba(8,10,30,.55), 0 10px 24px -10px rgba(8,10,30,.35);
  --font: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --gutter: 16px;
  --hdr-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
h1, h2, h3, h4 { font-weight: 750; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }

/* ikony: jedna hrúbka čiary, zaoblené konce */
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.2em; }
.ic-lg, .ic-xl, .anat-node > .ic, .facts .ic, .rules .ic { width: 46px; height: 46px; padding: 10px; border-radius: 13px; background: rgba(109,93,252,.11); color: var(--a1-d); }
.ic-lg { margin-bottom: 16px; }
.ic-xl { width: 54px; height: 54px; padding: 12px; border-radius: 15px; }

/* ---------- tlačidlá ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic, .card-link:hover .ic { transform: translateX(3px); }
.btn-sm { padding: 10px 18px; font-size: .94rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 28px -10px rgba(91,76,240,.8), inset 0 1px 0 rgba(255,255,255,.22); position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(91,76,240,.95), inset 0 1px 0 rgba(255,255,255,.22); color: #fff; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.btn-ghost:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { color: var(--text); border-color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center-row { justify-content: center; }
.more { margin: 40px 0 0; text-align: center; }
.card-link { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card-link .ic { transition: transform .25s var(--ease); }
.card-link:hover { text-decoration: underline; }
.link-ext { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; word-break: break-word; }

/* ---------- hlavička ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink-0); border-bottom: 1px solid transparent; color: var(--on-dark); transition: background .3s ease, border-color .3s ease; }
.hdr.scrolled { background: rgba(4,7,12,.93); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line-dark); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 500; letter-spacing: -.01em; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; transition: transform .5s var(--ease); filter: drop-shadow(0 0 10px rgba(109,93,252,.55)); }
.brand:hover .brand-mark { transform: scale(1.12) rotate(-4deg); }
.brand-name b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav li a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--on-dark-muted); text-decoration: none; font-weight: 550; font-size: .97rem; transition: color .2s ease, background .2s ease; }
.nav li a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav li a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.11); }
.menu-btn { display: none; background: transparent; border: 1px solid var(--line-dark); border-radius: 10px; width: 44px; height: 44px; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-ico { position: relative; }
.menu-ico::before, .menu-ico::after { content: ""; position: absolute; left: 0; }
.menu-ico::before { top: -6px; } .menu-ico::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-ico { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-ico::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero (úvod) ---------- */
.hero, .page-hero { position: relative; background: var(--ink-0); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero { padding: 0 0 0; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 0% 100%, rgba(109,93,252,.14), transparent 70%); }
.hero-photo { position: absolute; top: 0; left: calc(50% - min(64.8vw, 345.6px)); width: min(120vw, 640px); max-width: none; height: auto;
  -webkit-mask-image: linear-gradient(#000 52%, transparent 94%); mask-image: linear-gradient(#000 52%, transparent 94%);
  transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -10px), 0) scale(1.03); animation: heroIn 1.8s var(--ease) both; }
/* animovany lotos (rovnaky ako v hlavickach podstranok) na mieste povodnej fotky; stred kvetu = stred ziary */
.hero-lotus { position: absolute; left: calc(50% - min(50vw, 260px)); top: calc(min(120vw, 640px) * .33 - min(100vw, 520px) * .383); width: min(100vw, 520px); opacity: .9;
  transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -10px), 0); }
.hero-glow { position: absolute; left: 50%; top: calc(min(120vw, 640px) * .33); width: min(120vw, 620px); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(124,108,255,.38), rgba(59,130,246,.12) 55%, transparent); mix-blend-mode: screen; animation: glow 5.5s ease-in-out infinite alternate; }
.hero-dust { position: absolute; left: 0; right: 0; top: 0; height: min(100vw, 480px); transform: translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 14px), 0); }
.hero-dust i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #cfd8ff; box-shadow: 0 0 8px 1px rgba(160,170,255,.8); opacity: 0; animation: dust 11s linear infinite; }
.hero-dust i:nth-child(1) { left: 12%; top: 78%; animation-delay: -1s; }
.hero-dust i:nth-child(2) { left: 24%; top: 60%; animation-delay: -4s; animation-duration: 13s; width: 2px; height: 2px; }
.hero-dust i:nth-child(3) { left: 36%; top: 86%; animation-delay: -7s; animation-duration: 9s; }
.hero-dust i:nth-child(4) { left: 48%; top: 70%; animation-delay: -2.5s; animation-duration: 14s; width: 2px; height: 2px; }
.hero-dust i:nth-child(5) { left: 58%; top: 90%; animation-delay: -9s; }
.hero-dust i:nth-child(6) { left: 68%; top: 64%; animation-delay: -5.5s; animation-duration: 12s; width: 4px; height: 4px; }
.hero-dust i:nth-child(7) { left: 78%; top: 82%; animation-delay: -3s; animation-duration: 10s; width: 2px; height: 2px; }
.hero-dust i:nth-child(8) { left: 88%; top: 72%; animation-delay: -8s; animation-duration: 15s; }
.hero-dust i:nth-child(9) { left: 30%; top: 40%; animation-delay: -6s; animation-duration: 16s; width: 2px; height: 2px; }
.hero-dust i:nth-child(10) { left: 72%; top: 36%; animation-delay: -10s; animation-duration: 13s; }
.hero-dust i:nth-child(11) { left: 52%; top: 50%; animation-delay: -12s; animation-duration: 12s; width: 2px; height: 2px; }
.hero-dust i:nth-child(12) { left: 92%; top: 52%; animation-delay: -1.8s; animation-duration: 14s; width: 2px; height: 2px; }
.hero-shine { position: absolute; left: 0; right: 0; top: 0; height: min(96vw, 500px); mix-blend-mode: color-dodge; opacity: .42; -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 92%); mask-image: radial-gradient(closest-side, #000 45%, transparent 92%);
  background: linear-gradient(112deg, transparent 42%, rgba(190,200,255,.55) 50%, transparent 58%) no-repeat; background-size: 280% 100%; animation: shine 9s ease-in-out 2.2s infinite; background-position: 130% 0; }
@keyframes shine { 0% { background-position: 130% 0; } 38%, 100% { background-position: -30% 0; } }
@keyframes heroIn { from { opacity: 0; transform: scale(1.12); } }
@keyframes glow { from { opacity: .45; scale: .94; } to { opacity: 1; scale: 1.06; } }
@keyframes dust { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: .9; } 80% { opacity: .5; } 100% { transform: translate3d(18px, -170px, 0); opacity: 0; } }

.hero-grid { padding-top: min(70vw, 370px); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin-bottom: 14px; }
.eyebrow-dark { color: #b4aaff; }
.hero h1, .page-hero h1 { color: #fff; font-weight: 800; letter-spacing: -.04em; line-height: 1.04; font-size: clamp(2.2rem, 6.6vw, 4rem); margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.7rem); max-width: 17ch; }
.accent { font-family: var(--font-serif); font-style: italic; font-weight: 480; letter-spacing: -.02em; background: linear-gradient(120deg, #a99dff, #6fa8ff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-sub { font-size: clamp(1.08rem, 2.4vw, 1.28rem); color: var(--on-dark-muted); max-width: 44ch; line-height: 1.55; }
.hero-copy > *, .page-hero > .wrap > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2), .page-hero > .wrap > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3), .page-hero > .wrap > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4), .page-hero > .wrap > :nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* čísla pod hero */
.trust { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); animation: rise 1s var(--ease) .4s both; }
.trust li { background: rgba(8,10,20,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.trust-n { font-size: clamp(2.1rem, 6vw, 3.1rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff 25%, #bdb4ff 65%, #86b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust span { color: var(--on-dark-muted); font-size: .93rem; line-height: 1.35; }
.trust-w { font-size: clamp(1.7rem, 5vw, 2.5rem); padding-bottom: .1em; }

/* bežiaci pás názvov projektov */
.mq { overflow: hidden; margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--line-dark);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 48s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-list { list-style: none; display: flex; flex: none; }
.mq-list li { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 0 30px; white-space: nowrap; }
.mq-list li::after { content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50% 0; rotate: 45deg; background: var(--grad); }
.mq-name { font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; color: #fff; }
.mq-year { font-size: .8rem; font-weight: 600; color: #8b93a8; }
@keyframes mq { to { transform: translateX(-50%); } }

/* hero podstránok s animovaným lotosom */
.page-hero { padding: 56px 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(55% 80% at 82% 70%, rgba(109,93,252,.3), transparent 70%), radial-gradient(40% 50% at 100% 0%, rgba(59,130,246,.18), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(109,93,252,.12), transparent 70%); }
.page-hero .hero-sub { max-width: 54ch; }
.page-hero-sm { padding: 40px 0 36px; }
.page-404-hero { padding: 96px 0 112px; }
.page-lotus { position: absolute; z-index: -1; right: -28%; bottom: -8%; width: min(120vw, 560px); opacity: .5; pointer-events: none; }
.page-hero .mq { margin-top: 48px; margin-bottom: -56px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-chips li { font-size: .95rem; color: var(--on-dark); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 16px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-chips b { color: #fff; font-weight: 800; }

.lotus-big { width: 100%; height: auto; overflow: visible; animation: breathe 7s ease-in-out 2s infinite alternate; transform-origin: 50% 88%; }
.lp { fill: url(#lgp); stroke: url(#lgs); stroke-width: 1.2; transform: rotate(var(--a)); animation: bloom 1.7s var(--ease) both; animation-delay: var(--d); }
.lp-b { opacity: .42; }
@keyframes bloom { from { transform: rotate(0deg) scale(.5); opacity: 0; } }
@keyframes breathe { to { transform: scale(1.03); } }
.js [data-bloom] .lp { animation-play-state: paused; }
.js [data-bloom].bloom .lp { animation-play-state: running; }

/* ---------- sekcie ---------- */
.section { padding: 72px 0; position: relative; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 70% at 85% 0%, rgba(109,93,252,.2), transparent 70%); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #b4aaff; }
.sec-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .95;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.long .sec-bg { height: min(100%, 1000px); bottom: auto; }
.sec-bg-photo { opacity: .5; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 75%); mask-image: linear-gradient(90deg, transparent 0%, #000 75%); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head-c { margin-inline: auto; text-align: center; }
.sec-head-c .lead { margin-inline: auto; }
.sec-head h2 { font-size: clamp(1.85rem, 4.8vw, 2.9rem); letter-spacing: -.035em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.section-dark .lead { color: var(--on-dark-muted); }

/* karty */
.card, .rcard, .ccard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease; }
.card, .rcard { padding: 26px 24px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; }
.card::before, .rcard::before, .glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(109,93,252,.16), transparent 70%); }
.card:hover, .rcard:hover, .ccard:hover { transform: translateY(-6px); border-color: rgba(109,93,252,.45); box-shadow: var(--shadow-lift); }
.card:hover::before, .rcard:hover::before, .glass:hover::before { opacity: 1; }
.card h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .3em; }
.card p { color: var(--muted); font-size: 1rem; margin: 0; }
.glass { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px 22px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .3s ease, background .3s ease; }
.glass:hover { transform: translateY(-6px); border-color: rgba(139,125,255,.55); background: rgba(255,255,255,.09); }
.glass h3 { font-size: 1.15rem; margin-bottom: .3em; }
.glass p { color: var(--on-dark-muted); margin: 0; font-size: .98rem; }
.glass .ic-lg, .rcard-here .ic-lg { background: rgba(139,125,255,.18); color: #c9c2ff; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.chips li { font-size: .84rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(109,93,252,.1); color: #3a2fbf; border: 1px solid rgba(109,93,252,.22); }
.chips-lg { justify-content: center; gap: 10px; margin: 0; }
.chips-lg li { font-size: 1rem; padding: 10px 20px; background: var(--white); border-color: var(--line); color: var(--text); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s ease; }
.chips-lg li:hover { transform: translateY(-3px); border-color: rgba(109,93,252,.5); }

/* ---------- rámy zariadení ---------- */
.browser { display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(20,23,31,.1); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eceaf2; border-bottom: 1px solid #dddae6; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c5d6; display: block; flex: none; }
.browser .bar b { margin-left: 8px; font-size: .68rem; font-weight: 550; line-height: 1.5; color: #5d6172; background: #fff; border-radius: 999px; padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.browser img, .browser .mm { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser-photo img { aspect-ratio: 16 / 11.05; object-position: center; }
.phone { background: #0f1117; border-radius: 26px; padding: 6px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.18); }
.phone img { border-radius: 21px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

.mock { position: relative; perspective: 1500px; --rx: 2deg; --ry: -5deg; }
.mock::before { content: ""; position: absolute; inset: 4% 2% -6%; z-index: -1; background: radial-gradient(closest-side, rgba(109,93,252,.3), transparent); }
.mock.has-m { padding: 0 8% 6% 0; }
.mock-in { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease); }
.mock .phone { position: absolute; right: -9%; bottom: -8%; width: 23%; border-radius: 9% / 4.2%; padding: 1.2%; transform: translate3d(0, var(--par, 0px), 50px); }
.mock .phone img { border-radius: 8% / 3.7%; }
.show:nth-child(even) .mock, .case:nth-child(even) .mock { --ry: 5deg; }

/* ---------- karusel ---------- */
.car { overflow: hidden; }
.car-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.car-head .sec-head { margin-bottom: 0; }
.car-nav { display: none; gap: 10px; flex: none; }
.js .car-nav { display: flex; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #c9c5ba; background: var(--white); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem;
  transition: transform .25s var(--ease), background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease; }
.car-btn[data-car-prev] .ic { transform: scaleX(-1); }
.car-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-track { --edge: max(var(--gutter), calc(50% - 600px + var(--gutter))); list-style: none; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 14px var(--edge) 30px; -webkit-overflow-scrolling: touch; }
.js .car-track { scrollbar-width: none; }
.js .car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline-offset: -3px; }
.car-item { flex: none; width: min(78vw, 316px); scroll-snap-align: start; }
.car-item-lg { width: min(88vw, 1040px); scroll-margin-top: calc(var(--hdr-h) + 150px); }
.car-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.car-bar { flex: 1; max-width: 240px; height: 4px; border-radius: 4px; background: #dcd8cf; overflow: hidden; }
.car-bar i { display: block; height: 100%; width: 30%; border-radius: 4px; background: var(--grad); transition: transform .15s linear; }
.no-js .car-bar { visibility: hidden; }
.ccard { height: 100%; padding: 12px 12px 22px; }
.ccard-media { border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.ccard-media .browser { box-shadow: none; border-color: var(--line); }
.ccard-media img, .ccard-media .mm { transition: transform .8s var(--ease); }
.ccard:hover .ccard-media img, .ccard:hover .ccard-media .mm { transform: scale(1.045); }
.ccard h3 { font-size: 1.17rem; letter-spacing: -.02em; margin: 0 6px .25em; }
.ccard h3 a { color: inherit; text-decoration: none; }
.ccard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ccard p { margin: 0 6px; color: var(--muted); font-size: .97rem; line-height: 1.45; }
.acard { display: grid; gap: 22px; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 16px 16px 26px; box-shadow: var(--shadow); }
.acard-media .browser { box-shadow: 0 20px 40px -24px rgba(20,23,31,.4); }
.acard-body { padding: 0 8px; position: relative; }
.acard-n { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: #6d7283; margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.acard-body .ic-xl { margin-bottom: 16px; }
.acard-body h3 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -.03em; }
.acard-body .lead { font-size: 1.08rem; }
.proof { margin: 0; font-size: .96rem; color: var(--muted); }
.proof a { font-weight: 650; }
.mm { display: block; }
.mm-dash { animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.mm-grow rect { transform-box: fill-box; transform-origin: 50% 100%; }
.ccard:hover .mm-grow rect, .car-item:focus-within .mm-grow rect { animation: grow 1s var(--ease) both; }
.ccard:hover .mm-grow rect:nth-child(2n) { animation-delay: .1s; }
.ccard:hover .mm-grow rect:nth-child(3n) { animation-delay: .2s; }
@keyframes grow { from { transform: scaleY(.15); } }

/* ---------- projekty: ukážky a prípadové štúdie ---------- */
.kicker { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.badge { letter-spacing: .01em; text-transform: none; font-size: .82rem; font-weight: 650; color: #3a2fbf; background: rgba(109,93,252,.1); border: 1px solid rgba(109,93,252,.25); padding: 3px 11px; border-radius: 999px; }
.shows { display: grid; gap: 64px; }
.show { display: grid; gap: 28px; align-items: center; }
.show-media { display: block; min-width: 0; text-decoration: none; }
.show-body h3, .case-body h3 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); letter-spacing: -.035em; margin-bottom: .35em; }
.show-body h3 a { color: inherit; text-decoration: none; }
.show-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.case-lead { font-size: 1.14rem; line-height: 1.5; color: var(--text); max-width: 46ch; }
.show-fact { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; font-size: .93rem; color: #2f2699; background: rgba(109,93,252,.11); border-radius: 999px; padding: 7px 15px 7px 11px; margin-bottom: 18px; }
.show-fact .ic { color: var(--a1-d); }
.show-body .card-link { display: flex; width: max-content; }
.cases { display: grid; gap: 88px; }
.case { display: grid; gap: 30px; align-items: center; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.case-media { min-width: 0; }
.case-steps { list-style: none; margin: 22px 0 8px; }
.case-steps li { position: relative; padding: 0 0 18px 30px; }
.case-steps li::before { content: ""; position: absolute; left: 0; top: .32em; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--a1); background: var(--white); }
.case-steps li::after { content: ""; position: absolute; left: 5.5px; top: calc(.32em + 15px); bottom: -.2em; width: 2px; border-radius: 2px; background: linear-gradient(var(--a1), rgba(109,93,252,.25)); }
.case-steps li:last-child { padding-bottom: 0; }
.case-steps li:last-child::after { display: none; }
.case-steps .cs-res::before { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 4px rgba(109,93,252,.2); }
.cs-l { display: block; font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin-bottom: 3px; }
.case-steps p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.case-steps .cs-res p { color: var(--text); font-weight: 600; }
.role { font-size: .93rem; color: var(--muted); }
.role strong { color: var(--text); }
.section-dark .kicker, .section-dark .role, .section-dark .case-steps p { color: var(--on-dark-muted); }
.section-dark .case-lead, .section-dark .role strong { color: var(--on-dark); }
.section-dark .case-steps .cs-res p { color: #fff; }
.section-dark .cs-l { color: #b4aaff; }
.section-dark .case-steps li::before { background: var(--ink); border-color: #8b7dff; }
.section-dark .case-steps .cs-res::before { background: var(--grad); border-color: transparent; }
.section-dark .badge, .section-dark .chips li { color: #d7d2ff; background: rgba(139,125,255,.16); border-color: rgba(139,125,255,.34); }
.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.section-dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.section-dark .browser { border-color: rgba(255,255,255,.14); }

/* graf: roky v prevádzke */
.years-card { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: 28px; padding: 28px 20px; margin-top: 72px; box-shadow: var(--shadow-lg); }
.years-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(109,93,252,.3), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(59,130,246,.16), transparent 70%); }
.section-dark .years-card { margin: 0 0 80px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); box-shadow: none; }
.section-dark .years-card::before { display: none; }
.years-head { margin-bottom: 26px; }
.years-head h3 { color: #fff; font-size: 1.6rem; letter-spacing: -.03em; margin-bottom: .2em; }
.years-head p { color: var(--on-dark-muted); margin: 0; }
.yr-list { list-style: none; display: grid; gap: 16px; }
.yr { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: baseline; }
.yr-name { font-weight: 650; color: #fff; font-size: .98rem; line-height: 1.3; }
.yr-name a { color: inherit; text-decoration: none; }
.yr-name a:hover { text-decoration: underline; }
.yr-bar { grid-column: 1 / -1; order: 3; position: relative; display: block; height: 12px; border-radius: 6px; background: rgba(255,255,255,.07); }
.yr-bar i { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 100%); width: calc(var(--w) * 100%); border-radius: 6px; background: var(--grad); transform-origin: left; box-shadow: 0 0 18px -2px rgba(109,93,252,.8);
  transition: transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.js .years:not(.in) .yr-bar i { transform: scaleX(0); }
.yr-main .yr-bar i { background: linear-gradient(90deg, #fff, #b9b0ff); box-shadow: 0 0 20px -2px rgba(200,195,255,.7); }
.yr-val { color: var(--on-dark-muted); font-size: .88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.yr-val b { color: #fff; font-weight: 650; }
.yr-axis { display: none; }

/* ---------- kedy sa ozvať ---------- */
.when { display: grid; gap: 16px; }
.when-card { gap: 14px; }
.when-card h3 { font-size: 1.25rem; line-height: 1.3; margin: 0; }

/* ---------- prečo my ---------- */
.bento { display: grid; gap: 16px; }
.bento-photo { position: relative; border-radius: 24px; overflow: hidden; min-height: 280px; box-shadow: var(--shadow); background: var(--ink); }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.bento-photo:hover img { transform: scale(1.05); }
.bento-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 22px; background: linear-gradient(transparent, rgba(4,7,12,.9)); color: #fff; font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-weight: 720; letter-spacing: -.025em; line-height: 1.22; text-wrap: balance; }

/* ---------- postup: časová os, ktorá sa kreslí pri skrolovaní ---------- */
.flow, .tl { list-style: none; position: relative; display: grid; gap: 30px; --p: 1; }
.flow::before, .flow::after, .tl::before, .tl::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.flow::before, .tl::before { background: rgba(255,255,255,.13); }
.flow::after, .tl::after { background: linear-gradient(#8b7dff, #4f9bff); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 14px rgba(109,93,252,.9); }
.flow-step { position: relative; padding-left: 78px; transition: opacity .5s ease; }
.flow-ico { position: absolute; left: 0; top: 0; z-index: 1; display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink-2);
  border: 1.5px solid rgba(139,125,255,.7); color: #cfc8ff; box-shadow: 0 0 0 6px rgba(11,13,18,.92), 0 0 30px -2px rgba(109,93,252,.75); transition: border-color .5s ease, color .5s ease, box-shadow .5s ease, transform .5s var(--ease); }
.flow-ico .ic { width: 24px; height: 24px; }
.flow-n { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fb4ff; margin: 0 0 4px; }
.flow-step h3 { font-size: 1.17rem; margin: 0 0 .35em; }
.flow-step p { color: var(--on-dark-muted); font-size: .96rem; margin: 0 0 12px; }
.flow-step .flow-out { display: inline-flex; gap: 6px; align-items: center; margin: 0; font-size: .84rem; font-weight: 600; line-height: 1.3; color: #dcd7ff; background: rgba(109,93,252,.18); border: 1px solid rgba(139,125,255,.34); border-radius: 999px; padding: 5px 12px 5px 9px; }
.flow-out .ic { color: #8fb4ff; }
.flow-live .flow-step:not(.on) { opacity: .42; }
.flow-live .flow-step:not(.on) .flow-ico { border-color: rgba(255,255,255,.18); color: #6b7288; box-shadow: 0 0 0 6px rgba(11,13,18,.92); transform: scale(.9); }

.tl::before, .tl::after { left: 7px; top: 12px; bottom: 12px; }
.tl-item { position: relative; padding-left: 38px; transition: opacity .5s ease; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px rgba(11,13,18,.92), 0 0 18px rgba(109,93,252,.9); z-index: 1; transition: transform .5s var(--ease), background .5s ease; }
.tl-y { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, #fff 30%, #b9b0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-item h3 { font-size: 1.08rem; margin: 6px 0 .2em; }
.tl-item h3 a { color: #fff; }
.tl-item p { color: var(--on-dark-muted); font-size: .93rem; margin: 0; line-height: 1.45; }
.flow-live .tl-item:not(.on) { opacity: .4; }
.flow-live .tl-item:not(.on)::before { transform: scale(.6); background: #4a5068; }

/* ---------- rozcestník ponúk ---------- */
.router-q { width: max-content; max-width: 100%; margin: 0 auto; display: flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 1.1rem; padding: 10px 24px 10px 12px; border-radius: 999px; box-shadow: 0 16px 34px -14px rgba(20,23,31,.6); position: relative; z-index: 1; }
.router-mark { width: 32px; height: 32px; }
.router-lines { display: none; width: 100%; height: 70px; overflow: visible; }
.router-lines path, .anat-lines path { fill: none; stroke: #8b7dff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 3 9; animation: dash 1.1s linear infinite; }
.router-grid { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.rneed { font-size: 1.16rem; font-weight: 720; letter-spacing: -.02em; line-height: 1.28; color: var(--text); margin-bottom: 16px; text-wrap: balance; }
.rcard h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; color: var(--link); margin-bottom: 6px; }
.rline { color: var(--muted); font-size: .96rem; line-height: 1.45; }
.rcard .link-ext, .rcard .card-link { margin-top: auto; font-size: .95rem; }
.rcard-here { background: var(--ink); border-color: rgba(139,125,255,.5); color: var(--on-dark); box-shadow: 0 26px 54px -24px rgba(60,48,180,.8); }
.rcard-here::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(90% 80% at 100% 0%, rgba(109,93,252,.42), transparent 70%); }
.rcard-here { isolation: isolate; }
.rcard-here .rneed { color: #fff; }
.rcard-here h3 { color: #b4aaff; }
.rcard-here .rline { color: var(--on-dark-muted); }
.rcard-here .card-link { color: #fff; }

/* ---------- CTA ---------- */
.cta { padding: 88px 0; }
.cta-lotus { position: absolute; z-index: -1; right: -30%; bottom: -14%; width: min(130vw, 760px); opacity: .34; pointer-events: none; }
.cta-grid { display: grid; gap: 32px; align-items: center; }
.cta-photo img { width: 150px; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-dark); }
.cta-photo figcaption { margin-top: 12px; font-size: .88rem; color: var(--on-dark-muted); line-height: 1.4; }
.cta-photo b { display: block; color: #fff; font-size: 1rem; }
.cta-copy h2 { font-size: clamp(2rem, 5.4vw, 3.3rem); letter-spacing: -.04em; }
.cta-note { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; color: var(--on-dark-muted); font-size: .96rem; max-width: 52ch; }
.cta-note .ic { margin-top: .2em; color: #8fb4ff; }

/* ---------- služby: schéma systému, porovnanie, cena, starostlivosť ---------- */
.anat { position: relative; display: grid; gap: 14px; }
.anat-lines { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.anat-col { list-style: none; display: grid; gap: 14px; position: relative; z-index: 1; }
.anat-node { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease; }
.anat-node:hover { transform: translateY(-4px); border-color: rgba(109,93,252,.45); box-shadow: var(--shadow-lift); }
.anat-node h3 { font-size: 1.06rem; margin: 0 0 2px; }
.anat-node p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.4; }
.anat-hub { position: relative; z-index: 1; width: 196px; height: 196px; margin: 22px auto; border-radius: 50%; background: linear-gradient(135deg, #5546e8, #2b62d9); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 0 0 14px rgba(109,93,252,.13), 0 0 0 30px rgba(109,93,252,.06), 0 30px 60px -20px rgba(60,48,180,.7); }
.anat-hub::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(109,93,252,.6); animation: ping 3.2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.anat-mark { width: 58px; height: 58px; }
.anat-hub p { margin: 4px 0 0; font-size: .84rem; line-height: 1.4; }
.anat-hub b { display: block; font-size: 1.08rem; }

.cmp-scroll { border-radius: 22px; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; table-layout: fixed; }
.cmp th, .cmp td { padding: 13px 10px; text-align: left; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.4; vertical-align: top; }
.cmp thead th { font-weight: 750; font-size: .9rem; vertical-align: middle; }
.cmp thead td { width: 24%; }
.cmp tbody th { font-weight: 650; color: var(--muted); font-size: .84rem; }
.cmp tbody td { color: var(--muted); }
.cmp tbody .cmp-us { background: rgba(109,93,252,.08); font-weight: 650; color: var(--text); }
.cmp thead .cmp-us { background: var(--ink); color: #fff; }
.cmp-mark { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; margin-right: 6px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr { transition: background .2s ease; }
.cmp tbody tr:hover { background: rgba(109,93,252,.04); }
.cmp-note { margin: 22px 0 0; color: var(--muted); }

.split { display: grid; gap: 36px; align-items: center; }
.split-photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.4s var(--ease); }
.split-photo:hover img { transform: scale(1.05); }
.split .sec-head { margin-bottom: 26px; }
.psteps { list-style: none; display: grid; gap: 22px; margin-bottom: 30px; position: relative; }
.psteps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--a1), var(--a2)); opacity: .35; }
.psteps li, .rules li { display: flex; gap: 18px; align-items: flex-start; position: relative; }
.pstep-n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-btn); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--paper-2), 0 10px 20px -8px rgba(91,76,240,.7); }
.psteps h3, .rules h3 { font-size: 1.15rem; margin: 8px 0 2px; }
.psteps p, .rules p { margin: 0; color: var(--muted); }
.rules { list-style: none; display: grid; gap: 20px; }
.rules h3 { margin-top: 2px; }

.care-grid { list-style: none; display: grid; gap: 14px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; box-shadow: var(--shadow); transition: border-color .3s ease; }
.faq details[open], .faq details:hover { border-color: rgba(109,93,252,.45); }
.faq summary { cursor: pointer; padding: 18px 34px 18px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border: solid var(--a1-d); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- o nás ---------- */
.about-grid { display: grid; gap: 36px; align-items: start; }
.about-photo img { width: min(100%, 380px); border-radius: 26px; box-shadow: var(--shadow-lg); }
.about-text h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.04em; margin-bottom: .1em; }
.about-role { font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.facts { list-style: none; display: grid; gap: 10px; margin: 26px 0; }
.facts li { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); }
.facts span { color: var(--muted); font-size: .92rem; line-height: 1.35; }
.facts b { display: block; color: var(--text); font-size: 1.02rem; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-form-wrap h2 { font-size: 1.9rem; }
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; font-size: .97rem; }
.field .opt, .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.hint { margin: 8px 0 0; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea { width: 100%; font: inherit; color: var(--text); background: var(--white); border: 1.5px solid #c9c5ba; border-radius: 12px; padding: 13px 14px; min-height: 48px; transition: border-color .2s ease, box-shadow .2s ease; }
.form textarea { resize: vertical; min-height: 160px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(109,93,252,.35); border-color: var(--a1-d); }
.form [aria-invalid="true"] { border-color: #c0262d; }
.field-err { color: #b3202a; font-size: .9rem; margin: 6px 0 0; font-weight: 550; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
#form-status:empty { display: none; }
#form-status { border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; font-weight: 550; }
#form-status.ok { background: #e6f6ec; border: 1px solid #8fd1a6; color: #0f5a2b; }
#form-status.err { background: #fdeceb; border: 1px solid #f0a7a3; color: #8e1d24; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.side-card h2 { font-size: 1.15rem; }
.side-person { display: flex; gap: 16px; align-items: center; background: var(--ink); border-color: transparent; color: var(--on-dark-muted); }
.side-person img { width: 76px; height: 76px; object-fit: cover; object-position: top; border-radius: 18px; flex: none; }
.side-person p { margin: 0; font-size: .92rem; line-height: 1.4; }
.side-person b { display: block; color: #fff; font-size: 1.05rem; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .ic { color: var(--a1-d); width: 1.4em; height: 1.4em; }
.mini-steps { list-style: none; counter-reset: ms; display: grid; gap: 16px; position: relative; }
.mini-steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(var(--a1), var(--a2)); opacity: .35; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 46px; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-btn); color: #fff; font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--white); }
.mini-steps b { display: block; color: var(--text); font-size: 1rem; }

.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); }

/* ---------- päta ---------- */
.ftr { background: var(--ink-0); color: var(--on-dark-muted); padding: 56px 0 28px; font-size: .96rem; border-top: 1px solid var(--line-dark); }
.ftr-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr ul { list-style: none; display: grid; gap: 8px; }
.ftr-h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8b93a8; margin-bottom: 14px; font-weight: 700; }
.ftr-tag { margin: 14px 0 6px; color: var(--on-dark); max-width: 30ch; }
.ftr-small { color: var(--on-dark-muted); }
.ftr-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .88rem; }
.ftr-legal p { margin: 0 0 6px; }

/* ---------- zjavenie pri skrolovaní (bez JS je všetko viditeľné) ---------- */
.js .reveal:not(.done) { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.r-zoom:not(.done) { transform: translateY(26px) scale(.96); }
.js .reveal.in:not(.done) { opacity: 1; transform: none; }

/* ---------- responzívne ---------- */
@media (max-width: 859px) {
  .menu-btn { display: inline-flex; }
  .js .nav { position: absolute; top: var(--hdr-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; background: var(--ink-0); border-bottom: 1px solid var(--line-dark); padding: 12px var(--gutter) 20px; display: none; }
  .js .nav.open { display: flex; }
  .js .nav ul { flex-direction: column; }
  .js .nav li a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-cta { text-align: center; }
  .no-js .nav { flex-wrap: wrap; gap: 8px 12px; }
  .no-js .hdr-in { flex-wrap: wrap; height: auto; padding-block: 10px; }
  .no-js .nav ul { flex-wrap: wrap; }
  .no-js .nav-cta { display: none; }
  .car-head { align-items: flex-end; }
  .car-btn { width: 46px; height: 46px; }
}
@media (min-width: 560px) {
  .router-grid, .care-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: repeat(2, 1fr); }
  .when { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-photo { grid-column: 1 / -1; min-height: 340px; }
  .cmp th, .cmp td { padding: 16px 20px; font-size: 1rem; }
  .cmp tbody th { font-size: .9rem; }
  .cmp thead th { font-size: 1rem; }
  .years-card { padding: 36px 32px; }
}
@media (min-width: 760px) {
  .yr { grid-template-columns: 200px 1fr 190px; gap: 18px; align-items: center; }
  .yr-bar { grid-column: auto; order: 0; height: 14px; border-radius: 7px; }
  .yr-bar i { border-radius: 7px; }
  .yr-axis { display: block; position: relative; height: 26px; margin: 12px 208px 0 218px; font-size: .76rem; font-weight: 600; color: #8b93a8; font-variant-numeric: tabular-nums; border-top: 1px solid rgba(255,255,255,.1); }
  .yr-axis span { position: absolute; top: 8px; left: calc(var(--s) * 100%); }
  .yr-axis span::before { content: ""; position: absolute; left: 0; top: -8px; width: 1px; height: 6px; background: rgba(255,255,255,.3); }
}
@media (min-width: 860px) {
  :root { --gutter: 32px; --hdr-h: 76px; }
  .section { padding: 112px 0; }
  .sec-head { margin-bottom: 52px; }
  .hero { --hh: clamp(500px, 49vw, 700px); }
  .hero-photo { left: calc(50% - var(--hh) * .84); top: 10px; width: auto; height: var(--hh);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 80%, transparent), linear-gradient(transparent, #000 14%, #000 70%, transparent 97%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 80%, transparent), linear-gradient(transparent, #000 14%, #000 70%, transparent 97%); mask-composite: intersect; }
  .hero-lotus { left: calc(50% - var(--hh) * .154); top: calc(10px + var(--hh) * .049); width: calc(var(--hh) * 1.1); }
  .hero-glow { left: calc(50% + var(--hh) * .396); top: calc(10px + var(--hh) * .47); width: var(--hh); }
  .hero-dust { left: calc(50% - var(--hh) * .09); right: auto; width: var(--hh); top: 40px; height: calc(var(--hh) * .76); }
  .hero-shine { left: calc(50% - var(--hh) * .11); right: auto; width: calc(var(--hh) * 1.03); top: 60px; height: calc(var(--hh) * .8); }
  .hero h1 { font-size: clamp(2.7rem, 4.9vw, 4rem); }
  .hero-grid { padding-top: clamp(72px, 8vw, 112px); min-height: calc(var(--hh) - 100px); }
  .hero-copy { max-width: min(580px, 46vw); }
  .hero .hero-sub { max-width: 40ch; }
  .trust { grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
  .trust li { padding: 26px 26px 24px; }
  .mq { margin-top: 56px; padding: 26px 0; }
  .mq-name { font-size: 1.5rem; }
  .page-hero { padding: 96px 0 88px; }
  .page-hero .mq { margin-bottom: -88px; margin-top: 72px; }
  .page-lotus { right: max(-40px, calc(50% - 640px)); bottom: -6%; width: 600px; opacity: .85; }
  .bento { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .bento-photo { grid-column: auto; grid-row: 1 / 3; min-height: 440px; }
  .router-grid { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
  .router-lines { display: block; }
  .rneed { min-height: 2.56em; }
  .care-grid { grid-template-columns: repeat(4, 1fr); }
  .show { grid-template-columns: 1.42fr 1fr; gap: 64px; }
  .show:nth-child(odd) .show-media { margin-left: -3%; }
  .show:nth-child(even) .show-media { margin-right: -3%; }
  .shows { gap: 104px; }
  .show:nth-child(even) .show-media { order: 2; }
  .cta { padding: 128px 0; }
  .cta-grid { grid-template-columns: auto 1fr; gap: 64px; }
  .cta-photo img { width: 260px; }
  .cta-lotus { right: -5%; bottom: -12%; opacity: .42; }
  .acard { grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; padding: 28px 36px 28px 28px; }
  .acard-body { padding: 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .about-grid { grid-template-columns: 380px 1fr; gap: 72px; }
  .about-photo { position: sticky; top: calc(var(--hdr-h) + 24px); }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .case { grid-template-columns: 1.42fr 1fr; gap: 64px; }
  .case:nth-child(odd) .case-media { margin-left: -3%; }
  .case:nth-child(even) .case-media { margin-right: -3%; }
  .cases { gap: 128px; }
  .case:nth-child(even) .case-media { order: 2; }
  .flow { grid-template-columns: repeat(5, 1fr); gap: 22px; }
  .flow::before, .flow::after { left: 28px; right: calc(20% - 40px); top: 27px; bottom: auto; width: auto; height: 2px; }
  .flow::after { background: linear-gradient(90deg, #8b7dff, #4f9bff); transform-origin: left; transform: scaleX(var(--p)); }
  .flow-step { padding: 82px 0 0; }
  .anat { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 8%; }
  .anat-lines { display: block; }
  .anat-col { gap: 24px; }
  .anat-hub { margin: 0; width: 216px; height: 216px; }
}
/* casova os v jednom riadku az od sirky, kde sa nazvy projektov zmestia (8 bodov) */
@media (min-width: 1140px) {
  .tl { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
  .tl::before, .tl::after { left: 8px; right: calc(100% / 8 - 22px); top: 7px; bottom: auto; width: auto; height: 2px; }
  .tl::after { background: linear-gradient(90deg, #8b7dff, #4f9bff); transform-origin: left; transform: scaleX(var(--p)); }
  .tl-item { padding: 40px 0 0; }
  .tl-item::before { top: 0; }
  .tl-item h3 { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal:not(.done) { opacity: 1; transform: none; }
  .js .years:not(.in) .yr-bar i { transform: none; }
  .mq-track { width: auto; justify-content: center; }
  .mq-list { flex-wrap: wrap; justify-content: center; row-gap: 10px; flex: 0 1 auto; }
  .mq-list[aria-hidden="true"] { display: none; }
  .mock { --rx: 0deg; --ry: 0deg; }
  .hero-dust { display: none; }
}
@media (forced-colors: active) {
  .btn-primary { border-color: ButtonText; }
  .accent, .trust-n, .tl-y { background: none; color: CanvasText; }
}

/* ---------- pozadie tmavých plôch: nočná modrá + polárna žiara + mriežka (2026-11-13) ---------- */
:root { --night: #070b1d; --night-2: #0a1030; }
.hero, .page-hero, .section-dark, .ftr { background: var(--night); }
.hdr { background: rgba(7,11,29,.86); }
.hdr.scrolled { background: rgba(7,11,29,.9); }
.years-card { background: linear-gradient(160deg, #0d1436, var(--night)); }
/* žiara: zväčšená vrstva, pohybuje sa len transformom (bez prekresľovania) */
.hero-bg::before, .page-hero::before, .section-dark::before {
  content: ""; position: absolute; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(32% 38% at 18% 22%, rgba(45,212,191,.20), transparent 70%),
    radial-gradient(38% 44% at 82% 18%, rgba(124,108,255,.42), transparent 70%),
    radial-gradient(44% 50% at 62% 88%, rgba(59,130,246,.34), transparent 72%),
    radial-gradient(28% 32% at 34% 72%, rgba(217,70,239,.14), transparent 70%),
    linear-gradient(165deg, var(--night-2), var(--night) 60%, #0c0b28);
  animation: aurora 26s ease-in-out infinite alternate; will-change: transform;
}
.hero-bg { overflow: hidden; }
/* bodková mriežka a zrno, mizne k okrajom */
.hero-bg::after, .page-hero::after, .section-dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"),
    radial-gradient(rgba(190,200,255,.16) 1px, transparent 1.5px) 0 0 / 26px 26px;
  opacity: .5; mix-blend-mode: overlay;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 85%);
}
.page-hero > .wrap, .section-dark > .wrap { position: relative; z-index: 1; }
/* čierne pozadie fotiek sa rozpustí v žiare */
.hero-photo, .sec-bg { mix-blend-mode: screen; }
.sec-bg { opacity: .7; }
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-4%, 3%, 0) rotate(6deg) scale(1.06); }
  100% { transform: translate3d(3%, -2%, 0) rotate(-4deg) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg::before, .page-hero::before, .section-dark::before { animation: none; }
}
/* hodvábne stuhy (agy) v hlavičkách podstránok aj úvodu, plynú spolu so žiarou */
.page-hero::before, .hero-bg::before {
  background:
    url("/assets/img/bg-silk-800.webp") right center / auto 100% no-repeat,
    radial-gradient(32% 38% at 18% 22%, rgba(45,212,191,.16), transparent 70%),
    radial-gradient(44% 50% at 62% 88%, rgba(59,130,246,.26), transparent 72%),
    linear-gradient(165deg, var(--night-2), var(--night) 60%, #0c0b28);
}
@media (min-width: 900px) { .page-hero::before, .hero-bg::before { background-image: url("/assets/img/bg-silk-1600.webp"),
    radial-gradient(32% 38% at 18% 22%, rgba(45,212,191,.16), transparent 70%),
    radial-gradient(44% 50% at 62% 88%, rgba(59,130,246,.26), transparent 72%),
    linear-gradient(165deg, var(--night-2), var(--night) 60%, #0c0b28);
  background-position: right 7.5vw center, 0 0, 0 0, 0 0; } }
.section-dark .sec-bg { opacity: .62; }

/* chipy na skok na oblasť (služby) */
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; }
.area-chips a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1.5px solid #c9c5ba; background: var(--white); color: var(--text); font-weight: 650; font-size: .95rem; text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.area-chips a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.area-chips a:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

/* čitateľnosť krokov postupu na tmavom pozadí s hodvábnou stuhou */
.flow-step h3, .flow-step p:not(.flow-out), .flow-n { text-shadow: 0 1px 2px rgba(5,6,16,.9), 0 0 14px rgba(5,6,16,.75), 0 0 28px rgba(5,6,16,.55); }
.flow-step > p:not(.flow-n):not(.flow-out) { color: #cfd5e6; }

/* mobil: pás projektov v hero je jeden vodorovne posuvný riadok (aj pri znížených animáciách) */
@media (max-width: 767px) {
  .mq { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .mq::-webkit-scrollbar { display: none; }
  .mq-track { animation: none !important; width: max-content; justify-content: flex-start; }
  .mq-list { flex-wrap: nowrap; flex: none; }
  .mq-list[aria-hidden="true"] { display: none; }
  .mq-list li { padding: 0 22px; }
}

/* úvod: fakty a piliere (namiesto sekcie „Ozvite sa“) */
.facts { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1px; margin: 0 0 40px; border-radius: 22px; overflow: hidden; background: var(--line, #e4e1d8); border: 1px solid var(--line, #e4e1d8); }
.facts li { background: var(--white); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.facts b { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted, #5b6170); font-size: .95rem; line-height: 1.35; }
.pillars { display: grid; gap: 16px; }
.pillar { gap: 12px; }
.pillar h3 { font-size: 1.2rem; margin: 0; }
.pillar p { margin: 0; }
.pillars-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pillars-cta p { margin: 0; font-weight: 600; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (forced-colors: active) { .facts b { background: none; color: CanvasText; } }
/* čitateľnosť textu hlavičiek nad hodvábnou stuhou (hlavne mobil) */
.hero-copy h1, .hero-copy .hero-sub, .hero-copy .eyebrow, .page-hero h1, .page-hero .hero-sub, .page-hero .eyebrow { text-shadow: 0 1px 2px rgba(5,6,16,.85), 0 0 18px rgba(5,6,16,.6); }
@media (max-width: 899px) { .hero-copy .hero-sub, .page-hero .hero-sub { color: #dfe3f0; } }
.hero-copy h1 .accent, .page-hero h1 .accent { text-shadow: none; filter: drop-shadow(0 1px 2px rgba(5,6,16,.85)); }
