/* SMV Kladno — demo prodejního webu (Pixbakers) */
:root {
  --bg: #f6f3ec; --sand: #ece6da; --paper: #fffdf8;
  --ink: #1b2420; --ink-2: #4c5650; --ink-3: #7d857f; --line: #d9d2c3;
  --green: #2d4a3b; --green-d: #16231d; --ochre: #a9814b; --ochre-l: #d8bf95;
  --free: #3f8f5f; --res: #c9902f; --sold: #b3aca0;
  --pb: #fc5101; --pb-bg: #0a0a0b;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px; --wrap: 1280px; --gut: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.012em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(46px, 8.2vw, 124px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h1 em, h2 em { font-style: italic; color: var(--ochre); }
h3 { font: 600 20px/1.3 var(--sans); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(72px, 10vw, 150px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--green-d); color: #eef0ea; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); margin-bottom: 18px; }
.eyebrow--light { color: var(--ochre-l); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.head { margin-bottom: clamp(32px, 4.5vw, 60px); max-width: 880px; }
.head h2 { margin-bottom: 20px; }
.head--light .lead { color: #b9c2ba; }
.head--light h2 em { color: var(--ochre-l); }
.head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; max-width: none; }
.head--row h2 { margin: 0; }
.note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.demo { display: inline-block; font: 700 10px/1 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 4px 6px 3px; border-radius: 4px; background: var(--ink); color: #fff; vertical-align: 2px; margin-right: 4px; }
.muted { color: var(--ink-3); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* tlačítka */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; border: 1px solid transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); background: var(--green); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ochre-l); }
.btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--line { background: none; color: var(--ink); border-color: var(--line); }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--pb { background: var(--pb); color: #fff; }
.btn--pb:hover { background: #fff; color: var(--pb-bg); }
.link { font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.link:hover { text-decoration-color: currentColor; }

/* pruh demo + navigace */
.ribbon { position: relative; z-index: 60; background: var(--pb-bg); color: #cfcfcb; font-size: 13px; text-align: center; padding: 8px var(--gut); }
.ribbon a { color: #fff; text-underline-offset: 3px; white-space: nowrap; }
.ribbon__tag { display: inline-block; background: var(--pb); color: #fff; font-weight: 700; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; margin-right: 8px; }
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--gut); color: #fff; margin-bottom: -68px; height: 68px; transition: background .4s, color .4s, box-shadow .4s; }
.nav.is-solid { background: rgba(246, 243, 236, .9); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; }
.brand__mark { font: 700 15px/1 var(--sans); letter-spacing: .18em; }
.brand__name { font: italic 26px/1 var(--serif); }
.nav__links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__links a { font-size: 14.5px; font-weight: 500; text-decoration: none; opacity: .86; position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { background: #fff; color: var(--ink); }
.nav.is-solid .nav__cta { background: var(--ink); color: #fff; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav.is-open .nav__burger span:first-child { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--green-d); }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; animation: kb 22s var(--ease) both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade { background: linear-gradient(90deg, rgba(12, 20, 16, .5) 0%, rgba(12, 20, 16, 0) 62%), linear-gradient(180deg, rgba(12, 20, 16, .5) 0%, rgba(12, 20, 16, 0) 26%, rgba(12, 20, 16, .12) 48%, rgba(12, 20, 16, .86) 100%); }
.hero__inner { position: relative; padding: 150px var(--gut) clamp(36px, 5vw, 64px); max-width: calc(var(--wrap) + 2 * var(--gut)); width: 100%; margin: 0 auto; }
.hero__inner > * { animation: up 1.1s var(--ease) both; }
.hero__inner > :nth-child(2) { animation-delay: .1s; } .hero__inner > :nth-child(3) { animation-delay: .2s; } .hero__inner > :nth-child(4) { animation-delay: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(30px); } }
.hero h1 { max-width: 12ch; }
.hero h1 { text-shadow: 0 2px 30px rgba(12, 20, 16, .35); }
.hero h1 em { color: #f3ddb3; }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 52ch; margin: 26px 0 34px; color: #e6e9e3; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { position: relative; margin: 0 auto; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); padding: 0 var(--gut) clamp(26px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.hero__stats div { border-top: 1px solid rgba(255, 255, 255, .28); padding: 16px 16px 0 0; }
.hero__stats dt { font-size: 12.5px; letter-spacing: .04em; color: #c7cec7; }
.hero__stats dd { margin: 4px 0 0; font: 400 clamp(24px, 2.6vw, 36px)/1.1 var(--serif); }
.hero__stats .demo { background: rgba(255, 255, 255, .22); }

/* o projektu */
.intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro h2 { margin-bottom: 22px; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.facts li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.facts b { font-weight: 600; }
.facts span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.intro__media { position: relative; padding-bottom: 14%; }
.intro__img { margin: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.intro__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro__img:hover img { transform: scale(1.04); }
.intro__img--a { aspect-ratio: 4 / 4.4; width: 82%; margin-left: auto; }
.intro__img--b { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 8px solid var(--bg); border-radius: calc(var(--r) + 6px); box-shadow: 0 30px 60px -30px rgba(27, 36, 32, .45); }

/* otočný model */
.orbit { position: relative; aspect-ratio: 1800 / 1150; border-radius: calc(var(--r) + 6px); overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 55%, #fbf9f3 0%, #e4dccb 100%); user-select: none; }
.orbit__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; outline-offset: -4px; }
.orbit.is-drag .orbit__canvas { cursor: grabbing; }
.only-touch { display: none; }
@media (hover: none) { .only-touch { display: inline; } .only-mouse { display: none; } }
.orbit__height { background: rgba(255, 253, 248, .9); backdrop-filter: blur(8px); border-radius: 999px; box-shadow: 0 6px 24px -10px rgba(27, 36, 32, .4); }
.orbit__height { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; justify-items: center; pointer-events: none; padding: 14px 12px; }
.orbit__height span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
.orbit__height i { width: 4px; height: 26px; border-radius: 4px; background: rgba(27, 36, 32, .16); transition: background .25s, transform .3s var(--ease); }
.orbit__height i.is-on { background: var(--ink); transform: scaleX(1.8); }
.orbit__zoom { position: absolute; right: 18px; bottom: 18px; display: grid; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 253, 248, .9); backdrop-filter: blur(8px); box-shadow: 0 6px 24px -10px rgba(27, 36, 32, .4); }
.orbit__zoom button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 400 22px/1 var(--sans); transition: background .2s, transform .15s, opacity .3s; }
.orbit__zoom button:hover { background: var(--sand); }
.orbit__zoom button:active { transform: scale(.9); }
.orbit:not(.is-zoomed) .orbit__zoom [data-zoom=out], .orbit:not(.is-zoomed) .orbit__zoom [data-zoom=reset] { opacity: .35; pointer-events: none; }
.orbit__load { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; opacity: 0; transition: opacity .4s; }
.orbit__load.is-on { opacity: 1; }
.orbit__load i { display: block; height: 100%; width: 0; background: var(--ochre); transition: width .2s; }

/* výběr bytu */
.picker { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: stretch; }
.picker .orbit { aspect-ratio: auto; height: 100%; min-height: 560px; }
.picker__legend { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.picker__legend li { display: flex; align-items: center; gap: 8px; }
.picker__legend svg { color: var(--ochre); flex: none; }
.picker__pins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pin { position: absolute; left: 0; top: 0; display: flex; align-items: center; pointer-events: auto; margin: -22px 0 0 -22px; will-change: transform; transition: opacity .3s; }
.pin b { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: italic 24px/1 var(--serif); box-shadow: 0 0 0 5px rgba(255, 253, 248, .7), 0 10px 22px -8px rgba(0, 0, 0, .6); transition: background .25s, transform .3s var(--ease), box-shadow .25s; flex: none; position: relative; z-index: 1; }
.pin span { position: absolute; left: 34px; top: 4px; background: var(--paper); border-radius: 0 999px 999px 0; padding: 4px 16px 4px 18px; font-size: 13px; font-weight: 600; line-height: 1.25; white-space: nowrap; display: grid; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.pin small { font-weight: 500; font-size: 11.5px; color: var(--free); }
.pin:hover b, .pin:focus-visible b { background: var(--ochre); transform: scale(1.08); }
.pin:hover span, .pin:focus-visible span, .pin.is-sel span { opacity: 1; transform: none; }
.pin.is-sel b { background: var(--ochre); box-shadow: 0 0 0 5px rgba(255, 253, 248, .9), 0 0 0 7px var(--ochre), 0 10px 22px -8px rgba(0, 0, 0, .6); }
.picker__pins.has-sel .pin:not(.is-sel) { opacity: .55; }
.picker__pins.has-sel .pin:not(.is-sel) b { transform: scale(.72); }
.picker__pins.has-sel .pin:not(.is-sel):hover { opacity: 1; }
.orbit.is-drag .pin { pointer-events: none; }
.picker__back { position: absolute; left: 18px; top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--paper); font-size: 13.5px; font-weight: 600; box-shadow: 0 6px 24px -10px rgba(27, 36, 32, .5); transition: transform .2s; z-index: 2; }
.picker__back:hover { transform: translateX(-2px); }
.picker__side { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.picker__title { font: 400 26px/1.1 var(--serif); }
.picker .orbit__zoom { right: auto; left: 18px; bottom: 18px; }
.picker__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.picker__tabs button { padding: 8px 0 6px; border-radius: 10px; border: 1px solid var(--line); font: italic 26px/1.1 var(--serif); display: grid; transition: background .25s, color .25s, border-color .25s; }
.picker__tabs small { font: 600 9.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.picker__tabs button:hover { border-color: var(--ink); }
.picker__tabs button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.picker__tabs button.is-on small { color: #b9c2ba; }
.floors { display: grid; gap: 6px; flex: 1; align-content: start; }
.floors__empty { color: var(--ink-3); font-size: 14.5px; padding: 26px 8px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; }
.floorbtn { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; text-align: left; padding: 13px 14px 15px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, background .25s, transform .25s var(--ease); animation: up .5s var(--ease) both; }
.floorbtn:nth-child(2) { animation-delay: .04s; } .floorbtn:nth-child(3) { animation-delay: .08s; } .floorbtn:nth-child(4) { animation-delay: .12s; } .floorbtn:nth-child(5) { animation-delay: .16s; }
.floorbtn b { font: 400 24px/1 var(--serif); }
.floorbtn span { font-size: 13px; color: var(--ink-3); }
.floorbtn em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--free); }
.floorbtn .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sand); }
.floorbtn .bar i { display: block; height: 100%; background: var(--free); }
.floorbtn:hover { border-color: var(--ink); transform: translateX(3px); }
.floorbtn.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.floorbtn.is-on span { color: #b9c2ba; } .floorbtn.is-on em { color: #8fd3a8; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; }
.st { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.st--free { background: var(--free); } .st--res { background: var(--res); } .st--sold { background: var(--sold); }

.floor { margin-top: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); padding: clamp(18px, 3vw, 36px); animation: up .7s var(--ease) both; scroll-margin-top: 90px; }
.floor__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.floor__head .eyebrow { margin-bottom: 8px; }
.floor__head h3 { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--serif); }
.floor__sum { color: var(--ink-2); font-size: 15px; }
.floor__sum b { color: var(--ink); }
.floor__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); }

.plan { margin: 0; }
.plan__view { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.plan__schema { max-height: 300px; background: linear-gradient(#ece6da 1px, transparent 1px) 0 0 / 100% 12.5%, linear-gradient(90deg, #ece6da 1px, transparent 1px) 0 0 / 5% 100%, #faf8f2; box-shadow: inset 0 0 0 10px #fff, inset 0 0 0 12px var(--ink-3); }
.plan__view img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.plan figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mark { position: absolute; transform: translate(-50%, -50%); padding: 5px 10px 4px; border-radius: 999px; font: 700 12.5px/1 var(--sans); color: #fff; background: var(--free); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 6px 14px -6px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.mark--res { background: var(--res); } .mark--sold { background: #8f897e; }
.mark--up { background: #fff; color: var(--ink-2); box-shadow: 0 0 0 1.5px var(--ink-3); font-weight: 600; }
.mark:hover, .mark.is-hl, .mark:focus-visible { transform: translate(-50%, -50%) scale(1.22); z-index: 2; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink), 0 8px 18px -6px rgba(0, 0, 0, .6); }
.um__rooms { margin: 0 0 20px; padding: 0; list-style: none; columns: 2; column-gap: 24px; font-size: 13.5px; }
.um__rooms li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dotted var(--line); break-inside: avoid; }
.um__rooms span { color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.units { width: 100%; border-collapse: collapse; font-size: 14.5px; white-space: nowrap; }
.units th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); }
.units td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.units .num { text-align: right; font-variant-numeric: tabular-nums; }
.units small { color: var(--ink-3); }
.units tbody tr { cursor: pointer; transition: background .2s; }
.units tbody tr.is-hl { background: #f1ecdf; }
.units tr.is-sold td { color: var(--ink-3); }
.units td:first-child { padding-left: 8px; } .units th:first-child { padding-left: 8px; }
.tag { display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 600; padding: 3px 7px; border-radius: 999px; background: var(--sand); color: var(--ink-2); vertical-align: 1px; }
.tag--360 { background: var(--green); color: #fff; }
.floor__viz { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.floor__viz h4 { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.strip__it { flex: none; width: min(300px, 72vw); text-align: left; scroll-snap-align: start; }
.strip__it img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; transition: filter .3s; }
.strip__it:hover img { filter: brightness(1.07); }
.strip__it span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.strip__it b { color: var(--ink); }

/* 360° prohlídka */
.tour__view { position: relative; aspect-ratio: 16 / 8.2; border-radius: calc(var(--r) + 6px); overflow: hidden; background: #0c1410; }
.tour__view:fullscreen { border-radius: 0; aspect-ratio: auto; }
#pano { position: absolute; inset: 0; }
.tour__start { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s, visibility .6s; }
.tour__start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); transition: transform 1.4s var(--ease), filter .6s; }
.tour__start:hover img { transform: scale(1.04); filter: brightness(.72); }
.tour__start.is-gone { opacity: 0; visibility: hidden; }
.tour__startBtn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 16px; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: pulse 2.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.tour__top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: flex-start; gap: 12px; padding: 16px; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent); z-index: 5; }
.tour__top[hidden] { display: none; }
.tour__top > * { pointer-events: auto; }
.tour__title { margin-right: auto; display: grid; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); pointer-events: none; }
.tour__title small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.tour__title b { font: 400 clamp(22px, 2.6vw, 34px)/1.1 var(--serif); }
.tour__variants { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 253, 248, .92); color: var(--ink); font-size: 13px; }
.tour__variants[hidden] { display: none; }
.tour__variants span { padding: 0 8px 0 12px; font-weight: 600; color: var(--ink-3); }
.tour__variants button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 8px; border-radius: 999px; font-weight: 600; transition: background .25s, color .25s; }
.tour__variants button i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.tour__variants button.is-on { background: var(--ink); color: #fff; }
.tour__fs { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 253, 248, .92); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform .2s; }
.tour__fs:hover { transform: scale(1.08); }
.tour__rooms { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 6px; scrollbar-width: thin; scrollbar-color: #3b4a42 transparent; }
.room { flex: none; width: 132px; text-align: left; opacity: .62; transition: opacity .3s; }
.room img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .3s; }
.room span { display: block; margin-top: 7px; font-size: 13px; font-weight: 500; }
.room:hover, .room.is-on { opacity: 1; }
.room.is-on img { outline-color: var(--ochre-l); }
/* Pannellum: vlastní hotspot a ladění vzhledu */
.pnlm-container { background: #0c1410 !important; font-family: var(--sans) !important; }
.pnlm-load-box { background: rgba(12, 20, 16, .7) !important; border-radius: 12px !important; font-size: 14px !important; }
.pnlm-about-msg { display: none !important; }
.pnlm-hs-custom { width: 0; height: 0; cursor: pointer; }
.hs i { position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 253, 248, .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6), 0 6px 20px rgba(0, 0, 0, .35); animation: pulse 2.4s infinite; transition: transform .3s var(--ease), background .25s; }
.hs span { position: absolute; left: 0; top: 34px; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(12, 20, 16, .82); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: .0; transition: opacity .25s; pointer-events: none; }
.hs:hover i { transform: scale(1.14); background: #fff; }
.hs:hover span { opacity: 1; }
@media (hover: none) { .hs span { opacity: .92; } }

/* varianty */
.variants__tabs, .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.variants__tabs { margin-bottom: 20px; }
.variants__tabs button, .chips button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.variants__tabs button:hover, .chips button:hover { border-color: var(--ink); }
.variants__tabs button.is-on, .chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.variants__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 44px); align-items: center; }
.variants__stage { position: relative; aspect-ratio: 16 / 9.4; border-radius: calc(var(--r) + 6px); overflow: hidden; background: var(--sand); cursor: zoom-in; }
.variants__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.variants__stage img.is-on { opacity: 1; }
.variants__unit { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.variants__side h3 { font: 400 clamp(34px, 3.4vw, 48px)/1.05 var(--serif); margin: 10px 0 6px; }
.variants__code { color: var(--ink-2); font-size: 14.5px; }
.swatches { display: grid; gap: 6px; margin-top: 26px; }
.swatch { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 14.5px; text-align: left; transition: border-color .25s, background .25s; }
.swatch i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .3s var(--ease); flex: none; }
.swatch:hover { border-color: var(--line); }
.swatch:hover i { transform: scale(1.08); }
.swatch.is-on { border-color: var(--ink); background: var(--paper); }

/* galerie */
.gallery { columns: 3 320px; column-gap: 14px; }
.gal { display: block; width: 100%; margin-bottom: 14px; position: relative; border-radius: var(--r); overflow: hidden; break-inside: avoid; cursor: zoom-in; background: var(--line); animation: up .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.gal img { width: 100%; transition: transform 1.1s var(--ease); }
.gal:hover img, .gal:focus-visible img { transform: scale(1.045); }
.gal__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 14px; text-align: left; color: #fff; font-size: 14.5px; font-weight: 500; background: linear-gradient(transparent, rgba(12, 20, 16, .78)); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease); display: grid; gap: 2px; }
.gal__cap small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-l); }
.gal:hover .gal__cap, .gal:focus-visible .gal__cap { opacity: 1; transform: none; }
@media (hover: none) { .gal__cap { opacity: 1; transform: none; } }

/* služby Pixbakers */
.pb { background: var(--pb-bg); color: #fafaf8; }
.eyebrow--pb { color: var(--pb); }
.pb h2 em { color: var(--pb); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service { position: relative; display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: calc(var(--r) + 2px); background: #151516; border: 1px solid #242426; text-decoration: none; transition: border-color .3s, transform .5s var(--ease), background .3s, opacity .9s var(--ease); }
.service__img { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; margin-bottom: 18px; background: #222; }
.service__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1s var(--ease), filter .4s; }
.service__n { font-size: 12px; font-weight: 700; color: var(--pb); letter-spacing: .1em; padding: 0 6px; }
.service h3 { margin: 6px 0 8px; padding: 0 6px; font-size: 19px; }
.service p { font-size: 14.5px; color: #a8a8a4; line-height: 1.55; padding: 0 6px; flex: 1; }
.service__cta { margin-top: 18px; padding: 0 6px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.service__cta i { font-style: normal; color: var(--pb); transition: transform .3s var(--ease); }
.service:hover { border-color: var(--pb); background: #1a1a1b; }
.service.is-in:hover { transform: translateY(-4px); }
.service:hover .service__img img { transform: scale(1.06); filter: none; }
.service:hover .service__cta i { transform: translateX(5px); }
.service--soon .service__img img { filter: grayscale(1) brightness(.6); }
.pb__cta { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 3.5vw, 44px); border-radius: calc(var(--r) + 2px); border: 1px solid #242426; background: linear-gradient(120deg, #1b1310 0%, #151516 60%); }
.pb__cta h3 { font: 400 clamp(26px, 3vw, 40px)/1.1 var(--serif); margin-bottom: 8px; }
.pb__cta p { color: #a8a8a4; }

/* patička */
.footer { background: var(--pb-bg); color: #8f8f8b; border-top: 1px solid #242426; padding: 30px 0 40px; font-size: 13.5px; }
.footer__in { display: flex; gap: 28px; align-items: baseline; flex-wrap: wrap; }
.footer__in p:first-of-type { flex: 1; min-width: 260px; }
.brand--foot { color: #fafaf8; margin: 0; }
.footer a { color: #fafaf8; }

/* lightbox + karta bytu */
.lb, .modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; animation: fade .3s both; }
.lb[hidden], .modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb { z-index: 110; background: rgba(10, 14, 12, .95); grid-template-columns: auto 1fr auto; color: #fff; }
.lb__fig { margin: 0; height: 100%; width: 100%; display: grid; place-items: center; align-content: center; gap: 14px; padding: 56px 0 24px; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 130px); object-fit: contain; border-radius: 6px; opacity: 0; transition: opacity .35s; }
.lb__fig img.is-ready { opacity: 1; }
.lb__fig figcaption { font-size: 14.5px; color: #d5d9d4; display: flex; gap: 10px; align-items: baseline; padding: 0 12px; text-align: center; flex-wrap: wrap; justify-content: center; }
.lb__fig figcaption span { color: #8a938c; font-variant-numeric: tabular-nums; }
.lb--plan { grid-template-columns: 1fr; background: rgba(10, 14, 12, .97); }
.lb--plan .lb__nav { display: none; }
.lb--plan .lb__fig { display: block; overflow: auto; padding: 60px 16px 16px; text-align: center; }
.lb--plan .lb__fig img { max-width: none; max-height: none; width: max(100%, 2800px); background: #fff; border-radius: 4px; }
.lb--plan .lb__fig figcaption { position: fixed; left: 16px; top: 18px; padding: 0; }
.lb--plan .lb__fig figcaption span { display: none; }
.lb__nav { width: clamp(44px, 6vw, 84px); height: 100%; font: 300 44px/1 var(--sans); opacity: .6; transition: opacity .2s, transform .2s; }
.lb__nav:hover { opacity: 1; }
.lb__nav--p:hover { transform: translateX(-3px); } .lb__nav--n:hover { transform: translateX(3px); }
.lb__x, .modal__x { position: absolute; right: 14px; top: 12px; width: 44px; height: 44px; border-radius: 50%; font: 300 30px/1 var(--sans); z-index: 2; transition: background .2s; }
.lb__x:hover { background: rgba(255, 255, 255, .14); }
.modal { background: rgba(10, 14, 12, .6); backdrop-filter: blur(6px); padding: 16px; overflow-y: auto; }
.modal__card { position: relative; width: min(960px, 100%); background: var(--paper); border-radius: calc(var(--r) + 8px); overflow: hidden; animation: up .5s var(--ease) both; }
.modal__x { background: rgba(255, 253, 248, .9); }
.modal__x:hover { background: var(--sand); }
.modal__body { display: grid; grid-template-columns: 1.05fr 1fr; }
.um__media { background: var(--sand); min-height: 340px; }
.um__media img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.um__ph { height: 100%; display: grid; place-content: center; text-align: center; gap: 8px; padding: 24px; color: var(--ink-3); font-size: 14px; }
.um__ph b { font: 400 72px/1 var(--serif); color: var(--ochre); }
.um__info { padding: clamp(22px, 3vw, 40px); }
.um__info h3 { font: 400 clamp(36px, 4vw, 52px)/1 var(--serif); }
.um__status { margin-top: 10px; font-weight: 600; font-size: 14.5px; }
.um__dl { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; }
.um__dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.um__dl dt { font-size: 12.5px; color: var(--ink-3); }
.um__dl dd { margin: 2px 0 0; font-weight: 600; font-size: 17px; }
.um__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.um__actions .btn { padding: 12px 20px; font-size: 14.5px; }
.um__note { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); }

/* menší obrazovky */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .picker { grid-template-columns: minmax(0, 1fr); }
  .picker .orbit { min-height: 0; height: auto; aspect-ratio: 1800 / 1150; }
  .variants__body { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .floors { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .floors__empty { grid-column: 1 / -1; }
  .floorbtn { grid-template-columns: 1fr; gap: 2px; padding: 12px 10px 14px; }
  .floorbtn:hover { transform: none; }
}
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 0; background: var(--green-d); color: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; z-index: -1; }
  .nav__links a { font: 400 34px/1.3 var(--serif); opacity: 1; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { color: #fff; background: none; box-shadow: none; backdrop-filter: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .intro__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .tour__view { aspect-ratio: 4 / 3.4; }
  .modal__body { grid-template-columns: 1fr; }
  .um__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .ribbon { font-size: 12px; }
  .facts { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .orbit { aspect-ratio: 1 / 1; }
  .orbit__height { left: 10px; } .orbit__zoom { right: 10px; bottom: 10px; }
  .floors { gap: 4px; }
  .floorbtn span { display: none; }
  .floorbtn b { font-size: 19px; } .floorbtn em { font-size: 11px; }
  .pin { margin: -18px 0 0 -18px; } .pin b { width: 36px; height: 36px; font-size: 20px; } .pin span { left: 28px; top: 1px; }
  .picker .orbit { aspect-ratio: 1.12 / 1; }
  .picker .orbit__zoom, .picker .orbit__height { display: none; }
  .pin { margin: -15px 0 0 -15px; } .pin b { width: 30px; height: 30px; font-size: 17px; box-shadow: 0 0 0 3px rgba(255, 253, 248, .7), 0 8px 16px -8px rgba(0, 0, 0, .6); } .pin span { left: 22px; top: -2px; }
  .floors__empty { grid-column: 1 / -1; }
  .picker__back { left: 10px; top: 10px; padding: 8px 14px; }
  .picker__title { font-size: 22px; }
  .tour__variants span { display: none; }
  .tour__view { aspect-ratio: 3 / 4; }
  .lb { grid-template-columns: 1fr; }
  .lb__nav { position: absolute; bottom: 8px; height: 52px; width: 64px; z-index: 2; }
  .lb__nav--p { left: 8px; } .lb__nav--n { right: 8px; }
  .lb__fig { padding-bottom: 64px; }
  .hero h1 { font-size: clamp(44px, 13.5vw, 70px); }
  .hero__shade { background: linear-gradient(180deg, rgba(12, 20, 16, .5) 0%, rgba(12, 20, 16, .15) 24%, rgba(12, 20, 16, .55) 50%, rgba(12, 20, 16, .9) 100%); }
  .plan__view { overflow-x: auto; }
  .plan__view > div { position: relative; min-width: 760px; }
  .mark { font-size: 11.5px; padding: 4px 8px 3px; }
  .um__rooms { columns: 1; }
  .picker__legend { font-size: 12.5px; gap: 6px 16px; }
  .units { font-size: 13.5px; }
  .units th:nth-child(4), .units td:nth-child(4), .units th:nth-child(7), .units td:nth-child(7) { display: none; }
  .units .tag:not(.tag--360) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
