/* Stránky značiek prevádzkovateľa: profisoft.sk, salonsoft.sk, medicalsoft.sk. Jeden štýl, farby podľa značky (trieda na <body>).
   Bez cudzích písiem a skriptov — nič sa nenačítava z iných serverov. */
:root { --ink: #111827; --muted: #4b5563; --line: #e2e6ec; --ground: #f5f7fa; --night: #0b1220; --night2: #13203a; --brand: #2459d6; --brand2: #1d4bb8; --accent: #67d4f0; --accent2: #b4ecfa; --glow: #1b3a74; --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; }
body.salonsoft { --night: #1b0d18; --night2: #2c1427; --brand: #a3336f; --brand2: #8a2a5d; --accent: #f2a9c8; --accent2: #fbd6e6; --glow: #5c1f45; --ground: #fbf6f8; --line: #eedfe6; }
body.medicalsoft { --night: #071820; --night2: #0c2a35; --brand: #0b7285; --brand2: #095f6e; --accent: #7fd8e8; --accent2: #c4f0f7; --glow: #10495a; --ground: #f3f8f9; --line: #dde9ec; }
body.rkburza { --night: #08130f; --night2: #0f2119; --brand: #1f7a63; --brand2: #18614f; --accent: #d2ad5c; --accent2: #e6c987; --glow: #17463a; --ground: #f4f6f3; --line: #dde4df; }
body.realitytrh { --night: #121521; --night2: #1c2235; --brand: #b4440f; --brand2: #96380c; --accent: #f6a868; --accent2: #fcd5b0; --glow: #4a2a17; --ground: #faf7f4; --line: #ece4dc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.dark :focus-visible, .top :focus-visible, .hero :focus-visible, footer :focus-visible { outline-color: var(--accent); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; color: #fff; background: var(--brand); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { margin-bottom: 14px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.dark .eyebrow, .hero .eyebrow, .contact .eyebrow { color: var(--accent); }

/* ---- hlavička ---- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 5vw, 64px); color: #fff; background: color-mix(in srgb, var(--night) 92%, transparent); border-bottom: 1px solid #ffffff14; backdrop-filter: blur(14px); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.logo span { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; color: var(--night); background: linear-gradient(135deg, var(--accent2), var(--accent)); font-size: 19px; font-weight: 800; }
.logo strong { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.top nav { display: flex; gap: clamp(10px, 2vw, 26px); }
.top nav a { color: #cbd3df; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.top nav a:hover { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1px solid var(--brand); border-radius: 999px; color: #fff; background: var(--brand); font: 700 16px var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.button:hover { background: var(--brand2); transform: translateY(-1px); box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 30%, transparent); }
.button:disabled { opacity: .6; cursor: progress; transform: none; }
.button.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.button.light, .top .button { color: var(--night); background: linear-gradient(135deg, var(--accent2), var(--accent)); border-color: var(--accent); }
.button.light:hover, .top .button:hover { background: var(--accent2); box-shadow: 0 10px 34px color-mix(in srgb, var(--accent) 35%, transparent); }
.button.line { color: inherit; background: none; border-color: currentColor; }
.button.line:hover { background: #ffffff14; box-shadow: none; }

/* ---- úvod ---- */
.hero { position: relative; padding: clamp(56px, 8vw, 120px) clamp(16px, 5vw, 64px) clamp(56px, 7vw, 104px); color: #fff; background: radial-gradient(1100px 560px at 80% 10%, var(--glow) 0%, transparent 62%), linear-gradient(160deg, var(--night) 0%, var(--night2) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(900px 500px at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(900px 500px at 70% 30%, #000, transparent 75%); pointer-events: none; }
.hero > * { position: relative; max-width: 900px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 68px); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; max-width: 680px; color: #cbd3df; font-size: clamp(17px, 1.5vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 26px; color: #9aa6b8; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.badge { display: inline-block; margin-bottom: 18px; padding: 5px 14px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 999px; color: var(--accent2); font-size: 13px; font-weight: 700; letter-spacing: .06em; }

/* ---- sekcie ---- */
.section { padding: clamp(60px, 7vw, 104px) clamp(16px, 5vw, 64px); }
.section.alt { background: var(--ground); }
.section.dark { color: #fff; background: linear-gradient(170deg, var(--night) 0%, var(--night2) 100%); }
.head { max-width: 800px; margin-bottom: 36px; }
.head h2 { font-size: clamp(28px, 3.6vw, 46px); }
.head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 17px; }
.dark .head p:not(.eyebrow) { color: #c2cad6; }
.note { margin-top: 26px; padding: 14px 18px; border-radius: 12px; background: var(--ground); color: var(--muted); font-size: 15px; }
.alt .note { background: #fff; }
.note a { color: var(--brand); font-weight: 700; }

/* ---- karty ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 14px 34px #1118271a; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 8px; }
.card .links a { color: var(--brand); font-weight: 700; text-decoration: none; }
.card .links a:hover { text-decoration: underline; }
.card .links a::after { content: " →"; }
.tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tag.soon { color: #7a4b00; background: #fdf0d5; }
.tag.live { color: #11643a; background: #dcf5e7; }
.features .card { gap: 8px; }
.features .card h3 { font-size: 19px; }
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.audience article { padding: 22px; border: 1px solid #ffffff1f; border-radius: var(--radius); background: #ffffff0a; }
.audience h3 { margin-bottom: 6px; color: var(--accent2); font-size: 19px; }
.audience p { color: #c2cad6; font-size: 15px; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.principles article { padding: 24px; border-top: 3px solid var(--brand); border-radius: 4px 4px var(--radius) var(--radius); background: #fff; }
.principles h3 { margin-bottom: 8px; font-size: 19px; }
.principles p { color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; gap: 6px; align-content: start; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; color: #fff; background: var(--brand); font-size: 17px; font-weight: 800; }
.steps strong { font-size: 19px; }
.steps span { color: var(--muted); font-size: 15px; }
.boundary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.boundary article { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.boundary h3 { margin-bottom: 10px; font-size: 20px; }
.boundary ul { margin: 0; padding-left: 20px; color: var(--muted); }
.boundary li + li { margin-top: 6px; }

/* ---- kontakt a formulár ---- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 70px); color: #fff; background: radial-gradient(900px 500px at 15% 10%, var(--glow) 0%, transparent 60%), var(--night); }
.contact .head { margin: 0; }
.contact .head p:not(.eyebrow) { color: #c2cad6; }
.contact .direct { margin-top: 18px; font-size: 15px; }
.contact .direct a { color: var(--accent2); font-weight: 700; }
.inquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; padding: clamp(18px, 3vw, 30px); border-radius: var(--radius); color: var(--ink); background: #fff; box-shadow: 0 30px 80px #00000066; }
.inquiry label { display: grid; gap: 5px; font-size: 14px; font-weight: 700; }
.inquiry .req { color: #b3261e; }
.inquiry input:not([type="checkbox"]), .inquiry textarea, .inquiry select { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #c9d0da; border-radius: 10px; color: var(--ink); background: #fff; font: 400 16px var(--font); }
.inquiry textarea { resize: vertical; }
.inquiry input:focus, .inquiry textarea:focus, .inquiry select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.inquiry [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.inquiry .wide { grid-column: 1 / -1; }
.inquiry .consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400; }
.inquiry .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.inquiry .consent a { color: var(--brand); font-weight: 700; }
.inquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry .hint { color: var(--muted); font-size: 13px; }
.result { min-height: 22px; font-size: 15px; font-weight: 700; }
.result.ok { color: #11643a; }
.result.bad { color: #b3261e; }
.privacy { max-width: 860px; }
.privacy h2 { margin-bottom: 14px; font-size: clamp(22px, 2.4vw, 28px); }
.privacy p { color: var(--muted); font-size: 15px; }
.privacy p + p { margin-top: 10px; }
.privacy a { color: var(--brand); font-weight: 700; }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 28px clamp(16px, 5vw, 64px); color: #aab4c3; background: color-mix(in srgb, var(--night) 80%, #000); font-size: 14px; }
footer .logo strong { color: #fff; }
footer a:not(.logo) { color: #fff; }
footer p { max-width: 640px; }

@media (max-width: 1000px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .audience, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) { .top nav { display: none; } .boundary { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .inquiry, .audience, .principles { grid-template-columns: minmax(0, 1fr); }
  .actions .button { flex: 1 1 100%; }
  .top .button { padding: 0 14px; }
  .logo strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .card { transition: none; } .button:hover, .card:hover { transform: none; } }

/* ---- produktové weby (rkburza.sk, realitytrh.sk): podnadpis značky, ukážka v úvode, funkcie, otázky ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.logo span.brand-text { display: grid; place-items: initial; gap: 1px; width: auto; height: auto; min-width: 0; flex: 0 1 auto; border-radius: 0; color: inherit; background: none; font-size: inherit; font-weight: inherit; }
.logo .brand-text strong { line-height: 1.1; }
.logo .brand-text small { color: #9aa6b8; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo span.wide-mono { width: 44px; font-size: 16px; }
.hero.with-mock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero.with-mock > * { max-width: none; }
.hero.with-mock h1 { font-size: clamp(32px, 4.4vw, 58px); }
.powered { margin-top: 18px; color: #9aa6b8; font-size: 14px; }
.powered a { color: var(--accent2); font-weight: 700; }
figure.mock { margin: 0; }
.mock { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--ink); background: #fff; box-shadow: 0 40px 100px #000000a6, 0 0 0 1px #ffffff1f; }
.mock .browser { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #eceff3; border-bottom: 1px solid #d8dde4; }
.mock .browser i { width: 10px; height: 10px; border-radius: 50%; background: #c5ccd6; }
.mock .browser span { margin-left: 10px; padding: 2px 10px; overflow: hidden; border-radius: 6px; color: #4b5563; background: #fff; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { display: grid; gap: 10px; padding: clamp(14px, 2vw, 22px); }
.mock-head { display: grid; gap: 2px; }
.mock-head strong { font-size: 16.5px; line-height: 1.25; }
.mock-head span { color: var(--muted); font-size: 13px; }
.mock-note { padding: 8px 16px; color: #9aa6b8; background: color-mix(in srgb, var(--night) 90%, #000); font-size: 12px; }
.match { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.match.open { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); }
.match b { color: var(--brand); font-size: 22px; line-height: 1; }
.match span { font-size: 14px; line-height: 1.35; }
.match span small { display: block; color: var(--muted); font-size: 12.5px; }
.why { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 14px; margin: 6px 0 0; padding: 8px 0 0; border-top: 1px dashed var(--line); list-style: none; font-size: 13px; }
.why i { display: inline-block; width: 18px; font-style: normal; font-weight: 800; }
.why .ok i { color: #11643a; } .why .part i { color: #8a5d00; } .why .unk i { color: #6b7280; }
.facade { display: grid; gap: 5px; }
.facade div { display: grid; grid-template-columns: 46px repeat(4, minmax(0, 1fr)); gap: 5px; align-items: center; }
.facade em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 700; }
.facade i { display: grid; place-items: center; height: 30px; border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 700; }
.u-free { color: #0d4d3d; background: #cfeadf; } .u-res { color: #6b4e12; background: #f6e2b0; } .u-sold { color: #4b5563; background: #e5e7eb; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.unit-card { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, #fff); }
.unit-card dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; margin: 0; font-size: 13.5px; }
.unit-card dt { color: var(--muted); } .unit-card dd { margin: 0; font-weight: 700; text-align: right; }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.feats article { display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feats h3 { font-size: 19px; }
.feats p { color: var(--muted); font-size: 15px; }
.ticks { display: grid; gap: 5px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.ticks li { position: relative; padding-left: 22px; line-height: 1.45; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split article { display: grid; gap: 10px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.split article.later { border-style: dashed; }
.split h3 { font-size: 20px; }
.split p { color: var(--muted); font-size: 15px; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: clamp(20px, 3vw, 32px); border: 2px solid var(--accent); border-radius: var(--radius); background: #fff; }
.price-box > div:first-child { display: grid; gap: 6px; max-width: 640px; }
.price-box strong { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.price-box p { color: var(--muted); font-size: 15px; }
.price-box p a { color: var(--brand); font-weight: 700; }
.price-box .actions { margin: 0; }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { padding: 16px 18px; font-size: 16px; font-weight: 700; cursor: pointer; }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .hero.with-mock, .split { grid-template-columns: minmax(0, 1fr); } .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.four, .why { grid-template-columns: minmax(0, 1fr); } .price-box .button { width: 100%; } .logo .brand-text small { display: none; } }
