/* Ověřený výkup — design systém (docs/VYKUP-PORTAL.md, «Dizajn»). Krémový papír, inkoust, tři hravé barvy, tenké linky. */
:root {
  --krem: #FBF7EC; --papir: #FFFDF8; --ink: #17150F; --ink2: #4B473D; --ink3: #6E695C; --linka: #17150F;
  --lila: #CDB8FF; --lila2: #EEE6FF; --zelena: #22C55E; --zelena-t: #0E7A37; --zelena2: #D2F6DD;
  --oranz: #FF6A3D; --oranz2: #FFDCCF; --zluta: #FFD84D; --zluta2: #FFF2BF; --modra: #A8DCFF; --modra2: #E1F3FF;
  --r: 22px; --r-s: 14px; --stin: 4px 4px 0 var(--ink);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; --serif: 'Instrument Serif', Georgia, serif;
  --max: 1200px; --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--krem); color: var(--ink); font: 400 17px/1.6 var(--font); font-variation-settings: 'wdth' 100; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--oranz); }
:focus-visible { outline: 3px solid var(--oranz); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.6vw, 88px); font-weight: 850; font-variation-settings: 'wdth' 92; letter-spacing: -.035em; line-height: .98; }
h2 { font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; font-variation-settings: 'wdth' 92; }
h3 { font-size: 21px; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; font-variation-settings: normal; }
mark { background: var(--lila); color: inherit; padding: 0 .16em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
  background-image: linear-gradient(var(--lila), var(--lila)); background-repeat: no-repeat; background-size: 100% 100%; }
h1 mark { background-color: transparent; animation: plaska .9s .25s cubic-bezier(.2,.8,.2,1) both; background-size: 0 100%; padding: 0 .12em; }
@keyframes plaska { to { background-size: 100% 100%; } }
.obal { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sr, .preskocit:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.preskocit:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--papir); padding: 8px 14px; border: 2px solid var(--ink); border-radius: 10px; }
.stitek { display: inline-block; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.drobne { font-size: 14px; color: var(--ink2); }

/* demo */
.demo-pruh { margin: 0; padding: 6px 16px; background: var(--ink); color: var(--zluta); font-size: 13px; text-align: center; }
.demo-stitek { display: inline-block; background: var(--zluta); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 6px; padding: 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; vertical-align: middle; }

/* tlačítka */
.btn { --bg: var(--papir); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--bg); color: var(--ink); font: 700 16px/1.1 var(--font); text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.btn.hlavni { --bg: var(--zelena); }
.btn.obrys { --bg: transparent; }
.btn.sirka { width: 100%; }
.btn span[aria-hidden] { transition: transform .18s; }
@media (hover: hover) { .btn:hover { transform: translate(-2px, -2px); box-shadow: var(--stin); } .btn:hover span[aria-hidden] { transform: translateX(4px); } }
.btn:active { transform: translate(0, 0); box-shadow: none; }

/* hlavička */
.hlavicka { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--krem) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.hlavicka.posunuto { border-bottom-color: var(--ink); }
.hlavicka-obal { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 900; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: 21px; letter-spacing: -.03em; line-height: 1; }
.logo svg { width: 30px; height: 30px; }
.logo-dum { fill: var(--zelena); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.logo-fajfka { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.menu { margin-left: auto; }
.menu-seznam { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu-seznam > li { position: relative; }
.menu-seznam a { display: block; padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15.5px; }
.menu-seznam > li > a:hover, .menu-seznam a[aria-current] { background: var(--lila2); }
.menu-seznam ul { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: var(--papir); border: 1.5px solid var(--ink); border-radius: var(--r-s); box-shadow: var(--stin);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.menu-seznam li:hover > ul, .menu-seznam li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.menu-seznam ul a { padding: 9px 12px; border-radius: 10px; }
.menu-seznam ul a:hover { background: var(--krem); }
.hlavicka-cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu-tl { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: var(--papir); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-tl > span:not(.sr) { width: 18px; height: 2px; background: var(--ink); transition: .2s; }
.menu-tl[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-tl[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobil-menu { padding: 8px var(--gut) 20px; border-top: 1.5px solid var(--ink); background: var(--krem); max-height: calc(100dvh - 72px); overflow: auto; }
.mobil-menu .menu-seznam { flex-direction: column; }
.mobil-menu .menu-seznam ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; background: none; min-width: 0; }
.mobil-menu .menu-seznam > li > a { font-size: 19px; font-weight: 750; }

/* drobky */
.drobky ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; font-size: 14px; color: var(--ink2); }
.drobky li + li::before { content: '/'; margin-right: 6px; color: var(--ink3); }

/* ilustrace */
.ilu { width: 100%; height: auto; overflow: visible; }
.ilu * { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.ilu .f { fill: var(--c, var(--lila)); } .ilu .f2 { fill: var(--c2, var(--zelena2)); } .ilu .w { fill: var(--papir); } .ilu .t { fill: var(--ink); }
.ilu .txt { fill: var(--ink); stroke: none; font: 900 34px var(--font); }
.c-lila { --c: var(--lila); --c2: var(--zelena2); --bgc: var(--lila2); }
.c-zelena { --c: var(--zelena); --c2: var(--zluta2); --bgc: var(--zelena2); }
.c-zluta { --c: var(--zluta); --c2: var(--zelena2); --bgc: var(--zluta2); }
.c-oranz { --c: var(--oranz); --c2: var(--zluta); --bgc: var(--oranz2); }
.c-modra { --c: var(--modra); --c2: var(--zelena2); --bgc: var(--modra2); }
.c-krem { --c: var(--lila); --bgc: var(--papir); }

/* úvod — domov: oblouk karet (ref. AI photos) + velký nadpis s plaškou (ref. Focal) */
.uvod-home { position: relative; text-align: center; padding: 0 var(--gut) 40px; overflow-x: clip; }
.oblouk { --R: 1100px; --step: 9.5deg; --off: 0deg; --w: 150px; position: relative; height: 290px; margin: 0 auto; pointer-events: none; touch-action: pan-y; }
.oblouk-hero { height: 540px; margin: 8px auto -298px; /* karty pokračují pod nadpis; nadpis leží nad nimi */
  --mx: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); --my: linear-gradient(180deg, #000 0, #000 46%, transparent 94%);
  -webkit-mask-image: var(--mx), var(--my); mask-image: var(--mx), var(--my); -webkit-mask-composite: source-in; mask-composite: intersect; }
.oblouk .karta { --a: calc((var(--i) - (var(--n) - 1) / 2) * var(--step) + var(--off)); position: absolute; left: 50%; top: 34px; width: var(--w); aspect-ratio: 4 / 5; margin-left: calc(var(--w) / -2);
  transform-origin: 50% var(--R); transform: rotate(var(--a)); background: var(--bgc); border: 2px solid var(--ink); border-radius: var(--r); padding: 14px 12px 12px;
  display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; pointer-events: auto; box-shadow: 0 10px 30px -14px rgb(23 21 15 / .4);
  transition: box-shadow .2s, background .2s; will-change: transform; animation: vjezd .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
.oblouk .karta span { font-weight: 750; font-size: 15px; line-height: 1.15; text-align: left; }
.oblouk .karta:hover { box-shadow: var(--stin); background: var(--c); }
@keyframes vjezd { from { opacity: 0; translate: 0 60px; } }
.uvod-stred { position: relative; max-width: 980px; margin: -48px auto 0; }
.uvod-home .stitek { display: none; }
.uvod-home h1 { font-size: clamp(42px, 7.4vw, 104px); }
.perex { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 680px; margin: 0 auto 26px; }
.fakta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 30px auto 0; max-width: 820px; }
.fakta li { display: grid; justify-items: center; gap: 2px; padding: 4px 12px; text-align: center; }
.fakta li + li { border-left: 1.5px solid rgb(23 21 15 / .16); }
.fakta strong { font-size: 26px; font-weight: 850; letter-spacing: -.02em; line-height: 1.1; }
.fakta span { color: var(--ink2); font-size: 14.5px; }

/* kalkulačka */
.kalk { text-align: left; background: var(--papir); border: 2px solid var(--ink); border-radius: var(--r); padding: 16px; box-shadow: 0 24px 50px -30px rgb(23 21 15 / .45); }
.kalk-typy { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.kalk fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.dlaz { position: relative; display: block; }
.dlaz input { position: absolute; opacity: 0; pointer-events: none; }
.dlaz-t { display: grid; justify-items: center; align-content: space-between; gap: 8px; height: 100%; padding: 12px 6px 10px; border: 1.5px solid rgb(23 21 15 / .22); border-radius: 16px; background: var(--papir); cursor: pointer; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.dlaz-t .ilu { width: 88%; max-width: 104px; }
.dlaz-t b { display: grid; align-items: center; min-height: 2.3em; font-size: 14px; font-weight: 700; line-height: 1.15; text-align: center; }
.dlaz-t:hover { border-color: var(--ink); transform: translateY(-2px); }
.dlaz input:checked + .dlaz-t { background: var(--bgc); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); transform: translateY(-2px); }
.dlaz input:focus-visible + .dlaz-t { outline: 3px solid var(--oranz); outline-offset: 2px; }
.kalk-pole { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.kalk-bar { max-width: 760px; margin-inline: auto; padding: 22px clamp(16px, 3vw, 30px) 26px; border-width: 1.5px; border-radius: 26px; display: grid; gap: 18px; overflow: hidden; }
.kalk-bar .kalk-pole { grid-template-columns: 1.3fr .8fr 1.3fr; gap: 14px; }
.kalk-bar .kalk-pole select, .kalk-bar .kalk-pole input { min-height: 56px; font-size: 17px; border-radius: 14px; }
.kalk-bar .kalk-pole select { background-position: calc(100% - 24px) 25px, calc(100% - 18px) 25px; }
.kalk-bar label > span:first-child { font-size: 14px; }
.krok-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; float: none; }
legend.krok-h { float: left; width: 100%; } legend.krok-h + * { clear: both; }
.krok-h i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--papir); font: 800 14px/1 var(--font); font-style: normal; }
.krok-3 { display: grid; justify-items: center; gap: 10px; }
.krok-3 .krok-h { display: none; }
.btn.velke { min-height: 64px; width: min(100%, 420px); justify-content: center; font-size: 19px; padding-inline: 32px; }
.kalk-jemne { margin: 0; font-size: 14px; color: var(--ink3); }
.kalk label > span:first-child, .formular label { font-size: 13px; font-weight: 700; color: var(--ink2); letter-spacing: .02em; }
.kalk label { display: grid; gap: 4px; }
select, input, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--krem); color: var(--ink); font: 500 16px/1.3 var(--font); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 96px; resize: vertical; }
.m2 { position: relative; display: block; } .m2 input { padding-right: 48px; -moz-appearance: textfield; appearance: textfield; } .m2 input::-webkit-outer-spin-button, .m2 input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .m2 i { position: absolute; right: 16px; top: 50%; translate: 0 -50%; font-style: normal; color: var(--ink2); pointer-events: none; }
.kalk-vysledek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; animation: rozbal .45s cubic-bezier(.2,.8,.2,1); }
@keyframes rozbal { from { opacity: 0; translate: 0 -8px; } }
.vys { padding: 14px; border-radius: var(--r-s); background: var(--krem); border: 1.5px solid var(--ink); display: grid; gap: 2px; align-content: start; }
.vys span { font-size: 13px; color: var(--ink2); font-weight: 600; }
.vys strong { font-size: 21px; font-weight: 850; letter-spacing: -.02em; line-height: 1.15; font-variation-settings: 'wdth' 90; }
.vys em { font-style: normal; font-size: 13px; font-weight: 700; }
.vys-vykup { background: var(--zelena2); } .vys-rk { background: var(--lila2); }
.kalk-pozn { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink2); margin: 4px 0 0; }
.kalk-vysledek .btn { grid-column: 1 / -1; }
.blok-kalk { margin: 28px 0; }

/* úvod — podstránky */
.uvod:not(.uvod-home) { max-width: var(--max); margin: 0 auto; padding: 26px var(--gut) 48px; display: grid; gap: 40px; align-items: center; }
.uvod.ma-bok { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.uvod > *, .clanek-mrizka > *, .kalk-pole > * { min-width: 0; }
.uvod:not(.uvod-home) h1 { font-size: clamp(38px, 5.4vw, 72px); }
.uvod:not(.uvod-home) .perex { margin: 0 0 22px; }
.uvod:not(.uvod-home) .fakta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 28px; max-width: none; margin: 0 0 22px; }
.uvod:not(.uvod-home) .fakta li { display: flex; align-items: baseline; gap: 8px; padding: 0; border: 0; text-align: left; }
.uvod:not(.uvod-home) .fakta strong { font-size: 19px; } .uvod:not(.uvod-home) .fakta span { font-size: 15px; }
.uvod-bok .kalk-typy, .blok-kalk .kalk-typy { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.uvod-bok .kalk-pole { grid-template-columns: 1fr 1fr; }
.uvod-bok .kalk-vysledek { grid-template-columns: 1fr; }
.uvod-ilu { background: var(--bgc); border: 2px solid var(--ink); border-radius: 32px; padding: 30px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.uvod-ilu .ilu { max-width: 360px; animation: vznaset 6s ease-in-out infinite; }
.meta-clanku { font-size: 14px; color: var(--ink2); }
@keyframes vznaset { 50% { translate: 0 -8px; } }

/* sekce domova */
.hlava-sekce { max-width: 760px; margin-bottom: 32px; }
.hlava-sekce p:not(.stitek) { color: var(--ink2); font-size: 18px; }
section { scroll-margin-top: 90px; }
.duvera { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(70px, 9vw, 120px); margin-bottom: 90px; border-block: 1.5px solid var(--ink); }
.duvera > div { padding: 22px 20px; display: grid; gap: 4px; }
.duvera > div + div { border-left: 1.5px solid var(--ink); }
.duvera strong { font-size: 20px; font-weight: 850; letter-spacing: -.02em; }
.duvera span { color: var(--ink2); font-size: 15px; }

/* rozsyp předmětů (ref. snew) */
.rozsyp { position: relative; padding: 110px var(--gut); margin-bottom: 70px; overflow: hidden; background: var(--papir); border-block: 1.5px solid var(--ink); }
.rozsyp-stred { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; text-align: center; }
.rozsyp-stred p:not(.stitek) { color: var(--ink2); font-size: 18px; }
.tlacitka { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.tlacitka .btn { min-height: 44px; padding: 9px 16px; font-size: 15px; background: var(--papir); }
.rozsyp-predmety { position: absolute; inset: 0; }
.predmet { position: absolute; width: clamp(110px, 13vw, 170px); padding: 12px; background: var(--bgc); border: 2px solid var(--ink); border-radius: 26px; rotate: var(--rot, 0deg); animation: plovat 7s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.predmet:nth-child(1) { left: 4%; top: 8%; --rot: -9deg; } .predmet:nth-child(2) { left: 14%; top: 56%; --rot: 7deg; }
.predmet:nth-child(3) { left: 2%; bottom: 4%; --rot: -4deg; width: 120px; } .predmet:nth-child(4) { right: 5%; top: 6%; --rot: 8deg; }
.predmet:nth-child(5) { right: 15%; top: 52%; --rot: -8deg; } .predmet:nth-child(6) { right: 2%; bottom: 3%; --rot: 5deg; width: 120px; }
.predmet:nth-child(7) { left: 27%; top: 3%; --rot: 4deg; width: 100px; } .predmet:nth-child(8) { right: 28%; bottom: 3%; --rot: -6deg; width: 100px; }
@keyframes plovat { 50% { translate: 0 -12px; } }

/* postup s vlnkou (ref. Spark Kids) */
.postup { position: relative; margin-bottom: 100px; }
.vlnka { position: absolute; left: 0; right: 0; top: 150px; width: 100%; height: 120px; z-index: -1; }
.vlnka path { fill: none; stroke: var(--oranz); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 0; }
.kroky { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.postup .kroky { grid-template-columns: repeat(4, 1fr); }
.kroky li { display: flex; gap: 14px; align-items: flex-start; background: var(--papir); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 20px; }
.postup .kroky li { flex-direction: column; min-height: 230px; }
.postup .kroky li:nth-child(1) { background: var(--lila2); } .postup .kroky li:nth-child(2) { background: var(--zluta2); }
.postup .kroky li:nth-child(3) { background: var(--zelena2); } .postup .kroky li:nth-child(4) { background: var(--oranz2); }
.kroky-c { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--papir); font-weight: 850; font-size: 19px; }
.kroky h3 { margin: 0 0 6px; } .kroky p { margin: 0; color: var(--ink2); font-size: 16px; }

/* tabulky */
.tabulka { margin: 26px 0; }
.tabulka-obal { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: var(--r-s); background: var(--papir); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgb(23 21 15 / .14); vertical-align: top; }
thead th { background: var(--ink); color: var(--papir); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
tbody th { font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: var(--krem); }
figcaption { font-size: 13.5px; color: var(--ink2); margin-top: 8px; }
.srovnani-uvod, .procenta, .pruvodce-uvod, .kraje { margin-bottom: 100px; }

/* situace — barevné bloky */
.situace-blok { background: var(--lila); border-block: 1.5px solid var(--ink); padding: 90px 0; margin-bottom: 100px; }
.situace-blok .hlava-sekce p:not(.stitek) { color: var(--ink); }
.situace-mriz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sit { position: relative; display: grid; gap: 8px; align-content: start; background: var(--papir); border: 2px solid var(--ink); border-radius: var(--r); padding: 18px 18px 54px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.sit .ilu { width: 70%; margin-bottom: 4px; }
.sit strong { font-size: 21px; font-weight: 800; line-height: 1.15; }
.sit span { color: var(--ink2); font-size: 15px; }
.sit i { position: absolute; right: 16px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); font-style: normal; transition: .2s; }
@media (hover: hover) { .sit:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: var(--stin); background: var(--bgc); } .sit:hover i { background: var(--ink); color: var(--papir); } }

/* galerie obchodů */
.galerie { margin-bottom: 100px; }
.pas { display: flex; gap: 20px; overflow-x: auto; padding: 20px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 34px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; perspective: 1200px; }
.pas::-webkit-scrollbar { display: none; }
.pas.tahne { cursor: grabbing; scroll-snap-type: none; }
.obchod { position: relative; flex: none; width: 290px; scroll-snap-align: center; background: var(--papir); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; transform: translateY(var(--ty, 0px)) rotateY(var(--ry, 0deg)) rotate(var(--rz, 0deg)) scale(var(--s, 1)); z-index: var(--z, 0); transition: transform .12s linear; }
.obchod .obchod-ilu, .obchod img { background: var(--bgc); border-bottom: 2px solid var(--ink); padding: 18px 26px 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.obchod > div { padding: 16px 18px 18px; }
.obchod h3 { margin: 0 0 2px; } .obchod p { font-size: 14.5px; color: var(--ink2); margin: 0 0 12px; }
.obchod dl { display: flex; gap: 10px; margin: 0; }
.obchod dl div { flex: 1; background: var(--krem); border-radius: 12px; padding: 8px 12px; border: 1.5px solid var(--ink); }
.obchod dt { font-size: 12px; color: var(--ink2); font-weight: 700; } .obchod dd { margin: 0; font-size: 24px; font-weight: 850; }
.demo-roh { position: absolute; top: 12px; right: 12px; background: var(--zluta); border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* průvodce, kraje */
.clanky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.clanek-karta { display: grid; gap: 6px; align-content: start; padding: 22px; background: var(--papir); border: 1.5px solid var(--ink); border-radius: var(--r); text-decoration: none; transition: .2s; min-height: 190px; }
.clanek-karta strong { font-size: 21px; font-weight: 800; line-height: 1.2; }
.clanek-karta span:last-child { color: var(--ink2); font-size: 15px; }
.clanek-karta .stitek { margin: 0; font-size: 12px; }
@media (hover: hover) { .clanek-karta:hover { background: var(--zluta2); transform: translateY(-3px); box-shadow: var(--stin); } }
.kraje-seznam { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kraje-seznam li > * { display: inline-flex; gap: 6px; align-items: baseline; padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--papir); }
.kraje-seznam a { background: var(--zelena2); }
.kraje-seznam small { font-weight: 500; color: var(--ink2); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto 90px; }
.faq h2 { margin-bottom: 22px; }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 50px 20px 0; position: relative; font-weight: 750; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 22px; transition: .2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--zluta); }
.faq details p { color: var(--ink2); padding-right: 40px; }
.text .faq { margin: 50px 0; }

/* formulář */
.nabidka { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; margin: 40px 0 100px; padding: clamp(24px, 4vw, 52px); background: var(--zelena2); border: 2px solid var(--ink); border-radius: 32px; position: relative; overflow: hidden; }
.nabidka::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--zluta); border: 2px solid var(--ink); z-index: 0; }
.nabidka > * { position: relative; z-index: 1; }
.nabidka h2 { font-size: clamp(30px, 3.8vw, 48px); }
.fajfky { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fajfky li { position: relative; padding-left: 34px; }
.fajfky li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%2322C55E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--papir); border: 2px solid var(--ink); border-radius: var(--r); padding: 20px; }
.formular label { display: grid; gap: 4px; }
.formular .cela, .formular .btn, .formular .drobne { grid-column: 1 / -1; }
.formular small { font-weight: 500; color: var(--ink3); }
.formular input, .formular select, .formular textarea { background: var(--krem); }
.souhlas { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--ink) !important; font-size: 14.5px !important; letter-spacing: 0 !important; }
.souhlas input { width: 22px; min-height: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--ink); }
.formular .drobne { margin: 0; }
.formular.odeslano { opacity: .6; pointer-events: none; }

/* článek, money stránky */
.clanek-mrizka { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; margin-top: 10px; }
.clanek-mrizka.bez-boku { grid-template-columns: minmax(0, 820px); justify-content: center; }
.text { font-size: 18px; max-width: 760px; }
.text h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.6em; scroll-margin-top: 90px; }
.text h2:first-child { margin-top: 0; }
.text h3 { margin-top: 1.4em; }
.odpoved { font-size: 20px; line-height: 1.55; padding: 22px 24px; background: var(--papir); border: 1.5px solid var(--ink); border-left: 8px solid var(--zelena); border-radius: var(--r-s); }
.seznam { padding-left: 1.2em; } .seznam li { margin-bottom: .45em; } .seznam li::marker { color: var(--oranz); }
.doklady { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.doklady li { padding: 12px 14px 12px 44px; position: relative; background: var(--papir); border: 1.5px solid var(--ink); border-radius: 12px; font-size: 16px; }
.doklady li::before { content: ''; position: absolute; left: 14px; top: 14px; width: 18px; height: 22px; border: 1.5px solid var(--ink); border-radius: 3px; background: linear-gradient(var(--ink), var(--ink)) 3px 6px / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) 3px 11px / 10px 1.5px no-repeat, var(--zluta2); }
.pozor { margin: 28px 0; padding: 22px 24px; background: var(--oranz2); border: 1.5px solid var(--ink); border-radius: var(--r-s); }
.pozor h3 { margin-top: 0; } .pozor ul { margin: 0; padding-left: 1.2em; } .pozor li { margin-bottom: .4em; }
.tip { margin: 24px 0; padding: 18px 22px; background: var(--modra2); border: 1.5px solid var(--ink); border-radius: var(--r-s); } .tip p { margin: 0; }
.mini-cta { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 32px 0; padding: 20px 22px; background: var(--zluta2); border: 2px solid var(--ink); border-radius: var(--r); }
.mini-cta p { margin: 0; font-size: 17px; } .mini-cta .btn { flex: none; }
.partner { margin: 28px 0; padding: 22px 24px; background: var(--papir); border: 2px dashed var(--ink); border-radius: var(--r); }
.partner h3 { margin: 0 0 8px; } .partner .stitek { margin-bottom: 6px; }
.text .kroky li { background: var(--papir); }
.bok-lepi { position: sticky; top: 96px; display: grid; gap: 16px; }
.obsah { padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: var(--r-s); background: var(--papir); font-size: 15px; }
.obsah p { font-weight: 800; margin-bottom: 8px; } .obsah ol { margin: 0; padding-left: 1.2em; } .obsah li { margin-bottom: 6px; } .obsah a { text-decoration: none; } .obsah a:hover { text-decoration: underline; }
.bok-cta { padding: 20px; background: var(--zelena2); border: 2px solid var(--ink); border-radius: var(--r); font-size: 15.5px; }
.karty { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 22px 0; }
.dlazdice { display: grid; gap: 6px; align-content: start; padding: 18px; background: var(--bgc, var(--papir)); border: 1.5px solid var(--ink); border-radius: var(--r); text-decoration: none; transition: .2s; }
.dlazdice .ilu { width: 56%; margin-bottom: 6px; }
.dlazdice strong { font-size: 18px; line-height: 1.2; } .dlazdice span { font-size: 14.5px; color: var(--ink2); }
@media (hover: hover) { .dlazdice:hover { transform: translateY(-3px); box-shadow: var(--stin); } }
.souvisi { margin: 60px 0 0; }
.data-mesta { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0; }
.data-bod { display: grid; gap: 4px; padding: 18px; background: var(--papir); border: 1.5px solid var(--ink); border-radius: var(--r-s); }
.data-bod span { font-size: 13px; font-weight: 700; color: var(--ink2); text-transform: uppercase; letter-spacing: .05em; }
.data-bod strong { font-size: 24px; font-weight: 850; letter-spacing: -.02em; line-height: 1.15; }
.data-bod small { font-size: 12.5px; color: var(--ink2); }
.data-bod.neovereno { border-style: dashed; } .data-bod.neovereno small b { background: var(--zluta); padding: 0 4px; border-radius: 4px; }

/* patička */
.pata { background: var(--ink); color: var(--krem); padding: 60px 0 120px; }
.pata a { color: var(--krem); }
.pata .logo-fajfka { stroke: var(--ink); }
.pata-mriz { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; gap: 36px; font-size: 15px; }
.pata-mriz p { color: #D9D3C3; } .pata .drobne { color: #BEB7A6; }
.pata ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pata ul a { text-decoration: none; } .pata ul a:hover { text-decoration: underline; }
.pata-h { font-weight: 800; color: var(--krem) !important; margin-bottom: 12px; }
.pata .demo-stitek { color: var(--ink); }

/* lepicí lišta (mobil) */
.lista { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: none; gap: 8px; padding: 8px; background: var(--papir); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 10px 30px -10px rgb(23 21 15 / .5);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.lista.vidět, .lista.videt { transform: none; }
.lista .btn { flex: 1; min-height: 48px; padding: 10px 14px; font-size: 15.5px; }
.lista .btn.obrys { flex: 0 0 auto; }

/* poděkování */
.k-legal .uvod { padding-bottom: 20px; }

/* pohyb: poutání bloků při posunu (jen kde prohlížeč umí; bez JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hlava-sekce, .kroky li, .sit, .clanek-karta, .tabulka, .nabidka, .dlazdice, .data-bod, .duvera > div { animation: objevit linear forwards; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .vlnka path { stroke-dashoffset: 1600; animation: kreslit linear forwards; animation-timeline: view(); animation-range: entry 10% cover 55%; }
    .predmet { animation: plovat 7s ease-in-out infinite, rozptyl linear both; animation-timeline: auto, view(); animation-range: normal, entry 0% exit 100%; }
  }
}
@keyframes objevit { from { opacity: 0; translate: 0 26px; } }
@keyframes kreslit { to { stroke-dashoffset: 0; } }
@keyframes rozptyl { from { transform: translateY(40px) scale(.92); } to { transform: translateY(-40px) scale(1.04); } }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* responzivita */
@media (max-width: 1080px) {
  .menu, .hlavicka-cta { display: none; }
  .menu-tl { display: flex; }
  .postup .kroky, .situace-mriz { grid-template-columns: 1fr 1fr; }
  .duvera { grid-template-columns: 1fr 1fr; } .duvera > div:nth-child(3) { border-left: 0; } .duvera > div:nth-child(n+3) { border-top: 1.5px solid var(--ink); }
  .clanek-mrizka { grid-template-columns: 1fr; } .bok { display: none; }
  .pata-mriz { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .uvod.ma-bok { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .nabidka { grid-template-columns: 1fr; gap: 24px; }
  .clanky { grid-template-columns: 1fr; }
  .lista { display: flex; }
  .kalk-bar .kalk-pole { grid-template-columns: 1fr 1fr; }
  .kalk-bar .kalk-pole > label:first-child { grid-column: 1 / -1; }
  .kalk-typy { grid-template-columns: repeat(4, 1fr); }
  .kalk-vysledek { grid-template-columns: 1fr; }
  .vys { grid-template-columns: 1fr; padding: 10px 14px; }
  .vys strong { font-size: 20px; }
  .vlnka { display: none; }
  .postup .kroky li { min-height: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hlavicka-obal { min-height: 62px; }
  .logo { font-size: 18px; } .logo svg { width: 26px; height: 26px; }
  .oblouk { --R: 520px; --step: 15deg; --w: 92px; height: 158px; }
  .oblouk-hero { height: 270px; margin-bottom: -138px; }
  .oblouk .karta { top: 14px; padding: 8px 7px 7px; border-radius: 16px; }
  .oblouk .karta span { font-size: 11.5px; }
  .uvod-stred { margin-top: -26px; }
  .uvod-home { padding-bottom: 24px; }
  .uvod-home .stitek { display: none; }
  .uvod-home h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .perex { font-size: 16.5px; margin-bottom: 16px; }
  .kalk { padding: 12px; }
  .kalk-bar { padding: 20px 14px 22px; gap: 22px; border-radius: 24px; }
  .kalk-typy, .uvod-bok .kalk-typy, .blok-kalk .kalk-typy { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dlaz-t { flex-direction: row; padding: 8px 6px 8px; } .dlaz-t .ilu { width: 62%; }
  .kalk-bar .kalk-pole { grid-template-columns: 1fr; gap: 14px; }
  .kalk-bar .kalk-pole > label:first-child { grid-column: auto; }
  .fakta { grid-template-columns: 1fr 1fr; gap: 14px 0; margin-top: 22px; } .fakta li:nth-child(odd) { border-left: 0; } .fakta strong { font-size: 22px; } .fakta span { font-size: 13.5px; }
  .duvera, .postup .kroky, .situace-mriz { grid-template-columns: 1fr; }
  .duvera > div { border-left: 0 !important; } .duvera > div + div { border-top: 1.5px solid var(--ink); }
  .rozsyp { padding: 230px var(--gut) 60px; }
  .predmet { width: 92px !important; padding: 8px; border-radius: 18px; }
  .predmet:nth-child(n+5) { display: none; }
  .predmet:nth-child(1) { left: 3%; top: 20px; } .predmet:nth-child(2) { left: 27%; top: 96px; } .predmet:nth-child(3) { left: auto; right: 27%; bottom: auto; top: 30px; } .predmet:nth-child(4) { right: 3%; top: 104px; }
  .formular { grid-template-columns: 1fr; padding: 16px; }
  .doklady { grid-template-columns: 1fr; }
  .mini-cta { flex-direction: column; align-items: stretch; }
  .pata-mriz { grid-template-columns: 1fr; }
  .situace-blok { padding: 60px 0; }
  .text { font-size: 17px; }
  .odpoved { font-size: 18px; padding: 18px; }
  .uvod:not(.uvod-home) { padding-top: 14px; }
  .uvod-ilu { aspect-ratio: auto; padding: 20px; } .uvod-ilu .ilu { max-width: 220px; }
}
.kalk:not(.kalk-bar) .kalk-typy { margin-bottom: 14px; }
.obchod-pozn { position: absolute; top: 12px; right: 14px; font-size: 12px; font-weight: 600; color: var(--ink2); letter-spacing: .02em; }
.provozovatel { font-size: 14.5px; color: var(--ink2); }

/* ---- kalkulačka: dlaždice, odškrtnutí, průvodce ---- */
.dlaz-t { position: relative; }
.dlaz-t .ilu { max-width: 78px; }
.ok { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--zelena); border: 1.5px solid var(--ink); display: none; place-items: center; }
.ok svg, .lok svg, .kolo svg { width: 70%; height: 70%; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 0; }
.kalk:not(.wiz) .dlaz input:checked + .dlaz-t .ok, .kalk.vybrano .dlaz input:checked + .dlaz-t .ok { display: grid; animation: pop .35s cubic-bezier(.3,1.6,.5,1); }
.dlaz input:checked + .dlaz-t .ok svg { animation: nakresli .4s .1s ease-out both; }
@keyframes pop { from { scale: 0; } }
@keyframes nakresli { from { stroke-dashoffset: 22; } }
.kalk.wiz:not(.vybrano) .dlaz input:checked + .dlaz-t { background: var(--papir); box-shadow: none; transform: none; border-color: rgb(23 21 15 / .22); }
.lok { display: none; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; background: var(--zelena); border: 1.5px solid var(--ink); vertical-align: -3px; place-items: center; }
label.vyplneno > span > .lok { display: inline-grid; animation: pop .3s cubic-bezier(.3,1.6,.5,1); }
.kalk.wiz.vybrano .krok-h, .kalk-bar .krok-h { justify-content: flex-start; }
.wiz-pr { display: none; list-style: none; margin: 0; padding: 0; gap: 8px; justify-content: center; }
.kalk.wiz .wiz-pr { display: flex; }
.wiz-pr li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink3); }
.wiz-pr li + li::before { content: ''; width: 28px; height: 2px; margin-right: 1px; background: rgb(23 21 15 / .2); border-radius: 2px; }
.wiz-pr i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgb(23 21 15 / .3); font: 800 12px/1 var(--font); font-style: normal; transition: .25s; }
.kalk[data-krok="1"] .wiz-pr li:nth-child(1), .kalk[data-krok="2"] .wiz-pr li:nth-child(2), .kalk[data-krok="3"] .wiz-pr li:nth-child(3) { color: var(--ink); }
.kalk[data-krok="1"] .wiz-pr li:nth-child(1) i, .kalk[data-krok="2"] .wiz-pr li:nth-child(2) i, .kalk[data-krok="3"] .wiz-pr li:nth-child(3) i { background: var(--ink); border-color: var(--ink); color: var(--papir); }
.kalk[data-krok="2"] .wiz-pr li:nth-child(1) i, .kalk[data-krok="3"] .wiz-pr li:nth-child(-n+2) i { background: var(--zelena); border-color: var(--ink); color: var(--ink); }
.kalk.wiz [data-pane] { display: none; }
.kalk.wiz[data-krok="1"] [data-pane="1"], .kalk.wiz[data-krok="2"] [data-pane="2"], .kalk.wiz[data-krok="3"] [data-pane="3"] { display: block; animation: krokIn .45s cubic-bezier(.2,.8,.2,1); outline: 0; }
@keyframes krokIn { from { opacity: 0; translate: 28px 0; } }
.kalk-bar .krok-h { margin-bottom: 14px; position: relative; }
.kalk-bar [data-pane="2"] .krok-h { gap: 12px; }
.zpet { font: 700 14px var(--font); color: var(--ink2); background: none; border: 1.5px solid rgb(23 21 15 / .22); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.zpet:hover { border-color: var(--ink); color: var(--ink); }
.zpet-stred { justify-self: center; margin-top: 2px; }
.krok-akce { display: grid; justify-items: center; gap: 8px; margin-top: 20px; }
.kalk.wiz .kalk-vysledek { margin-top: 0; }
/* načítání → odškrtnutí → odhad */
.kalk-loader { display: none; justify-items: center; gap: 12px; padding: 40px 0 36px; }
.kalk.pocita:not(.hotovo) .kalk-loader { display: grid; }
.kalk.pocita:not(.hotovo) .kalk-vysledek { display: none; }
.kalk-loader p { margin: 0; font-weight: 700; color: var(--ink2); }
.kolo { width: 56px; height: 56px; border-radius: 50%; border: 4px solid rgb(23 21 15 / .12); border-top-color: var(--zelena); display: grid; place-items: center; animation: toc .8s linear infinite; }
.kolo svg { opacity: 0; }
@keyframes toc { to { rotate: 360deg; } }
.kalk-bar .kalk-vysledek { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 0; }
.kalk-bar .vys-vykup { grid-column: 1 / -1; background: var(--zelena2); padding: 22px 20px; text-align: center; justify-items: center; gap: 6px; border-width: 2px; box-shadow: var(--stin); }
.kalk-bar .vys-vykup span { font-size: 14px; }
.kalk-bar .vys-vykup strong { font-size: clamp(30px, 5.4vw, 48px); letter-spacing: -.03em; }
.kalk-bar .vys-vykup em { font-size: 14px; background: var(--papir); border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; }
.kalk-bar .vys-trh, .kalk-bar .vys-rk { border-width: 1.5px; border-color: rgb(23 21 15 / .3); }
.kalk-bar .vys-trh { order: 1; } .kalk-bar .vys-rk { order: 2; }
.kalk-bar .kalk-pozn { order: 3; text-align: center; } .kalk-bar .btn.velke { order: 4; justify-self: center; } .kalk-bar .zpet { order: 5; }
.kalk-bar .kalk-vysledek .btn.velke { grid-column: 1 / -1; }
.kalk.hotovo .vys { animation: vyjed .55s cubic-bezier(.2,.8,.2,1) both; }
.kalk.hotovo .vys-trh { animation-delay: .12s; } .kalk.hotovo .vys-rk { animation-delay: .2s; }
@keyframes vyjed { from { opacity: 0; translate: 0 26px; scale: .97; } }
@media (prefers-reduced-motion: reduce) { .kalk * { animation: none !important; transition: none !important; } }
@media (max-width: 860px) { .kalk-bar .kalk-pole { grid-template-columns: 1fr 1fr; } .kalk-bar .kalk-pole > label:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .kalk-bar .kalk-pole { grid-template-columns: 1fr; } .kalk-bar .kalk-pole > label:first-child { grid-column: auto; }
  .kalk-bar .kalk-vysledek { grid-template-columns: 1fr; }
  .wiz-pr li + li::before { width: 14px; } .wiz-pr li { font-size: 12.5px; }
  .dlaz-t .ilu { max-width: 64px; }
}

/* kroky: vysvětlení + nápovědy */
.krok-n { margin: -6px 0 14px; color: var(--ink2); font-size: 15px; line-height: 1.4; }
.krok-n3 { margin-bottom: 14px; text-align: center; }
.kalk small { color: var(--ink3); font-size: 12.5px; line-height: 1.3; }
.wiz-pr li { font-size: 14px; }
.kalk-full { max-width: none; border-radius: 22px; padding: 18px; }
.uvod-bok .kalk-bar .kalk-pole, .blok-kalk .kalk-bar .kalk-pole { grid-template-columns: 1fr 1fr; gap: 12px; }
.uvod-bok .kalk-bar .kalk-vysledek { grid-template-columns: 1fr; }
.uvod-bok .kalk-bar .vys-vykup strong { font-size: clamp(26px, 3.2vw, 36px); }
@media (max-width: 600px) { .wiz-pr li { font-size: 12.5px; } .kalk-n { font-size: 14px; } .uvod-bok .kalk-bar .kalk-pole, .blok-kalk .kalk-bar .kalk-pole { grid-template-columns: 1fr; } }

/* ---- postup: obrázky + sticky scéna při scrollu ---- */
.krok-pin { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--bgc); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 20px; overflow: hidden; }
.krok-pin .krok-text { display: grid; gap: 6px; align-content: start; } .krok-pin .krok-text h3 { margin: 0; } .krok-pin p { margin: 0; color: var(--ink2); }
.krok-z { display: none; }
.krok-obraz { position: relative; order: -1; } .krok-obraz img { position: relative; width: 100%; height: auto; display: block; }
.blob { position: absolute; inset: 8% 6%; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; background: var(--c); opacity: .38; }
.kroky-pin { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pin-tecky { display: none; }
.postup.pin { margin-bottom: 40px; }
.postup.pin .vlnka { display: none; }
.postup.pin .hlava-sekce { margin-bottom: 0; }
.postup.pin .postup-draha { height: calc(100svh * 3.6); position: relative; }
.postup.pin .postup-oko { position: sticky; top: 72px; height: calc(100svh - 72px); display: grid; place-items: center; align-content: center; gap: 18px; }
.postup.pin .kroky-pin { display: block; position: relative; width: 100%; height: min(600px, calc(100svh - 150px)); }
.postup.pin .krok-pin { position: absolute; inset: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: clamp(16px, 4vw, 56px); padding: clamp(20px, 4vw, 52px); border-radius: 34px; box-shadow: 0 30px 60px -36px rgb(23 21 15 / .5); opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; pointer-events: none; }
.postup.pin .krok-pin.on { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; pointer-events: auto; }
.postup.pin .krok-text { flex: 1 1 46%; gap: 14px; } .postup.pin .krok-text .kroky-c { width: 64px; height: 64px; font-size: 28px; }
.postup.pin .krok-z { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.postup.pin .krok-text h3 { font-size: clamp(28px, 4.2vw, 52px); letter-spacing: -.03em; line-height: 1.04; }
.postup.pin .krok-text p:not(.krok-z) { font-size: clamp(16px, 1.6vw, 21px); max-width: 34ch; }
.postup.pin .krok-obraz { order: 0; flex: 1 1 46%; max-width: 520px; max-height: 100%; aspect-ratio: 1; }
.postup.pin .krok-obraz img { height: 100%; object-fit: contain; }
.postup.pin .krok-text > * { opacity: 0; translate: 0 26px; transition: opacity .5s, translate .6s cubic-bezier(.2,.8,.2,1); }
.postup.pin .krok-pin.on .krok-text > * { opacity: 1; translate: 0; } .postup.pin .on .krok-text > :nth-child(2) { transition-delay: .06s; } .postup.pin .on .krok-text > :nth-child(3) { transition-delay: .12s; } .postup.pin .on .krok-text > :nth-child(4) { transition-delay: .18s; }
.postup.pin .krok-obraz img { opacity: 0; scale: .8; rotate: 5deg; translate: 0 60px; transition: all .7s cubic-bezier(.2,1.2,.3,1); }
.postup.pin .krok-pin.on .krok-obraz img { opacity: 1; scale: 1; rotate: 0deg; translate: 0; transition-delay: .1s; }
.postup.pin .krok-pin.pryc .krok-obraz img { opacity: 0; scale: .9; rotate: -8deg; translate: -90px -80px; transition: all .5s ease-in; }
.postup.pin .krok-pin.pryc .krok-text > * { translate: 0 -26px; }
.postup.pin .blob { transform: scale(.4); opacity: 0; transition: transform .8s cubic-bezier(.2,1.2,.3,1), opacity .5s; } .postup.pin .on .blob { transform: none; opacity: .42; }
.postup.pin .pin-tecky { display: flex; gap: 8px; }
.pin-tecky span { width: 34px; height: 6px; border-radius: 6px; background: rgb(23 21 15 / .16); transition: background .3s, width .3s; } .pin-tecky span.on { background: var(--ink); }
@media (max-width: 760px) {
  .kroky-pin { grid-template-columns: 1fr 1fr; }
  .postup.pin .kroky-pin { height: calc(100svh - 215px); max-height: 600px; }
  .postup.pin .krok-pin { flex-direction: column-reverse; justify-content: center; text-align: left; padding: 22px 20px; }
  .postup.pin .krok-obraz { flex: 0 1 auto; width: min(62vw, 38svh); }
  .postup.pin .krok-text { flex: 0 0 auto; width: 100%; } .postup.pin .krok-text .kroky-c { width: 48px; height: 48px; font-size: 22px; }
  .postup.pin .krok-text h3 { font-size: 28px; }
}
@media (max-width: 480px) { .kroky-pin { grid-template-columns: 1fr; } }

.sipka { display: grid; place-items: center; width: 44px; height: 44px; margin: 6px auto 22px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--papir); animation: skok 1.6s ease-in-out infinite; }
.sipka svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sipka:hover { background: var(--zelena); }
.uvod-home .perex { max-width: 30ch; margin-inline: auto; }
@keyframes skok { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) { .sipka { animation: none; } }

/* hlavička: logo víc vlevo */
.hlavicka-cta { margin-left: auto; }
@media (max-width: 1180px) { .hlavicka-obal { gap: 14px; } .logo { font-size: 18px; } .menu-seznam > li > a { padding-inline: 9px; } }
.hlavicka-cta, .menu-seznam > li > a { white-space: nowrap; }
@media (max-width: 1060px) { .hlavicka-cta { padding-inline: 14px; font-size: 14px; } .menu-seznam > li > a { padding-inline: 8px; font-size: 14px; } }

/* plovoucí dvojtlačítko WhatsApp + telefon */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; gap: 0; background: var(--papir); border: 2px solid var(--ink); border-radius: 999px; box-shadow: var(--stin); overflow: hidden; }
.fab a { display: flex; align-items: center; justify-content: center; flex: none; width: 60px; height: 60px; padding: 0; transition: filter .2s, transform .2s; }
.fab a:hover { filter: brightness(1.06); transform: scale(1.06); }
.fab-wa { background: #25D366; }
.fab-tel { background: var(--papir); border-left: 2px solid var(--ink); }
.fab svg { width: 30px; height: 30px; flex: none; fill: var(--ink); }
.pata .kontakt a { font-weight: 700; }
@media (max-width: 860px) { .fab { bottom: 84px; right: 12px; } .fab a { width: 50px; height: 50px; } }

/* galerie: připnutá, karty uprostřed menší a k okrajům větší */
.galerie-oko { display: block; }
.galerie-draha.pin .galerie-oko { position: sticky; top: 72px; min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.galerie-draha.pin .pas { scroll-snap-type: none; overflow-x: hidden; padding-block: 40px 50px; }
.galerie-hlava { max-width: var(--max); margin-bottom: 8px; }
.galerie-hlava h2 { font-size: clamp(32px, 5.2vw, 68px); line-height: 1.05; }
@media (min-width: 900px) { .galerie-hlava h2 { white-space: nowrap; } }
.galerie-pozn { font-size: 14px; color: var(--ink2); margin: 0 auto; }

/* hero kalkulačka: o něco větší karta, dlaždice i texty */
@media (min-width: 861px) {
  #kalk.kalk-bar { max-width: 800px; padding: 28px clamp(22px, 3vw, 40px) 32px; border-radius: 28px; gap: 20px; }
  #kalk .wiz-pr li { font-size: 15px; }
  #kalk .wiz-pr i { width: 28px; height: 28px; font-size: 13px; }
  #kalk .wiz-pr li + li::before { width: 34px; }
  #kalk .krok-h h3, #kalk .krok-h { font-size: clamp(22px, 2.3vw, 28px); }
  #kalk .krok-n { font-size: 16px; margin-bottom: 16px; }
  #kalk .kalk-typy { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  #kalk .dlaz-t { padding: 12px 6px 10px; border-radius: 18px; gap: 8px; }
  #kalk .dlaz-t .ilu { max-width: 104px; }
  #kalk .dlaz-t b { font-size: 16px; }
  #kalk .kalk-pole select, #kalk .kalk-pole input { min-height: 60px; font-size: 18px; }
  #kalk label > span:first-child { font-size: 15px; }
  #kalk .vys-vykup strong { font-size: clamp(36px, 4.2vw, 54px); }
}

.kont-blok { margin-top: 28px; padding-top: 22px; border-top: 1.5px solid rgb(23 21 15 / .25); }
.kont-h { font-weight: 800; font-size: 18px; margin: 0 0 12px; }
.kont-blok ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kont-blok a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; text-decoration: none; }
.kont-blok a:hover { text-decoration: underline; }
.kont-ik { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.kont-ik svg { width: 20px; height: 20px; fill: var(--ink); }
.kont-bila { background: var(--papir); } .kont-wa { background: #25D366; }

/* vodicí šipka: „namalovaná“ ručně, ukazuje na číslo aktuálního kroku; maluje se, maže a maluje znovu */
.kalk.wiz .wiz-pr { padding-top: 40px; }
.wiz-pr li { position: relative; }
.vedi { position: absolute; left: -88px; top: -44px; width: 120px; height: 44px; display: none; pointer-events: none; }
.kalk.wiz.vidno[data-krok="1"]:not(.vybrano) .wiz-pr li:nth-child(1) .vedi, .kalk.wiz.vidno[data-krok="2"]:not(.dotkl) .wiz-pr li:nth-child(2) .vedi { display: block; }
.vedi svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vedi-c { stroke-dasharray: 100; animation: maluj 4s .3s ease-in-out infinite; }
.vedi-h { stroke-dasharray: 30; animation: maluj-h 4s .3s ease-in-out infinite; }
@keyframes maluj { 0% { stroke-dashoffset: 100; } 20%, 62% { stroke-dashoffset: 0; } 78%, 100% { stroke-dashoffset: -100; } }
@keyframes maluj-h { 0%, 17% { stroke-dashoffset: 30; } 22%, 60% { stroke-dashoffset: 0; } 66%, 100% { stroke-dashoffset: -30; } }
@media (max-width: 700px) { .kalk.wiz .wiz-pr { padding-top: 38px; } .vedi { left: 0; } .vedi svg { transform: scaleX(-1); } }
@media (prefers-reduced-motion: reduce) { .vedi-c, .vedi-h { animation: none; stroke-dashoffset: 0; } }
