/* Písma hostovaná lokálně (Archivo, Inter – SIL Open Font License). Podmnožiny latin + latin-ext. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   NEJ ZÁMKOVKY — design system
   Černá a beton, oranžová jen jako akcent. Technický, architektonický jazyk.
   ========================================================================== */
:root {
  --orange: #ff5900;
  --orange-hi: #ff7a33;
  --orange-ink: #b33f00;     /* oranžová pro text na světlém pozadí (AA 5,8:1) */
  --black: #111111;
  --ink: #202020;
  --ink-2: #2a2a2a;
  --ink-3: #343434;
  --white: #ffffff;
  --grey: #f3f3f1;
  --grey-2: #e7e7e3;
  --text: #111111;
  --text-2: #55554f;
  --on-dark: #f3f3f1;
  --on-dark-2: #a6a6a0;
  --line: rgba(17, 17, 17, .12);
  --line-strong: rgba(17, 17, 17, .24);
  --line-dark: rgba(243, 243, 241, .12);
  --line-dark-strong: rgba(243, 243, 241, .24);
  --danger: #d6453b;
  --ok: #4caf6e;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.75rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 5.4vw, 6.5rem);

  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --section: clamp(5rem, 3rem + 7vw, 10rem);
  --max: 1320px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 var(--fs-base)/1.65 var(--font-body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 750; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-stretch: 112%; letter-spacing: -.035em; line-height: .95; }
h2 { font-size: var(--fs-h2); font-stretch: 108%; letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); font-stretch: 100%; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--orange); color: var(--black); padding: .7rem 1rem; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.todo { background: rgba(255, 89, 0, .18); outline: 1px dashed var(--orange); border-radius: 2px; padding: 0 .2em; }

/* Tóny sekcí */
.s-dark { background: var(--black); color: var(--on-dark); }
.s-ink { background: var(--ink); color: var(--on-dark); }
.s-grey { background: var(--grey); }
.s-dark .muted, .s-ink .muted { color: var(--on-dark-2); }
.muted { color: var(--text-2); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: clamp(3.5rem, 2rem + 4vw, 6rem) 0; }
.lead { font-size: var(--fs-lg); line-height: 1.55; max-width: 60ch; }
.accent { color: var(--orange); }
.s-grey .accent, :where(body > main) > .section:not(.s-dark):not(.s-ink) .accent-text { color: var(--orange-ink); }

.eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font: 600 var(--fs-xs)/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.5rem; color: var(--text-2); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.s-dark .eyebrow, .s-ink .eyebrow { color: var(--on-dark-2); }
.eyebrow b { color: var(--orange-ink); font-weight: 700; }
.s-dark .eyebrow b, .s-ink .eyebrow b { color: var(--orange); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Tlačítka */
.btn { --bg: var(--orange); --fg: var(--black); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 52px; padding: .85rem 1.5rem; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg); font: 650 var(--fs-sm)/1.1 var(--font-head); letter-spacing: .02em; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .45), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(255, 89, 0, .7); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.98); }
.btn__arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.s-dark .btn--ghost, .s-ink .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line-dark-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--orange); }
.btn--dark { --bg: var(--black); --fg: var(--white); }
.btn--dark:hover { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; white-space: nowrap; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font: 650 var(--fs-sm)/1.2 var(--font-head); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--orange-ink); }
.s-dark .link-arrow:hover, .s-ink .link-arrow:hover { color: var(--orange); }

/* Logo (komponenta – výměna souboru assets/img/logo.svg v tools/build.py) */
.brand { display: inline-flex; align-items: center; color: var(--black); text-decoration: none; }
.brand svg { height: 34px; width: auto; }
.site-header:not(.is-solid) .brand, .s-dark .brand, .site-footer .brand, .intro .brand { color: var(--white); }

/* Hlavička */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white); transition: background .4s var(--ease), color .4s, transform .45s var(--ease), box-shadow .4s; }
.site-header.is-solid { color: var(--black); box-shadow: 0 1px 0 var(--line); }
/* bílé pozadí s rozostřením je na ::before, aby hlavička nebyla „backdrop root“ a fungovalo i rozostření rozbalovacího menu Služby */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-solid .subnav { background: radial-gradient(90% 70% at 100% 0%, rgba(255, 89, 0, .12), transparent 60%), rgba(16, 16, 16, .72); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a, .nav button { white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .8rem; border: 0; background: none; border-radius: 999px; font: 550 var(--fs-sm)/1 var(--font-body); text-decoration: none; transition: background .2s; }
.nav a:hover, .nav button:hover, .nav [aria-current] { background: rgba(127, 127, 127, .14); }
.nav [aria-current="true"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; background: none; }
.nav .has-sub { position: relative; }
.nav button svg { width: 10px; height: 10px; transition: transform .25s; }
.nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
/* desktop Služby: stejné čtverečky s ikonou jako v mobilním menu, 4 × 2 */
.subnav { --sn-out: cubic-bezier(.16, 1, .3, 1); position: absolute; top: calc(100% + 12px); left: -1rem; width: 740px; padding: .6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; list-style: none; margin: 0; color: var(--white);
  background: radial-gradient(90% 70% at 100% 0%, rgba(255, 89, 0, .1), transparent 60%), rgba(16, 16, 16, .42); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -24px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985); transform-origin: 10% 0; transition: opacity .25s, transform .45s var(--sn-out), visibility .25s; }
.subnav.is-open { opacity: 1; visibility: visible; transform: none; }
.subnav .sn__tile { position: relative; white-space: normal; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: .85rem; border-radius: 16px; color: var(--white); text-decoration: none; font: 700 1rem/1.2 var(--font-head); text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)), rgba(12, 12, 12, .4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .3s var(--sn-out), background .3s, box-shadow .3s; }
.subnav.is-open .sn__tile { opacity: 1; transform: none; transition: opacity .5s var(--sn-out), transform .6s var(--sn-out), background .3s, box-shadow .3s; transition-delay: calc(var(--k) * 30ms), calc(var(--k) * 30ms), 0s, 0s; }
.subnav .sn__tile svg { width: 26px; height: 26px; color: var(--orange); transition: transform .5s var(--sn-out); }
.subnav .sn__tile i { position: absolute; top: .85rem; right: .85rem; font: 600 .5625rem/1 var(--font-head); font-style: normal; letter-spacing: .12em; color: rgba(255, 255, 255, .4); }
.subnav .sn__tile small { display: block; margin-top: .35rem; font: 500 .8125rem/1.35 var(--font-body); color: rgba(255, 255, 255, .84); }
.subnav .sn__tile:hover { background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)), rgba(12, 12, 12, .4); box-shadow: inset 0 0 0 1px rgba(255, 89, 0, .55); }
.subnav .sn__tile:hover svg { transform: translateY(-2px) scale(1.06); }
.subnav .sn__tile[aria-current] { box-shadow: inset 0 0 0 1.5px var(--orange); }
.subnav .sn__tile--all { background: var(--orange); color: var(--black); box-shadow: none; }
.subnav .sn__tile--all svg { color: var(--black); align-self: flex-end; }
.subnav .sn__tile--all small { color: rgba(0, 0, 0, .78); }
.subnav .sn__tile--all { text-shadow: none; }
.subnav .sn__tile--all:hover { background: #ff7a33; box-shadow: none; }
.subnav--plan { width: 580px; left: 50%; margin-left: -290px; transform-origin: 50% 0; }
@media (prefers-reduced-motion: reduce) { .subnav, .sn__tile, .subnav.is-open .sn__tile { transition: none; } }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { font: 600 var(--fs-sm)/1 var(--font-head); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(127, 127, 127, .16); align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span + span { margin-top: 5px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-toggle > i { display: block; }
/* Mobilní menu – varianta A „Editorial“: kruhové odhalení z tlačítka, velká číslovaná typografie */
.mobile-menu { --mm-x: calc(100% - 43px); --mm-y: 36px; --mm-out: cubic-bezier(.16, 1, .3, 1); --mm-in: cubic-bezier(.7, 0, .84, 0); --mm-spring: cubic-bezier(.32, .72, 0, 1);
  position: fixed; inset: 0; z-index: 99; display: none; flex-direction: column; padding: calc(var(--header-h) + .75rem) var(--gutter) calc(1.25rem + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; color: var(--white);
  background: radial-gradient(120% 60% at 100% 0%, rgba(255, 89, 0, .16), transparent 55%), linear-gradient(180deg, #151515, #0b0b0b);
  clip-path: circle(0 at var(--mm-x) var(--mm-y)); visibility: hidden; transition: clip-path .5s var(--mm-in), visibility 0s .5s; }
body.menu-open .mobile-menu { clip-path: circle(150% at var(--mm-x) var(--mm-y)); visibility: visible; transition: clip-path .75s var(--mm-out), visibility 0s; }
.mm__eyebrow { margin: 0 0 .6rem; font: 600 .6875rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2); overflow: hidden; }
.mm__main, .mm__sec { list-style: none; margin: 0; padding: 0; }
.mm__main > li { border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.mm__big { width: 100%; display: flex; align-items: center; padding: .8rem 0; border: 0; background: none; color: var(--white); text-align: left; text-decoration: none; font: 700 2rem/1.05 var(--font-head); letter-spacing: -.025em; cursor: pointer; }
.mm__big[aria-current] { color: var(--orange); }
.mm__n { display: inline-block; margin-right: .85rem; font: 600 .6875rem/1 var(--font-head); letter-spacing: .1em; color: var(--orange); vertical-align: top; transform: translateY(-.15em); }
.mm__plus { margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); transition: transform .5s var(--mm-spring), background .3s, color .3s; }
.mm__plus svg { width: 14px; height: 14px; }
.mm__big[aria-expanded="true"] .mm__plus { transform: rotate(45deg); background: var(--orange); color: var(--black); }
/* řádky vyjíždějí zespodu se zpožděním */
.mm__rise { display: block; transform: translateY(110%); opacity: 0; transition: transform .25s var(--mm-in), opacity .2s; }
body.menu-open .mm__rise { transform: none; opacity: 1; transition: transform .9s var(--mm-out), opacity .6s var(--mm-out); transition-delay: calc(.12s + var(--i) * 55ms); }
.mm__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--mm-out); }
.mm__sub > div { overflow: hidden; }
.mm__sub.is-open { grid-template-rows: 1fr; }
/* služby: malé tmavé čtverce s oranžovou linkovou ikonou a číslem, při rozbalení naskočí postupně */
.mm__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; padding: .15rem 0 1.1rem; }
@media (min-width: 560px) { .mm__tiles { grid-template-columns: repeat(4, 1fr); } .mm__tiles .mm__tile--all { grid-column: auto; aspect-ratio: 1; } }
.mm__tile { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: .65rem; border-radius: 16px; color: var(--white); text-decoration: none; font: 650 .75rem/1.15 var(--font-head); letter-spacing: -.005em; hyphens: auto;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .35s var(--mm-out), transform .45s var(--mm-out), background .3s; }
.mm__sub.is-open .mm__tile { opacity: 1; transform: none; transition: opacity .7s var(--mm-out), transform .8s var(--mm-spring), background .3s; transition-delay: calc(.08s + var(--k) * 40ms); }
.mm__tile svg { width: 24px; height: 24px; color: var(--orange); }
.mm__tile i { position: absolute; top: .65rem; right: .65rem; font: 600 .5625rem/1 var(--font-head); font-style: normal; letter-spacing: .12em; color: rgba(255, 255, 255, .4); }
.mm__tile:active { background: rgba(255, 255, 255, .1); }
.mm__tile[aria-current] { box-shadow: inset 0 0 0 1.5px var(--orange); }
.mm__tile--all { grid-column: span 2; aspect-ratio: auto; background: var(--orange); color: var(--black); box-shadow: none; }
.mm__tile--all svg { color: var(--black); align-self: flex-end; }
.mm__tile--all:active { background: #ff7a33; }
.mm__sec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; margin-top: 1.3rem; }
.mm__sec li { overflow: hidden; }
.mm__sec a { display: flex; align-items: center; min-height: 44px; font: 600 1rem/1 var(--font-head); color: var(--on-dark-2); text-decoration: none; }
.mm__sec a[aria-current] { color: var(--white); }
.mm__foot { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .6rem; }
.mm__foot > * { transform: translateY(24px); opacity: 0; transition: transform .25s var(--mm-in), opacity .2s; }
body.menu-open .mm__foot > * { transform: none; opacity: 1; transition: transform .9s var(--mm-out), opacity .7s var(--mm-out); transition-delay: .5s; }
body.menu-open .mm__foot > :nth-child(2) { transition-delay: .58s; }
.mm__call { display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: 0 1rem; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); text-decoration: none; }
.mm__call svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.mm__call small { display: block; font: 500 .6875rem/1.3 var(--font-body); color: var(--on-dark-2); letter-spacing: .04em; }
.mm__call strong { font: 700 1.05rem/1.2 var(--font-head); }
.mm__cta { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 .5rem 0 1.4rem; border-radius: 999px; background: var(--orange); color: var(--black); font: 700 .8125rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: transform .4s var(--mm-spring); }
.mm__cta:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { .mobile-menu, body.menu-open .mobile-menu, .mm__rise, body.menu-open .mm__rise, .mm__foot > *, body.menu-open .mm__foot > *, .mm__sub, .mm__tile, .mm__sub.is-open .mm__tile { transition: none !important; } }
.mm__cta span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .12); }
.mm__cta svg { width: 16px; height: 16px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; color: var(--white); box-shadow: none; }
body.menu-open .site-header::before { opacity: 0; }
body.menu-open .header-cta { opacity: 0; pointer-events: none; }
body.menu-open .site-header .brand { color: var(--white); }
@media (max-width: 1380px) { .header-phone { display: none; } }
@media (max-width: 1180px) { .nav, .header-phone { display: none; } .menu-toggle { display: inline-flex; flex-direction: column; } .header-actions { margin-left: auto; } .mobile-menu { display: flex; } }
@media (max-width: 520px) { .header-cta { display: none; } .brand svg { height: 28px; } }

/* Drobečková navigace */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 2rem; font-size: var(--fs-xs); color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

/* Odhalování při scrollu */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
.split-words.is-in .w > span { transform: none; }

/* ==========================================================================
   HERO – filmové intro (video jednou, pak poslední záběr) + skutečný HTML text
   ========================================================================== */
.hero { --e-out: cubic-bezier(.16, 1, .3, 1); --e-spring: cubic-bezier(.32, .72, 0, 1); position: relative; height: 100svh; min-height: 600px; display: flex; color: var(--white); background: #050505; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -2%; z-index: -2; transform-origin: 50% 60%; will-change: transform; }
.hero__end, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero__video { opacity: 0; transition: opacity 1.6s var(--e-out); }
.hero.is-playing .hero__video { opacity: 1; }
.hero.is-end .hero__video { opacity: 0; transition-duration: .9s; }
.intro-on .hero__end { opacity: 0; }
.intro-on .hero.is-end .hero__end { opacity: 1; }
@keyframes kenBurns { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1%, -1%); } }
/* filmový look: vinětace, tónování k textu a jemné zrno */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(ellipse 58% 44% at 50% 34%, rgba(5, 5, 5, .52), rgba(5, 5, 5, 0) 76%),
  radial-gradient(ellipse 120% 95% at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55) 100%),
  linear-gradient(180deg, rgba(5, 5, 5, .55) 0%, rgba(5, 5, 5, .12) 30%, rgba(5, 5, 5, 0) 60%, rgba(5, 5, 5, .5) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* prostor: perspektiva + vrstvy v různé hloubce, náklon řídí JS (--rx, --ry, --sy, --fade) */
.hero__inner { position: relative; width: 100%; padding: calc(var(--header-h) + clamp(1.5rem, 9vh, 7rem)) var(--gutter) 0; display: flex; justify-content: center; perspective: 1100px; perspective-origin: 50% 40%; }
.hero__stack { display: flex; flex-direction: column; align-items: center; text-align: center; transform-style: preserve-3d; transform: translate3d(0, var(--sy, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); opacity: var(--fade, 1); will-change: transform; }
.hero__eyebrow { transform: translateZ(70px); }
.hero h1 { transform: translateZ(30px); }
.hero__sub { transform: translateZ(10px); }
.hero .btn-row { transform: translateZ(55px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.5rem; padding: .45rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 .6875rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.hero__eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 0, .18); }
.hero h1 { max-width: 15ch; margin: 0 0 1.4rem; font-size: clamp(2.6rem, .9rem + 6.2vw, 7.4rem); font-weight: 800; line-height: .9; text-transform: uppercase; letter-spacing: -.03em; text-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 18px 50px rgba(0, 0, 0, .35); }
.hero h1 .accent { color: var(--orange); }
.hero h1.split-words .w { perspective: 900px; }
/* slova přilétají z hloubky směrem k divákovi */
.hero h1.split-words .w > span { opacity: 0; filter: blur(16px); transform: translate3d(0, .12em, -520px) rotateX(24deg); transform-origin: 50% 80%; transition: transform 1.6s var(--e-out), opacity 1.1s var(--e-out), filter 1.3s var(--e-out); transition-delay: calc(var(--i) * 110ms); }
.hero.is-title h1.split-words .w > span { opacity: 1; filter: none; transform: none; }
.hero__sub { max-width: 40ch; margin: 0 0 2rem; font: 600 clamp(.8rem, .7rem + .35vw, 1.05rem)/1.5 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .84); }
.hero .btn-row { justify-content: center; }
.hero .btn { text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-xs); }
.hero__cta { padding-right: .4rem; gap: .9rem; transition: transform .5s var(--e-spring), box-shadow .5s var(--e-spring); }
.hero__cta:active { transform: scale(.98); }
.hero__cta-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(5, 5, 5, .12); transition: transform .5s var(--e-spring); }
.hero__cta-ico svg { width: 14px; height: 14px; }
.hero__cta:hover .hero__cta-ico { transform: translate(2px, -1px) scale(1.06); }
.js .hero__eyebrow, .js .hero__sub, .js .hero .btn-row > *, .js .hero__scroll, .js .hero__tag { opacity: 0; translate: 0 18px; filter: blur(8px); transition: opacity 1.1s var(--e-out), translate 1.3s var(--e-out), filter 1.1s var(--e-out); }
.hero.is-eyebrow .hero__eyebrow, .hero.is-sub .hero__sub, .hero.is-cta .btn-row > *, .hero.is-done .hero__scroll, .hero.is-done .hero__tag { opacity: 1; translate: 0 0; filter: none; }
/* HUD intra: kapitola + průběh, jako filmový titulek */
.hero__hud { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(1.4rem + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 1.25rem; pointer-events: none; opacity: 0; transition: opacity .9s var(--e-out); }
.hero.is-playing:not(.is-end) .hero__hud { opacity: 1; }
.hero__chapter { position: relative; margin: 0; min-width: 9.5rem; height: 1em; font: 600 .6875rem/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.hero__chapter span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; translate: 0 6px; transition: opacity .7s var(--e-out), translate .7s var(--e-out); }
.hero__chapter span.is-on { opacity: 1; translate: 0 0; }
.hero__progress { flex: 1; height: 1px; background: rgba(255, 255, 255, .16); overflow: hidden; margin-right: 9.5rem; }
.hero__progress i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hero__skip { position: absolute; right: var(--gutter); bottom: calc(.85rem + env(safe-area-inset-bottom)); z-index: 3; padding: .6rem 1.1rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: var(--white); font: 600 .6875rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .6s var(--e-out), visibility .6s, box-shadow .3s; }
.hero__skip:hover { box-shadow: inset 0 0 0 1px var(--orange); }
.hero.is-playing:not(.is-end) .hero__skip { opacity: 1; visibility: visible; }
.hero__tag { position: absolute; right: var(--gutter); bottom: 1.25rem; margin: 0; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.25rem; margin-left: -1.5rem; width: 3rem; display: inline-flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); text-decoration: none; }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--orange), transparent); animation: scrollCue 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes scrollCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
/* menu čeká, až intro doběhne; pak sjede shora */
.intro-on .site-header { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.site-header { transition: background .4s var(--ease), color .4s, transform .9s var(--e-out, var(--ease)), opacity .9s var(--ease), box-shadow .4s; }
@media (max-width: 720px) {
  .hero h1 { max-width: 9ch; }
  .hero__scroll { display: none; }
  .hero__progress { margin-right: 8.5rem; }
  .hero__chapter { min-width: 0; flex: 0 0 7.5rem; }
}
@media (prefers-reduced-motion: reduce) { .hero h1.split-words .w > span, .js .hero__eyebrow, .js .hero__sub, .js .hero .btn-row > *, .js .hero__scroll, .js .hero__tag { transition: none; } }

/* Podstránky – hlavička stránky */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 7rem)) 0 clamp(3rem, 2rem + 4vw, 6rem); background: var(--black); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 1.4rem + 4.2vw, 5.25rem); }
.page-hero .lead { color: var(--on-dark-2); }
.page-hero__art { position: absolute; right: -4%; top: 50%; z-index: -1; width: min(52vw, 680px); transform: translateY(-46%); opacity: .5; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
@media (max-width: 860px) { .page-hero__art { opacity: .2; width: 90vw; } }

/* Rychlá kalkulačka pod službami */
#sluzby { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.qc { position: relative; padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.qc__card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem 2rem; align-items: center; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); border-radius: 20px; background: var(--white); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); }
.qc__head .eyebrow { margin-bottom: .75rem; }
.qc__head h2 { margin: 0; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.12; }
.qc__inputs { display: grid; gap: .9rem; }
.qc__typy { display: flex; flex-wrap: wrap; gap: .35rem; }
.qc-chip { position: relative; cursor: pointer; }
.qc-chip input { position: absolute; opacity: 0; inset: 0; }
.qc-chip span { display: inline-flex; align-items: center; min-height: 36px; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line-strong); font: 600 var(--fs-xs)/1 var(--font-head); transition: background .2s, border-color .2s, color .2s; }
.qc-chip input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.qc-chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.qc__dims { display: flex; align-items: flex-end; gap: .6rem; }
.qc__dims > i { padding-bottom: .7rem; font-style: normal; color: var(--text-2); }
.qc__f label { display: block; margin-bottom: .3rem; font-size: var(--fs-xs); color: var(--text-2); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.qc__num { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--white); }
.qc__num:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 89, 0, .15); }
.qc__num input { width: 92px; min-height: 46px; padding: 0 .4rem 0 .9rem; border: 0; outline: 0; font: 750 1.2rem var(--font-head); -moz-appearance: textfield; }
.qc__num input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qc__num span { padding-right: .8rem; font-size: var(--fs-sm); color: var(--text-2); }
.qc__out { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.25rem; margin: 0; padding-left: 2rem; border-left: 1px solid var(--line); }
.qc__out dt { font-size: var(--fs-xs); color: var(--text-2); }
.qc__out dd { margin: .15rem 0 0; font: 750 clamp(1.15rem, 1rem + .5vw, 1.5rem)/1.1 var(--font-head); }
.qc__out div:nth-child(2) dd { color: var(--orange-ink); }
.qc__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.qc__cta .link-arrow { color: var(--orange-ink); }
@media (max-width: 1100px) { .qc__card { grid-template-columns: 1fr 1fr; } .qc__head { grid-column: 1 / -1; } .qc__out { padding-left: 1.5rem; } }
@media (max-width: 680px) { .qc__card { grid-template-columns: 1fr; } .qc__out { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ==========================================================================
   KARTY SLUŽEB – čtverce s fotkou, na úvodu jako karusel
   ========================================================================== */
.svq { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); isolation: isolate; transform: translateZ(0); }
.svq img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: translate3d(var(--px, 0px), 0, 0) scale(calc(var(--ps, 1.02) * var(--hs, 1))); filter: saturate(.85) brightness(.92); transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.svq::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, .35) 0%, rgba(10, 10, 10, 0) 28%, rgba(10, 10, 10, .15) 50%, rgba(10, 10, 10, .9) 100%); transition: opacity .6s; }
.svq::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 100%), rgba(255, 89, 0, .28), transparent 55%); opacity: 0; transition: opacity .5s; }
.svq__num { position: absolute; top: 1.15rem; left: 1.25rem; font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .16em; color: rgba(255, 255, 255, .8); }
.svq__go { position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s, transform .6s var(--ease); }
.svq__go svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.svq__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.3rem 1.4rem; }
.svq h3 { margin: 0; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.1; transition: transform .6s var(--ease); }
.svq p { margin: 0; font-size: var(--fs-sm); line-height: 1.45; color: rgba(255, 255, 255, .82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height .6s var(--ease), opacity .45s, transform .6s var(--ease), margin .6s var(--ease); }
.svq__line { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.svq:hover img, .svq:focus-visible img { --hs: 1.07; filter: saturate(1.05) brightness(1); }
.svq:hover::after, .svq:focus-visible::after { opacity: 1; }
.svq:hover .svq__go, .svq:focus-visible .svq__go { background: var(--orange); transform: rotate(45deg); }
.svq:hover .svq__go svg, .svq:focus-visible .svq__go svg { color: var(--black); transform: rotate(-45deg); }
.svq:hover p, .svq:focus-visible p { max-height: 5em; opacity: 1; transform: none; margin-top: .5rem; }
.svq:hover .svq__line, .svq:focus-visible .svq__line { transform: scaleX(1); }
.svq:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (hover: none) { .svq p { max-height: 5em; opacity: 1; transform: none; margin-top: .4rem; -webkit-line-clamp: 2; } }

/* Karusel: kolejnice zarovnaná s obsahem, přesah k pravému okraji okna */
.svq-rail { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); position: relative; }
.svq-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 330px); gap: 16px; margin: 0; padding: .5rem var(--edge) 1rem; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; cursor: grab; }
.svq-track::-webkit-scrollbar { display: none; }
.svq-track > li { scroll-snap-align: start; }
.svq-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.svq-rail.is-follow { overflow-x: clip; }
.svq-track.is-follow { overflow: visible; scroll-snap-type: none; cursor: default; transform: translate3d(var(--fx, 0px), 0, 0); will-change: transform; }
.svq-foot.is-follow .svq-nav { display: none; }
.svq-track.is-drag .svq { pointer-events: none; }
.js .svq-track > li { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .svq-rail.is-in .svq-track > li { opacity: 1; transform: none; }
.svq-foot { display: flex; align-items: center; gap: 1.5rem; margin-top: 1rem; }
.svq-progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.svq-progress i { display: block; height: 100%; width: var(--w, 30%); background: var(--black); transform: translateX(var(--x, 0)); transition: transform .2s linear; }
.svq-nav { display: flex; gap: .5rem; }
.svq-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--black); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.svq-btn svg { width: 18px; height: 18px; }
.svq-btn:hover:not(:disabled) { background: var(--black); border-color: var(--black); color: var(--white); transform: scale(1.05); }
.svq-btn:disabled { opacity: .35; cursor: default; }
.svq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .svq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svq-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .svq-track { grid-auto-columns: 78vw; gap: 12px; } .svq-btn { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .js .svq-track > li { opacity: 1; transform: none; } }
.svq-count { font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .16em; color: var(--muted, #6b6b6b); font-variant-numeric: tabular-nums; min-width: 4.5em; }
.svq-count b { color: var(--black); font-weight: 700; }
/* ==========================================================================
   3D SKLADBA
   ========================================================================== */
.skladba { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: stretch; }
.skladba > div:first-child { display: flex; flex-direction: column; }
.skladba > div:first-child .skladba__stage { flex: 1; }
.skladba__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-dark-strong); background: transparent; color: var(--on-dark); font: 600 var(--fs-sm)/1 var(--font-head); transition: background .25s, border-color .25s, color .25s; }
.chip:hover { border-color: var(--orange); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--black); }
.chip small { font-weight: 500; opacity: .7; }
.s-grey .chip, .chip--light { color: var(--text); border-color: var(--line-strong); }
.skladba__stage { position: relative; min-height: 560px; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #2a2a2a 0%, #141414 55%, #0a0a0a 100%); border: 1px solid var(--line-dark); }
.skladba__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.skladba__stage canvas:active { cursor: grabbing; }
.skladba__hud { position: absolute; left: 1.25rem; right: 1.25rem; top: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; pointer-events: none; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.skladba__hud b { color: var(--orange); font-weight: 700; }
.skladba__controls { position: absolute; left: 1.25rem; bottom: 1.1rem; right: 1.25rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.skladba__controls label { font-size: var(--fs-xs); color: var(--on-dark-2); display: flex; align-items: center; gap: .75rem; }
.range { -webkit-appearance: none; appearance: none; width: 160px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orange) var(--p, 100%), rgba(255, 255, 255, .18) var(--p, 100%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); }
.skladba__panel { display: flex; flex-direction: column; gap: 1rem; }
.skladba__meta { padding: 1.25rem 1.4rem; border-radius: 14px; background: var(--ink); border: 1px solid var(--line-dark); }
.skladba__meta h3 { margin: 0 0 .35rem; }
.skladba__meta p { font-size: var(--fs-sm); color: var(--on-dark-2); margin: 0 0 .35rem; }
.skladba__meta .code { font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .12em; color: var(--orange); }
.layers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.layer-btn { width: 100%; display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: .9rem; padding: .8rem 1rem; text-align: left; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); border-radius: 10px; color: var(--on-dark); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.layer-btn:hover { background: rgba(255, 255, 255, .06); }
.layer-btn[aria-expanded="true"] { border-color: var(--orange); background: rgba(255, 89, 0, .08); }
.layer-btn .sw { width: 14px; height: 14px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.layer-btn b { font: 650 var(--fs-sm)/1.25 var(--font-head); display: block; }
.layer-btn small { color: var(--on-dark-2); font-size: var(--fs-xs); }
.layer-btn .tl { font: 700 var(--fs-sm)/1 var(--font-head); color: var(--orange); white-space: nowrap; }
.layer-info { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.layer-info > div { min-height: 0; }
.layer-btn[aria-expanded="true"] + .layer-info { grid-template-rows: 1fr; }
.layer-info dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: .75rem 1rem 1rem; font-size: var(--fs-sm); }
.layer-info dt { color: var(--on-dark-2); }
.layer-info dd { margin: 0; }
.layer-info p { margin: 0 1rem 1rem; font-size: var(--fs-sm); color: var(--on-dark); }
.skladba__total { display: flex; justify-content: space-between; padding: .9rem 1rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); color: var(--on-dark-2); }
.skladba__total b { color: var(--white); font-family: var(--font-head); }
.skladba__note { font-size: var(--fs-xs); color: var(--on-dark-2); }
.skladba__note a { color: var(--orange); }
/* Statická náhrada bez WebGL: řez z HTML */
.skladba__fallback { position: absolute; inset: 15% 12%; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.is-3d .skladba__fallback { display: none; }
.skladba__fallback span { display: block; height: calc(var(--h) * 1px); min-height: 8px; max-height: 120px; background: var(--c); border-radius: 3px; box-shadow: 0 8px 20px -10px #000; }
@media (max-width: 1020px) { .skladba { grid-template-columns: 1fr; } .skladba__stage { min-height: 440px; } }
@media (max-width: 520px) { .skladba__stage { min-height: 380px; } .range { width: 110px; } }

/* ==========================================================================
   MATERIÁLY: záhlaví s fotkou, průvodce výběrem, upoutávka na úvodu
   ========================================================================== */
.mh { position: relative; min-height: clamp(520px, 72svh, 760px); display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.mh__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: kenBurns 30s ease-in-out infinite alternate; }
.mh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 8, .88) 0%, rgba(8, 8, 8, .55) 45%, rgba(8, 8, 8, .1) 80%), linear-gradient(180deg, rgba(8, 8, 8, .55) 0%, transparent 30%, transparent 60%, rgba(8, 8, 8, .7) 100%); }
.mh__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.mh h1 { max-width: 12ch; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.5rem); }
.mh .lead { max-width: 52ch; color: rgba(255, 255, 255, .85); }
.mh .eyebrow { color: rgba(255, 255, 255, .7); }
.mh .crumbs { color: rgba(255, 255, 255, .6); }
.mh .btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.mh__facts { display: flex; flex-wrap: wrap; gap: 1rem 2.75rem; list-style: none; padding: 0; margin: 1.75rem 0 2rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
.mh__facts b { display: block; font: 750 clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem)/1 var(--font-head); color: var(--white); margin-bottom: .3rem; }
.mh__credit { position: absolute; right: var(--gutter); bottom: 1rem; margin: 0; font-size: .6875rem; color: rgba(255, 255, 255, .55); }

.pv-q { border: 0; margin: 0 0 2.25rem; padding: 0; min-width: 0; }
.pv-q legend { display: flex; align-items: baseline; gap: .9rem; padding: 0; margin-bottom: 1rem; font: 700 clamp(1.25rem, 1.1rem + .6vw, 1.6rem)/1.2 var(--font-head); }
.pv-q legend span { font-size: var(--fs-xs); letter-spacing: .16em; color: var(--orange-ink); }
.pv-opts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.pv-opt { position: relative; display: block; cursor: pointer; }
.pv-opt input { position: absolute; opacity: 0; inset: 0; }
.pv-card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 14px; overflow: hidden; background: var(--white); border: 1.5px solid var(--line); transition: border-color .25s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.pv-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.pv-card b { padding: .8rem .9rem 0; font: 700 1rem/1.2 var(--font-head); }
.pv-card small { padding: .2rem .9rem .85rem; font-size: var(--fs-xs); color: var(--text-2); }
.pv-card::after { content: ""; position: absolute; top: .65rem; right: .65rem; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background .25s, box-shadow .25s; }
.pv-opt:hover .pv-card { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .35); }
.pv-opt:hover .pv-card img { transform: scale(1.05); }
.pv-opt input:checked + .pv-card { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 20px 40px -28px rgba(255, 89, 0, .5); }
.pv-opt input:checked + .pv-card::after { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") center/13px no-repeat; box-shadow: none; }
.pv-opt input:focus-visible + .pv-card { outline: 2px solid var(--orange); outline-offset: 2px; }
.pv-tone { display: flex; aspect-ratio: 3 / 2; }
.pv-tone i { flex: 1; }
.pv-opts--tones .pv-tone { aspect-ratio: 3 / 1.4; }
.pv-out { margin-top: 1rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 20px; background: var(--black); color: var(--on-dark); }
.pv-out__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pv-out__k { margin: 0 0 .4rem; font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.pv-out__t { margin: 0 0 .4rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.pv-out__rec { margin: 0; font-size: var(--fs-sm); }
.pv-out__rec b { color: var(--white); }
.pv-out .link-arrow { color: var(--orange); }
.pv-res { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pv-r { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--ink); border: 1px solid var(--line-dark); animation: pvIn .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes pvIn { from { opacity: 0; transform: translateY(16px); } }
.pv-r__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #222; }
.pv-r__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pv-r:hover .pv-r__img img { transform: scale(1.06); }
.pv-badge { position: absolute; left: .7rem; top: .7rem; padding: .3rem .6rem; border-radius: 999px; background: var(--orange); color: var(--black); font: 700 .6875rem/1 var(--font-head); }
.pv-r__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.1rem; }
.pv-r .card__k { color: var(--on-dark-2); margin-bottom: .5rem; font-size: .625rem; }
.pv-r h4 { margin: 0 0 .4rem; font: 750 1.2rem/1.15 var(--font-head); }
.pv-r__d { font-size: var(--fs-xs); line-height: 1.5; color: var(--on-dark-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .75rem; }
.pv-r__v { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 .9rem; }
.pv-r__v li { padding: .25rem .5rem; border-radius: 6px; border: 1px solid var(--line-dark-strong); font: 600 .6875rem/1 var(--font-head); color: var(--on-dark-2); }
.pv-r__v li.is-rec { border-color: var(--orange); color: var(--orange); }
.pv-r__foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; }
.pv-r__foot .link-arrow { color: var(--on-dark); }
.pv-more { display: grid; place-items: center; min-height: 120px; border-radius: 14px; border: 1.5px dashed var(--line-dark-strong); color: var(--orange); text-decoration: none; font: 650 var(--fs-sm) var(--font-head); }
@media (max-width: 1100px) { .pv-res { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pv-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pv-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; } .pv-res { grid-template-columns: 1fr; } .pv-card b { font-size: .9rem; } .mh__facts { gap: 1rem 1.75rem; } }

.best-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.best-teaser__imgs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.best-teaser__imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.best-teaser__imgs img:nth-child(2), .best-teaser__imgs img:nth-child(4) { transform: translateY(28px); }
.best-teaser__credit { position: absolute; right: 0; bottom: -2.4rem; font-size: .6875rem; color: var(--text-2); }
.disclaimer { font-size: var(--fs-xs); color: var(--text-2); border-left: 2px solid var(--orange); padding-left: .9rem; max-width: 70ch; }
.s-dark .disclaimer, .s-ink .disclaimer { color: var(--on-dark-2); }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1.5rem; list-style: none; padding: 0; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px var(--white), 0 0 0 3px transparent; transition: box-shadow .25s, transform .25s var(--ease); }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px var(--white), 0 0 0 5px var(--orange); }
.product-view { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--ink); }
.product-view img { width: 100%; height: 100%; object-fit: cover; }
.product-view__label { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(17, 17, 17, .75); color: var(--white); font-size: .6875rem; letter-spacing: .08em; backdrop-filter: blur(6px); }
.best-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (max-width: 860px) { .best-grid, .best-teaser { grid-template-columns: 1fr; } }

/* ==========================================================================
   GALERIE INSPIRACE (fotky realizací BEST)
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.g-badge { position: absolute; top: .9rem; left: .9rem; padding: .35rem .65rem; border-radius: 999px; background: rgba(17, 17, 17, .78); font-size: .6875rem; letter-spacing: .06em; color: var(--orange); backdrop-filter: blur(4px); }
@keyframes lbIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.insp-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.insp-filters small { font-weight: 500; opacity: .55; margin-left: .15rem; }
.insp-grid { columns: 4 260px; column-gap: 14px; }
.insp { position: relative; break-inside: avoid; margin: 0 0 14px; border-radius: 14px; overflow: hidden; background: var(--grey-2); aspect-ratio: var(--ar); isolation: isolate; }
.insp__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.insp img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.insp::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .72)); opacity: .85; transition: opacity .5s; }
.insp figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.1rem .95rem; color: var(--white); pointer-events: none; transform: translateY(6px); transition: transform .6s var(--ease); }
.insp figcaption b { display: block; font: 700 1.05rem/1.2 var(--font-head); letter-spacing: .01em; }
.insp figcaption small { display: block; margin-top: .2rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, .78); }
.insp:hover img { transform: scale(1.05); }
.insp:hover figcaption { transform: none; }
.insp:hover::after { opacity: 1; }
.insp:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
/* Ikonka a linka – na všech dlaždicích galerie */
.insp__zoom { position: absolute; top: .8rem; right: .8rem; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: scale(.8); pointer-events: none; transition: opacity .4s, transform .6s var(--ease), background .3s; }
.insp__zoom svg { width: 16px; height: 16px; }
.insp__line { position: absolute; left: 0; bottom: 0; z-index: 2; width: 100%; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; pointer-events: none; transition: transform .7s var(--ease); }
.insp:hover .insp__zoom, .insp:focus-within .insp__zoom { opacity: 1; transform: none; background: var(--orange); color: var(--black); }
.insp:hover .insp__line, .insp:focus-within .insp__line { transform: scaleX(1); }

/* Úvodní stránka: stejné čtvercové rámečky 4 × 2 */
.insp-grid--even { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.insp-grid--even .insp { margin: 0; aspect-ratio: 1; border-radius: 18px; }
.insp-grid--even .insp img { transform: scale(1.02); filter: saturate(.9); transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.insp-grid--even .insp:hover img { transform: scale(1.09); filter: saturate(1.05); }
.insp-grid--even .insp::after { background: linear-gradient(180deg, rgba(10, 10, 10, .25) 0%, transparent 30%, transparent 50%, rgba(10, 10, 10, .85) 100%); opacity: 1; }
.insp-grid--even figcaption { padding: 1.2rem 1.25rem 1.3rem; transform: none; }
.insp-grid--even figcaption b { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); }
.insp-grid--even figcaption small { opacity: .85; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), margin .5s var(--ease); margin-top: 0; }
.insp-grid--even .insp:hover figcaption small, .insp-grid--even .insp:focus-within figcaption small { max-height: 3em; margin-top: .25rem; }
.js .insp-grid--even .insp { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .insp-grid--even.is-in .insp { opacity: 1; transform: none; }
@media (hover: none) { .insp-grid--even figcaption small { max-height: 3em; margin-top: .25rem; } }
@media (max-width: 1020px) { .insp-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .insp-grid--even { gap: 10px; } .insp-grid--even .insp { border-radius: 12px; } .insp-grid--even figcaption { padding: .7rem .8rem; } .insp-grid--even figcaption small { display: none; } .insp__zoom { width: 32px; height: 32px; top: .5rem; right: .5rem; } }
@media (prefers-reduced-motion: reduce) { .js .insp-grid--even .insp { opacity: 1; transform: none; } }

.insp-more { display: flex; justify-content: center; margin: 2rem 0 0; }
.insp-note { margin-top: 1.5rem; }
.s-grey .insp { background: #e4e4e0; }
@media (max-width: 560px) { .insp-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 1.5rem; padding: 0 var(--gutter) .25rem; scrollbar-width: none; } .insp-filters::-webkit-scrollbar { display: none; } .insp-filters .chip { flex: none; } .insp-grid { columns: 2 140px; column-gap: 8px; } .insp { margin-bottom: 8px; border-radius: 10px; } .insp figcaption { padding: .6rem .7rem; } .insp figcaption b { font-size: .85rem; } .insp figcaption small { display: none; } }

.insp-lb { width: min(1320px, 96vw); height: min(860px, 92vh); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #0a0a0a; color: var(--on-dark); display: none; grid-template-columns: minmax(0, 1fr) 360px; }
.insp-lb[open] { display: grid; animation: lbIn .45s var(--ease); }
.insp-lb::backdrop { background: rgba(0, 0, 0, .86); backdrop-filter: blur(8px); }
.insp-lb__media { position: relative; min-height: 0; display: grid; place-items: center; background: #050505; }
.insp-lb__media img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .45s, transform .6s var(--ease); }
.insp-lb__media img.is-in { opacity: 1; transform: none; }
.insp-lb__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(17, 17, 17, .7); color: var(--white); font-size: 2rem; line-height: 1; backdrop-filter: blur(6px); transition: background .25s; }
.insp-lb__nav:hover { background: var(--orange); color: var(--black); }
.insp-lb__prev { left: 1rem; } .insp-lb__next { right: 1rem; }
.insp-lb__side { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 2rem 1.75rem 1.5rem; border-left: 1px solid var(--line-dark); overflow-y: auto; }
.insp-lb__close { position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark-strong); background: none; color: var(--white); font-size: 1.4rem; line-height: 1; }
.insp-lb__close:hover { border-color: var(--orange); }
.insp-lb__count { margin: 0; font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .16em; color: var(--orange); }
.insp-lb h3 { margin: .25rem 0 0; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-stretch: 110%; }
.insp-lb__sub { margin: 0; color: var(--on-dark-2); font-size: var(--fs-sm); }
.insp-lb__popis { font-size: var(--fs-sm); line-height: 1.6; color: var(--on-dark); }
.insp-lb__actions { display: grid; gap: .6rem; margin-top: auto; }
.insp-lb__actions .link-arrow { justify-self: start; margin-top: .25rem; color: var(--on-dark-2); }
.insp-lb__credit { margin: .75rem 0 0; font-size: .6875rem; color: var(--on-dark-2); }
@media (max-width: 900px) {
  .insp-lb { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; height: 94vh; width: 100vw; border-radius: 14px 14px 0 0; margin-bottom: 0; }
  .insp-lb__side { border-left: 0; border-top: 1px solid var(--line-dark); padding: 1.25rem; max-height: 46vh; }
  .insp-lb__popis { display: none; }
  .insp-lb__nav { width: 44px; height: 44px; margin-top: -22px; }
}

.insp-lb .btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-dark-strong); }
.insp-lb .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--orange); }

/* Realizace – záhlaví s koláží */
.rh { padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.rh__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.rh h1 { max-width: 12ch; }
.rh__facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; list-style: none; padding: 1.25rem 0; margin: 0 0 2rem; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); font-size: var(--fs-sm); color: var(--on-dark-2); }
.rh__facts b { display: block; font: 750 2rem/1 var(--font-head); color: var(--white); margin-bottom: .25rem; }
.rh__collage { position: relative; aspect-ratio: 1 / .92; }
.rh__img { position: absolute; object-fit: cover; border-radius: 16px; box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .8); animation: rhIn 1.2s var(--ease) both; }
.rh__img--0 { left: 0; top: 6%; width: 68%; aspect-ratio: 4 / 3; z-index: 2; }
.rh__img--1 { right: 0; top: 0; width: 46%; aspect-ratio: 3 / 4; animation-delay: .15s; }
.rh__img--2 { right: 8%; bottom: 0; width: 54%; aspect-ratio: 16 / 10; z-index: 3; animation-delay: .3s; border: 4px solid var(--black); }
@keyframes rhIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@media (max-width: 900px) { .rh__grid { grid-template-columns: 1fr; } .rh__collage { max-width: 560px; } }

/* Naše realizace – prázdný stav a karty */
.proj-empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.proj-empty h2 { max-width: 16ch; }
.proj-card { border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .35); }
.proj-card__img { aspect-ratio: 16 / 9; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--grey) 0 14px, var(--grey-2) 14px 28px); }
.proj-card__img span { padding: .45rem .9rem; border-radius: 999px; background: var(--white); font-size: var(--fs-xs); color: var(--text-2); border: 1px dashed var(--line-strong); }
.proj-card__body { padding: 1.4rem 1.5rem 1.5rem; }
.proj-card ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.proj-card li { padding: .7rem 0; border-top: 1px solid var(--line); }
.proj-card li span { display: block; font: 700 var(--fs-xs)/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.proj-card li b { display: block; margin-top: .2rem; font-weight: 500; font-size: var(--fs-sm); color: var(--text-2); }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.proj { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.proj img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proj__main { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey); }
.proj__main img { transition: transform 1s var(--ease); }
.proj__main:hover img { transform: scale(1.04); }
.proj h3 { margin: 0; }
.proj__n { margin: .25rem 0 0; font-size: var(--fs-xs); color: var(--text-2); }
.proj__thumbs { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin: .9rem 0 0; padding: 0; }
.proj__thumbs .proj__a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--grey); }
.proj__thumbs .proj__a:hover { box-shadow: 0 0 0 2px var(--orange); }
.proj dl { margin-top: .9rem; }
.proj-video { position: relative; margin: 0 0 1.25rem; border-radius: 16px; overflow: hidden; background: #000; }
.proj-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.proj-video figcaption { position: absolute; left: 1rem; top: 1rem; display: flex; gap: .5rem; align-items: center; padding: .5rem .85rem; border-radius: 999px; background: rgba(0, 0, 0, .55); color: var(--white); font: 600 var(--fs-xs)/1 var(--font-head); pointer-events: none; }
.proj-video figcaption b { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .6875rem; }
.proj > div { padding: 1.25rem; }
.proj dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: var(--fs-sm); margin: 0; }
.proj dt { color: var(--text-2); }
@media (max-width: 900px) { .proj-empty { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .proj-card ul { grid-template-columns: 1fr; } }

/* ==========================================================================
   POSTUP REALIZACE
   ========================================================================== */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); }
.process__visual { position: sticky; top: calc(var(--header-h) + 2rem); height: min(70vh, 620px); border-radius: 18px; background: var(--ink); overflow: hidden; border: 1px solid var(--line-dark); }
.process__visual svg { width: 100%; height: 100%; }
.process__visual .pl { opacity: 0; transform: translateY(-30px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.process__visual .pl.on { opacity: 1; transform: none; }
.process__visual .pl-hl { transition: opacity .5s; opacity: 0; }
.process__visual .pl-hl.on { opacity: 1; }
.process__badge { position: absolute; left: 1.25rem; top: 1.25rem; font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .14em; color: var(--orange); }
.process__badge span { color: var(--on-dark-2); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { position: relative; padding: 2rem 0 2rem 4.5rem; border-top: 1px solid var(--line-dark); opacity: .38; transition: opacity .5s; }
.step.is-active { opacity: 1; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2rem; font: 700 1.1rem/1 var(--font-head); color: var(--on-dark-2); transition: color .4s; }
.step.is-active::before { color: var(--orange); }
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; color: var(--on-dark-2); max-width: 52ch; }
.step__icon { position: absolute; left: 0; top: 3.6rem; width: 36px; height: 36px; color: var(--on-dark-2); }
.step.is-active .step__icon { color: var(--orange); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .process__visual { top: calc(var(--header-h) + .5rem); height: 34vh; z-index: 2; } }

/* ==========================================================================
   PROČ MY
   ========================================================================== */
.statement { font: 750 clamp(2.2rem, 1.2rem + 4.6vw, 6rem)/.98 var(--font-head); font-stretch: 112%; letter-spacing: -.035em; max-width: 16ch; margin: 0 0 clamp(3rem, 2rem + 3vw, 5rem); }
.statement .dim { color: var(--on-dark-2); opacity: .55; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 16px; overflow: hidden; }
.pillar { background: var(--black); padding: 2rem 1.75rem; transition: background .4s; }
.pillar:hover { background: var(--ink); }
.pillar svg { width: 40px; height: 40px; color: var(--orange); margin-bottom: 1.25rem; }
.pillar h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.pillar p { color: var(--on-dark-2); font-size: var(--fs-sm); margin: 0; }

/* CTA pás */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); background: var(--orange); color: var(--black); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; isolation: isolate; }
.cta-band h2 { margin: 0 0 .75rem; max-width: 18ch; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-band__art { position: absolute; right: -6%; top: -30%; width: 46%; z-index: -1; opacity: .18; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ==========================================================================
   OBSAH / ČLÁNKY / FAQ
   ========================================================================== */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin-top: 2.5em; }
.prose h3 { margin-top: 2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--orange-ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); font-weight: 650; background: var(--grey); }
.table-wrap { overflow-x: auto; }
.callout { padding: 1.25rem 1.5rem; border-radius: 12px; background: var(--grey); border-left: 3px solid var(--orange); margin: 1.75rem 0; }
.callout p:last-child { margin: 0; }
.two-col > * { min-width: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.75rem; border-radius: 16px; background: var(--black); color: var(--on-dark); }
.aside-card h2, .aside-card h3 { font-size: 1.35rem; }
.aside-card ul { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line-dark); }
.aside-card li a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font-size: var(--fs-sm); }
.aside-card li a:hover { color: var(--orange); }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .aside-card { position: static; } }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; font: 650 var(--fs-lg)/1.3 var(--font-head); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.5rem; max-width: 70ch; color: var(--text-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; padding: 1.75rem; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25); border-color: transparent; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--text-2); font-size: var(--fs-sm); }
.card .link-arrow { margin-top: auto; color: var(--orange-ink); }
.card__k { font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 1rem; }
.s-dark .card, .s-ink .card { background: var(--ink); border-color: var(--line-dark); color: var(--on-dark); }
.s-dark .card p, .s-ink .card p { color: var(--on-dark-2); }
.s-dark .card .link-arrow, .s-dark .card__k { color: var(--orange); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem 2.5rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.feature p { color: var(--text-2); font-size: var(--fs-sm); margin: 0; }
.feature__n { font: 700 var(--fs-xs)/1 var(--font-head); color: var(--orange-ink); letter-spacing: .14em; display: block; margin-bottom: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.towns { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.towns li { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); }

/* ==========================================================================
   KONTAKT + MAPA
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-list span { color: var(--on-dark-2); font-size: var(--fs-sm); }
.contact-list a, .contact-list b { font: 650 var(--fs-lg)/1.3 var(--font-head); text-decoration: none; }
.contact-list a:hover { color: var(--orange); }
.area-map { position: relative; border-radius: 18px; overflow: hidden; background: #161616; border: 1px solid var(--line-dark); }
.area-map svg { width: 100%; height: auto; }
.area-map .pulse { transform-origin: center; transform-box: fill-box; animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FORMULÁŘE (sdílené)
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 550; }
.field .hint { font-size: var(--fs-xs); color: var(--on-dark-2); }
.input { width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--line-dark-strong); background: rgba(255, 255, 255, .04); color: var(--on-dark); transition: border-color .2s, background .2s; }
.input::placeholder { color: rgba(243, 243, 241, .4); }
.input:hover { border-color: rgba(243, 243, 241, .4); }
.input:focus { outline: none; border-color: var(--orange); background: rgba(255, 89, 0, .06); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
select.input option { color: #111; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: #ff8a80; font-size: var(--fs-xs); min-height: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
@media (max-width: 600px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); margin-bottom: .8rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .15em 0 0; accent-color: var(--orange); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   KONFIGURÁTOR POPTÁVKY
   ========================================================================== */
.wizard { position: relative; border-radius: 22px; background: linear-gradient(180deg, #181818, #111); border: 1px solid var(--line-dark); color: var(--on-dark); overflow: hidden; }
.wizard__top { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem clamp(1.25rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--line-dark); }
.wizard__count { font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .14em; white-space: nowrap; }
.wizard__count b { color: var(--orange); }
.progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--p, 11%); background: linear-gradient(90deg, #c94500, var(--orange)); box-shadow: 0 0 12px var(--orange); transition: width .6s var(--ease); }
.wizard__name { font-size: var(--fs-xs); color: var(--on-dark-2); white-space: nowrap; }
.wizard__body { padding: clamp(1.5rem, 1rem + 3vw, 3.5rem) clamp(1.25rem, 1rem + 2vw, 2.5rem); min-height: 520px; }
.wstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.wstep[hidden] { display: none; }
.wstep.is-entering { animation: stepIn .55s var(--ease); }
.wstep.is-entering.back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-40px); } }
.wstep legend { font: 750 clamp(1.6rem, 1.2rem + 1.8vw, 2.75rem)/1.05 var(--font-head); font-stretch: 108%; letter-spacing: -.025em; margin-bottom: .6rem; padding: 0; }
.wstep legend:focus { outline: none; }
.wstep .sub { color: var(--on-dark-2); margin-bottom: 2rem; max-width: 60ch; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.opts--sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt label { position: relative; display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: 1.1rem 1.1rem 1.2rem; border-radius: 14px; border: 1px solid var(--line-dark-strong); background: rgba(255, 255, 255, .025); cursor: pointer; transition: border-color .25s, background .25s, transform .35s var(--ease); }
.opt label:hover { border-color: rgba(243, 243, 241, .45); transform: translateY(-2px); }
.opt input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }
.opt input:checked + label { border-color: var(--orange); background: rgba(255, 89, 0, .1); }
.opt label::after { content: ""; position: absolute; top: .9rem; right: .9rem; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-dark-strong); transition: background .2s, border-color .2s; }
.opt input[type="checkbox"] + label::after { border-radius: 5px; }
.opt input:checked + label::after { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--orange); }
.opt svg { width: 100%; height: 72px; color: var(--on-dark-2); transition: color .3s; }
.opt input:checked + label svg { color: var(--orange); }
.opt b { font: 650 var(--fs-sm)/1.25 var(--font-head); padding-right: 1.5rem; }
.opt small { color: var(--on-dark-2); font-size: var(--fs-xs); line-height: 1.4; }
.opt .sw { display: block; height: 56px; border-radius: 8px; background: var(--c); }
.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1.25rem, 1rem + 2vw, 2.5rem); border-top: 1px solid var(--line-dark); background: rgba(0, 0, 0, .25); }
.wizard__nav .btn--ghost { color: var(--on-dark); }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 3rem 1.5rem; border-radius: 16px; border: 1.5px dashed var(--line-dark-strong); text-align: center; transition: border-color .25s, background .25s; }
.dropzone.is-over { border-color: var(--orange); background: rgba(255, 89, 0, .08); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 44px; height: 44px; color: var(--orange); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .75rem; margin-top: 1rem; list-style: none; padding: 0; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--ink-2); display: grid; place-items: center; font-size: var(--fs-xs); text-align: center; padding: .25rem; animation: stepIn .4s var(--ease); }
.thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .75); color: #fff; line-height: 1; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; margin-bottom: 1.75rem; }
.summary__item { position: relative; padding: 1.1rem 1.2rem; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.summary__item dt { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: .35rem; }
.summary__item dd { margin: 0; font-weight: 550; }
.summary__item button { position: absolute; top: .8rem; right: .8rem; border: 0; background: none; color: var(--orange); font-size: var(--fs-xs); text-decoration: underline; }
.form-alert { padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid var(--danger); background: rgba(214, 69, 59, .12); margin-bottom: 1.25rem; font-size: var(--fs-sm); }
.form-alert[hidden] { display: none; }
.success { text-align: center; padding: 3rem 1rem; }
.success svg { width: 120px; height: 120px; margin: 0 auto 1.5rem; }
.success circle { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s var(--ease) forwards; }
.success path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* ---------- Poptávka v2: tečky kroků, plocha (zadat / spočítat), efekty ---------- */
.wizard { --fx: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); }
.wizard__dots { list-style: none; display: flex; gap: .25rem; margin: 0; padding: .9rem clamp(1.25rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--line-dark); overflow-x: auto; scrollbar-width: none; }
.wizard__dots::-webkit-scrollbar { display: none; }
.wizard__from { margin: 0; padding: .7rem clamp(1.25rem, 1rem + 2vw, 2.5rem); font-size: .875rem; color: var(--orange-hi); border-bottom: 1px solid var(--line-dark); }
.wizard__dots li { flex: 1; min-width: 0; }
.wizard__dots button { width: 100%; display: flex; align-items: center; gap: .5rem; padding: .35rem .25rem; border: 0; background: none; color: var(--on-dark-2); font: 600 .6875rem/1.2 var(--font-head); letter-spacing: .04em; text-align: left; cursor: pointer; transition: color .3s; }
.wizard__dots button:disabled { cursor: default; opacity: .45; }
.wizard__dots i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-dark-strong); transition: box-shadow .4s var(--fx), background .4s var(--fx); }
.wizard__dots i::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.4' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; transform: scale(0); transition: transform .45s var(--spring); }
.wizard__dots span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wizard__dots .is-done { color: var(--on-dark); }
.wizard__dots .is-done i { background: var(--orange); box-shadow: none; }
.wizard__dots .is-done i::after { transform: scale(1); }
.wizard__dots .is-on { color: var(--white); }
.wizard__dots .is-on i { box-shadow: inset 0 0 0 2px var(--orange), 0 0 0 5px rgba(255, 89, 0, .16); animation: dotPulse 2.2s ease-in-out infinite; }
@keyframes dotPulse { 50% { box-shadow: inset 0 0 0 2px var(--orange), 0 0 0 9px rgba(255, 89, 0, .05); } }
@media (max-width: 760px) { .wizard__dots span { display: none; } .wizard__dots li { flex: 0 0 auto; } .wizard__dots { justify-content: space-between; } }
/* přechod kroku: obsah naskočí postupně, s jemným rozostřením */
.wstep.is-entering { animation: stepIn2 .6s var(--fx); }
.wstep.is-entering.back { animation-name: stepInBack2; }
@keyframes stepIn2 { from { opacity: 0; transform: translateX(36px); filter: blur(6px); } }
@keyframes stepInBack2 { from { opacity: 0; transform: translateX(-36px); filter: blur(6px); } }
.wstep.is-entering > * { animation: rise .7s var(--fx) both; }
.wstep.is-entering > :nth-child(2) { animation-delay: .05s; } .wstep.is-entering > :nth-child(3) { animation-delay: .1s; } .wstep.is-entering > :nth-child(n+4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.wstep.is-shake { animation: shake .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
/* výběrové karty: fajfka „pružně“ naskočí, karta se lehce zvedne */
.opt input:checked + label { box-shadow: 0 14px 30px -18px rgba(255, 89, 0, .55); }
.opt input:checked + label::after { animation: pop .45s var(--spring); }
@keyframes pop { from { transform: scale(.4); } }
.opt label { transition: border-color .25s, background .25s, transform .35s var(--fx), box-shadow .35s var(--fx); }
.opt label:active { transform: scale(.98); }
/* platné pole: oranžová fajfka vpravo */
.wizard .input.is-ok, .wizard .area-input.is-ok, .wizard .part-in.is-ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23ff5900' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; }
.wizard .input[aria-invalid="true"] { border-color: #ff6b5a; }
/* přepínač Znám rozlohu / Spočítám si ji s posuvnou podložkou */
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark); margin-bottom: 1.75rem; }
.seg__b { position: relative; z-index: 1; cursor: pointer; }
.seg__b input { position: absolute; opacity: 0; inset: 0; }
.seg__b span { display: block; padding: .75rem 1.4rem; font: 650 var(--fs-sm)/1 var(--font-head); color: var(--on-dark-2); text-align: center; white-space: nowrap; transition: color .35s var(--fx); }
.seg__b input:checked + span { color: var(--black); }
.seg__b input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 999px; }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--orange); box-shadow: 0 8px 20px -8px rgba(255, 89, 0, .7); transition: transform .5s var(--spring); }
.is-spocitat .seg__pill { transform: translateX(100%); }
.area-pane.is-entering { animation: rise .55s var(--fx); }
/* Znám rozlohu: velké číslo a tlačítka ± */
.area-big { display: flex; align-items: center; gap: 1rem; }
.area-step { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-dark-strong); color: var(--white); font: 400 1.8rem/1 var(--font-head); cursor: pointer; transition: background .25s, transform .3s var(--spring); }
.area-step:hover { background: rgba(255, 89, 0, .2); }
.area-step:active { transform: scale(.9); }
.area-field { position: relative; display: flex; align-items: baseline; gap: .5rem; border-bottom: 2px solid var(--line-dark-strong); transition: border-color .3s; }
.area-field:focus-within { border-color: var(--orange); }
.area-input { width: 5.5ch; border: 0; background: transparent; color: var(--white); font: 800 clamp(2.6rem, 2rem + 2.5vw, 4rem)/1.1 var(--font-head); letter-spacing: -.03em; text-align: right; padding: 0 0 .1rem; -moz-appearance: textfield; }
.area-input::-webkit-outer-spin-button, .area-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area-input:focus { outline: none; }
.area-input.is-ok { background-position: left 0 center; }
.area-field span { font: 700 1.4rem/1 var(--font-head); color: var(--on-dark-2); }
.area-presets-l { margin-top: 1.5rem; }
.area-presets { display: flex; flex-wrap: wrap; gap: .5rem; }
.area-preset { transition: background .25s, border-color .25s, color .25s, transform .3s var(--spring); }
.area-preset[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--black); transform: translateY(-2px); }
/* Spočítám si ji: části plochy délka × šířka */
.area-parts { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.area-part { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto minmax(0, 1fr) 5.5rem 2.25rem; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-dark); }
.area-part.is-new { animation: rise .5s var(--fx); }
.area-part.is-leaving { opacity: 0; transform: translateX(20px); transition: opacity .2s, transform .2s; }
.area-part__n { font: 700 .6875rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.area-part label { position: relative; display: block; }
.area-part em { position: absolute; right: .75rem; top: 50%; translate: 0 -50%; font-style: normal; color: var(--on-dark-2); font-size: var(--fs-xs); pointer-events: none; }
.part-in { width: 100%; height: 48px; padding: 0 1.8rem 0 .9rem; border-radius: 10px; border: 1px solid var(--line-dark-strong); background: rgba(0, 0, 0, .25); color: var(--white); font: 650 1.05rem/1 var(--font-head); -moz-appearance: textfield; transition: border-color .25s; }
.part-in::-webkit-outer-spin-button, .part-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.part-in:focus { outline: none; border-color: var(--orange); }
.part-in.is-ok { background-position: right 1.8rem center; background-size: 12px; }
.area-part__x { color: var(--on-dark-2); }
.area-part__m { font: 750 1.05rem/1 var(--font-head); color: var(--white); text-align: right; font-variant-numeric: tabular-nums; }
.area-part__del { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--on-dark-2); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s; }
.area-part__del:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.area-part .err { grid-column: 1 / -1; margin: 0; }
.area-part .err:empty { display: none; }
.area-tip { font-size: var(--fs-xs); margin: .75rem 0 0; }
@media (max-width: 560px) { .area-part { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 2.25rem; } .area-part__n { grid-column: 1 / -1; } .area-part__m { grid-column: 1 / -2; text-align: left; } .area-big { gap: .6rem; } .area-step { width: 48px; height: 48px; } }
/* souhrn plochy: animované číslo a obdélníky v poměru stran */
.area-total { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.75rem; padding: 1.1rem 1.4rem; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 89, 0, .12), rgba(255, 89, 0, .02)); box-shadow: inset 0 0 0 1px rgba(255, 89, 0, .25); }
.area-viz { flex: none; width: 140px; height: 88px; }
.area-viz rect { fill: rgba(255, 89, 0, .16); stroke: var(--orange); stroke-width: 1.5; transform-box: fill-box; transform-origin: 50% 100%; animation: grow .6s var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms); transition: x .4s var(--fx), y .4s var(--fx), width .4s var(--fx), height .4s var(--fx); }
.area-viz .viz-empty { fill: none; stroke: var(--line-dark-strong); stroke-dasharray: 5 5; animation: none; }
@keyframes grow { from { transform: scaleY(.2); opacity: 0; } }
.area-total b { display: block; font: 800 clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem)/1.05 var(--font-head); color: var(--orange); font-variant-numeric: tabular-nums; }
.area-total small { display: block; margin-top: .25rem; color: var(--on-dark-2); font-size: var(--fs-xs); }
.area-nevim { margin-top: 1rem; }
.is-nevim .area-pane, .is-nevim .seg { opacity: .35; pointer-events: none; transition: opacity .3s; }
/* souhrn naskočí položku po položce, odeslání s točícím se indikátorem */
.wstep.is-entering .summary__item { animation: rise .6s var(--fx) both; animation-delay: calc(.1s + var(--n, 0) * 45ms); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .25); border-top-color: var(--black); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wizard *, .wizard *::before, .wizard *::after { animation: none !important; transition: none !important; } }

/* Kalkulačka zámkové dlažby */
.kc-wrap { padding-top: 2.5rem; }
.kc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.25rem, 1rem + 2vw, 3rem); align-items: start; }
.kc__box { border: 0; margin: 0 0 1.25rem; padding: 1.4rem; border-radius: 18px; background: var(--ink); border: 1px solid var(--line-dark); min-width: 0; }
.kc__box legend { float: left; width: 100%; display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.1rem; padding: 0; font: 700 1.2rem/1.2 var(--font-head); }
.kc__box legend span { font-size: var(--fs-xs); letter-spacing: .16em; color: var(--orange); }
.kc__box legend + * { clear: both; }
.kc__mode { display: inline-flex; padding: 4px; margin-bottom: 1rem; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.kc__mode label { cursor: pointer; }
.kc__mode input { position: absolute; opacity: 0; }
.kc__mode span { display: block; padding: .5rem 1rem; border-radius: 999px; font: 600 var(--fs-xs)/1 var(--font-head); color: var(--on-dark-2); transition: background .2s, color .2s; }
.kc__mode input:checked + span { background: var(--white); color: var(--black); }
.kc__mode input:focus-visible + span { outline: 2px solid var(--orange); }
.kc__list { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .5rem; }
.kc__part { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(64px, auto) 34px; align-items: center; gap: .5rem; animation: stepIn .4s var(--ease); }
.kc__pn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 89, 0, .15); color: var(--orange); font: 700 var(--fs-xs) var(--font-head); }
.kc__part .input { min-height: 46px; text-align: center; font: 700 1.05rem var(--font-head); }
.kc__part i { font-style: normal; color: var(--on-dark-2); }
.kc__pm { font-size: var(--fs-sm); color: var(--on-dark-2); }
.kc__pa { text-align: right; font: 700 var(--fs-sm) var(--font-head); color: var(--white); white-space: nowrap; }
.kc__rm { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark-strong); background: none; color: var(--on-dark-2); font-size: 1.1rem; line-height: 1; }
.kc__rm:hover { border-color: var(--orange); color: var(--orange); }
.kc__typy { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.kc-typ { position: relative; cursor: pointer; }
.kc-typ input { position: absolute; opacity: 0; inset: 0; }
.kc-typ span { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .85rem .9rem; border-radius: 12px; border: 1px solid var(--line-dark-strong); transition: border-color .2s, background .2s; }
.kc-typ b { font: 700 var(--fs-sm)/1.2 var(--font-head); }
.kc-typ small { font-size: var(--fs-xs); color: var(--on-dark-2); }
.kc-typ em { margin-top: .35rem; font: 600 .6875rem/1.2 var(--font-head); font-style: normal; letter-spacing: .04em; color: var(--orange); }
.kc-typ input:checked + span { border-color: var(--orange); background: rgba(255, 89, 0, .1); }
.kc-typ input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.kc__checks { justify-content: center; }
.kc__out { position: sticky; top: calc(var(--header-h) + 1rem); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: 20px; background: var(--white); color: var(--text); }
.kc__out .eyebrow { color: var(--text-2); }
.kc__big { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.kc__big > div { padding: 1rem 1.1rem; border-radius: 14px; background: var(--grey); }
.kc__big span { display: block; font-size: var(--fs-xs); color: var(--text-2); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.kc__big b { display: block; margin: .3rem 0 .15rem; font: 750 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1 var(--font-head); color: var(--orange-ink); }
.kc__big > div + div b { color: var(--black); }
.kc__big small { font-size: var(--fs-xs); color: var(--text-2); }
.kc__rez { margin: 0 0 1.25rem; padding: 1rem; border-radius: 14px; background: #161616; color: var(--on-dark); }
.kc__rez figcaption { display: flex; justify-content: space-between; margin-bottom: .5rem; font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.kc__rez figcaption span + span { color: var(--on-dark-2); }
.kc__rez svg { width: 100%; height: auto; overflow: visible; }
.kc__rez .kc-t1 { font: 600 12px var(--font-body); fill: #f3f3f1; }
.kc__rez .kc-t2 { font: 500 11px var(--font-body); fill: #a6a6a0; }
.kc__rez .kc-l { animation: kcIn .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes kcIn { from { opacity: 0; transform: translateY(-8px); } }
.kc__tab { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.kc__tab th { text-align: left; font: 600 var(--fs-xs)/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); padding: .5rem .4rem; border-bottom: 1px solid var(--line-strong); }
.kc__tab td { padding: .6rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.kc__tab td small { display: block; font-size: var(--fs-xs); color: var(--text-2); }
.kc__tab td:nth-child(n+3) { white-space: nowrap; }
.kc__rows { margin: 1rem 0; }
.kc__rows li { border-color: var(--line); }
.kc__price { padding: .8rem 1rem; border-radius: 10px; background: rgba(255, 89, 0, .1); font-weight: 600; }
.kc__note { font-size: var(--fs-xs); color: var(--text-2); }
.kc__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.kc__cta .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--text); }
.kc .hint { font-size: var(--fs-xs); color: var(--on-dark-2); margin: .3rem 0 0; }
@media (max-width: 1020px) { .kc { grid-template-columns: minmax(0, 1fr); } .kc__out { position: static; } }
@media (max-width: 560px) { .kc__part { grid-template-columns: 26px minmax(0, 1fr) auto minmax(0, 1fr) 30px; } .kc__pm { display: none; } .kc__pa { grid-column: 2 / -2; text-align: left; font-size: var(--fs-xs); } .kc__rm { grid-column: -2; grid-row: 1; } .kc__big { grid-template-columns: 1fr; } }
@media print {
  .site-header, .site-footer, .page-hero .lead, .kc__in, .kc__cta, .cta-band, .kc-wrap + .section, .cursor, .dev-banner { display: none !important; }
  body, .s-dark { background: #fff !important; color: #000 !important; }
  .kc { display: block; } .kc__out { position: static; box-shadow: none; padding: 0; }
  .kc__rez { background: #fff; border: 1px solid #ccc; } .kc__rez .kc-t1 { fill: #000; }
}

/* ==========================================================================
   PATIČKA
   ========================================================================== */
.site-footer { background: var(--black); color: var(--on-dark); padding: clamp(4rem, 3rem + 4vw, 7rem) 0 2rem; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 4rem; }
.footer-top p { color: var(--on-dark-2); font-size: var(--fs-sm); max-width: 34ch; margin-top: 1.25rem; }
.fh { font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer li a { text-decoration: none; font-size: var(--fs-sm); }
.site-footer li a:hover { color: var(--orange); }
.footer-word { font: 800 clamp(3rem, 1rem + 11vw, 12rem)/.8 var(--font-head); font-stretch: 125%; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(243, 243, 241, .16); white-space: nowrap; overflow: hidden; margin: 0 0 2rem; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); color: var(--on-dark-2); }
.footer-bottom a { text-decoration: none; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* Kurzor (jen jemné ukazovátko, systémový kurzor zůstává) */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid var(--orange); border-radius: 50%; pointer-events: none; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s, background .3s; mix-blend-mode: difference; }
.cursor.is-on { opacity: .9; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 89, 0, .15); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.dev-banner { position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 9000; background: #b3261e; color: #fff; padding: .3rem .8rem; border-radius: 999px; font-size: 12px; }

/* Omezení pohybu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
  .cursor { display: none; }
}

/* Katalog BEST */
.kat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; margin-bottom: 2.5rem; }
.kat-tile { position: relative; display: block; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--ink); color: var(--white); text-align: left; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.kat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.kat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .82)); }
.kat-tile span { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; }
.kat-tile b { display: block; font: 700 1.05rem/1.15 var(--font-head); }
.kat-tile small { display: block; margin-top: .25rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, .78); line-height: 1.35; }
.kat-tile:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
.kat-tile:hover img { transform: scale(1.06); }
.kat-tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--grey), 0 0 0 6px var(--orange); }
.kat-tools { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding: .75rem; margin-bottom: 1.5rem; border-radius: 14px; background: rgba(243, 243, 241, .92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .35); }
.kat-tools .filters { margin: 0; align-items: center; }
.kat-q { flex: 1 1 280px; max-width: 460px; min-height: 46px; background: var(--white); color: var(--text); border-color: var(--line-strong); }
.kat-q::placeholder { color: var(--text-2); }
.kat-q:focus { background: var(--white); }
.kat-lbl { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; margin-right: .25rem; }
.kat-count { font-size: var(--fs-sm); margin: 0 0 0 auto; }
.kat-group { margin-bottom: 3rem; }
.kat-group h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); padding-bottom: .75rem; border-bottom: 2px solid var(--black); margin-bottom: 1.25rem; }
.kat-group h3 small { font: 400 var(--fs-sm) var(--font-body); color: var(--text-2); letter-spacing: 0; }
.kat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.kat-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.kat-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .35); }
.kat-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.kat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.kat-card:hover .kat-card__img img { transform: scale(1.06); }
.kat-vys { position: absolute; right: .75rem; bottom: .75rem; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.kat-vys li { padding: .25rem .5rem; border-radius: 6px; background: rgba(17, 17, 17, .8); color: var(--white); font: 600 .6875rem/1 var(--font-head); }
.kat-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.2rem; }
.kat-card h4 { font: 750 1.2rem/1.15 var(--font-head); margin: 0 0 .4rem; }
.kat-card__popis { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .75rem; }
.kat-sws { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 0 0 .4rem; }
.kat-sw { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.kat-card__n { font-size: var(--fs-xs); color: var(--text-2); margin-bottom: .5rem; }
.kat-card details { margin-top: auto; font-size: var(--fs-sm); }
.kat-card summary { cursor: pointer; color: var(--orange-ink); font-weight: 600; padding: .25rem 0; }
.kat-var { list-style: none; padding: .25rem 0 0; margin: 0; max-height: 200px; overflow: auto; }
.kat-var li { padding: .3rem 0; border-bottom: 1px solid var(--line); }
.kat-var a { text-decoration: none; font-size: var(--fs-xs); }
.kat-var a:hover { color: var(--orange-ink); }
.kat-card__foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .9rem; margin-top: .75rem; border-top: 1px solid var(--line); }
.kat-card__foot .link-arrow { color: var(--orange-ink); }
@media (max-width: 640px) { .kat-tiles { grid-template-columns: 1fr 1fr; } .kat-tools { position: static; } .kat-count { margin: 0; } }

/* Konfigurátor vizualizace */
.konf-wrap { padding-top: 2rem; }
.konf { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1.25rem; align-items: start; }
.konf__stage { user-select: none; -webkit-user-select: none; position: relative; border-radius: 18px; overflow: hidden; background: #0b0b0b; border: 1px solid var(--line-dark); min-height: 420px; }
.konf__stage.is-over { outline: 2px dashed var(--orange); outline-offset: -8px; }
.konf__canvas { display: block; width: 100%; height: auto; }
.konf__ui { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.konf:not(.has-photo) .konf__canvas, .konf:not(.has-photo) .konf__ui { visibility: hidden; position: absolute; }
.konf__empty { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 2rem; text-align: center; }
.konf__empty svg { width: 52px; height: 52px; color: var(--orange); }
.konf__empty b { font: 700 1.35rem/1.2 var(--font-head); }
.konf__empty span { color: var(--on-dark-2); max-width: 40ch; margin-bottom: .5rem; }
.konf__picked { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 89, 0, .14); box-shadow: inset 0 0 0 1px rgba(255, 89, 0, .45); color: var(--on-dark); font: 600 var(--fs-xs)/1.2 var(--font-head); letter-spacing: .04em; }
.konf__picked[hidden] { display: none; }
.konf__empty .konf__picked b, .konf__picked b { font: 800 var(--fs-sm)/1.2 var(--font-head); color: var(--orange); }
.konf.has-photo .konf__empty { display: none; }
.konf__hint { position: absolute; left: 1rem; right: 1rem; top: 1rem; margin: 0; padding: .6rem .9rem; border-radius: 10px; background: rgba(17, 17, 17, .82); font-size: var(--fs-xs); backdrop-filter: blur(6px); pointer-events: none; }
.konf__hint:empty { display: none; }
.konf__hint.is-warn { border: 1px solid var(--orange); }
.konf__panel { position: sticky; top: calc(var(--header-h) + 1rem); padding: 1.25rem; border-radius: 18px; background: var(--ink); border: 1px solid var(--line-dark); }
.konf__panel h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.konf__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 1.25rem; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.konf__tab { min-height: 40px; border: 0; border-radius: 9px; background: none; color: var(--on-dark-2); font: 650 var(--fs-xs)/1 var(--font-head); }
.konf__tab[aria-selected="true"] { background: var(--orange); color: var(--black); }
.konf__small { font-size: var(--fs-xs); }
.konf__steps { padding-left: 1.1rem; font-size: var(--fs-sm); color: var(--on-dark-2); }
.konf__steps b { color: var(--white); }
.konf__steps li { margin-bottom: .5rem; }
.konf__panel .chip { min-height: 38px; font-size: var(--fs-xs); }
.konf__live { margin: .75rem 0 1rem; font-size: var(--fs-sm); color: var(--on-dark-2); }
.konf__live b { color: var(--orange); font: 750 1.3rem var(--font-head); }
.konf__kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.konf__kind { display: flex; flex-direction: column; gap: .35rem; padding: 0; border: 1px solid var(--line-dark-strong); border-radius: 10px; overflow: hidden; background: none; color: var(--on-dark); text-align: left; }
.konf__kind img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.konf__kind b { font: 600 .6875rem/1.2 var(--font-body); padding: 0 .4rem .45rem; }
.konf__kind[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.konf__colors .swatch { width: 34px; height: 34px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 0 0 2px var(--ink), 0 0 0 3px transparent; }
.konf__colors .swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 0 0 3px var(--ink), 0 0 0 5px var(--orange); }
.konf__rows li span { color: var(--on-dark-2); }
@media (max-width: 1020px) { .konf { grid-template-columns: 1fr; } .konf__panel { position: static; } }
@media (max-width: 520px) { .konf__kinds { grid-template-columns: repeat(2, 1fr); } .konf__stage, .konf__empty { min-height: 300px; } }

