/* Prezentačná stránka REBOS-u (www.rebos.sk). Samostatná — nezávisí od štýlov webu kancelárie ani CRM.
   Tmavý prémiový úvod, svetlé obsahové sekcie, zlatý akcent. */
:root { --ink: #101c17; --muted: #5a6962; --line: #dde4df; --ground: #f4f6f3; --night: #08130f; --night2: #0f2119; --green: #1f7a63; --green2: #2a9478; --gold: #d2ad5c; --gold2: #e6c987; --radius: 16px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.6 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: Manrope, system-ui, sans-serif; letter-spacing: -.03em; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; }
.eyebrow { margin-bottom: 14px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.eyebrow.gold { color: var(--gold); }

/* ---- hlavička ---- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px clamp(16px, 5vw, 64px); color: #fff; background: #08130fe6; border-bottom: 1px solid #ffffff14; backdrop-filter: blur(14px); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--night); background: linear-gradient(135deg, var(--gold2), var(--gold)); font: 800 19px Manrope, sans-serif; }
.logo strong { font: 800 20px Manrope, sans-serif; letter-spacing: .06em; }
.top nav { display: flex; gap: clamp(8px, 1.5vw, 22px); }
.top nav a { color: #c6d3cc; font-size: 14px; 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(--green); border-radius: 999px; color: #fff; background: var(--green); font: 700 16px "DM Sans", sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.button:hover { background: var(--green2); transform: translateY(-1px); box-shadow: 0 10px 30px #1f7a6340; }
.button.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.button.gold { color: var(--night); background: linear-gradient(135deg, var(--gold2), var(--gold)); border-color: var(--gold); }
.button.gold:hover { background: linear-gradient(135deg, #f0d79b, var(--gold2)); box-shadow: 0 10px 34px #d2ad5c55; }
.button.line { color: inherit; background: none; border-color: currentColor; opacity: .9; }
.button.line:hover { background: #ffffff14; box-shadow: none; opacity: 1; }
.top .button.small { color: var(--night); background: linear-gradient(135deg, var(--gold2), var(--gold)); border-color: var(--gold); }

/* ---- úvod ---- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(48px, 7vw, 110px) clamp(16px, 5vw, 64px) clamp(56px, 7vw, 110px); color: #fff; background: radial-gradient(1200px 600px at 78% 20%, #17463a 0%, transparent 60%), linear-gradient(160deg, var(--night) 0%, var(--night2) 100%); overflow: hidden; }
.hero-glow { 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%); pointer-events: none; }
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(36px, 5vw, 70px); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; max-width: 620px; color: #c6d3cc; font-size: clamp(16px, 1.4vw, 19px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 26px; color: #8fa39a; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
figure { margin: 0; }
.browser { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #e9eeea; border-bottom: 1px solid #d5ddd8; }
.browser i { width: 10px; height: 10px; border-radius: 50%; background: #c3cdc7; }
.browser span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #fff; color: #5a6962; font-size: 12px; }
.hero-shot { position: relative; border-radius: var(--radius); overflow: hidden; background: #0c1a15; box-shadow: 0 40px 100px #000000a6, 0 0 0 1px #ffffff1f; transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); }

/* ---- počítadlá ---- */
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: #ffffff1a; color: #fff; }
.counters div { display: grid; gap: 2px; padding: 26px clamp(16px, 3vw, 34px); background: var(--night); }
.counters strong { font: 800 clamp(32px, 4vw, 48px)/1 Manrope, sans-serif; background: linear-gradient(120deg, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counters span { color: #a9b9b1; font-size: 13px; }

/* ---- sekcie ---- */
.section { padding: clamp(60px, 7vw, 110px) 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, 48px); font-weight: 800; }
.head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 17px; }
.dark .head p:not(.eyebrow) { color: #b7c7bf; }
.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(--green); font-weight: 700; }

/* ---- skratky ---- */
.terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.terms article { display: grid; gap: 4px; align-content: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s; }
.terms article:hover { transform: translateY(-2px); border-color: #b9c9c1; box-shadow: 0 14px 34px #101c1714; }
.terms strong { font: 800 28px/1 Manrope, sans-serif; color: var(--green); letter-spacing: .01em; }
.terms span { color: #7a8a82; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.terms p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---- katalóg modulov ---- */
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .tour-tabs button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font: 600 14px "DM Sans", sans-serif; cursor: pointer; }
.chips button b { margin-left: 4px; color: var(--gold); }
.chips button:hover, .tour-tabs button:hover { color: var(--ink); border-color: #b9c6bf; }
.chips button.active, .tour-tabs button.active { color: #fff; background: var(--night); border-color: var(--night); }
#catalog-search { flex: 1 1 260px; max-width: 380px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; font: 400 15px "DM Sans", sans-serif; }
#catalog-search:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.catalog-count { margin: 6px 0 22px; color: var(--muted); font-size: 14px; }
.catalog-group { margin-bottom: 34px; }
.catalog-group > h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 14px; font-size: 22px; }
.catalog-group > h3 span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--green); font-size: 16px; }
.catalog-group > h3 small { color: var(--muted); font: 400 14px "DM Sans", sans-serif; letter-spacing: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; align-items: start; }
.module { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.module[open], .module:hover { border-color: #b9c9c1; box-shadow: 0 10px 28px #101c1712; }
.module summary { display: grid; gap: 4px; padding: 16px 18px; cursor: pointer; list-style: none; }
.module summary::-webkit-details-marker { display: none; }
.module summary strong { font: 700 17px Manrope, sans-serif; }
.module summary span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.module summary em { justify-self: start; margin-top: 4px; padding: 2px 10px; border-radius: 10px; background: #eef5f1; color: var(--green); font-size: 12px; font-style: normal; font-weight: 700; }
.module summary em::after { content: " ▾"; }
.module[open] summary em::after { content: " ▴"; }
.module ul { margin: 0; padding: 0 18px 16px; list-style: none; }
.module li { position: relative; padding: 5px 0 5px 20px; border-top: 1px dashed #e6ece8; color: var(--ink); font-size: 14px; line-height: 1.45; }
.module li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.module li.hit { background: #fff6dc; font-weight: 700; }
.catalog-empty { color: var(--muted); }

/* ---- prehliadky ---- */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.dark .tour-tabs button { color: #c6d3cc; background: #ffffff0d; border-color: #ffffff24; }
.dark .tour-tabs button:hover { color: #fff; border-color: #ffffff55; }
.dark .tour-tabs button.active { color: var(--night); background: linear-gradient(135deg, var(--gold2), var(--gold)); border-color: var(--gold); }
.tour-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 330px); gap: 20px; align-items: start; }
.tour-screen { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ground); box-shadow: 0 30px 70px #101c1726; }
.dark .tour-screen { border-color: #ffffff24; box-shadow: 0 40px 90px #000000a6; }
.tour-screen img { width: 100%; cursor: pointer; }
.tour-spot { position: absolute; width: 34px; height: 34px; margin: 17px 0 0 -17px; padding: 0; border: 3px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 #d2ad5c99; cursor: pointer; animation: tour-pulse 1.6s infinite; }
@keyframes tour-pulse { 70% { box-shadow: 0 0 0 20px #d2ad5c00; } 100% { box-shadow: 0 0 0 0 #d2ad5c00; } }
.tour-caption { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.tour-count { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tour-caption h3 { font-size: 21px; }
.tour-text { color: var(--muted); font-size: 15px; }
.tour-steps { display: grid; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; counter-reset: step; }
.tour-steps button { display: flex; gap: 8px; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 500 13.5px "DM Sans", sans-serif; text-align: left; cursor: pointer; counter-increment: step; }
.tour-steps button::before { content: counter(step); flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e7ede9; color: var(--ink); font-size: 11px; font-weight: 700; }
.tour-steps button:hover { background: var(--ground); color: var(--ink); }
.tour-steps button.active { background: #eef5f1; color: var(--ink); font-weight: 700; }
.tour-steps button.active::before { background: var(--green); color: #fff; }
.tour-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tour-nav button:disabled { opacity: .4; cursor: default; transform: none; }
.tour-nav .button.line { color: var(--ink); border-color: #101c1744; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.pills li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--ground); color: var(--ink); font-size: 14px; font-weight: 600; }

/* ---- čo systém stráži ---- */
.signals { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.signals article { padding: 20px 22px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); background: #fff; }
.signals h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 18px; }
.signals h3 b { color: var(--gold); font: 800 20px Manrope, sans-serif; }
.signals ul { margin: 0; padding: 0; list-style: none; }
.signals li { position: relative; padding: 5px 0 5px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.signals li::before { content: "●"; position: absolute; left: 2px; top: 4px; color: #d9534f; font-size: 10px; }

/* ---- čo inde nenájdete ---- */
.unique { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.unique article { display: grid; gap: 8px; align-content: start; padding: 26px; border: 1px solid #ffffff1f; border-radius: var(--radius); background: #ffffff0a; transition: background .15s, border-color .15s; }
.unique article:hover { background: #ffffff12; border-color: #d2ad5c66; }
.unique b { justify-self: start; padding: 4px 12px; border-radius: 8px; color: var(--night); background: linear-gradient(135deg, var(--gold2), var(--gold)); font: 800 20px/1.2 Manrope, sans-serif; letter-spacing: .04em; }
.unique small { color: var(--gold2); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.unique h3 { font-size: 20px; }
.unique p { color: #b7c7bf; font-size: 15px; }

/* ---- bezpečnosť, kroky ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.grid h3 { margin-bottom: 8px; font-size: 19px; }
.grid 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; 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: var(--night); background: linear-gradient(135deg, var(--gold2), var(--gold)); font: 800 17px Manrope, sans-serif; }
.steps strong { font: 700 20px Manrope, sans-serif; }
.steps span { color: var(--muted); font-size: 15px; }

/* ---- kontakt ---- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 70px); color: #fff; background: radial-gradient(900px 500px at 15% 10%, #17463a 0%, transparent 60%), var(--night); }
.contact .head { margin: 0; }
.contact .head p:not(.eyebrow) { color: #b7c7bf; }
.contact .direct { margin-top: 18px; font-size: 15px; }
.contact .direct a { color: var(--gold2); font-weight: 700; }
#demo-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(18px, 3vw, 30px); border-radius: var(--radius); color: var(--ink); background: #fff; box-shadow: 0 30px 80px #00000066; }
#demo-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 700; }
#demo-form input:not([type="checkbox"]), #demo-form textarea, #demo-form select { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: 400 16px "DM Sans", sans-serif; }
#demo-form input:focus, #demo-form textarea:focus, #demo-form select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
#demo-form .wide { grid-column: 1 / -1; }
#demo-form .consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400; }
#demo-form .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green); }
#demo-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.result { min-height: 22px; font-size: 15px; font-weight: 700; }
.result.ok { color: var(--green); }
.result.bad { color: #b3261e; }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 26px clamp(16px, 5vw, 64px); color: #a9b9b1; background: #050d0a; font-size: 14px; }
footer .logo strong { color: #fff; }
footer a:not(.logo) { color: #fff; }

@media (max-width: 1100px) { .top nav { display: none; } }
@media (max-width: 1000px) {
  .hero, .contact, .tour-stage { grid-template-columns: minmax(0, 1fr); }
  .hero-shot { transform: none; }
  .grid.three, .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  #demo-form { grid-template-columns: minmax(0, 1fr); }
  .actions .button { width: 100%; }
  .tour-tabs, .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .tour-tabs button, .chips button { flex: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .module, .terms article { transition: none; } .tour-spot { animation: none; } }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; flex-basis: 100%; order: 3; padding-top: 14px; border-top: 1px solid #ffffff14; }
.foot-nav a { color: #c6d3cc !important; text-decoration: none; }
.foot-nav a:hover { color: #fff !important; }
/* ---- striedajúca sa úvodná obrazovka ---- */
.hero-slides { position: relative; aspect-ratio: 1280 / 800; background: #e9eeea; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .7s ease; }
.hero-slides img.active { opacity: 1; }
.hero-shot figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; margin: 0; padding: 12px 16px; text-align: left; color: #c6d3cc; background: #0c1a15; font-size: 13px; }
.hero-shot figcaption strong { color: var(--gold2); font: 700 13px Manrope, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.hero-shot figcaption span { grid-column: 1; }
.hero-dots { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 7px; }
.hero-dots button { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: #ffffff33; cursor: pointer; }
.hero-dots button.active { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .hero-slides img { transition: none; } }
/* ---- prehliadka: obrázok je klikateľný, kliknutie pokračuje ďalej ---- */
.tour-screen img { cursor: pointer; }
.tour-hint { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; opacity: .75; }
.tour-hint a { color: inherit; text-decoration: underline; }

/* Cenník (/cennik) */
.page-title { font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1.12; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.plan h2 { font-size: 24px; font-weight: 800; }
.plan.featured { border: 2px solid var(--gold); box-shadow: 0 18px 48px #d2ad5c2e; }
.plan-badge { position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px; color: var(--night); background: linear-gradient(135deg, var(--gold2), var(--gold)); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.plan-who { color: var(--muted); font-size: 15px; }
.plan-price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price strong { font: 800 40px/1 Manrope, sans-serif; color: var(--ink); }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-sub { color: var(--muted); font-size: 13px; }
.plan-credits { margin: 10px 0 6px; padding: 8px 12px; border-radius: 10px; background: #e7f3ee; color: var(--green); font-size: 14px; font-weight: 700; }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15px; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan li:has(em)::before { content: ""; }
.plan li em { color: var(--muted); font-style: normal; font-size: 14px; }
.plan-cta { margin-top: auto; align-self: flex-start; color: var(--green); border-color: var(--green); min-height: 44px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plans-section { padding-bottom: clamp(28px, 3vw, 44px); }
.section.after-plans { padding-top: clamp(20px, 2.5vw, 36px); }
.plan-limits { padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.plan li.plan-group { padding: 10px 0 0; color: var(--ink); font: 700 12px/1.3 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.plan li.plan-group:first-child { padding-top: 4px; }
.plan li.plan-group::before { content: ""; }
.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; }
/* Porovnanie balíkov (/cennik) — na úzkej obrazovke sa posúva tabuľka, nie stránka; prvý stĺpec ostáva na mieste. */
.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare-wrap:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare thead th { padding-top: 18px; padding-bottom: 14px; font: 800 17px/1.2 Manrope, sans-serif; }
.compare thead th small { display: block; margin-top: 3px; color: var(--muted); font: 500 13px "DM Sans", sans-serif; }
.compare th[scope="row"], .compare thead th:first-child { position: sticky; left: 0; z-index: 1; width: 42%; text-align: left; background: #fff; }
.compare th[scope="row"] { font-weight: 500; }
.compare th[scope="row"] small { display: block; color: var(--muted); font-size: 13px; }
.compare .grp th { padding-top: 20px; color: var(--green); background: var(--ground); font: 700 12px/1.3 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.compare td { font-size: 14px; }
.compare td.y { color: var(--green); font-size: 18px; font-weight: 800; }
.compare td.n { color: #a3b0aa; font-size: 18px; }
.compare .hl { background: #fbf6ea; }
.compare thead th.hl { box-shadow: inset 0 3px 0 var(--gold); }
.compare tbody:last-child tr:last-child > * { border-bottom: 0; }
.compare-hint { display: none; margin-top: 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .compare-hint { display: block; }
  .compare { min-width: 600px; font-size: 14px; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare th[scope="row"], .compare thead th:first-child { width: 190px; min-width: 190px; box-shadow: 1px 0 0 var(--line); }
}
/* Novinky na úvode — päť stĺpcov, štítok s balíkom */
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.five article { padding: 22px 20px; }
.grid.five h3 { font-size: 18px; }
.news .tag { display: inline-block; margin-bottom: 10px; padding: 2px 10px; border-radius: 999px; color: var(--green); background: #e7f3ee; font-size: 12px; font-weight: 700; }
.news .tag.std { color: #6b4e12; background: #f6ecd3; }
.news .tag.nad { color: var(--gold2); background: var(--night2); }
@media (max-width: 1280px) { .grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid.five { grid-template-columns: minmax(0, 1fr); } }
/* ---- Moduly aj samostatne: rozcestník na úvode a predajné stránky modulov (/burza, /developerske-projekty, /hypocentrum) ---- */
.mod-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.mod-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border: 1px solid #ffffff1f; border-radius: var(--radius); background: #ffffff0a; transition: background .15s, border-color .15s; }
.mod-card:hover, .mod-card:focus-within { background: #ffffff12; border-color: #d2ad5c88; }
.mod-card small { color: var(--gold2); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mod-card h3 { font-size: 22px; }
.mod-card h3 a { text-decoration: none; }
.mod-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.mod-card h3 a:focus-visible { outline: none; }
.mod-card:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.mod-card p { color: #b7c7bf; font-size: 15px; }
.mod-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; color: #dfe8e3; font-size: 14px; }
.mod-card li { position: relative; padding-left: 20px; }
.mod-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.mod-card .more { margin-top: 4px; color: var(--gold2); font-weight: 700; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; color: #8fa39a; font-size: 13px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: #c6d3cc; }
.hero.mod-hero h1 { font-size: clamp(34px, 4.4vw, 60px); }
.top nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
/* ilustračná obrazovka (HTML, nie fotka) */
.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-body { display: grid; gap: 10px; padding: clamp(14px, 2vw, 22px); }
.mock-head { display: grid; gap: 2px; }
.mock-head strong { font: 800 17px/1.25 Manrope, sans-serif; }
.mock-head span { color: var(--muted); font-size: 13px; }
.mock-note { padding: 8px 16px; color: #8fa39a; background: #0c1a15; 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(--gold); background: #fffaf0; }
.match b { font: 800 22px/1 Manrope, sans-serif; color: var(--green); }
.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 #e6d7b3; list-style: none; font-size: 13px; }
.why i { display: inline-block; width: 18px; font-style: normal; font-weight: 800; }
.why .ok i { color: var(--green); } .why .part i { color: #a77a16; } .why .no i { color: #c0392b; } .why .unk i { color: #8a9a92; }
.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: #6d7a74; background: #e3e8e5; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--muted); }
.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(--gold); border-radius: 12px; background: #fffaf0; }
.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; }
/* funkcie modulu */
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(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 { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; 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(--green); font-weight: 800; }
.soon { display: inline-block; padding: 2px 10px; border-radius: 999px; color: #6b4e12; background: #f6ecd3; font: 700 12px/1.6 "DM Sans", sans-serif; letter-spacing: 0; vertical-align: middle; }
.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; background: #fffdf7; }
.split h3 { font-size: 20px; }
.split p { color: var(--muted); font-size: 15px; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shots figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 24px 60px #101c171f; }
.shots figcaption { display: grid; gap: 2px; padding: 14px 18px; font-size: 14px; color: var(--muted); }
.shots figcaption strong { color: var(--ink); font: 700 16px Manrope, sans-serif; }
.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(--gold); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 48px #d2ad5c2e; }
.price-box > div:first-child { display: grid; gap: 6px; max-width: 640px; }
.price-box strong { font: 800 clamp(24px, 3vw, 34px)/1.15 Manrope, sans-serif; }
.price-box p { color: var(--muted); font-size: 15px; }
.price-box p a { color: var(--green); 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: 700 16px Manrope, sans-serif; cursor: pointer; }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .split, .shots { grid-template-columns: minmax(0, 1fr); } .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.four { grid-template-columns: minmax(0, 1fr); } .why { grid-template-columns: minmax(0, 1fr); } .price-box .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .mod-card { transition: none; } }
