/* Produktové weby modulov REBOS: www.rkburza.sk (Market Place) a www.developersoft.sk (Developersoft).
   Nadväzuje na brands.css (farby značky z triedy na <body>). Všetko z vlastnej domény — písma systémové, obrázky v /assets/shots/.
   Efekty (paralaxa, odhalenie pri posúvaní, počítadlá, grafy) zapína product.js triedou .fx na <html>; bez skriptu
   aj pri „obmedziť pohyb“ je všetko hneď viditeľné a statické. */
body.product { --serif: Georgia, "Times New Roman", serif; --glass: color-mix(in srgb, #fff 8%, transparent); --shadow-lg: 0 40px 90px -20px #00000099; background: #fff; }
body.rkburza.product { --gold-grad: linear-gradient(120deg, #f1dca6 0%, #d2ad5c 45%, #b98d36 100%); }
body.developersoft.product { --gold-grad: linear-gradient(120deg, #ffe0c2 0%, #f6a868 50%, #e07b3a 100%); }
.product h1 em, .product h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.product .head h2 em { color: var(--brand); }
.product .dark .head h2 em, .product .contact h2 em { color: var(--accent); }
.product img { max-width: 100%; height: auto; }

/* ---- úvod s prenosným počítačom ---- */
.phero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(56px, 7vw, 110px); }
.phero > * { max-width: none; }
.phero h1 { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.04; }
.phero h1 em { display: inline; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.phero .lead { max-width: 600px; }
.phero .lead strong { color: #fff; }
.phero .actions .button { min-height: 56px; padding: 0 30px; font-size: 17px; }
.phero .button.light { box-shadow: 0 14px 40px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-points li { padding: 6px 12px; border: 1px solid #ffffff26; border-radius: 999px; color: #dbe2ea; background: #ffffff0d; font-size: 13.5px; font-weight: 600; }
.hero-points li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.stage { position: relative; perspective: 1600px; }
.stage .glow { position: absolute; inset: 8% 4% 12%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent); filter: blur(30px); opacity: .55; pointer-events: none; }
.device { position: relative; z-index: 1; transform-origin: 50% 80%; will-change: transform; }
.device .screen { position: relative; padding: 2.2% 2.2% 0; border-radius: 18px 18px 6px 6px; background: linear-gradient(160deg, #2a2f3a, #0d1016); box-shadow: var(--shadow-lg), inset 0 0 0 1px #ffffff1c; }
.device .screen::before { content: ""; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #3b4250; transform: translateX(-50%); }
.device .base { position: relative; height: clamp(10px, 1.6vw, 18px); margin: 0 -7%; border-radius: 2px 2px 18px 18px; background: linear-gradient(180deg, #e9ecf1 0%, #b9c0ca 55%, #8e96a3 100%); box-shadow: 0 24px 40px -18px #000000b3; }
.device .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 42%; border-radius: 0 0 10px 10px; background: #a9b0bb; transform: translateX(-50%); }
.bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px 8px 0 0; background: #eef1f5; border-bottom: 1px solid #d9dee6; }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: #f26b5e; } .bar i + i { background: #f5bd4f; } .bar i + i + i { background: #5fc454; }
.bar span { flex: 1 1 auto; max-width: 340px; margin: 0 auto; padding: 3px 12px; overflow: hidden; border-radius: 6px; color: #4b5563; background: #fff; font-size: 12px; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.bar span::before { content: "🔒 "; font-size: 10px; }
.device .shot, .frame .shot { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: #f3f5f8; }
.device .shot { border-radius: 0; }
.float { position: absolute; z-index: 2; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid #ffffff2e; border-radius: 16px; color: var(--ink); background: #fffffff2; box-shadow: 0 24px 50px -16px #000000b3; font-size: 13px; line-height: 1.35; will-change: transform; backdrop-filter: blur(10px); }
.float strong { font-size: 14px; }
.float small { color: var(--muted); font-size: 12px; }
.float.f1 { left: -5%; bottom: 14%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 12px; max-width: 290px; }
.float.f2 { right: -3%; top: -5%; max-width: 230px; }
.float .mini-ring { grid-row: span 3; width: 64px; height: 64px; }
.float .ok { color: #11643a; font-weight: 700; } .float .part { color: #8a5d00; font-weight: 700; }
.float .pill { justify-self: start; padding: 2px 9px; border-radius: 999px; color: #11643a; background: #dcf5e7; font-size: 12px; font-weight: 800; }
.stage-note { position: relative; z-index: 1; margin-top: 26px; color: #9aa6b8; font-size: 12px; text-align: center; }

/* ---- pás s číslami (pravidlá produktu, nie štatistiky trhu) ---- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--line); list-style: none; }
.facts li { display: grid; gap: 4px; align-content: start; padding: clamp(22px, 3vw, 34px) clamp(16px, 3vw, 40px); background: #fff; }
.facts b { color: var(--night); font-size: clamp(34px, 4vw, 50px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts b small { margin-left: 2px; color: var(--brand); font-size: .5em; font-weight: 800; }
.facts span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }

/* ---- priebeh (kroky so spojnicou) ---- */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: left; }
.flow li { position: relative; display: grid; gap: 8px; justify-items: start; padding: 0 4px; counter-increment: flow; }
.flow .ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: linear-gradient(145deg, var(--brand), var(--night2)); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--brand) 80%, transparent), inset 0 0 0 1px #ffffff26; transition: transform .3s; }
.flow .ico svg { width: 30px; height: 30px; }
.flow li:hover .ico { transform: translateY(-4px) rotate(-3deg); }
.flow strong { margin-top: 6px; font-size: 19px; }
.flow strong::before { content: counter(flow) ". "; color: var(--brand); }
.flow span { color: var(--muted); font-size: 15px; }

/* ---- ukážky v záložkách ---- */
.tabs { display: grid; gap: 22px; }
.tablist { display: flex; gap: 8px; margin: 0 -4px; padding: 4px; overflow-x: auto; scrollbar-width: thin; }
.tablist button { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; font: 700 15px var(--font); cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.tablist button:hover { border-color: var(--brand); }
.tablist button[aria-selected="true"] { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 48px); align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: clamp(22px, 2.4vw, 30px); }
.tabpanel p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.tabpanel .ticks { margin-top: 14px; font-size: 15px; }
.fx .tabpanel:not([hidden]) .frame { animation: tabIn .45s ease both; }
@keyframes tabIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---- okno prehliadača so snímkou ---- */
.frame { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px -28px #0f172a66, 0 0 0 1px #0f172a14; text-decoration: none; transition: transform .35s ease, box-shadow .35s ease; }
.frame .shot { transition: transform .6s ease; }
a.frame:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -28px #0f172a80, 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent); }
a.frame:hover .shot { transform: scale(1.015); }
a.frame::after { content: "Zväčšiť ⤢"; position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; color: #fff; background: #0f172acc; font-size: 12.5px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
a.frame:hover::after, a.frame:focus-visible::after { opacity: 1; transform: none; }
.frame figcaption, .cap { padding: 10px 14px; color: var(--muted); background: #f8fafc; border-top: 1px solid var(--line); font-size: 13px; }
figure { margin: 0; }

/* ---- striedanie snímka / text ---- */
.rows { display: grid; gap: clamp(56px, 8vw, 110px); }
.row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.row.flip > :first-child { order: 2; }
.row h3 { font-size: clamp(24px, 2.8vw, 36px); }
.row p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.row .ticks { margin-top: 16px; font-size: 15.5px; }
.kicker { display: inline-block; margin-bottom: 12px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.media-stack { position: relative; }
.media-stack .frame + .frame { position: absolute; right: -4%; bottom: -12%; width: 46%; box-shadow: 0 26px 60px -20px #0f172a8c, 0 0 0 4px #fff; }

/* ---- grafy (ilustrácie s vymyslenými údajmi) ---- */
.charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.chart { display: grid; gap: 12px; align-content: start; padding: 24px; border: 1px solid #ffffff1f; border-radius: 20px; background: linear-gradient(160deg, #ffffff12, #ffffff05); color: #fff; }
.chart h3 { font-size: 19px; }
.chart p { color: #c2cad6; font-size: 14.5px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { fill: #e5e9f0; font-family: var(--font); }
.chart .lbl { fill: #c2cad6; font-size: 13px; }
.chart .val { fill: #fff; font-size: 14px; font-weight: 800; }
.chart .big { fill: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.chart .sub { fill: #c2cad6; font-size: 12px; }
.ill { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 3px 10px; border-radius: 999px; color: var(--night); background: var(--accent2); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.legend-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: #dbe2ea; font-size: 14px; }
.legend-list li { display: flex; align-items: center; gap: 8px; }
.legend-list i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.legend-list b { margin-left: auto; color: #fff; font-variant-numeric: tabular-nums; }
.c-free { background: #4fc39a; } .c-res { background: #f2bd57; } .c-sold { background: #8b95a7; }
.ring-track { fill: none; stroke: #ffffff1c; }
.ring-val { fill: none; stroke-linecap: round; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
.bar-bg { fill: #ffffff14; }
.bar-fill { transform-box: fill-box; transform-origin: left center; }
.fx .chart .bar-fill { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.fx .chart.in .bar-fill { transform: scaleX(1); }
.fx .chart .bar-fill:nth-of-type(2) { transition-delay: .15s; }
.fx .ring-val { transition: stroke-dashoffset 1.6s cubic-bezier(.2, .8, .2, 1); }

/* ---- príbeh projektu (časová os) ---- */
.story { position: relative; display: grid; gap: clamp(44px, 6vw, 80px); margin: 0; padding: 0; list-style: none; counter-reset: story; }
.story::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 23px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--brand) 50%, color-mix(in srgb, var(--brand) 20%, transparent)); }
.story > li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-left: 72px; counter-increment: story; }
.story > li::before { content: counter(story); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--brand), var(--night2)); box-shadow: 0 0 0 6px var(--ground), 0 10px 24px -8px color-mix(in srgb, var(--brand) 80%, transparent); font-size: 18px; font-weight: 800; }
.story h3 { font-size: clamp(21px, 2.3vw, 28px); }
.story p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.story .ticks { margin-top: 12px; }
.story .media { display: grid; gap: 14px; }
.story .media.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.chip.ai { color: #5b2a86; background: #efe3fb; }
.chip.free { color: #11643a; background: #dcf5e7; }
.chip.part { color: #7a4b00; background: #fdf0d5; }
.chip.buyer { color: #0b4f75; background: #dcefff; }

/* ---- porovnanie pred / po ---- */
.compare { position: relative; overflow: hidden; border-radius: 14px; background: #e8edf2; box-shadow: 0 30px 70px -28px #0f172a66, 0 0 0 1px #0f172a14; --pos: 50%; }
.compare img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare .after img { height: 100%; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px #0002, 0 0 18px #0006; pointer-events: none; }
.compare .handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--night); background: #fff; box-shadow: 0 6px 18px #0005; font-size: 20px; font-weight: 800; transform: translate(-50%, -50%); }
.compare .tag-l, .compare .tag-r { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; color: #fff; background: #0f172acc; font-size: 12px; font-weight: 800; pointer-events: none; }
.compare .tag-l { left: 12px; } .compare .tag-r { right: 12px; background: color-mix(in srgb, var(--brand) 90%, #000); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---- ilustračná karta (video, energetický štítok) ---- */
.art { display: grid; place-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 14px; background: linear-gradient(160deg, var(--night), var(--night2)); box-shadow: 0 30px 70px -28px #0f172a66; }
.art svg { width: 100%; max-width: 520px; height: auto; }
.art text { font-family: var(--font); }

/* ---- fázy ukážky ---- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.phases li { position: relative; display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s, box-shadow .25s; }
.phases li:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px #0f172a66; }
.phases li > b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #fff; background: var(--brand); }
.phases li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -15px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--accent); font-weight: 800; transform: translateY(-50%); }
.phases strong { font-size: 18px; }
.phases span { color: var(--muted); font-size: 15px; }

/* ---- výrazná výzva ---- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 24px; color: #fff; background: radial-gradient(700px 300px at 85% 0%, var(--glow), transparent 70%), linear-gradient(135deg, var(--night), var(--night2)); box-shadow: 0 40px 80px -40px #0f172a99; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-band p { margin-top: 10px; color: #c2cad6; }
.cta-band .actions { margin: 0; }

/* ---- zväčšená snímka ---- */
dialog.lightbox { width: min(96vw, 1500px); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #0b0f17; box-shadow: 0 40px 120px #000c; }
dialog.lightbox::backdrop { background: #05080dd9; backdrop-filter: blur(4px); }
dialog.lightbox img { display: block; width: 100%; height: auto; max-height: calc(94vh - 48px); object-fit: contain; }
dialog.lightbox .lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 8px 0 16px; color: #c2cad6; font-size: 14px; }
dialog.lightbox button { min-height: 40px; padding: 0 16px; border: 1px solid #ffffff33; border-radius: 999px; color: #fff; background: none; font: 700 14px var(--font); cursor: pointer; }

/* ---- odhalenie pri posúvaní (len so skriptom a bez „obmedziť pohyb“) ---- */
.fx .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.fx .reveal.from-left { transform: translateX(-36px); }
.fx .reveal.from-right { transform: translateX(36px); }
.fx .reveal.in { opacity: 1; transform: none; }
.fx .flow::before { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1) .2s; }
.fx .flow.in::before { transform: scaleX(1); }
.fx .feats article { transition: transform .25s, box-shadow .25s, border-color .25s; }
.product .feats article:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 18px 40px -24px #0f172a59; }

@media (max-width: 1100px) {
  .charts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .float.f1 { left: 0; } .float.f2 { right: 0; }
}
@media (max-width: 1000px) {
  .phero, .row, .tabpanel, .story > li { grid-template-columns: minmax(0, 1fr); }
  .row.flip > :first-child { order: 0; }
  .stage { max-width: 720px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .flow::before { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .media-stack .frame + .frame { position: relative; right: auto; bottom: auto; width: 70%; margin: -14% 0 0 auto; }
}
@media (max-width: 760px) {
  .charts, .phases { grid-template-columns: minmax(0, 1fr); }
  .phases li:not(:last-child)::after { top: auto; right: 50%; bottom: -15px; transform: translateX(50%) rotate(90deg); }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .float { position: relative; inset: auto; max-width: none; margin-top: 12px; }
  .float.f2 { display: none; }
  .device .base { margin: 0 -4%; }
  .story::before { left: 17px; }
  .story > li { padding-left: 50px; }
  .story > li::before { width: 36px; height: 36px; font-size: 15px; }
  .story .media.two { grid-template-columns: minmax(0, 1fr); }
  .facts b { font-size: 32px; }
  .tablist button { padding: 0 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .device, .float { will-change: auto; }
  .frame, .frame .shot, .flow .ico, .phases li, .product .feats article, .tablist button { transition: none; }
  a.frame:hover, .phases li:hover, .product .feats article:hover, .flow li:hover .ico { transform: none; }
  a.frame:hover .shot { transform: none; }
}

/* ---- drobnosti ---- */
.cta-band a.inline { color: var(--accent2); font-weight: 700; }
.chart .dark-ink { fill: #08130f; }
.frame .shot.plan { object-fit: contain; background: #fff; }
.section > .actions { margin-top: 30px; }
[tabindex="-1"]:focus { outline: none; }
.story > li { align-items: start; }
.story > li > div:first-child { padding-top: 6px; }
.product .feats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

/* ---- www.profisoft.sk: karty produktov s obrázkom, ikony, ilustrácie pripravovaných produktov ---- */
body.profisoft.product { --gold-grad: linear-gradient(120deg, #d9f6fd 0%, #67d4f0 45%, #4f8ff0 100%); }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.product .card.pcard { gap: 0; padding: 0; overflow: hidden; border-radius: 20px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.product .card.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px #0f172a80; }
.pcard .pimg { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, var(--night), var(--night2)); }
.pcard .pimg img, .pcard .pimg svg { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s ease; }
.pcard:hover .pimg img, .pcard:hover .pimg svg { transform: scale(1.045); }
.pcard .pimg .tag { position: absolute; top: 12px; left: 12px; z-index: 1; box-shadow: 0 6px 16px #0003; }
.pcard .pbody { display: grid; flex: 1 1 auto; gap: 10px; align-content: start; grid-template-rows: auto auto auto 1fr; padding: 22px 24px 24px; }
.pcard .pimg { flex: none; }
.row .eyebrow { color: var(--brand); }
.pcard .pbody .links { margin-top: auto; }
.pcard h3 { font-size: 23px; }
.pcard .sub { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.icons article { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.icons article:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 18px 40px -24px #0f172a59; }
.icons .ico { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, var(--brand), var(--night2)); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
.icons .ico svg { width: 26px; height: 26px; }
.icons h3 { font-size: 18px; }
.icons p { color: var(--muted); font-size: 15px; }
.soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.soon-grid .card { gap: 0; padding: 0; overflow: hidden; border-radius: 20px; }
.soon-grid .pimg { aspect-ratio: 16 / 9; }
.mock-art { width: 100%; height: 100%; }
@media (max-width: 1000px) { .icons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .icons, .soon-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .product .card.pcard, .pcard .pimg img, .pcard .pimg svg, .icons article { transition: none; }
  .product .card.pcard:hover, .pcard:hover .pimg img, .pcard:hover .pimg svg, .icons article:hover { transform: none; }
}
#na-mieru h2 { margin-bottom: 14px; font-size: clamp(28px, 3.4vw, 44px); }
#na-mieru p:not(.eyebrow) { color: var(--muted); font-size: 16.5px; }
#na-mieru .ticks { margin-top: 16px; }
/* Efekty pri posúvaní nesmú stránku rozšíriť do strán (mobil bez vodorovného posunu). */
.product main { overflow-x: clip; }
@media (max-width: 760px) { .fx .reveal.from-left, .fx .reveal.from-right { transform: translateY(28px); } .fx .reveal.in { transform: none; } }
.compare.plan, .compare.plan img { background: #fff; } .compare.plan img { object-fit: contain; }

/* ---- www.salonsoft.sk a www.medicalsoft.sk: ilustrácie SVG namiesto snímok, interaktívne ukážky (demos.js), výber oblastí ---- */
body.salonsoft.product { --gold-grad: linear-gradient(120deg, #fde3ee 0%, #f2a9c8 50%, #e0457b 100%); }
body.medicalsoft.product { --gold-grad: linear-gradient(120deg, #e3fafd 0%, #7fd8e8 50%, #2fb3c9 100%); }
.tag.custom { color: #0b4f75; background: #dcefff; }
.flow.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow.five::before { left: 10%; right: 10%; }
.bar-fill.up { transform-origin: center bottom; }
.fx .chart .bar-fill.up { transform: scaleY(0); }
.fx .chart.in .bar-fill.up { transform: scaleY(1); }
.art .sign { stroke-dasharray: 400; stroke-dashoffset: 0; }
.fx .art.reveal .sign { stroke-dashoffset: 400; transition: stroke-dashoffset 1.8s ease .5s; }
.fx .art.reveal.in .sign { stroke-dashoffset: 0; }

/* spoločné pre ukážky */
.demo { display: grid; gap: 12px; align-content: start; min-width: 0; padding: clamp(14px, 2vw, 20px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 30px 70px -32px #0f172a59; }
.demo-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.demo-top strong { font-size: 16px; }
.demo-tag { margin-left: auto; padding: 3px 10px; border-radius: 999px; color: var(--night); background: var(--accent2); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.demo-nav { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font: 800 19px/1 var(--font); cursor: pointer; transition: border-color .15s, color .15s; }
.demo-nav:hover { border-color: var(--brand); color: var(--brand); }
.demo .muted, .demo-empty { color: var(--muted); font-size: 14px; }
.demo-detail { min-height: 104px; padding: 12px 14px; border-radius: 12px; background: var(--ground); font-size: 14px; }
.demo-detail > strong { display: block; margin-bottom: 6px; font-size: 15px; }
.demo-detail dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; margin: 0; }
.demo-detail dt { color: var(--muted); }
.demo-detail dd { margin: 0; font-weight: 600; }

/* kalendár dňa */
.cal-day { min-width: 76px; text-align: center; }
.cal-sum { color: var(--muted); font-size: 13px; }
.cal-grid { display: grid; grid-template-columns: 40px repeat(3, minmax(0, 1fr)); grid-template-rows: 28px repeat(32, 12px); column-gap: 6px; }
.cal-grid > .demo-empty { grid-column: 1 / -1; grid-row: 1 / span 6; }
.cal-head { grid-row: 1; align-self: center; font-size: 13px; font-weight: 800; text-align: center; }
.cal-hour { grid-column: 1; color: #9aa3ad; font-size: 11px; line-height: 1; transform: translateY(-5px); }
.cal-lane { border-radius: 8px; background: repeating-linear-gradient(180deg, var(--ground) 0 47px, var(--line) 47px 48px); }
.appt { position: relative; z-index: 1; display: grid; align-content: start; gap: 1px; min-width: 0; margin: 1px 0; padding: 4px 7px; overflow: hidden; border: 0; border-radius: 8px; color: #fff; background: var(--brand); font: 600 11px/1.25 var(--font); text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.appt b { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.appt small { overflow: hidden; opacity: .9; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.appt.short { align-content: center; padding-block: 2px; }
.appt.short small { display: none; }
.appt.t2 { background: var(--glow); }
.appt.t3 { color: var(--night); background: var(--accent); }
.appt.online b::before { content: "● "; color: #7ff0b4; font-size: 9px; vertical-align: 1px; }
.appt.t3.online b::before { color: #11643a; }
button.appt:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px #0007; }
.appt[aria-pressed="true"] { outline: 3px solid var(--night); outline-offset: 1px; }
.appt.off { display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(135deg, #f2eff1 0 6px, #e7e3e6 6px 12px); font-size: 11px; font-weight: 700; cursor: default; }
.appt.leave { place-items: start center; padding-top: 14px; font-size: 12px; }

/* karta klienta */
.client-head { display: flex; align-items: center; gap: 12px; }
.client-head > div { display: grid; min-width: 0; }
.client-head strong { font-size: 18px; }
.client-head small { color: var(--muted); font-size: 13px; }
.avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; color: var(--brand); background: var(--accent2); font-weight: 800; }
.client-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.client-pass { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.client-pass > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 14px; }
.client-pass small { color: var(--muted); }
.client-pass progress { width: 100%; height: 10px; overflow: hidden; border: 0; border-radius: 99px; background: var(--ground); accent-color: var(--brand); -webkit-appearance: none; appearance: none; }
.client-pass progress::-webkit-progress-bar { border-radius: 99px; background: var(--ground); }
.client-pass progress::-webkit-progress-value { border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.client-pass progress::-moz-progress-bar { border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.client-cols { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 12px; }
.client-hist { display: grid; gap: 6px; align-content: start; }
.visit { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: 14px/1.3 var(--font); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.visit b { grid-row: span 2; color: var(--brand); font-size: 13px; }
.visit span { font-weight: 700; }
.visit small { color: var(--muted); font-size: 12px; }
.visit:hover, .visit[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ph { display: grid; align-items: end; height: 88px; padding: 6px 8px; border-radius: 10px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 2px #0006; }
.ph.before { background: radial-gradient(circle at 50% 40%, #ecd9cb 0 17%, transparent 18%), radial-gradient(ellipse 34% 40% at 50% 44%, #7a5c47 0 98%, transparent 100%), linear-gradient(160deg, #c8b9c1, #85737e); }
.ph.after { background: radial-gradient(circle at 50% 40%, #ecd9cb 0 17%, transparent 18%), radial-gradient(ellipse 30% 34% at 50% 40%, #9c3a5e 0 98%, transparent 100%), linear-gradient(160deg, #f6c2d8, #a3336f); }

/* online rezervácia */
.book-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: bs; }
.book-steps li { padding-top: 6px; border-top: 3px solid var(--line); color: var(--muted); font-size: 12.5px; font-weight: 700; counter-increment: bs; transition: border-color .3s, color .3s; }
.book-steps li::before { content: counter(bs) ". "; }
.book-steps li.done { border-color: var(--accent); color: var(--ink); }
.book-steps li.on { border-color: var(--brand); color: var(--brand); }
.book-body { display: grid; gap: 12px; align-content: start; min-height: 270px; }
.book-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.book-head strong { font-size: 16px; }
.book-back { padding: 6px 0; border: 0; color: var(--brand); background: none; font: 700 14px var(--font); cursor: pointer; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { display: grid; gap: 2px; align-content: center; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: 15px/1.3 var(--font); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.opt small { color: var(--muted); font-size: 12.5px; }
.opt:hover, .opt[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--brand) 70%, transparent); transform: translateY(-1px); }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.day { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: 700 14px var(--font); cursor: pointer; }
.day[aria-pressed="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.slot { min-height: 38px; border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); border-radius: 10px; color: var(--brand2); background: color-mix(in srgb, var(--brand) 6%, #fff); font: 700 14px var(--font); cursor: pointer; transition: background .15s, color .15s; }
.slot:hover { color: #fff; background: var(--brand); }
.slot:disabled { border-color: var(--line); color: #a5a9b0; background: #f6f6f7; text-decoration: line-through; cursor: not-allowed; }
.book-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--ground); font-size: 15px; }
.book-sum dt { color: var(--muted); }
.book-sum dd { margin: 0; font-weight: 700; }
.book-confirm { justify-self: start; }
.book-done { display: grid; gap: 8px; justify-items: start; padding: 6px 0; animation: pop .45s ease both; }
.book-done .tick { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: #11643a; font-size: 26px; font-weight: 800; }
.book-done strong { font-size: 20px; }
.book-done .button { min-height: 44px; margin-top: 4px; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Medicalsoft: oblasti na výber */
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pick { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; }
.pick .ico { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, var(--brand), var(--night2)); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
.pick .ico svg { width: 26px; height: 26px; }
.pick h3 { font-size: 18px; }
.pick p { color: var(--muted); font-size: 15px; }
.pick-btn { grid-column: 1 / -1; justify-self: start; min-height: 40px; margin-top: 8px; padding: 0 16px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); background: #fff; font: 700 14px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.pick-btn:hover { background: color-mix(in srgb, var(--brand) 8%, #fff); }
.pick.on { border-color: var(--brand); box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--brand) 85%, transparent); }
.pick.on .pick-btn { color: #fff; background: var(--brand); }
.pick-sum { position: sticky; bottom: 16px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 24px; padding: 12px 14px 12px 24px; border-radius: 999px; color: #fff; background: color-mix(in srgb, var(--night) 94%, transparent); box-shadow: 0 20px 40px -20px #000a; backdrop-filter: blur(10px); }
.pick-sum b { color: var(--accent); font-size: 20px; }
.pick-sum .button { min-height: 44px; }

.product .feats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .product .feats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .product .feats.four { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) { .flow.five { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; } .flow.five::before { display: none; } }
@media (max-width: 1000px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .picks, .flow.five { grid-template-columns: minmax(0, 1fr); } .pick-sum { border-radius: 20px; } }
@media (max-width: 560px) {
  .client-cols { grid-template-columns: minmax(0, 1fr); }
  .cal-sum { order: 5; flex-basis: 100%; }
  .pick-sum .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .appt, .visit, .opt, .slot, .pick, .pick-btn, .book-steps li, .demo-nav { transition: none; }
  button.appt:hover, .opt:hover, .opt[aria-pressed="true"] { transform: none; }
  .book-done { animation: none; }
}

/* ---- www.profisoft.sk: Profisoft Účtovníctvo — tri karty pod ilustráciou (podvojné, jednoduché, čo dopĺňame) ---- */
.ucto-split { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); }
.ucto-split article { gap: 8px; padding: 22px 24px; }
.ucto-split .sub { color: var(--brand); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ucto-split .ticks { margin-top: 4px; }
.ucto-split .ticks.next li::before { content: "→"; color: var(--muted); font-weight: 700; }
.ucto-split article.later { background: transparent; }
.ucto-split .service { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--ground); font-size: 14px; }
.ucto-split .service strong { color: var(--ink); }
@media (max-width: 1000px) { .ucto-split { grid-template-columns: minmax(0, 1fr); } }

/* ---- www.developersoft.sk: fotografický úvod, film „Projekt od A po Z“, pred a po, príslušenstvo ↔ tabuľka, kuchyne a materiály ---- */
body.developersoft { --st-free: #3f8f6b; --st-res: #c98a2b; --st-sold: #8b8f98; }
.rt-hero { isolation: isolate; }
.rt-hero > .rt-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rt-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; mask-image: none; -webkit-mask-image: none; background-size: auto; background: linear-gradient(100deg, color-mix(in srgb, var(--night) 97%, transparent) 0%, color-mix(in srgb, var(--night) 90%, transparent) 44%, color-mix(in srgb, var(--night) 62%, transparent) 100%); }
.rt-hero .lead { color: #dfe5ec; }
.rt-sub { margin-top: 16px; color: #fff; font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; line-height: 1.35; }
.rt-az span, .rt-az-float span { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; color: var(--accent); background: var(--night); font-size: 11px; }
.rt-az-float { position: fixed; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 40; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px 0 10px; border-radius: 999px; color: #fff; background: color-mix(in srgb, var(--night) 94%, transparent); box-shadow: 0 18px 40px -14px #000c, inset 0 0 0 1px #ffffff26; font-weight: 800; font-size: 15px; text-decoration: none; backdrop-filter: blur(10px); transition: transform .2s; }
.rt-az-float span { color: var(--night); background: linear-gradient(135deg, var(--accent2), var(--accent)); }
.rt-az-float:hover { transform: translateY(-2px); }
.rt-lead { margin-top: 12px; color: var(--muted); font-size: 17px; }
.dark .rt-lead { color: #c2cad6; }

/* film */
.rt-film { display: grid; gap: 14px; width: 100%; max-width: min(1100px, calc((100vh - 230px) * 16 / 9)); margin: 0 auto; }
.rt-film-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 18px; background: #0b0f17; box-shadow: 0 40px 90px -30px #000c, 0 0 0 1px #ffffff1a; cursor: pointer; }
.rt-scene { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.rt-scene.is-on { opacity: 1; }
.rt-scene img { width: 100%; height: 100%; object-fit: cover; }
.rt-scene.ui { display: grid; place-items: center; padding: 3% 6% 13%; background: radial-gradient(800px 400px at 50% 0%, #1f3a30, transparent 70%), #0d1512; }
.rt-scene.ui img { width: auto; max-width: 100%; height: auto; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 60px -20px #000; object-fit: contain; }
.rt-scene.is-on:not(.ui) img { animation: rtKen 6s ease-out both; }
@keyframes rtKen { from { transform: scale(1); } to { transform: scale(1.07); } }
.rt-scene figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 40px clamp(16px, 3vw, 32px) clamp(16px, 2.4vw, 26px); color: #fff; background: linear-gradient(180deg, transparent, #000000c4 55%); font-size: clamp(14px, 1.5vw, 19px); font-weight: 600; line-height: 1.35; }
.rt-scene figcaption b { justify-self: start; padding: 2px 10px; border-radius: 999px; color: var(--night); background: var(--accent); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.rt-film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #ffffff26; }
.rt-film-bar i { display: block; width: 0; height: 100%; background: var(--accent); }
.rt-film-play { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff40; border-radius: 50%; color: #fff; background: #0009; font: 800 14px var(--font); cursor: pointer; }
.rt-film-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rt-film-steps button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 46px; padding: 6px 12px; border: 1px solid #ffffff26; border-radius: 12px; color: #dbe2ea; background: #ffffff0a; font: 700 14px var(--font); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.rt-film-steps b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: var(--night); background: #ffffffb3; font-size: 12px; }
.rt-film-steps button[aria-current] { color: #fff; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.rt-film-steps button[aria-current] b { background: var(--accent); }
dialog.rt-film-dialog { width: min(1180px, 96vw); max-height: 96vh; padding: 0 16px 16px; border: 0; border-radius: 20px; color: #fff; background: var(--night); box-shadow: 0 40px 120px #000c; }
dialog.rt-film-dialog::backdrop { background: #05080de0; backdrop-filter: blur(4px); }
.rt-film-dialog-bar { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.rt-film-dialog-bar span { color: #9aa6b8; font-size: 14px; }
.rt-film-dialog-bar button { margin-left: auto; min-height: 40px; padding: 0 16px; border: 1px solid #ffffff33; border-radius: 999px; color: #fff; background: none; font: 700 14px var(--font); cursor: pointer; }
dialog.rt-film-dialog .rt-film-steps button { min-height: 40px; }

/* pred a po, galéria */
.rt-ba { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.rt-ba h2 { font-size: clamp(28px, 3.4vw, 44px); }
.rt-ba .chips { margin-top: 18px; }
.rt-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 14vw, 210px); gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.rt-ph { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #ddd; }
.rt-ph:first-child { grid-column: span 2; grid-row: span 2; }
.rt-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rt-ph:hover img { transform: scale(1.04); }
.rt-ph span { position: absolute; left: 10px; bottom: 10px; padding: 4px 11px; border-radius: 999px; color: #fff; background: #0f172abf; font-size: 12.5px; font-weight: 700; }

/* bloky ukážky */
.rt-block + .rt-block { margin-top: clamp(48px, 6vw, 80px); }
.rt-block-head { max-width: 760px; margin-bottom: 20px; }
.rt-block-head h3 { font-size: clamp(22px, 2.4vw, 30px); }
.rt-block-head p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.rt-acc { display: grid; gap: 16px; }
.rt-acc-panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rt-acc-panel[hidden] { display: none; }
.rt-acc-map { position: relative; overflow: hidden; border-radius: 14px; background: #1b1f27; box-shadow: 0 30px 70px -32px #0f172a80; }
.rt-acc-map img { display: block; width: 100%; height: auto; }
.rt-acc-map svg { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1600 / 905; height: auto; }
.rt-acc-map polygon { stroke: #ffffffcc; stroke-width: 1.5; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .2s, stroke .2s; }
.rt-acc-map polygon.free { fill: color-mix(in srgb, var(--st-free) 30%, transparent); }
.rt-acc-map polygon.res { fill: color-mix(in srgb, var(--st-res) 40%, transparent); cursor: default; }
.rt-acc-map polygon.sold { fill: #14161e73; stroke: #ffffff59; cursor: default; }
.rt-acc-map polygon.hot { stroke: #fff; stroke-width: 3; fill: color-mix(in srgb, var(--accent) 55%, transparent); }
.rt-acc-map polygon.picked { fill: color-mix(in srgb, var(--st-free) 75%, transparent); stroke: #fff; stroke-width: 3; }
.rt-acc-map figcaption { padding: 10px 14px; color: #c2cad6; background: #0f1218; font-size: 13px; }
.rt-acc-tip.below { transform: translate(-50%, 6px); }
.rt-acc-tip { position: absolute; z-index: 2; padding: 5px 10px; border-radius: 8px; color: var(--night); background: #fff; box-shadow: 0 10px 24px -8px #000a; font-size: 13px; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 6px)); }
.rt-acc-table { max-height: 470px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.rt-acc-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rt-acc-table th, .rt-acc-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.rt-acc-table thead th { position: sticky; top: 0; z-index: 1; color: var(--muted); background: var(--ground); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.rt-acc-table tbody th { font-weight: 800; }
.rt-acc-table td:nth-child(3) { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.rt-acc-table tr.free { cursor: pointer; }
.rt-acc-table tr.sold, .rt-acc-table tr.res { color: #6b7280; }
.rt-acc-table tr.hot { background: color-mix(in srgb, var(--accent) 22%, #fff); }
.rt-acc-table tr.picked { background: color-mix(in srgb, var(--st-free) 14%, #fff); }
.rt-acc-table tr:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.rt-st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.rt-st::before, .rt-legend span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--st-free); }
.rt-st.res::before, .rt-legend .res::before { background: var(--st-res); }
.rt-st.sold::before, .rt-legend .sold::before { background: var(--st-sold); }
.rt-acc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.rt-legend { display: flex; gap: 16px; color: var(--muted); font-size: 13.5px; }
.rt-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rt-acc-pick { margin: 0; font-size: 15px; }
.rt-acc-pick a { color: var(--brand); font-weight: 700; }

/* kuchyne */
.rt-kitchen { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rt-kitchen .compare img { aspect-ratio: 1600 / 905; }
.rt-kitchen-pick { display: grid; gap: 10px; }
.rt-kitchen-pick .kicker { margin: 0; }
.rt-opt { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; font: 15px var(--font); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.rt-opt img { width: 112px; height: 70px; border-radius: 9px; object-fit: cover; }
.rt-opt span { display: grid; gap: 2px; }
.rt-opt small { color: var(--muted); font-size: 13px; }
.rt-opt:hover, .rt-opt[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 14px 30px -20px color-mix(in srgb, var(--brand) 80%, transparent); }
.rt-opt[aria-pressed="true"] b::after { content: " ✓"; color: var(--brand); }
.rt-note { color: var(--muted); font-size: 13.5px; }

/* v cene / štandard / voliteľné, materiály */
.rt-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rt-tiers article { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.rt-tiers article.std { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--accent2) 18%, #fff); }
.rt-tiers h4, .rt-mat h4, .rt-buyer h4 { margin: 0; }
.rt-tiers h4 { font-size: 19px; }
.rt-tier { justify-self: start; align-self: start; white-space: nowrap; line-height: 1.4; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rt-tier.in { color: #1d5c41; background: #e1f1e8; }
.rt-tier.std { color: #fff; background: var(--brand); }
.rt-tier.opt { color: var(--night); background: #eceef2; }
.rt-materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rt-mat { display: grid; gap: 10px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.rt-mat h4 { display: grid; gap: 2px; font-size: 17px; }
.rt-mat h4 small { color: var(--muted); font-size: 13px; font-weight: 600; }
.rt-mat figure { position: relative; overflow: hidden; border-radius: 12px; }
.rt-mat figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f1eee9; }
.rt-mat figure.tall img { object-fit: contain; }
.rt-mat figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 11px; border-radius: 999px; color: #fff; background: #0f172ac4; font-size: 13px; font-weight: 700; }
.rt-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rt-swatches a { display: block; overflow: hidden; border: 2px solid transparent; border-radius: 10px; }
.rt-swatches a[aria-current] { border-color: var(--brand); }
.rt-swatches img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* mikrostránka, marketing, pre koho, porovnanie */
.rt-buyer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rt-buyer article { display: grid; align-content: start; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.rt-buyer .frame { border-radius: 0; box-shadow: none; }
.rt-buyer article > div { padding: 14px 18px 18px; }
.rt-buyer h4 { font-size: 17px; }
.rt-buyer p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.rt-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; list-style: none; }
.rt-steps li { display: grid; gap: 6px; align-content: start; padding: 18px; border: 1px solid #ffffff1f; border-radius: 16px; background: #ffffff0a; }
.rt-steps b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--night); background: linear-gradient(135deg, var(--accent2), var(--accent)); }
.rt-steps strong { font-size: 16.5px; }
.rt-steps span { color: #c2cad6; font-size: 14px; }
.rt-kit h3 { margin-bottom: 14px; font-size: clamp(22px, 2.4vw, 30px); }
.rt-kit-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: kit; }
.rt-kit-list li { position: relative; display: grid; gap: 2px; padding-left: 44px; counter-increment: kit; }
.rt-kit-list li::before { content: counter(kit); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--night); background: var(--accent); font-weight: 800; font-size: 14px; }
.rt-kit-list span { color: #c2cad6; font-size: 14.5px; }
.rt-roles .kicker { margin-bottom: 0; }
.rt-vs { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; font-size: 15.5px; }
.rt-vs th, .rt-vs td { padding: 15px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rt-vs tr:last-child td { border-bottom: 0; }
.rt-vs thead th { color: var(--muted); background: var(--ground); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.rt-vs thead th + th { color: var(--brand); }
.rt-vs td:first-child { width: 44%; color: var(--muted); }
.rt-vs td + td { font-weight: 600; background: color-mix(in srgb, var(--accent2) 14%, #fff); }
.rt-vs td + td::before { content: "✓ "; color: var(--brand); font-weight: 800; }

/* film v úvode vedľa sloganu, pod ním hotový projekt */
.rt-hero .rt-film { position: relative; z-index: 1; max-width: none; margin: 0; }
.rt-hero .rt-film-screen { box-shadow: 0 40px 90px -30px #000, 0 0 0 1px #ffffff26; }
.rt-hero .rt-film-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rt-hero .rt-film-steps button { min-height: 40px; padding: 4px 10px; font-size: 13px; line-height: 1.2; }
.rt-hero .rt-scene figcaption { font-size: clamp(13px, 1.15vw, 16px); }
.rt-done .head { margin-inline: auto; text-align: center; }
.rt-done-shot { display: block; max-width: 1100px; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 50px 100px -40px #000, 0 0 0 1px #ffffff1f; transition: transform .35s ease; }
.rt-done-shot img { display: block; width: 100%; height: auto; }
.rt-done-shot:hover { transform: translateY(-4px); }
.rt-done .actions { justify-content: center; margin-top: 28px; }
@media (max-width: 1100px) {
  .rt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rt-buyer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-film-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .rt-ba, .rt-acc-panel, .rt-kitchen { grid-template-columns: minmax(0, 1fr); }
  .rt-acc-table { max-height: 320px; }
  .rt-tiers, .rt-materials { grid-template-columns: minmax(0, 1fr); }
  .rt-mat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .rt-mat h4 { grid-column: 1 / -1; }
  .rt-swatches { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .rt-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-buyer, .rt-steps { grid-template-columns: minmax(0, 1fr); }
  .rt-film-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-film-screen { aspect-ratio: 4 / 3; }
  .rt-scene.ui { padding: 3% 3% 24%; }
  .rt-vs, .rt-vs tbody, .rt-vs tr, .rt-vs td { display: block; }
  .rt-vs thead { display: none; }
  .rt-vs td:first-child { width: auto; border-bottom: 0; padding-bottom: 4px; }
  .rt-vs td:first-child::before { content: "Bežne: "; font-weight: 700; }
  .rt-az-float { padding-right: 16px; font-size: 14px; }
  .rt-mat { grid-template-columns: minmax(0, 1fr); }
  .rt-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .rt-scene, .rt-ph img, .rt-acc-map polygon, .rt-az-float { transition: none; }
  .rt-scene.is-on:not(.ui) img { animation: none; }
  .rt-ph:hover img { transform: none; }
}

/* ---- www.rkburza.sk: film v úvode, príbeh dvoch kancelárií, karty ponúk z ukážky ---- */
.mp-hero .rt-film-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mp-story { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: center; margin-bottom: clamp(32px, 4vw, 52px); }
.mp-side { display: grid; gap: 10px; align-content: start; }
.mp-side h3 { font-size: clamp(20px, 2vw, 26px); }
.mp-side .kicker { margin: 0; color: var(--accent); }
.mp-demand { display: grid; gap: 10px; padding: 20px; border: 1px dashed #ffffff40; border-radius: 16px; background: #ffffff0d; }
.mp-demand h4 { font-size: 18px; }
.mp-demand .ticks li::before { color: var(--accent); }
.mp-demand small { color: #c2cad6; }
.mp-match { position: relative; display: grid; justify-items: center; gap: 2px; width: 170px; text-align: center; }
.mp-match svg { width: 120px; height: 120px; }
.mp-match strong { position: absolute; top: 38px; font-size: 30px; font-weight: 800; }
.mp-match span { position: absolute; top: 76px; color: #c2cad6; font-size: 12px; }
.mp-match small { margin-top: 6px; color: #dbe2ea; font-size: 13px; line-height: 1.5; }
.mp-tag { display: inline-block; justify-self: start; padding: 3px 10px; border-radius: 999px; color: var(--night); background: var(--accent2); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.mp-card { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -30px #0008; transition: transform .25s, box-shadow .25s; }
.mp-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px #000a; }
.mp-card figure { position: relative; margin: 0; }
.mp-card figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mp-card figure .mp-tag { position: absolute; top: 10px; right: 10px; background: #fff; }
.mp-card > div { display: grid; gap: 4px; padding: 14px 16px 16px; }
.mp-card h4 { font-size: 16px; line-height: 1.3; }
.mp-card b { font-size: 19px; }
.mp-card small { color: var(--muted); font-size: 13px; }
.mp-card .mp-split { color: var(--brand); font-size: 13px; font-weight: 700; }
.mp-card em { color: var(--muted); font-size: 12.5px; font-style: normal; }
.mp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mp-timeline { margin: 0; }
@media (max-width: 1100px) { .mp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .mp-story { grid-template-columns: minmax(0, 1fr); justify-items: stretch; } .mp-match { justify-self: center; } }
@media (max-width: 560px) { .mp-cards { grid-template-columns: minmax(0, 1fr); } .mp-hero .rt-film-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .mp-card { transition: none; } .mp-card:hover { transform: none; } }
