:root {
  --ink: #14202e;
  --ink-soft: #46566a;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --dark: #0f1a27;
  --dark-2: #182636;
  --accent: #f5b301;
  --accent-ink: #1a1400;
  --radius: 12px;
  --wrap: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: #b07f00; margin-bottom: .6em; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--accent); }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: .8em 1.4em; border-radius: 8px; border: 2px solid var(--accent); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #ffc629; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-small { padding: .45em 1em; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(15,26,39,.96); backdrop-filter: blur(6px); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.brand img { display: block; height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; opacity: .85; font-weight: 500; }
.nav a:not(.btn):hover { opacity: 1; color: var(--accent); }
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 820px) {
  .nav-burger { display: block; width: 40px; height: 40px; position: relative; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: #fff; content: ""; transition: .2s; }
  .nav-burger span { top: 19px; }
  .nav-burger span::before { top: -7px; left: 0; }
  .nav-burger span::after { top: 7px; left: 0; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { top: 0; transform: rotate(-45deg); }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); padding: 8px 16px 18px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, #22364d 0%, transparent 60%), var(--dark); color: #fff; padding: 64px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: #c8d3df; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
.hero-facts strong { display: block; font-size: .98rem; }
.hero-facts span { color: #9fb0c2; font-size: .9rem; }
.hero-figure { margin: 0; }
.cabinet { width: 100%; max-width: 340px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.c-body { fill: #dfe5eb; }
.c-inner { fill: #f6f8fa; }
.c-rail rect { fill: #b8c2cc; }
.c-dev rect { fill: #fff; stroke: #9aa7b4; stroke-width: 1.2; }
.c-lever rect { fill: #2a3a4c; }
.c-lever rect:nth-child(1), .c-lever rect:nth-child(6) { fill: var(--accent); }
.c-term rect { fill: #5c6f83; }
.c-wire path { stroke: #2b6cb0; stroke-width: 2; fill: none; }
.c-label { fill: var(--accent); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark p { color: #c8d3df; }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 44em; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.card p { color: var(--ink-soft); }
.card-accent { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.card-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--dark); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid #b07f00; border-bottom: 2px solid #b07f00; transform: rotate(-45deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: 1.6rem; color: #b07f00; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Docs */
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; color: var(--ink-soft); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.docs li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.docs strong { display: block; margin-bottom: 2px; }
.docs p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.doc-tag { flex: 0 0 82px; text-align: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px 0; border-radius: 6px; background: var(--dark); color: var(--accent); }

/* Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stats dt { font-size: 1.6rem; font-weight: 800; }
.stats dd { margin: 0; color: var(--ink-soft); }

/* About */
.o-mne { display: grid; grid-template-columns: 320px 1fr; gap: 32px 56px; align-items: start; }
.o-mne .stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
.portret { margin: 0; }
.portret img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(15,26,39,.18); }
@media (max-width: 860px) {
  .o-mne { grid-template-columns: 1fr; }
  .portret { max-width: 300px; }
  .o-mne .stats { grid-template-columns: 1fr; }
}

/* Map */
.two-col.map-col { grid-template-columns: .8fr 1.2fr; align-items: center; }
@media (max-width: 860px) { .two-col.map-col { grid-template-columns: 1fr; } }
.mapa { width: 100%; height: auto; }
.kraj { fill: #dfe5eb; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; transition: fill .15s; }
.kraj:hover { fill: #cfd7e0; }
.kraj.on { fill: var(--accent); }
.kraj.on:hover { fill: #ffc629; }
.mesto { fill: var(--ink); stroke: #fff; stroke-width: 2.5; }
.mesto-text { font-size: 24px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.legend { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); }
.legend i { flex: 0 0 18px; height: 18px; border-radius: 4px; background: #dfe5eb; }
.legend i.on { background: var(--accent); }

/* Price list */
.cenik { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cenik h3 { margin-bottom: 16px; }
.cenik h4 { font-size: 1rem; margin: 0 0 8px; }
.cenik-tab { width: 100%; border-collapse: collapse; }
.cenik-tab th, .cenik-tab td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cenik-tab th { font-weight: 600; padding-right: 16px; }
.cenik-tab td:last-child { text-align: right; }
.cenik-mala { font-size: .95rem; }
.cenik-mala tbody th { font-weight: 400; color: var(--ink-soft); }
.cenik-tab .soucet th, .cenik-tab .soucet td { font-weight: 700; color: var(--ink); border-bottom: 0; }
@media (max-width: 860px) { .cenik { padding: 20px; } }
.rozbal { margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-alt); }
.rozbal summary { cursor: pointer; list-style: none; padding: 12px 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rozbal summary::-webkit-details-marker { display: none; }
.rozbal summary::after { content: ""; flex: 0 0 9px; height: 9px; border-right: 2px solid #b07f00; border-bottom: 2px solid #b07f00; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.rozbal[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.rozbal summary:hover { color: #b07f00; }
.rozbal-obsah { padding: 0 16px 8px; }
.cenik-pozn { margin: 20px 0 0; font-size: .92rem; color: var(--ink-soft); }

/* Contact */
.contact { font-style: normal; background: var(--dark-2); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(255,255,255,.08); }
.contact p { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); color: #fff; }
.contact p:last-child { border-bottom: 0; }
.contact span { flex: 0 0 80px; color: #8fa1b5; }
.contact a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-name { font-weight: 800; font-size: 1.15rem; }

/* Footer */
.site-footer { background: #0a121c; color: #8fa1b5; font-size: .9rem; padding: 24px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-inner p { margin: 0; }

/* Pages */
.nav a[aria-current="page"] { opacity: 1; color: var(--accent); }
.page-head { background: radial-gradient(900px 300px at 85% 0%, #22364d 0%, transparent 60%), var(--dark); color: #fff; padding: 48px 0 44px; }
.page-head h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-head .eyebrow { color: var(--accent); }
.card-link { display: inline-block; margin-top: 4px; font-weight: 700; color: #b07f00; text-decoration: none; }
.card-link::after { content: " →"; }
.card-link:hover { text-decoration: underline; }
.umim { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.umim li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 20px; }
.umim strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.umim span { color: var(--ink-soft); font-size: .95rem; }
.cenik + .cenik { margin-top: 24px; }
.cenik a { color: #b07f00; font-weight: 600; }
.map-col a { color: #b07f00; font-weight: 600; }
.varianty-nadpis { margin-top: 24px !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.volba-nadpis { font-weight: 700; margin: 0 0 10px; }
.varianty { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
@media (max-width: 700px) { .varianty { grid-template-columns: 1fr; } }
.varianta { position: relative; display: block; cursor: pointer; border: 2px solid var(--line); border-radius: 10px; padding: 14px 18px 14px 46px; background: #fff; transition: border-color .15s, background .15s; }
.varianta::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9aa7b4; background: #fff; box-sizing: border-box; }
.varianta:hover { border-color: #c9d2dc; }
.varianta strong { display: block; margin-bottom: 2px; }
.varianta span { display: block; color: var(--ink-soft); font-size: .93rem; }
#v-eko:checked ~ .varianty .varianta-eko, #v-komfort:checked ~ .varianty .varianta-komfort { border-color: var(--accent); background: #fffaeb; }
#v-eko:checked ~ .varianty .varianta-eko::before, #v-komfort:checked ~ .varianty .varianta-komfort::before { border: 5px solid var(--accent); }
#v-eko:focus-visible ~ .varianty .varianta-eko, #v-komfort:focus-visible ~ .varianty .varianta-komfort { outline: 3px solid #2b6cb0; outline-offset: 2px; }
.c-komfort { display: none; }
#v-komfort:checked ~ .cenik-tab .c-eko { display: none; }
#v-komfort:checked ~ .cenik-tab .c-komfort { display: inline; }
.volba-pozn { margin: 10px 0 0; font-size: .9rem; color: var(--ink-soft); }
.cenik-tab td strong { white-space: nowrap; }
.vyrobce { margin: 0; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--bg-alt); border-radius: 0 8px 8px 0; color: var(--ink-soft); }
.vyrobce strong { color: var(--ink); }
.nw { white-space: nowrap; }
