/* Wopro Schůzka: veřejné stránky (úvodní stránka, ceník, dokumentace, chybové stránky pro nepřihlášené). Animace jen na úvodní stránce (site.js). */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topin { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.topr { display: flex; gap: 8px; align-items: center; }
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 14px; }
.hero .lead { font-size: 1.15rem; color: var(--text-secondary); max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text-muted); font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; stroke: var(--sig-d); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.features { padding: 24px 0 56px; }
.features .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--text-secondary); font-size: .95rem; }
.foot { background: #0f172a; color: #cbd5e1; padding: 44px 0 28px; margin-top: 40px; }
.foot .brand { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.foot-grid a { display: block; color: #cbd5e1; text-decoration: none; margin: 6px 0; font-size: .93rem; }
.foot-grid a:hover { color: #fff; }
.foot-brand p { color: #94a3b8; font-size: .9rem; margin-top: 12px; }
.foot-title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.foot-bottom { display: flex; gap: 10px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; color: #94a3b8; font-size: .85rem; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .topin .btn.ghost { display: none; }
}

/* Ceník */
.toplink { color: var(--text-secondary); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.toplink:hover, .toplink.je-aktivni { color: var(--sig-d); background: var(--sig-bg); }
.cenik-hero { padding-bottom: 24px; }
.cenik-priklad { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); }
.cenik-priklad-hlava { font-weight: 700; margin-bottom: 10px; }
.cenik-priklad-radek { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.cenik-priklad-radek b { color: var(--text); }
.cenik-priklad-radek.je-free b { color: var(--sig-d); }
.cenik-priklad p { margin: 12px 0 0; font-size: .92rem; color: var(--text-muted); }
.cenik-polozky { padding-top: 8px; }
.cenik-polozka { position: relative; }
.cenik-cena { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; color: var(--sig-d); margin-bottom: 6px; line-height: 1.1; }
.cenik-polozka.je-brzy { opacity: .72; }
.cenik-polozka.je-brzy .cenik-cena { font-size: 1.15rem; color: var(--text-muted); font-weight: 700; padding-top: 10px; }
.cenik-pravidla { padding: 8px 0 64px; }
.cenik-pravidla h2 { margin-bottom: 16px; }
.cenik-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 28px; margin-bottom: 18px; }
.cenik-grid h3 { margin-bottom: 6px; font-size: 1.02rem; }
.cenik-grid p { margin: 0; color: var(--text-secondary); font-size: .95rem; }
@media (max-width: 640px) { .toplink { display: none; } }

/* Dokumentace: boční obsah s kotvami po oddílech (stejně jako sms.wopro.cz/dokumentace) */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding: 48px 0 80px; }
.docs nav { position: sticky; top: 92px; align-self: start; display: grid; gap: 2px; max-height: calc(100vh - 110px); overflow-y: auto; }
.docs nav .nt { font-size: .78rem; font-weight: 700; color: var(--text-muted); padding: 0 12px 8px; }
.docs nav a { color: var(--text-secondary); text-decoration: none; padding: 7px 12px; border-radius: 8px; font-size: .92rem; font-weight: 600; border-left: 2px solid transparent; }
.docs nav a:hover { background: var(--sig-bg2); color: var(--text); }
.docs nav a.on { background: var(--sig-bg); color: var(--sig-d); border-left-color: var(--sig); }
.docs article { min-width: 0; max-width: 820px; }
.docs h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .3em; }
.docs h2 { margin-top: 2.4em; padding-top: .4em; font-size: clamp(1.3rem, 2.4vw, 1.65rem); scroll-margin-top: 92px; }
.docs h2:first-of-type { margin-top: 1.6em; }
.docs p, .docs li { color: var(--text-secondary); }
.docs li { margin-bottom: .45em; }
.docs strong { color: var(--text); }
.docs pre { background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: .86rem; line-height: 1.55; }
.docs code { background: var(--sig-bg2); padding: 1px 5px; border-radius: 5px; font-size: .9em; }
.docs pre code { background: none; padding: 0; }
@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .docs nav { position: static; display: flex; overflow-x: auto; max-height: none; gap: 4px; padding-bottom: 6px; }
  .docs nav .nt { display: none; }
  .docs nav a { white-space: nowrap; border-left: 0; background: #fff; border: 1px solid var(--border); }
}
/* Vstup podle čísla schůzky (17. 10.) */
.vstup-form { display: flex; gap: 10px; max-width: 460px; margin-top: 22px; }
.vstup-form input { flex: 1; min-width: 0; font-size: 1.5rem; letter-spacing: .12em; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-variant-numeric: tabular-nums; }
.vstup-form.mala { margin-top: 18px; max-width: 360px; }
.vstup-form.mala input { font-size: 1.05rem; letter-spacing: .04em; padding: 10px 14px; }
@media (max-width: 480px) { .vstup-form { flex-direction: column; } }

/* Úvodní stránka 17. 10. 2026: ukázka průběhu schůzky (založení, hovor, zápis), snímek záznamu, balíčky, naběhnutí při posunu */
.uvod { padding: 56px 0 72px; }
.uvod .wrap { grid-template-columns: 1fr 1fr; gap: 56px; }
.uvod h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; }
.uvod-fakta { margin: 22px 0 0; color: var(--text-muted); font-size: .95rem; }
.ukazka { position: relative; }
.stage { position: relative; aspect-ratio: 5 / 4; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-card); overflow: hidden; }
.sc { position: absolute; inset: 0; padding: 26px; opacity: 0; }
html:not(.js) .sc-hovor, .no-motion .sc-hovor { opacity: 1; }
.mini-karta { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.mini-nadpis { font-weight: 750; font-size: 1.05rem; margin-bottom: 12px; }
.mini-pole { display: flex; align-items: center; min-height: 42px; background: #fff; border: 1.5px solid var(--border); border-radius: 11px; padding: 0 14px; margin-bottom: 10px; font-size: .95rem; }
.mini-pole-muted { color: var(--text-muted); }
.mini-kurzor { display: inline-block; width: 1.5px; height: 18px; background: var(--sig-d); margin-left: 2px; animation: blik 1s steps(1) infinite; }
@keyframes blik { 50% { opacity: 0; } }
.mini-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; background: var(--btn); color: #fff; border-radius: 11px; font-weight: 650; margin-top: 2px; }
.mini-odkaz { margin-top: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2px 18px; }
.mini-odkaz-radek { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border-soft); font-size: .9rem; color: var(--text-muted); }
.mini-odkaz-radek:first-child { border-top: 0; }
.mini-odkaz-radek b { color: var(--text); font-weight: 650; text-align: right; }
.sc-hovor { padding: 0; background: #0f172a; }
.hov-lista { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: #e2e8f0; font-weight: 650; font-size: .92rem; }
.hov-rec { display: inline-flex; align-items: center; gap: 7px; background: rgba(239, 68, 68, .16); color: #fecaca; padding: 4px 10px; border-radius: 999px; font-size: .8rem; }
.hov-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: tep 1.4s ease-in-out infinite; }
@keyframes tep { 50% { opacity: .35; } }
.hov-mrizka { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 8px; padding: 0 12px 12px; height: calc(100% - 50px); box-sizing: border-box; }
.hov-dl { position: relative; border-radius: 12px; background: linear-gradient(160deg, #334155, #1e293b); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hov-sdili { grid-row: 1 / 4; background: #e2e8f0; }
.hov-av { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--a); color: #fff; font-weight: 750; font-size: .92rem; }
.hov-ja { background: linear-gradient(160deg, #475569, #1e293b); }
.hov-jm { position: absolute; left: 10px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; color: #e2e8f0; font-size: .78rem; font-weight: 600; background: rgba(15, 23, 42, .55); padding: 3px 8px; border-radius: 8px; }
.hov-sdili .hov-jm { background: rgba(15, 23, 42, .75); }
.hov-doc { width: 66%; height: 62%; background: #fff; border-radius: 8px; padding: 14px; box-sizing: border-box; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 10px 30px rgba(15, 23, 42, .18); }
.hov-doc i { display: block; height: 9px; border-radius: 4px; background: #cbd5e1; width: 80%; }
.hov-doc i:first-child { background: var(--sig); width: 45%; height: 12px; }
.hov-doc i:nth-child(3) { width: 65%; }
.hov-doc i:nth-child(4) { width: 72%; }
.hov-vlny { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.hov-vlny i { width: 3px; height: 100%; background: #4ade80; border-radius: 2px; animation: vlna .9s ease-in-out infinite; transform-origin: bottom; }
.hov-vlny i:nth-child(2) { animation-delay: .15s; }
.hov-vlny i:nth-child(3) { animation-delay: .3s; }
@keyframes vlna { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.zap-karta { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; height: 100%; box-sizing: border-box; overflow: hidden; }
.zap-r { margin: 0 0 7px; font-size: .88rem; color: var(--text-secondary); }
.zap-r b { color: var(--text); }
.zap-muted { color: var(--text-muted); font-size: .84rem; }
.zap-cas { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--sig-bg2); color: var(--sig-d); font-size: .76rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.zap-prepis { display: flex; gap: 10px; border-top: 1px solid var(--border-soft); padding-top: 7px; }
.zap-t { color: var(--sig-d); font-variant-numeric: tabular-nums; font-size: .82rem; flex: none; min-width: 40px; }
.stage-kroky { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: .88rem; color: var(--text-muted); font-weight: 600; }
.stage-kroky span { position: relative; padding-top: 10px; flex: 1; transition: color .3s; }
.stage-kroky span::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--border); transition: background .3s; }
.stage-kroky span.je-aktivni { color: var(--sig-d); }
.stage-kroky span.je-aktivni::before { background: var(--sig); }
.zaznam-sekce { padding: 72px 0; background: #fff; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.zaznam-sekce .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.zaznam-text p { color: var(--text-secondary); margin: 0 0 12px; }
.zaznam-snimek { margin: 0; }
.zaznam-snimek img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.zaznam-snimek figcaption { margin-top: 10px; font-size: .86rem; color: var(--text-muted); }
.balicky-sekce { padding: 80px 0 72px; }
.balicky-sekce h2 { text-align: center; margin-bottom: 36px; }
.balicky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.balicek { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 30px; box-shadow: var(--shadow); }
.balicek.je-wopro { background: var(--sig-bg2); border-color: #c7caff; }
.bal-nazev { font-weight: 700; color: var(--text-secondary); margin-bottom: 10px; }
.bal-cena { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); margin-bottom: 14px; }
.bal-cena small { display: block; font-size: .95rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; margin-top: 4px; }
.je-wopro .bal-cena { color: var(--sig-d); }
.balicek p { margin: 0 0 10px; color: var(--text-secondary); font-size: .97rem; }
.balicek .bal-pozn { color: var(--text-muted); font-size: .9rem; }
.bal-polozky { list-style: none; margin: 4px 0 14px; padding: 0; }
.bal-polozky li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border-soft); font-size: .9rem; color: var(--text-muted); }
.bal-polozky b { color: var(--text); font-weight: 650; text-align: right; white-space: nowrap; }
.balicek .btn { margin-top: auto; align-self: flex-start; }
.balicek p + .btn, .bal-polozky + .btn { margin-top: 12px; }
.zaver { padding: 24px 0 88px; text-align: center; }
.zaver p { color: var(--text-secondary); max-width: 520px; margin: 0 auto; }
.zaver .cta { justify-content: center; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].je-videt { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hov-rec i, .hov-vlny i, .mini-kurzor { animation: none; }
}
@media (max-width: 600px) {
  .stage { aspect-ratio: 1 / 1; }
  .hov-av { width: 38px; height: 38px; font-size: .84rem; }
  .hov-jm { font-size: .72rem; }
  .stage-kroky { font-size: .8rem; }
}
@media (max-width: 900px) {
  .uvod .wrap, .zaznam-sekce .wrap { grid-template-columns: 1fr; gap: 32px; }
  .balicky { grid-template-columns: 1fr; }
  .uvod { padding: 36px 0 48px; }
  .zaznam-sekce, .balicky-sekce { padding: 56px 0; }
  .sc { padding: 18px; }
  .zaznam-sekce .wrap { gap: 24px; }
}
