:root {
  --bg: #0b1220;
  --bg2: #111b2e;
  --card: #16223a;
  --line: #24324f;
  --text: #e8eef9;
  --muted: #9fb0cc;
  --accent: #4f8cff;
  --accent2: #7cf0c5;
  --warn: #ffcf6b;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
section:nth-of-type(even) { background: var(--bg2); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 46em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; color: #000; padding: 8px; z-index: 10; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11,18,32,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.logo svg { width: 28px; height: 28px; }
.logo .wm b { color: var(--accent2); font-weight: 800; }
.nav { display: none; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }
@media (min-width: 820px) { .nav { display: flex; } }

.btn { display: inline-block; background: #2563eb; color: #fff; text-decoration: none; font-weight: 700;
  padding: 12px 20px; border-radius: 10px; border: 0; font-size: 1rem; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.small { padding: 8px 14px; font-size: .9rem; }

/* hero */
.hero { padding: 36px 0 48px; background: radial-gradient(1200px 500px at 70% -10%, #1d3566 0%, var(--bg) 60%); }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } .hero { padding: 72px 0; } }
.hero p.lead { margin-bottom: 1.4em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-size: .9rem; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.from { color: var(--muted); font-size: .95rem; }
.from b { color: var(--text); }

/* grids & cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  font-weight: 800; margin-bottom: 10px; }
.icon { width: 40px; height: 40px; margin-bottom: 10px; color: var(--accent2); }

/* pricing */
.plan { position: relative; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.badge { position: absolute; top: -12px; right: 16px; background: #2563eb; color: #fff; font-size: .8rem; font-weight: 700;
  padding: 3px 10px; border-radius: 99px; }
.ptable { width: 100%; border-collapse: collapse; margin: 12px 0; }
.ptable th, .ptable td { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: left; font-size: .97rem; }
.ptable td.p { text-align: right; font-weight: 800; white-space: nowrap; font-size: 1.1rem; }
.ptable .d { color: var(--muted); font-size: .85rem; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list li b { white-space: nowrap; }
.list .note { display: block; color: var(--muted); font-size: .85rem; }
.note-box { border-left: 3px solid var(--warn); background: rgba(255,207,107,.07); padding: 12px 16px; border-radius: 6px; margin-top: 18px; }

/* specs */
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.specs th { color: var(--muted); font-weight: 500; width: 42%; }
.box-list { padding-left: 1.2em; margin: 0; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 15px 0; font-weight: 650; list-style: none; position: relative; padding-right: 26px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--muted); }
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 14px; color: var(--muted); }

/* form */
form { display: grid; gap: 16px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
legend { padding: 0 6px; font-weight: 700; }
label { display: block; font-size: .93rem; margin-bottom: 4px; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], textarea, select {
  width: 100%; padding: 11px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font: inherit; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 90px; resize: vertical; }
.row { display: grid; gap: 12px; }
@media (min-width: 600px) { .row.two { grid-template-columns: 1fr 1fr; } }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; color: var(--text); font-size: .97rem; margin: 0; cursor: pointer; }
.opt input { margin-top: 5px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.opt small { color: var(--muted); display: block; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.summary { background: var(--bg); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; }
.summary .tot { font-size: 1.5rem; font-weight: 800; }
.summary ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.msg { padding: 14px; border-radius: 10px; display: none; }
.msg.ok { display: block; background: rgba(124,240,197,.12); border: 1px solid var(--accent2); }
.msg.err { display: block; background: rgba(255,107,107,.12); border: 1px solid #ff6b6b; }

/* footer */
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: grid; gap: 10px; }
footer a { color: var(--muted); }
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.6em; font-size: 1.3rem; }
.draft { background: rgba(255,207,107,.1); border: 1px solid var(--warn); padding: 12px 16px; border-radius: 10px; }

/* kalendář */
.cal { display: grid; gap: 16px; margin-bottom: 8px; }
@media (min-width: 700px) { .cal { grid-template-columns: 1fr 1fr; } }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-weight: 700; }
.cal-nav { background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 34px; height: 34px; cursor: pointer; font-size: 1.1rem; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-grid .dow { font-size: .75rem; color: var(--muted); padding: 2px 0; }
.cal-grid button { font: inherit; font-size: .9rem; aspect-ratio: 1; border: 0; border-radius: 8px; background: var(--bg); color: var(--text); cursor: pointer; padding: 0; min-height: 36px; }
.cal-grid button:hover:not(:disabled) { outline: 1px solid var(--accent); }
.cal-grid button:disabled { cursor: not-allowed; color: #4a5875; background: transparent; }
.cal-grid button.busy { background: repeating-linear-gradient(45deg, #3a2030, #3a2030 4px, #2a1824 4px, #2a1824 8px); color: #c98a9c; }
.cal-grid button.sel { background: var(--accent); color: #fff; }
.cal-grid button.edge { background: #2f6fe4; color: #fff; font-weight: 800; }
.cal-grid button.bufd { box-shadow: inset 0 -3px 0 var(--warn); }
.cal-grid button.today { outline: 1px dashed var(--muted); }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: middle; }
.sw.busy { background: repeating-linear-gradient(45deg, #3a2030, #3a2030 3px, #2a1824 3px, #2a1824 6px); }
.sw.sel { background: var(--accent); }
#cal-msg.err { color: #ff8b8b; }
@media (min-width: 700px) { .summary { position: sticky; top: 74px; } }
.ptable th { font-weight: 500; }
