:root { --papir: #F1EFEA; --plocha: #FAF9F6; --ink: #1F2022; --uhel: #2D2E30; --text-2: #5E5B55; --linka: #CFCABE; --okr: #D4B783; --okr-text: #8C6B2F; --noc: #101114; --noc-2: #1A1B1F; --noc-t: #B9B5AA;
  --nadpis: "Barlow Condensed", "Barlow", sans-serif; --pismo: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
* { box-sizing: border-box; }
html { background: var(--papir); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papir); color: var(--ink); font: 400 18px/1.5 var(--pismo); overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--nadpis); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin: 0; }
h2 { font-size: clamp(40px, 6.4vw, 92px); line-height: .96; }
.mono, .stitek { font-family: var(--mono); font-size: 13px; }
.stitek { margin: 0 0 14px; color: var(--okr-text); letter-spacing: .02em; }
.uvodka { max-width: 40em; color: var(--text-2); font-size: 20px; margin: 18px 0 0; }
.sirka { width: min(1320px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.tl { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; background: var(--uhel); color: #fff; font: 600 19px var(--pismo); text-decoration: none; border-radius: 4px; transition: background .2s; }
.tl:hover { background: #000; }

.nav { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 48px); color: var(--ink); transition: color .3s; pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav.tmava { color: #fff; }
.nav.pas { background: rgba(241,239,234,.94); }
.nav.pas.tmava { background: rgba(16,17,20,.9); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px var(--nadpis); letter-spacing: .08em; text-transform: uppercase; }
.logo b { display: grid; place-items: center; width: 30px; height: 30px; border: 3px solid currentColor; font-size: 17px; letter-spacing: 0; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 16px; }
.nav nav a { text-decoration: none; }
.nav-cta { padding: 9px 14px; border: 2px solid currentColor; font-weight: 600; }

/* Příběh */
.pribeh { height: 900vh; height: 900svh; position: relative; }
.scena { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--papir); }
.scena::before { content: ""; position: absolute; inset: 0; background: var(--noc); opacity: var(--tma, 0); }
.ram::after { content: ""; }
.ram { position: absolute; inset: 0; z-index: 0; }
.krok, .kota { z-index: 1; }
.ram canvas, .ram img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ram img { object-fit: cover; }
.ram .zaloha { display: none; }
.bez-gl .ram .zaloha { display: block; }
.bez-gl canvas { display: none; }
.render { clip-path: inset(0 100% 0 0); }
.sken { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--okr); box-shadow: 0 0 34px 8px rgba(212,183,131,.65); opacity: 0; }
.rohy { position: absolute; inset: 7%; opacity: 0; pointer-events: none; }
.rohy span { position: absolute; width: 34px; height: 34px; border: 0 solid var(--uhel); }
.rohy span:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; } .rohy span:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; }
.rohy span:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; } .rohy span:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; }
.rohy p { position: absolute; right: 0; bottom: -26px; margin: 0; font: 13px var(--mono); color: var(--text-2); }
.spendlik { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; opacity: 0; will-change: transform; pointer-events: none; }
.spendlik b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; color: #fff; font: 700 15px var(--pismo); box-shadow: 0 3px 12px rgba(0,0,0,.3); transform: translate(-17px, 0); }
.spendlik span { margin-left: -14px; padding: 5px 10px; background: var(--plocha); border: 2px solid var(--uhel); font: 500 14px var(--pismo); white-space: nowrap; }

.krok { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 92px; width: min(520px, calc(100% - 32px)); padding: 24px 26px; background: rgba(250,249,246,.93); border: 3px solid var(--uhel); opacity: 0; visibility: hidden; transform: translateY(16px); }
.krok h2 { font-size: clamp(34px, 4.2vw, 58px); }
.jen-m { display: none; }
.krok p:last-child { margin: 12px 0 0; color: var(--text-2); }
.krok.tma { background: rgba(16,17,20,.72); border-color: var(--okr); color: #fff; }
.krok.tma p:last-child { color: var(--noc-t); }
.krok.tma .stitek { color: var(--okr); }
.hero { top: 0; bottom: auto; padding: clamp(84px, 13vh, 130px) 0 0; pointer-events: none; background: none; border: 0; width: min(46vw, 760px); }
.hero h1 { font-size: clamp(50px, min(7.4vw, 12.5vh), 120px); line-height: .92; }
.hero em { font-style: normal; color: var(--okr-text); }
.hero .uvodka { max-width: 30em; }
.hero .tl { pointer-events: auto; }
.tlacitka { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 24px; }
.hero p.mono, .tlacitka .mono { color: var(--text-2); }
.kota { position: absolute; left: clamp(16px, 4vw, 48px); right: clamp(16px, 4vw, 48px); bottom: 26px; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 8px; border-top: 1px solid currentColor; color: var(--text-2); font: 12px var(--mono); }
.kota i { position: absolute; left: 0; top: -2px; height: 3px; width: 0; background: var(--okr-text); }
.kota span { border-left: 1px solid currentColor; padding-left: 6px; }

/* Tmavé části */
.tma-sekce { background: var(--noc); color: #fff; padding: clamp(70px, 11vh, 130px) 0; }
.tma-sekce .uvodka { color: var(--noc-t); }
.tma-sekce .stitek { color: var(--okr); }
.srovnani { position: relative; width: min(1500px, 100%, 128vh); margin: 44px auto 0; aspect-ratio: 3 / 2; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; --x: 50%; }
.srovnani img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.srovnani-model { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.srovnani-uchop { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: var(--okr); }
.srovnani-uchop b { position: absolute; top: 50%; left: -23px; margin-top: -23px; width: 48px; height: 48px; border-radius: 50%; background: var(--okr); }
.srovnani-uchop b::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font: 700 20px var(--pismo); }
.srovnani:focus-visible { outline: 3px solid var(--okr); }
.pop { position: absolute; bottom: 12px; padding: 4px 9px; background: rgba(16,17,20,.75); font: 13px var(--mono); color: #fff; }
.pop.l { left: 12px; } .pop.p { right: 12px; }
.nalady { padding-top: 0; }
.nalady-tl { display: flex; gap: 6px; margin-top: 26px; overflow-x: auto; scrollbar-width: none; }
.nalady-tl::-webkit-scrollbar { display: none; }
.nalady-tl button { flex: none; min-height: 46px; padding: 0 16px; background: none; border: 1px solid #55565A; color: #fff; font: 500 16px var(--pismo); cursor: pointer; }
.nalady-tl button[aria-selected=true] { background: var(--okr); border-color: var(--okr); color: var(--ink); }
.nalada { width: min(1500px, 100%, 128vh); margin: 22px auto 0; aspect-ratio: 3 / 2; overflow: hidden; }
.nalada img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }
.video { position: relative; height: 100vh; height: 100svh; background: var(--noc); color: #fff; overflow: hidden; }
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.video-text { position: absolute; z-index: 1; left: clamp(16px, 4vw, 48px); right: 16px; bottom: clamp(28px, 7vh, 72px); max-width: 720px; }
.video-text .stitek { color: var(--okr); }
.video-text p:last-child { margin: 12px 0 0; color: #DDD9CF; }

/* Papír */
.papir { padding: clamp(70px, 11vh, 130px) 0 0; }
.spek { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; }
.spek article { padding: 22px 20px 26px 0; border-top: 3px solid var(--uhel); margin-right: 18px; }
.spek h3 { font-size: 30px; line-height: 1; margin: 10px 0 8px; }
.spek p { margin: 0; color: var(--text-2); font-size: 17px; }
.spek .mono { color: var(--okr-text); }
.tabulka { width: 100%; margin-top: 36px; border-collapse: collapse; border-top: 3px solid var(--uhel); }
.tabulka th, .tabulka td { padding: 15px 14px 15px 0; text-align: left; border-bottom: 1px solid var(--linka); vertical-align: top; }
.tabulka thead th { font: 500 13px var(--mono); color: var(--text-2); }
.tabulka tbody th { font-weight: 600; width: 34%; }
.tabulka td:nth-child(2) { color: var(--text-2); }
.tabulka td:nth-child(3) { font-weight: 600; }
.pozn { color: var(--text-2); margin: 16px 0 0; }
.plany { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.plany article { padding: 24px; background: var(--plocha); border: 3px solid var(--uhel); }
.plany .hlavni { background: var(--uhel); color: #fff; }
.plany .hlavni .mono, .plany .hlavni p { color: #D9D5CB; }
.plany h3 { font-size: 32px; }
.cena { font: 700 58px/1 var(--nadpis); margin-top: 10px; }
.plany p { margin: 8px 0 0; color: var(--text-2); font-size: 17px; }
.zaver { margin-top: clamp(70px, 11vh, 130px); padding: clamp(70px, 12vh, 140px) clamp(16px, 4vw, 48px); background: var(--noc); color: #fff; text-align: center; }
.zaver p { color: var(--noc-t); margin: 16px 0 26px; font-size: 20px; }
.zaver .tl { background: var(--okr); color: var(--ink); }
.pata { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 22px clamp(16px, 4vw, 48px); background: var(--noc); color: var(--noc-t); border-top: 1px solid #333; font-size: 14px; }
.pata span { margin-right: auto; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .nav { padding: 10px 16px; }
  .pribeh { height: 800svh; }
  /* Na výšku je rám nahoře a text pod ním */
  .ram { inset: auto 0 50px; height: min(100vw, 52svh); }
  .rohy { inset: 5%; }
  .spendlik span { display: none; }
  .spendlik b { width: 28px; height: 28px; font-size: 13px; transform: translate(-14px, 0); }
  .jen-m { display: block !important; }
  .krok { left: 16px; right: 16px; width: auto; top: 60px; bottom: auto; padding: 12px 14px; }
  .krok h2 { font-size: 30px; }
  .krok .stitek { margin-bottom: 6px; }
  .krok p:last-child { font-size: 15.5px; line-height: 1.4; margin-top: 6px; }
  .hero { top: 0; bottom: auto; left: 16px; right: 16px; width: auto; padding: 66px 0 0; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 76px); }
  .hero .uvodka { font-size: 17px; margin-top: 10px; }
  .tlacitka { margin-top: 14px; }
  .tl { min-height: 48px; padding: 0 20px; font-size: 17px; }
  .kota { font-size: 10.5px; bottom: 16px; left: 16px; right: 16px; }
  .spek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plany { grid-template-columns: 1fr; }
  .uvodka { font-size: 18px; }
  .srovnani, .nalada { aspect-ratio: 5 / 4; }
}
@media (max-width: 560px) {
  .spek { grid-template-columns: 1fr; }
  .spek article { margin-right: 0; }
  .tabulka th, .tabulka td { font-size: 15px; padding-right: 8px; }
  .tabulka tbody th { width: 30%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Programy a časté otázky */
.loga { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; padding: 0; list-style: none; border-top: 3px solid var(--uhel); }
.loga li { display: grid; justify-items: start; gap: 6px; padding: 22px 12px 22px 0; }
.loga svg { width: 44px; height: 44px; fill: var(--ink); margin-bottom: 8px; }
.loga b { font: 700 27px/1 var(--nadpis, inherit); }
.loga .mono { color: var(--okr-text); font-size: 13px; }
.programy .pozn { margin-top: 12px; color: var(--text-2); font-size: 13px; }
.faq { margin-top: 36px; border-top: 3px solid var(--uhel); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--linka); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 22px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 28px; line-height: 1; color: var(--okr-text); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 22px; max-width: 760px; color: var(--text-2); font-size: 18px; }
@media (max-width: 900px) { .loga { grid-template-columns: repeat(2, minmax(0, 1fr)); } .loga b { font-size: 24px; } .faq summary { font-size: 19px; } }

/* Interiéry */
.interiery { padding-top: clamp(70px, 11vh, 130px); }
.interiery .nalady-tl { margin-top: 26px; }
.int-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.int-body article { border-top: 3px solid var(--okr); padding-top: 14px; }
.int-body h3 { font-size: 27px; line-height: 1; margin-bottom: 8px; }
.int-body p { margin: 0; font-size: 17px; color: var(--noc-t, #B9B5AA); }
.int-pozn { margin-top: 26px; padding-bottom: 60px; opacity: .75; }
@media (max-width: 900px) { .int-body { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .int-body { grid-template-columns: minmax(0, 1fr); } }

.nav-burger { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; place-items: center; border: 0; background: none; color: inherit; cursor: pointer; }
.nav-burger svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 900px) {
  .nav-burger { display: grid; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 16px; background: var(--papir); color: var(--ink); border-bottom: 3px solid var(--uhel); font-size: 20px; }
  .nav.otevrene nav { display: flex; }
  .nav.otevrene, .nav.otevrene.tmava, .nav.otevrene.pas { background: var(--papir); color: var(--ink); }
  .nav nav a { padding: 14px 0; border-bottom: 1px solid var(--linka); }
  .nav nav .nav-cta { margin-top: 14px; padding: 14px 16px; border: 0; background: var(--uhel); color: #fff; text-align: center; }
}
.loga a.mono { color: var(--okr-text); font-size: 13px; }
