/* ==========================================================================
   Veřejný web weby.2marsa.cz — výroba webů.

   Od 23. 9. 2026 ve vizuálním jazyce sesterských webů 2marsa.cz a
   design.2marsa.cz (helix-design/assets/style.css): tmavé plochy #0a0d12,
   akcent cyan #00d4d4 → #00a8e8, Inter + JetBrains Mono, ostré hrany (4 px),
   tučná typografie se záporným prostrkáním, kickery v monu, 1px mřížky,
   dlaždice s cyan hoverem, převzatá patička (sitemap + hub + legal modal).

   Tenhle soubor sdílí hlavní stránka a stránky úrovní (/uroven/<slug>/,
   generuje vyrobit-urovne.py). Ukázka Datovna má vlastní styl — je to
   smyšlená firma, ne náš brand; jen lišta úrovní nad ní (_lista/lista.css)
   drží stejné barvy jako tenhle web.

   Písma z Google Fonts stejně jako sesterské weby; bez nich spadne na
   systémová — web kvůli písmu nikdy nespadne.
   ========================================================================== */
:root {
  --bg: #0a0d12; --bg-2: #0e1218; --panel: #12171f; --panel-2: #161c26;
  --border: #1f2733; --border-soft: #18202b;
  --text: #f2f5f8; --muted: #aeb8c4; --faint: #6b7685;
  --cyan: #00d4d4; --blue: #00a8e8; --green: #22d36b; --amber: #f5a524; --red: #ff5a4a;
  --grad: linear-gradient(100deg, #00d4d4, #00a8e8);
  --cyan-soft: rgba(0, 212, 212, .10); --cyan-line: rgba(0, 212, 212, .35);
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", Consolas, monospace;
  --maxw: 1280px; --r: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --na-cyan: #04161a;                     /* text na cyan ploše (tlačítka, štítky) */
  --nav-bg: rgba(10, 13, 18, .82);
  --mrizka: rgba(255, 255, 255, .035);    /* jemná mřížka v úvodu */
  color-scheme: dark;
}
/* Světlý vzhled (volba v uvítacím okénku / přepínač v hlavičce, data-theme na <html>).
   Cyan #00d4d4 je na bílé nečitelný, proto tmavší petrolejová; na cyan plochách bílý text.
   Patička a právní okno zůstávají tmavé jako na sesterských webech (viz níž). */
:root[data-theme="light"] {
  --bg: #f5f7fa; --bg-2: #eceff4; --panel: #ffffff; --panel-2: #f3f6f9;
  --border: #d3dae3; --border-soft: #e2e7ed;
  --text: #0d1b2a; --muted: #44546a; --faint: #66758a;
  --cyan: #00767f; --blue: #0069a8; --green: #13824a; --amber: #a86400; --red: #c4321f;
  --grad: linear-gradient(100deg, #00858e, #0069a8);
  --cyan-soft: rgba(0, 118, 127, .08); --cyan-line: rgba(0, 118, 127, .35);
  --na-cyan: #ffffff;
  --nav-bg: rgba(245, 247, 250, .86);
  --mrizka: rgba(13, 27, 42, .05);
  color-scheme: light;
}
:root[data-theme="light"] footer.footer, :root[data-theme="light"] .legal-modal {
  --bg: #0a0d12; --bg-2: #0e1218; --panel: #12171f; --panel-2: #161c26;
  --border: #1f2733; --border-soft: #18202b;
  --text: #f2f5f8; --muted: #aeb8c4; --faint: #6b7685;
  --cyan: #00d4d4; --blue: #00a8e8; --na-cyan: #04161a;
  --cyan-soft: rgba(0, 212, 212, .10); --cyan-line: rgba(0, 212, 212, .35);
  color-scheme: dark;
}
:root[data-theme="light"] .ram { box-shadow: 0 30px 60px -36px rgba(13, 27, 42, .45); }
:root[data-theme="light"] .uroven__velke { color: rgba(0, 118, 127, .10); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
a { color: var(--cyan); }
img, svg, iframe { max-width: 100%; }
.mono { font-family: var(--font-mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -9999px; display: inline-flex; align-items: center; min-height: 44px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--panel); border: 1px solid var(--cyan); padding: .8rem 1.2rem; border-radius: var(--r); color: var(--text); }
.vis-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Vložený odkaz v běžném textu má mít výšku aspoň 24 px, aby se dal trefit
   prstem; samotný řádek textu má 17 px. */
p a:not(.btn), li a:not(.btn), td a:not(.btn) { padding-block: .3em; }

/* Kicker — mono popisek s linkou před textem; otevírá každou sekci */
.kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--cyan); flex: 0 0 auto; }
.kicker b { font-weight: 600; color: var(--faint); }

/* ---------- hlavička (stejná jako design.2marsa.cz) ---------- */
header.nav { position: sticky; top: 0; z-index: 60; background: var(--nav-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; color: var(--text); text-decoration: none; min-height: 44px; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 16px var(--cyan); flex: 0 0 auto; }
.brand small { color: var(--faint); font-weight: 600; font-family: var(--font-mono); font-size: .72rem; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 600; text-decoration: none; transition: color .2s; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover, .nav-links a.active, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { background: var(--cyan); color: var(--na-cyan) !important; padding: 0 20px; border-radius: var(--r); font-weight: 700; transition: filter .2s, transform .15s; }
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 1.4rem; cursor: pointer; width: 44px; height: 44px; }
@media (max-width: 920px) {
  .nav-links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 12px clamp(1rem, 4vw, 2rem) 22px; gap: 4px; transform: translateY(-130%); transition: transform .3s; z-index: 59; }
  .nav-links.open { transform: none; }
  .nav-links a { min-height: 48px; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .burger { display: block; }
}

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 1px solid var(--border); border-radius: var(--r);
  color: var(--text); text-decoration: none; font: 700 .96rem/1.2 var(--font-sans); letter-spacing: .01em; background: transparent; cursor: pointer;
  transition: transform .15s, filter .2s, background .2s, border-color .2s, color .2s; }
.btn:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--hlavni { background: var(--cyan); border-color: var(--cyan); color: var(--na-cyan); }
.btn--hlavni:hover { filter: brightness(1.12); transform: translateY(-2px); color: var(--na-cyan); }
.btn--velke { padding: 18px 38px; font-size: 1.05rem; }
.btn--maly { min-height: 40px; padding: 8px 16px; font-size: .86rem; }
.btn[disabled] { opacity: .5; cursor: progress; transform: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.akce { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; color: var(--cyan); font-weight: 700; font-size: .96rem; text-decoration: none; }
.arrow-link .a { transition: transform .2s; }
.arrow-link:hover .a { transform: translateX(5px); }

/* ---------- úvod (hero) ---------- */
.uvod { position: relative; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.uvod::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 78% 0%, rgba(0, 212, 212, .14), transparent 65%), radial-gradient(600px 300px at 10% 100%, rgba(0, 168, 232, .08), transparent 70%); }
.uvod::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--mrizka) 1px, transparent 1px), linear-gradient(90deg, var(--mrizka) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 80% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 70% 30%, #000, transparent 75%); }
.uvod > .wrap { position: relative; z-index: 1; }
.oko { margin: 0 0 22px; }
h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; margin: 0 0 26px; max-width: 16ch; text-wrap: balance; }
.perex, .lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; margin: 0; }
.odrazky-uvod { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.odrazky-uvod li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: .92rem; }
.odrazky-uvod li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.odrazky-uvod b { color: var(--text); font-weight: 600; }

/* Čísla na úvod — hero-meta ze sesterského webu */
.cisla { display: flex; flex-wrap: wrap; gap: 28px 56px; margin-top: 64px; }
.cislo b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cislo span { display: block; color: var(--faint); font-size: .8rem; font-family: var(--font-mono); margin-top: 8px; text-transform: uppercase; letter-spacing: .12em; max-width: 26ch; }

/* ---------- pásy / sekce ---------- */
.pas { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--border-soft); position: relative; }
.pas--tmavsi { background: var(--bg-2); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; margin: 0 0 .8rem; text-wrap: balance; }
.shead { margin-bottom: clamp(2rem, 5vw, 3.6rem); }
.shead .kicker + h2, .kicker + h2 { margin-top: 16px; }
.shead h2 { max-width: 20ch; }
h3 { font-size: 1.15rem; letter-spacing: -.02em; font-weight: 700; margin: 0 0 .5rem; }
.pas__uvod { max-width: 640px; color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }
.shead + .pas__uvod { margin-top: -1.6rem; margin-bottom: 2.4rem; }
.pozn { max-width: 640px; color: var(--faint); font-size: .9rem; margin-top: 1.6rem; }
.pas__hlava { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: end; justify-content: space-between; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.pas__hlava .shead { margin-bottom: 0; }

/* ---------- ceník: dlaždice úrovní ---------- */
.urovne { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 22px; }
.uroven { position: relative; border: 1px solid var(--border); border-radius: var(--r); padding: 26px 26px 24px; background: var(--panel);
  display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .3s; overflow: hidden; }
.uroven:hover { border-color: var(--cyan); transform: translateY(-4px); }
.uroven::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.uroven:hover::before, .uroven--doporucena::before { opacity: 1; }
.uroven--vyjimecna { border-style: dashed; }
.uroven--doporucena { border-color: var(--cyan-line); }
.uroven__c { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.uroven__stitek { color: var(--na-cyan); background: var(--cyan); padding: 3px 8px; border-radius: var(--r); letter-spacing: .08em; }
.uroven__velke { font-family: var(--font-mono); font-size: 4.2rem; font-weight: 600; line-height: 1; color: rgba(0, 212, 212, .08); position: absolute; right: 14px; top: 8px; user-select: none; }
.uroven__nazev { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 0; line-height: 1.15; }
.uroven__nazev a { color: inherit; text-decoration: none; }
.uroven__nazev a::after { content: ""; position: absolute; inset: 0; }
.uroven__cena { font-family: var(--font-mono); color: var(--cyan); font-weight: 600; font-size: 1.02rem; margin: 0; letter-spacing: -.01em; }
.uroven__pro { color: var(--muted); font-size: .94rem; margin: 0; }
.uroven__co { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border-soft); display: grid; gap: .3rem; }
.uroven__co li { position: relative; padding-left: 1rem; color: var(--muted); font-size: .88rem; }
.uroven__co li::before { content: "·"; position: absolute; left: .1rem; color: var(--cyan); font-weight: 800; }
.uroven__pata { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: .82rem; color: var(--faint); font-family: var(--font-mono); }
.uroven__pata .dal { color: var(--cyan); font-weight: 700; font-family: var(--font-sans); font-size: .92rem; }
.nacita { color: var(--faint); }

/* ---------- Jak dlouho to trvá — 1px mřížka jako strip ---------- */
.casy { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); counter-reset: c; }
.casy li { counter-increment: c; position: relative; padding: 34px 30px 32px; background: var(--panel); transition: background .25s; }
.casy li:hover { background: var(--panel-2); }
.casy li::before { content: "0" counter(c); display: block; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; color: var(--cyan); margin-bottom: 18px; }
.casy h3 { margin: 0 0 6px; font-size: 1.2rem; }
.casy .doba { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.casy p { margin: 0; color: var(--muted); font-size: .94rem; }
.casy-tab { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: .94rem; }
.casy-tab th, .casy-tab td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.casy-tab th { font-family: var(--font-mono); color: var(--faint); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.casy-tab td:first-child a { text-decoration: none; font-weight: 700; color: var(--text); }
.casy-tab td:first-child a:hover { color: var(--cyan); }
.casy-tab td:nth-child(2) { color: var(--cyan); font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.casy-tab td:nth-child(3) { color: var(--muted); }
/* Na úzkém displeji se tabulka skládá do karet — 3 sloupce se do 390 px nevejdou. */
@media (max-width: 600px) {
  .casy-tab, .casy-tab tbody, .casy-tab tr, .casy-tab td { display: block; }
  .casy-tab thead { display: none; }
  .casy-tab tr { padding: .9rem 0; border-bottom: 1px solid var(--border-soft); }
  .casy-tab td { padding: .1rem 0; border: 0; }
  .casy-tab td:nth-child(2) { white-space: normal; }
  .casy-tab td:nth-child(2)::before { content: "výroba "; color: var(--faint); font-weight: 400; }
}

/* ---------- konfigurátor ---------- */
.konf { display: grid; gap: 22px; margin: 0 0 22px; }
.konf__krok { border: 1px solid var(--border); border-radius: var(--r); padding: 26px; margin: 0; background: var(--panel); min-width: 0; }
.konf__krok legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.konf__cislo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r); background: var(--cyan); color: var(--na-cyan); font-size: .8rem; font-weight: 700; letter-spacing: 0; }
.konf__uvod { color: var(--muted); font-size: .92rem; margin: 6px 0 18px; max-width: 640px; }

.volby { display: grid; gap: 10px; }
.volby--male { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

/* Vlastní přepínač 44×44 px: nativní kolečko má 18 px a prstem se netrefí,
   tak se schová (appearance:none) a nakreslí se přes ::before v 44px terči. */
.volba { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: .3rem .8rem;
  min-height: 52px; padding: 12px 16px 12px 8px; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg-2); cursor: pointer; transition: border-color .2s, background .2s; }
.volba:hover { border-color: var(--faint); }
.volba:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.volba.je-vybrana { border-color: var(--cyan); background: var(--cyan-soft); }
.volba--vyjimecna { border-style: dashed; }
.volba[hidden] { display: none !important; }
.volba input { appearance: none; -webkit-appearance: none; width: 44px; height: 44px; margin: 0; cursor: pointer; display: grid; place-items: center; background: transparent; border: 0; border-radius: 50%; }
.volba input::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--faint); background: var(--bg); box-sizing: border-box; }
.volba input[type="checkbox"]::before { border-radius: 3px; }
.volba input:checked::before { border-color: var(--cyan); background: var(--cyan); box-shadow: inset 0 0 0 3px var(--bg); }
.volba input[type="checkbox"]:checked::before { box-shadow: inset 0 0 0 2px var(--bg); }
.volba input:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.volba__telo { display: grid; gap: .15rem; min-width: 0; }
.volba__nazev { font-weight: 700; }
.volba__popis { color: var(--muted); font-size: .88rem; }
.volba__odkaz { font-size: .84rem; }
.volba__cena { color: var(--cyan); font-family: var(--font-mono); font-weight: 600; font-size: .88rem; text-align: right; }
.volba__cena--bez { color: var(--faint); font-weight: 400; font-style: italic; font-family: var(--font-sans); max-width: 9rem; }
.volba__cena small { display: block; font-style: normal; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 520px) {
  .volba { grid-template-columns: 44px minmax(0, 1fr); }
  .volba__cena { grid-column: 2; text-align: left; max-width: none; }
}

.prepinac { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: 12px; color: var(--muted); font-size: .9rem; cursor: pointer; }
.prepinac input { appearance: none; -webkit-appearance: none; width: 44px; height: 44px; margin: 0; cursor: pointer; display: grid; place-items: center; background: transparent; border: 0; }
.prepinac input::before { content: ""; width: 18px; height: 18px; border-radius: 3px; border: 2px solid var(--faint); background: var(--bg); box-sizing: border-box; }
.prepinac input:checked::before { border-color: var(--cyan); background: var(--cyan); box-shadow: inset 0 0 0 2px var(--bg); }
.prepinac input:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }

.konf__pole { display: grid; gap: 8px; max-width: 32rem; }
.konf__pole + .konf__pole { margin-top: 18px; }
.konf__pole label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.konf__vstup { min-height: 50px; padding: 12px 16px; background: var(--bg-2); color: var(--text); border: 1px solid var(--border); border-radius: var(--r); font: inherit; transition: border-color .2s; }
.konf__vstup:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.konf__vstup[aria-invalid="true"] { border-color: var(--red); }
.konf__chyba { color: var(--red); font-size: .88rem; margin: 0; min-height: 1.2em; }

.vysledek { border: 1px solid var(--cyan-line); border-radius: var(--r); padding: 28px; background: radial-gradient(600px 240px at 0% 0%, rgba(0, 212, 212, .10), var(--panel)); }
.vysledek__nadpis { margin: 0 0 6px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.vysledek__souhrn { margin: 0 0 18px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.vysledek__text { width: 100%; min-width: 0; box-sizing: border-box; background: var(--bg); color: var(--muted); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; font: 12.5px/1.6 var(--font-mono); resize: vertical; }
.vysledek .akce { margin-top: 1rem; }
.vysledek__odesl { display: grid; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.vysledek__odesl .akce { margin-top: 0; }
.stav { min-height: 1.4em; color: var(--faint); font-size: .9rem; margin: 0; max-width: 640px; }
.stav--ok { color: var(--green); }
.stav--chyba { color: var(--red); }

/* ---------- postup / standard / otázky ---------- */
.kroky { counter-reset: k; list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.kroky li { counter-increment: k; position: relative; padding: 32px 30px 30px; background: var(--panel); color: var(--muted); font-size: .96rem; transition: background .25s; }
.kroky li:hover { background: var(--panel-2); }
.kroky li::before { content: "0" counter(k); display: block; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; color: var(--cyan); margin-bottom: 16px; }
.kroky b { display: block; color: var(--text); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }

.seznam { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px 40px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.seznam li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.seznam li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.seznam b { color: var(--text); font-weight: 700; }

.otazky { display: grid; gap: 10px; max-width: 820px; }
.otazky details { border: 1px solid var(--border); border-radius: var(--r); background: var(--panel); transition: border-color .2s; }
.otazky details:hover, .otazky details[open] { border-color: var(--faint); }
.otazky summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.otazky summary::-webkit-details-marker { display: none; }
.otazky summary::after { content: "+"; font-family: var(--font-mono); color: var(--cyan); font-size: 1.2rem; flex: 0 0 auto; }
.otazky details[open] summary::after { content: "−"; }
.otazky summary:hover { color: var(--cyan); }
.otazky details[open] summary { border-bottom: 1px solid var(--border-soft); }
.otazky p { margin: 0; padding: 16px 18px 20px; color: var(--muted); }

/* ---------- CTA pruh (kontakt, konec stránky úrovně) ---------- */
.cta-band, .cta-pruh { text-align: center; border: 1px solid var(--border); border-radius: var(--r); padding: clamp(3rem, 7vw, 5.4rem) 32px;
  background: radial-gradient(700px 320px at 50% 0%, rgba(0, 212, 212, .12), var(--panel)); }
.cta-band .kicker, .cta-pruh .kicker { justify-content: center; }
.cta-band h2, .cta-pruh h2 { margin: 16px 0 16px; }
.cta-band p, .cta-pruh p { color: var(--muted); margin: 0 auto 32px; max-width: 560px; font-size: 1.1rem; }
.cta-band .akce, .cta-pruh .akce, .kontakt { justify-content: center; margin: 0; }
.kontakt { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .pozn, .cta-pruh .pozn { margin: 28px auto 0; }

/* ---------- reveal (IntersectionObserver ve web.js) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Stránka úrovně (/uroven/<slug>/)
   ========================================================================== */
.drobky { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-family: var(--font-mono); font-size: .8rem; color: var(--faint); }
.drobky a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.drobky a:hover { color: var(--cyan); }
.drobky li + li::before { content: "/"; margin-right: .6rem; color: var(--border); }

.ur-uvod { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .ur-uvod { grid-template-columns: 1fr; gap: 2rem; } }
.ur-cislo { font-family: var(--font-mono); font-size: clamp(4rem, 10vw, 7rem); font-weight: 600; line-height: .9; margin: 0 0 .6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.ur-uvod h1 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
.ur-karta { border: 1px solid var(--border); border-radius: var(--r); padding: 32px; background: var(--panel); display: grid; gap: 4px; }
.ur-karta .cena { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ur-karta dl { margin: 0; display: grid; gap: 0; }
.ur-karta dt { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); padding-top: 14px; }
.ur-karta dd { margin: 4px 0 14px; font-weight: 600; border-bottom: 1px solid var(--border-soft); padding-bottom: 14px; }
.ur-karta dd:last-of-type { border-bottom: 0; margin-bottom: 0; }
.ur-karta .pozn { font-size: .82rem; margin-top: 12px; }

.dostanete { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.dostanete li { border: 1px solid var(--border); border-radius: var(--r); padding: 26px; background: var(--panel); display: grid; gap: 10px; transition: border-color .3s, transform .3s; }
.dostanete li:hover { border-color: var(--cyan); transform: translateY(-4px); }
.dostanete b { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.dostanete .priklad { color: var(--muted); font-size: .94rem; margin: 0; }
.dostanete .priklad::before { content: "Příklad"; display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.dedi { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; font-size: .9rem; color: var(--muted); }
.dedi > span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.dedi a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; color: var(--muted); font-family: var(--font-mono); font-size: .82rem; transition: border-color .2s, color .2s; }
.dedi a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Rámeček prohlížeče kolem ukázky */
.ram { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: #050810; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.ram__lista { display: flex; align-items: center; gap: .6rem; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--border); }
.ram__lista i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: inline-block; }
.ram__adresa { flex: 1; min-width: 0; font: 12px/1 var(--font-mono); color: var(--faint); background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--r); padding: 9px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ram__lista a { font-size: .82rem; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; min-height: 32px; padding: 0 .6rem; text-decoration: none; }
.ram iframe { display: block; width: 100%; height: clamp(420px, 70vh, 760px); border: 0; background: #fff; }
.ram__pozn { font-size: .88rem; color: var(--faint); margin: 14px 0 0; }

/* ---------- přepínač vzhledu v hlavičce ---------- */
/* Pořadí v hlavičce: značka · odkazy · přepínač (desktop); značka · přepínač · burger (mobil). */
.nav-links { order: 1; }
.burger { order: 3; }
.tema-prepinac { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; order: 2; flex: none;
  border: 1px solid var(--border); border-radius: var(--r); background: transparent; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.tema-prepinac:hover { color: var(--cyan); border-color: var(--cyan-line); }
.tema-ikona { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tema-ikona--mesic { display: none; }
:root[data-theme="light"] .tema-ikona--slunce { display: none; }
:root[data-theme="light"] .tema-ikona--mesic { display: block; }
@media (min-width: 921px) { .nav-links { margin-left: auto; } .tema-prepinac { margin-left: 18px; } }

/* ---------- uvítací okénko (první návštěva) ---------- */
.uvitani { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.uvitani[hidden] { display: none; }
.uvitani__clona { position: absolute; inset: 0; background: rgba(5, 8, 12, .72); backdrop-filter: blur(6px); }
:root[data-theme="light"] .uvitani__clona { background: rgba(13, 27, 42, .45); }
.uvitani__karta { position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(22px, 4vw, 34px);
  background: var(--panel); border: 1px solid var(--border); border-radius: calc(var(--r) * 2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
  animation: uvitani-in .35s var(--ease); }
@keyframes uvitani-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.uvitani__karta h2 { margin: 12px 0 18px; font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -.03em; line-height: 1.15; }
.uvitani__zavrit { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: transparent;
  color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.uvitani__zavrit:hover { color: var(--text); background: var(--panel-2); }
.uvitani__otazka { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.uvitani__otazka legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-weight: 700; color: var(--text); }
.uvitani__c { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r); background: var(--cyan); color: var(--na-cyan);
  font: 700 .8rem/1 var(--font-mono); }
.uvitani__temata { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tema-volba { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 12px; border: 1px solid var(--border); border-radius: var(--r); cursor: pointer; background: var(--bg); transition: border-color .2s; }
.tema-volba:hover { border-color: var(--cyan-line); }
.tema-volba input { position: absolute; opacity: 0; pointer-events: none; }
.tema-volba:has(input:checked) { border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.tema-volba:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.tema-volba b { grid-column: 2; font-size: .98rem; }
.tema-volba small { grid-column: 2; color: var(--muted); font-size: .8rem; }
.tema-volba__nahled { grid-row: 1 / 3; display: grid; grid-template-rows: 6px 1fr 1fr; gap: 3px; width: 56px; height: 42px; padding: 5px; border-radius: 3px; }
.tema-volba__nahled i { display: block; border-radius: 1px; }
.tema-volba--dark .tema-volba__nahled { background: #0a0d12; border: 1px solid #1f2733; }
.tema-volba--dark .tema-volba__nahled i { background: #1f2733; } .tema-volba--dark .tema-volba__nahled i:first-child { background: #00d4d4; width: 60%; }
.tema-volba--light .tema-volba__nahled { background: #f5f7fa; border: 1px solid #d3dae3; }
.tema-volba--light .tema-volba__nahled i { background: #d3dae3; } .tema-volba--light .tema-volba__nahled i:first-child { background: #00767f; width: 60%; }
.uvitani__cile { display: grid; gap: 8px; }
.uvitani__cil { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; min-height: 60px; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--r); background: var(--bg); color: var(--text); text-decoration: none; transition: border-color .2s, background .2s, transform .15s; }
.uvitani__cil:hover, .uvitani__cil:focus-visible { border-color: var(--cyan); background: var(--cyan-soft); transform: translateX(2px); }
.uvitani__cil b { grid-column: 1; font-size: 1rem; }
.uvitani__cil small { grid-column: 1; color: var(--muted); font-size: .84rem; }
.uvitani__cil span { grid-column: 2; grid-row: 1 / 3; color: var(--cyan); font-size: 1.2rem; font-weight: 700; }
.uvitani__jen { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--muted);
  font: 600 .92rem var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.uvitani__jen:hover { color: var(--text); }
.uvitani__pozn { margin: 6px 0 0; color: var(--faint); font-size: .8rem; }
@media (max-width: 480px) { .uvitani__temata { grid-template-columns: 1fr; } .uvitani { align-items: end; padding: 8px; } }
@media (prefers-reduced-motion: reduce) { .uvitani__karta { animation: none; } .uvitani__cil { transition: none; } }

/* ---------- 01 Naše práce: výkladní skříň hned pod úvodem ----------
   Kdo přijde, chce se nejdřív pokochat — cena a postup až potom. Dva velké
   vstupy na design.2marsa.cz (galerie, výpis ukázek) a šest náhledů. */
.pas--prace { position: relative; background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); border-top: 1px solid var(--border); overflow: hidden; }
.pas--prace::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 212, 212, .10), transparent 70%); }
.pas--prace .wrap { position: relative; }
.prace-vstupy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin: 0 0 28px; }
.prace-vstup { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; min-height: 190px;
  border: 1px solid var(--border); border-radius: var(--r); background: var(--panel); text-decoration: none; color: var(--muted);
  transition: border-color .2s, transform .2s, background .2s; overflow: hidden; }
.prace-vstup:hover { border-color: var(--cyan); transform: translateY(-3px); background: var(--panel-2); }
.prace-vstup b { color: var(--text); font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.2; }
.prace-vstup__stitek { font: 600 .72rem/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.prace-vstup__odkaz { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--cyan); }
.prace-vstup--galerie { border-color: rgba(0, 212, 212, .45);
  background: radial-gradient(120% 140% at 100% 0%, rgba(0, 168, 232, .18), transparent 55%), var(--panel); }
.prace-vstup--galerie::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%;
  border: 1px solid rgba(0, 212, 212, .25); box-shadow: 0 0 0 30px rgba(0, 212, 212, .04), 0 0 0 60px rgba(0, 212, 212, .03); pointer-events: none; }
.dila { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dilo { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
  background: var(--panel); text-decoration: none; transition: border-color .2s, transform .2s; }
.dilo:hover { border-color: var(--cyan); transform: translateY(-3px); }
.dilo__nahled { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.dilo__nahled img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.dilo:hover .dilo__nahled img { transform: scale(1.04); }
.dilo__telo { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.dilo__kat { font: 600 .68rem/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.dilo__telo b { color: var(--text); font-size: 1.08rem; }
.dilo__popis { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.prace-dalsi { margin: 22px 0 0; color: var(--muted); font-size: .95rem; }
.prace-dalsi a { font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .dila { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prace-vstupy { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .dila { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .dila li { scroll-snap-align: start; }
  .prace-vstup { padding: 22px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .dilo, .prace-vstup, .dilo__nahled img { transition: none; } }

/* Bezpečnost na stránce úrovně — platí pro všechny úrovně. */
.bezpecnost { margin: 28px 0 0; padding: 14px 18px; max-width: 860px; border-left: 3px solid var(--cyan); background: var(--panel); color: var(--muted); line-height: 1.6; }
.bezpecnost b { color: var(--text); }
.bezpecnost a { font-weight: 700; white-space: nowrap; }

/* Výzva „vyzkoušejte“ nad oknem ukázky (AI poradce apod.). */
.zkuste { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 18px; padding: 16px 18px; max-width: 860px;
  border: 1px solid rgba(0, 212, 212, .45); border-radius: var(--r); background: rgba(0, 212, 212, .07); color: var(--text); line-height: 1.55; }
.zkuste__ikona { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cyan); color: var(--na-cyan); font-size: 11px; padding-left: 2px; animation: zkuste-puls 2.4s ease-out infinite; }
@keyframes zkuste-puls { 0% { box-shadow: 0 0 0 0 rgba(0, 212, 212, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(0, 212, 212, 0); } }

/* Druhé okno: nativní aplikace (kiosk). Rámeček podle systému — okno pro
   Windows/macOS/Linux, tablet pro Android/iOS. Obsah je stejný, mění se jen „obal“. */
.aplikace { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.aplikace__text { max-width: 820px; }
.aplikace__text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 12px 0 10px; letter-spacing: -.02em; }
.aplikace__text p { color: var(--muted); margin: 0 0 12px; }
.neni-web { border-left: 3px solid var(--cyan); padding: 10px 14px; background: var(--panel); color: var(--text) !important; }
.neni-web a { font-weight: 700; white-space: nowrap; }
.os-prepinac { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 18px 0 18px; border: 1px solid var(--border); border-radius: var(--r); background: var(--panel); }
.os-prepinac button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 3px; background: transparent; color: var(--muted);
  font: 600 .86rem/1 var(--font-sans); cursor: pointer; }
.os-prepinac button:hover { color: var(--text); }
.os-prepinac button[aria-selected="true"] { background: var(--cyan); color: var(--na-cyan); }
.ram--app { position: relative; margin: 0 auto; transition: max-width .25s ease, border-radius .25s ease; }
.ram--app iframe { height: clamp(460px, 68vh, 640px); background: #0f1318; }
.ram__titul { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 0 0 14px; background: #1b2028; border-bottom: 1px solid #0c0f13;
  font: 600 12.5px/1 var(--font-sans); color: #c9d0d6; user-select: none; }
.ram__app-nazev { flex: 1; }
.ram__mac, .ram__win, .ram__stav, .ram__home { display: none; }
.ram__mac i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; }
.ram__mac i:nth-child(1) { background: #ff5f57; } .ram__mac i:nth-child(2) { background: #febc2e; } .ram__mac i:nth-child(3) { background: #28c840; }
.ram__win { align-self: stretch; }
.ram__win i { display: inline-grid; place-items: center; width: 46px; height: 100%; font-style: normal; font-weight: 400; font-size: 13px; }
.ram__win i:last-child { background: #c42b1c; color: #fff; }
/* Windows */
.ram--app[data-os="windows"] { border-radius: 8px; }
.ram--app[data-os="windows"] .ram__win { display: flex; }
.ram--app[data-os="windows"] .ram__win i:last-child { background: transparent; color: #c9d0d6; }
.ram--app[data-os="windows"] .ram__win i:last-child:hover { background: #c42b1c; color: #fff; }
/* macOS */
.ram--app[data-os="macos"] { border-radius: 12px; }
.ram--app[data-os="macos"] .ram__mac { display: inline-flex; }
.ram--app[data-os="macos"] .ram__titul { background: #2a2f37; }
.ram--app[data-os="macos"] .ram__app-nazev { text-align: center; padding-right: 60px; }
/* Linux (GNOME) */
.ram--app[data-os="linux"] { border-radius: 12px 12px 4px 4px; }
.ram--app[data-os="linux"] .ram__titul { background: #242424; height: 42px; }
.ram--app[data-os="linux"] .ram__app-nazev { text-align: center; }
.ram--app[data-os="linux"] .ram__win { display: flex; align-items: center; gap: 10px; padding-right: 12px; }
.ram--app[data-os="linux"] .ram__win i { width: 24px; height: 24px; border-radius: 50%; background: #3a3a3a; font-size: 11px; color: #ddd; }
.ram--app[data-os="linux"] .ram__win i:last-child { background: #3a3a3a; color: #ddd; }
/* Android a iOS — tablet na šířku, jak visí u pracoviště */
.ram--app[data-os="android"], .ram--app[data-os="ios"] { max-width: 900px; border: 14px solid #0b0d11; outline: 1px solid var(--border); }
.ram--app[data-os="android"] { border-radius: 22px; }
.ram--app[data-os="ios"] { border-radius: 34px; border-width: 16px; }
.ram--app[data-os="android"] .ram__titul, .ram--app[data-os="ios"] .ram__titul { height: 26px; background: #0f1318; border-bottom: 0; padding: 0 16px; font-size: 12px; }
.ram--app[data-os="android"] .ram__app-nazev, .ram--app[data-os="ios"] .ram__app-nazev { visibility: hidden; }
.ram--app[data-os="android"] .ram__stav, .ram--app[data-os="ios"] .ram__stav { display: inline-flex; gap: 10px; width: 100%; justify-content: space-between; order: -1; color: #c9d0d6; letter-spacing: .04em; }
.ram--app[data-os="android"] iframe, .ram--app[data-os="ios"] iframe { height: clamp(420px, 60vh, 560px); }
.ram--app[data-os="ios"] .ram__home, .ram--app[data-os="android"] .ram__home { display: block; position: absolute; left: 50%; bottom: 6px; width: 120px; height: 4px;
  margin-left: -60px; border-radius: 4px; background: rgba(255, 255, 255, .5); pointer-events: none; }
.ram--app[data-os="android"] .ram__home { width: 90px; margin-left: -45px; height: 3px; }
@media (max-width: 600px) {
  .ram--app[data-os="android"], .ram--app[data-os="ios"] { border-width: 8px; border-radius: 16px; }
  .ram__win i { width: 36px; }
  .aplikace { margin-top: 44px; padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { .zkuste__ikona { animation: none; } .ram--app { transition: none; } }

.dva-sloupce { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.dva-sloupce h3 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 16px; }
.priklady { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.priklady li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.priklady li::before { content: "→"; position: absolute; left: 0; color: var(--cyan); }
.neobsahuje { border-left: 2px solid var(--amber); padding-left: 1rem; color: var(--muted); margin: 0; }

.sousede { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-top: 22px; }
@media (max-width: 600px) { .sousede { grid-template-columns: 1fr; } }
.soused { border: 1px solid var(--border); border-radius: var(--r); padding: 22px 26px; text-decoration: none; color: var(--text); background: var(--panel); display: grid; gap: .2rem; min-height: 48px; transition: border-color .3s, transform .3s; }
.soused:hover { border-color: var(--cyan); transform: translateY(-3px); }
.soused small { font-family: var(--font-mono); color: var(--faint); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.soused--dalsi { text-align: right; }
.soused b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.soused span { color: var(--cyan); font-family: var(--font-mono); font-size: .88rem; }

/* ==========================================================================
   PATIČKA — portováno 1:1 z design.2marsa.cz / 2marsa.cz (NEMĚNIT strukturu;
   při změně upravit i vyrobit-urovne.py, patička je na každé stránce)
   ========================================================================== */
:root {
  --electric: #00a8e8; --ai-cyan: #00d4d4; --muted-soft: #8b9ab1; --white: #ffffff; --border-dark: rgba(255, 255, 255, .08);
}
footer.footer { background: #050d17; color: var(--muted-soft); padding: 80px 0 32px; border-top: 1px solid var(--border-dark); margin-top: 0; }
footer.footer .wrap { max-width: var(--maxw); }
.footer-sitemap { margin: 0 0 32px; padding: 28px 0 8px; position: relative; }
.footer-sitemap-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.footer-sitemap-eyebrow { font-family: var(--font-mono); font-size: 10.5px; color: var(--electric); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.footer-sitemap-title { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.footer-sitemap-title strong { color: var(--white); }
.sitemap-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 1024px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .sitemap-grid { grid-template-columns: 1fr; } }
.sitemap-branch { background: rgba(255, 255, 255, .018); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 16px 18px 18px; position: relative; transition: border-color 280ms ease, background 280ms ease; }
.sitemap-branch:hover { border-color: rgba(0, 168, 232, .22); background: rgba(0, 168, 232, .02); }
.sitemap-branch-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.sitemap-branch-icon { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: var(--electric); background: rgba(0, 168, 232, .10); border: 1px solid rgba(0, 168, 232, .25); flex-shrink: 0; }
.sitemap-branch-icon svg { width: 14px; height: 14px; }
.sitemap-branch-title { font-family: var(--font-mono); font-size: 11.5px; color: var(--white); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.sitemap-branch-meta { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; background: rgba(255, 255, 255, .04); padding: 3px 8px; border-radius: 4px; }
.sitemap-tree { list-style: none; padding: 0; margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted-soft); }
.sitemap-tree li { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; column-gap: 6px; padding: 4px 0; line-height: 1.4; }
.sitemap-tree li::before { content: '├'; color: rgba(255, 255, 255, .25); grid-column: 1; text-align: center; font-size: 13px; }
.sitemap-tree li:last-child::before { content: '└'; }
.sitemap-tree a { color: var(--muted-soft); text-decoration: none; transition: color 180ms ease; border-bottom: 1px dotted transparent; grid-column: 2; padding-block: 4px; }
.sitemap-tree a:hover { color: var(--electric); border-color: rgba(0, 168, 232, .4); }
.sitemap-tree .anchor-tag, .sitemap-tree .page-tag, .sitemap-tree .ext-tag { grid-column: 3; font-size: 9.5px; letter-spacing: .06em; color: var(--muted); padding: 2px 7px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .08); text-transform: uppercase; background: rgba(255, 255, 255, .02); }
.sitemap-tree .anchor-tag { color: rgba(0, 212, 212, .7); border-color: rgba(0, 212, 212, .18); }
.sitemap-tree .page-tag { color: rgba(0, 168, 232, .85); border-color: rgba(0, 168, 232, .22); }
.sitemap-tree .ext-tag { color: rgba(245, 158, 11, .85); border-color: rgba(245, 158, 11, .22); }
.sitemap-hub { background: linear-gradient(135deg, rgba(0, 168, 232, .04), rgba(0, 212, 212, .025)); border: 1px solid rgba(0, 168, 232, .20); text-align: center; padding: 22px 18px 20px; border-radius: 12px; position: relative; overflow: hidden; }
.sitemap-hub::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, rgba(0, 168, 232, .08), transparent 60%); }
.sitemap-hub-mark { width: 88px; height: 88px; border-radius: 18px; margin: 0 auto 14px; background: radial-gradient(circle at 30% 20%, #fff 0%, #f8fafc 100%); position: relative; display: grid; place-items: center; box-shadow: 0 0 30px -6px rgba(0, 168, 232, .40), 0 12px 24px -6px rgba(0, 0, 0, .50), inset 0 1px 0 rgba(255, 255, 255, .8); overflow: hidden; transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.sitemap-hub-mark:hover { transform: scale(1.04); }
.sitemap-hub-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sitemap-hub-name { font-size: 16px; color: var(--white); font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; position: relative; }
.sitemap-hub-name span { color: var(--muted); font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.sitemap-hub-tagline { font-family: var(--font-mono); font-size: 11px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; position: relative; }
.sitemap-hub-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; position: relative; }
.sitemap-hub-badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; color: var(--muted-soft); padding: 4px 9px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); text-transform: uppercase; }
.sitemap-hub-badge.cyan { color: var(--ai-cyan); border-color: rgba(0, 212, 212, .30); }
.sitemap-hub-contact { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 6px; position: relative; }
.sitemap-hub-contact a { font-family: var(--font-mono); font-size: 12px; color: var(--white); text-decoration: none; transition: color 200ms ease; display: inline-block; padding: 4px 0; }
.sitemap-hub-contact a:hover { color: var(--electric); }
.sitemap-hub-contact small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .10em; text-transform: uppercase; color: var(--muted); }
.footer-bottom { margin-top: 28px; padding: 18px 22px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .06); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-soft); letter-spacing: .04em; position: relative; overflow: hidden; }
.footer-bottom::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--electric), var(--ai-cyan)); opacity: .7; }
.footer-bottom > span:first-child { color: var(--white); font-weight: 500; }
.footer-bottom a, .legal-modal-trigger { color: var(--muted-soft); text-decoration: none; border-bottom: 1px dotted rgba(139, 154, 177, .35); padding: 8px 0 1px; transition: color 200ms ease, border-color 200ms ease; background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font: inherit; }
.footer-bottom a:hover, .legal-modal-trigger:hover { color: var(--electric); border-color: var(--electric); }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; align-items: flex-start; padding: 16px 18px; } }
.footer-credit-ribbon { margin-top: 14px; padding: 10px 18px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .5); font-size: 11.5px; display: flex; align-items: center; gap: 9px; letter-spacing: .02em; }
.footer-credit-ribbon strong { color: rgba(255, 255, 255, .82); font-weight: 600; }
.footer-credit-mark { color: var(--electric); font-size: 11px; transform: rotate(15deg); }
.footer-credit-sep { opacity: .4; }
.footer-credit-link { color: rgba(255, 255, 255, .55); text-decoration: none; border-bottom: 1px dotted rgba(255, 255, 255, .25); padding-bottom: 1px; transition: color .15s, border-color .15s; }
.footer-credit-link:hover { color: var(--electric); border-bottom-color: var(--electric); }
@media (max-width: 720px) { .footer-credit-ribbon { flex-wrap: wrap; gap: 5px; } .footer-credit-sep { display: none; } }
/* Bezpečnost (NIS2/TISAX) — pruh nad spodkem patičky. */
.footer-bezpecnost { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0 0; padding: 16px 20px;
  border: 1px solid rgba(0, 212, 212, .35); border-radius: var(--r); background: rgba(0, 212, 212, .05); }
.footer-bezpecnost-ikona { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: rgba(0, 212, 212, .12); color: var(--cyan); }
.footer-bezpecnost-ikona svg { width: 22px; height: 22px; }
.footer-bezpecnost p { flex: 1 1 360px; margin: 0; color: var(--muted-soft, #8b9ab1); font-size: .92rem; line-height: 1.55; }
.footer-bezpecnost p b { color: var(--white, #fff); }
.footer-bezpecnost a { font-weight: 700; font-size: .9rem; white-space: nowrap; text-decoration: none; }
.footer-bezpecnost a:hover { text-decoration: underline; }

/* Sesterské weby: design vlevo, 2marsa.cz uprostřed (hlavní), brand vpravo. */
.footer-sestry { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 12px; align-items: stretch; margin: 20px 0 0; }
.footer-sestra { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 18px; border: 1px solid var(--border-dark, #1f2733);
  border-radius: var(--r); background: rgba(255, 255, 255, .02); text-decoration: none; text-align: center; transition: border-color .2s, transform .2s; }
.footer-sestra:hover { border-color: var(--cyan); transform: translateY(-2px); }
.footer-sestra-adresa { font: 600 .9rem/1.2 var(--font-mono); color: var(--white, #fff); }
.footer-sestra-popis { font-size: .82rem; color: var(--muted-soft, #8b9ab1); line-height: 1.4; }
.footer-sestra--hlavni { align-items: center; border-color: rgba(0, 212, 212, .45); background: rgba(0, 212, 212, .06); }
.footer-sestra--hlavni img { width: 36px; height: 36px; border-radius: 8px; margin-bottom: 4px; }
.footer-sestra--hlavni .footer-sestra-adresa { font-size: 1.05rem; color: var(--cyan); }
@media (max-width: 720px) {
  .footer-sestry { grid-template-columns: 1fr; }
  .footer-sestra--hlavni { order: -1; }
}

/* legal modal */
.legal-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.legal-modal.open { display: flex; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(13, 27, 42, .78); backdrop-filter: blur(8px); }
.legal-card { position: relative; width: 100%; max-width: 680px; max-height: calc(100vh - 48px); background: linear-gradient(180deg, #15273a, #0e1d2c); border: 1px solid rgba(0, 168, 232, .22); border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); display: flex; flex-direction: column; overflow: hidden; }
.legal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .10); border-radius: 6px; color: var(--muted-soft); cursor: pointer; display: grid; place-items: center; font-size: 16px; }
.legal-close:hover { color: var(--white); border-color: var(--electric); }
.legal-tabs { display: flex; padding: 18px 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(0, 0, 0, .18); }
.legal-tab { background: transparent; border: 0; color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.legal-tab:hover { color: var(--white); }
.legal-tab.is-active { color: var(--electric); border-bottom-color: var(--electric); }
.legal-content { padding: 24px 28px 28px; overflow-y: auto; color: var(--muted-soft); font-size: 14px; line-height: 1.65; }
.legal-content h3 { color: var(--white); font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.legal-content p { margin: 0 0 12px; }
.legal-content .legal-eyebrow { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--electric); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.legal-pane { display: none; }
.legal-pane.is-active { display: block; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  header.nav, footer.footer, .akce, .skip, .legal-modal { display: none !important; }
  body { background: #fff; color: #000; }
}
