/* Kapadom v3 — editorial, grafit + mosaz (DNA z IG karet) */

@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #1a1714;
  --deep: #14110f;
  --line: #3a342d;
  --brass: #c79a5e;
  --brass-hi: #dcb27a;
  --white: #f7f3ee;
  --grout: #c3b7a4;
  --stone: #8c8378;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 120px;
  --gut: max(clamp(20px, 4vw, 64px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1600px;
  --side: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  --nav: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --display: "Clash Display", "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --text: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 8px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--grout);
  font: 400 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, [role="slider"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, figure, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--brass); color: var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: var(--gut); top: -80px; z-index: 100; background: var(--brass); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- typografie ---------- */
.h2 {
  font: 600 clamp(44px, 6.6vw, 104px)/.94 var(--display);
  letter-spacing: -.035em; color: var(--white); text-wrap: balance;
}
.b { color: var(--brass); }

/* ---------- chip + pilulky ---------- */
.chip { display: inline-flex; align-items: baseline; gap: .26em; font: 600 27px/1 var(--display); letter-spacing: -.02em; color: var(--white); }
.chip-sq { display: inline-block; width: .34em; height: .34em; background: var(--brass); flex: none; }
.chip-sm { font-size: 18px; color: var(--brass); }
.chip .logo-k { height: 1.05em; width: auto; align-self: center; margin-right: .22em; }
.pill {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px;
  background: var(--brass); color: var(--bg); font: 600 14px/1 var(--text); letter-spacing: .005em; white-space: nowrap;
}
.pill-dark { background: rgba(20, 17, 15, .78); color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- tlačítka ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 28px; border-radius: 999px; white-space: nowrap;
  font: 700 16px/1 var(--text); letter-spacing: .005em;
  translate: var(--mx, 0px) var(--my, 0px);
  transition: translate .45s var(--ease), scale .16s ease-out, color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn .fill { position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:active { scale: .96; }
.btn-brass { background: var(--brass); color: var(--bg); }
.btn-brass .fill { background: var(--brass-hi); }
.btn-ghost {
  color: var(--white); border: 1px solid rgba(247, 243, 238, .3);
  background: rgba(26, 23, 20, .32); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn-ghost .fill { background: var(--brass); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .fill, .nav-tel:hover .fill { transform: none; }
  .btn-ghost:hover { color: var(--bg); border-color: var(--brass); }
}

/* ---------- navigace ---------- */
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 80px; pointer-events: none; }
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}
.nav.is-solid {
  background-color: rgba(26, 23, 20, .8);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(247, 243, 238, .07);
}
.nav-in { height: var(--nav); max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 40px; }
.nav-in .chip { margin-right: auto; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { position: relative; font: 500 15px/1 var(--text); color: rgba(247, 243, 238, .86); padding: 12px 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
@media (hover: hover) { .nav-links a:hover { color: var(--white); } .nav-links a:hover::after { transform: scaleX(1); } }
.nav-tel {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 999px;
  font: 700 15px/1 var(--text); color: var(--white); font-variant-numeric: tabular-nums;
  border: 1px solid rgba(199, 154, 94, .55); background: rgba(26, 23, 20, .3);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  translate: var(--mx, 0px) var(--my, 0px);
  transition: translate .45s var(--ease), color .35s var(--ease), scale .16s ease-out;
}
.nav-tel svg { width: 17px; height: 17px; color: var(--brass); transition: color .35s; }
.nav-tel .fill { position: absolute; inset: 0; z-index: -1; background: var(--brass); transform: translateY(101%); transition: transform .5s var(--ease); }
.nav-tel:active { scale: .96; }
@media (hover: hover) and (pointer: fine) { .nav-tel:hover { color: var(--bg); } .nav-tel:hover svg { color: var(--bg); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 999px; position: relative; border: 1px solid rgba(247, 243, 238, .26); background: rgba(26, 23, 20, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform .45s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* mobilní menu */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--deep);
  padding: calc(var(--nav) + env(safe-area-inset-top, 0px) + 24px) var(--gut) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none !important; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { font: 600 clamp(40px, 11vw, 56px)/1.12 var(--display); letter-spacing: -.03em; color: var(--white); padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-links a:active { color: var(--brass); }
.menu-foot { display: grid; gap: 12px; }
.menu-foot .btn { width: 100%; }
html.menu-open, html.menu-open body { overflow: hidden; }
.menu.is-in .menu-links a { animation: menuIn .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes menuIn { from { opacity: 0; transform: translateY(18px); } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; background: var(--deep); }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media picture, .hero-img { width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 22% 50%; transform-origin: 70% 60%; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 17, 15, .62) 0%, rgba(20, 17, 15, 0) 22%),
    linear-gradient(90deg, rgba(26, 23, 20, .82) 0%, rgba(26, 23, 20, .5) 26%, rgba(26, 23, 20, 0) 44%),
    linear-gradient(0deg, #1a1714 0%, rgba(26, 23, 20, .9) 16%, rgba(26, 23, 20, .35) 40%, rgba(26, 23, 20, 0) 58%);
}
.hero-shade::after { content: ""; position: absolute; inset: 0; background: rgba(20, 17, 15, .55); opacity: var(--dim, 0); }
.hero-in {
  position: relative; z-index: 2; width: 100%; max-width: var(--max); margin-inline: auto;
  padding: calc(var(--nav) + 40px) var(--gut) 72px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero-h1 {
  font: 600 clamp(44px, 7.4vw, 112px)/.92 var(--display); letter-spacing: -.035em; color: var(--white);
  margin-bottom: 32px;
}
.hero-h1 .ln { display: block; overflow: clip; padding: .1em .02em .06em 0; margin: -.1em 0 -.06em; }
.hero-h1 .ln > span { display: inline-block; }
.hero-lead { max-width: 31ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--grout); margin-bottom: 32px; text-wrap: pretty; }
.hero-area { font: 500 14px/1.4 var(--text); color: rgba(247, 243, 238, .72); white-space: nowrap; padding-bottom: 18px; }
.hero-cue { position: absolute; left: 50%; bottom: 0; z-index: 2; width: 1px; height: 64px; background: rgba(247, 243, 238, .18); overflow: hidden; }
.hero-cue span { position: absolute; left: 0; top: 0; width: 1px; height: 22px; background: var(--brass); }

/* intro, jednou */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-img { animation: heroIn 2s var(--ease) both; }
  .js .hero-h1 .ln > span { animation: lineUp 1.15s var(--ease) both; animation-delay: calc(.12s + var(--i) * .11s); }
  .js .hero-lead { animation: softIn 1s var(--ease) .45s both; }
  .js .hero-btns { animation: softIn 1s var(--ease) .56s both; }
  .js .hero-area { animation: softIn 1s var(--ease) .7s both; }
  .js .nav-in { animation: navIn 1s var(--ease) .2s both; }
  .hero-cue span { animation: cue 2.4s var(--ease-io) 1.4s 2; }
}
@keyframes heroIn { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes lineUp { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes softIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cue { 0% { transform: translateY(-24px); } 60%, 100% { transform: translateY(68px); } }

/* ---------- sekce obecně ---------- */
.sec { padding-block: var(--s6); }
.sec .h2 { margin-bottom: var(--s5); }

/* ---------- SLUŽBY ---------- */
.svc { padding-top: calc(var(--s6) + 24px); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.svc-row { position: relative; padding: 40px 0 44px; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.svc-row h3 { font: 600 44px/1.02 var(--display); letter-spacing: -.03em; color: var(--stone); text-wrap: balance; transition: color .5s var(--ease); }
.svc-row p { margin-top: 14px; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--stone); transition: color .5s var(--ease); text-wrap: pretty; }
.svc-row.is-on::before { transform: scaleX(1); }
.svc-row.is-on h3 { color: var(--white); }
.svc-row.is-on p { color: var(--grout); }
.svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 700 15px/1 var(--text); color: var(--brass); padding: 6px 0; border-bottom: 1px solid rgba(199, 154, 94, .4); transition: border-color .3s; }
.svc-link svg { width: 14px; height: 14px; }
@media (hover: hover) { .svc-link:hover { border-color: var(--brass); } }
.svc-ph { display: none; }

.svc-panel {
  --pw: calc((min(100vw, var(--max)) - 2 * var(--gut) - clamp(40px, 5vw, 96px)) * 1.08 / 2.08);
  position: sticky; top: max(calc(var(--nav) + 24px), calc(50svh - var(--pw) * .375));
}
.svc-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--deep); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.svc-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; z-index: 20; }
.svc-layer { position: absolute; inset: 0; overflow: hidden; clip-path: inset(100% 0 0 0); }
.svc-layer img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; transform: translateY(5%); }
.svc-layer.is-on { clip-path: inset(0 0 0 0); }
.svc-layer.is-on img { transform: translateY(0); }
.svc-layer.anim { transition: clip-path 1s var(--ease-io); }
.svc-layer.anim img { transition: transform 1.3s var(--ease); }
.svc-tag { position: absolute; left: 20px; top: 20px; z-index: 21; overflow: hidden; }
.svc-tag-t { display: inline-block; }
.svc-tag-t.swap { animation: tagIn .6s var(--ease) both; }
@keyframes tagIn { from { transform: translateY(120%); } to { transform: none; } }

/* ---------- PŘEDĚL ---------- */
.split { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: clip; }
.split-media { position: absolute; inset: -14% 0; will-change: transform; }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.split-shade { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #1a1714 0%, rgba(26, 23, 20, 0) 24%, rgba(26, 23, 20, 0) 70%, #1a1714 100%),
    radial-gradient(ellipse 70% 60% at 30% 52%, rgba(20, 17, 15, .72), rgba(20, 17, 15, .36) 70%),
    rgba(20, 17, 15, .2);
}
.split-t { position: relative; z-index: 2; font: 600 clamp(42px, 6.2vw, 96px)/.98 var(--display); letter-spacing: -.035em; color: var(--white); text-wrap: balance; }
.split-t span { display: block; }
.split-t span:last-child { color: var(--grout); max-width: 14ch; }

/* ---------- PŘED / PO ---------- */
.ba-wrap { max-width: calc(1200px + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.ba-head { margin-bottom: var(--s5); }
.ba-head .h2 { margin-bottom: var(--s3); }
.ba-head p { font-size: clamp(17px, 1.3vw, 19px); max-width: 52ch; color: var(--grout); }
@media (min-width: 768px) { .ln-d { display: block; } }
.ba-slider {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--deep);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
.ba-slider::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-radius: inherit; pointer-events: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-pred { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.ba-fig { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--deep); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.ba-fig::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-radius: inherit; pointer-events: none; }
.ba-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-pair .ba-real { position: static; margin-top: 18px; grid-column: 1 / -1; justify-self: start; }
@media (max-width: 719px) { .ba-pair { grid-template-columns: 1fr; } .ba-fig { aspect-ratio: 4 / 3; } }
.ba-l, .ba-r { position: absolute; top: 20px; }
.ba-l { left: 20px; }
.ba-r { right: 20px; }
.ba-real { position: absolute; z-index: 3; left: 20px; bottom: 20px; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(20, 17, 15, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); font: 600 14px/1 var(--text); }
.ba-real .chip-sq { width: 9px; height: 9px; }
.ba-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--brass); pointer-events: none; }
.ba-knob {
  position: absolute; z-index: 4; top: 50%; left: var(--pos); width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  background: var(--brass); color: var(--bg); cursor: grab; touch-action: none;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: scale .2s var(--ease);
}
.ba-knob svg { width: 16px; height: 16px; }
.ba-slider.is-drag .ba-knob { scale: 1.08; cursor: grabbing; }

/* ---------- ZAKÁZKY ---------- */
.work .h2 { margin-bottom: 48px; }
.strip {
  --h: clamp(360px, 38vw, 600px);
  display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden;
  padding-inline: var(--side); scroll-padding-inline: var(--side);
  scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; }
.strip.is-drag a, .strip.is-drag img { pointer-events: none; }
.sc { flex: none; margin: 0; }
.sc-ph { position: relative; height: var(--h); overflow: hidden; border-radius: 4px; background: var(--deep); }
.sc-p .sc-ph { width: calc(var(--h) * .75); }
.sc-l .sc-ph { width: calc(var(--h) * 1.5); }
.sc-ph img {
  position: absolute; top: 0; left: -6%; width: 112%; max-width: none; height: 100%; object-fit: cover; object-position: var(--op, 50% 50%);
  transform: translateX(var(--px, 0px));
  filter: saturate(.84) sepia(.1) contrast(1.05) brightness(.95);
  user-select: none; -webkit-user-drag: none;
}
.sc-ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse 85% 85% at 50% 45%, rgba(20, 17, 15, 0) 55%, rgba(20, 17, 15, .42) 100%), linear-gradient(0deg, rgba(199, 154, 94, .07), rgba(199, 154, 94, .07));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.sc figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 18px; }
.sc-t { font: 500 17px/1.3 var(--text); color: var(--white); }
.sc-c { font: 500 14px/1.3 var(--text); color: var(--brass); white-space: nowrap; }
.strip-bar { position: relative; height: 1px; margin-top: var(--s4); background: var(--line); }
.strip-bar span { position: absolute; left: 0; top: -.5px; height: 2px; width: 100%; background: var(--brass); transform-origin: left; transform: scaleX(var(--p, .2)); }

/* ---------- PARTA ---------- */
.parta { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip; padding-block: var(--s6); }
.parta-media { position: absolute; inset: 0; }
.parta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.parta-shade { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #1a1714 0%, rgba(26, 23, 20, 0) 22%, rgba(26, 23, 20, 0) 74%, #1a1714 100%),
    linear-gradient(90deg, rgba(20, 17, 15, .55) 0%, rgba(20, 17, 15, .25) 55%, rgba(20, 17, 15, 0) 80%),
    rgba(20, 17, 15, .6);
}
.parta-in { position: relative; z-index: 2; }
.parta .h2 { max-width: 9.5ch; margin-bottom: var(--s4); }
.parta .lead { max-width: 36ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--white); margin-bottom: var(--s4); text-wrap: pretty; }
.sq-list { display: grid; gap: 16px; margin-bottom: var(--s5); }
.sq-list li { position: relative; padding-left: 28px; font: 500 17px/1.45 var(--text); color: var(--white); }
.sq-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--brass); }
.fact { max-width: 44ch; padding-top: var(--s3); border-top: 1px solid rgba(247, 243, 238, .16); font-size: 14px; line-height: 1.55; color: var(--grout); }

/* ---------- KOUPELNY (Mistr Koupelny) ---------- */
.mk { position: relative; overflow: clip; }
.mk::before { content: ""; position: absolute; inset: 10% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(199, 154, 94, .12), rgba(199, 154, 94, 0)); filter: blur(10px); }
.mk-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 120px); align-items: center; }
.mk-media { position: relative; display: block; padding: 0 12% 14% 0; }
.mk-ph { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: var(--deep); box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .7); }
.mk-ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(0deg, rgba(199, 154, 94, .06), rgba(199, 154, 94, .06)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.mk-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) sepia(.06) contrast(1.05); transition: transform 1.4s var(--ease); }
.mk-ph-a { aspect-ratio: 4 / 5; }
.mk-ph-a img { object-position: 50% 50%; }
.mk-ph-b { position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; outline: 8px solid var(--bg); will-change: transform; }
.mk-ph-b img { object-position: 50% 40%; }
.mk-badge { position: absolute; z-index: 3; top: -4%; right: 2%; width: clamp(108px, 9vw, 140px); aspect-ratio: 1; border-radius: 999px; background: var(--brass); color: var(--bg); display: grid; place-items: center; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); transition: scale .5s var(--ease), background-color .4s; }
.mk-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-ring text { font: 700 11.4px/1 var(--text); letter-spacing: .06em; fill: var(--bg); }
.mk-arr { width: 30%; height: 30%; transition: transform .5s var(--ease); }
.mk-real { left: 18px; bottom: calc(14% + 18px); }
@media (hover: hover) and (pointer: fine) {
  .mk-media:hover .mk-ph img { transform: scale(1.045); }
  .mk-media:hover .mk-badge { scale: 1.08; background: var(--brass-hi); }
  .mk-media:hover .mk-arr { transform: translate(3px, -3px); }
}
.mk-mark { display: inline-flex; align-items: baseline; gap: .4em; word-spacing: .14em; font: 600 22px/1 var(--display); letter-spacing: -.02em; color: var(--brass); margin-bottom: var(--s3); }
.mk-mark .chip-sq { width: .4em; height: .4em; }
.mk .h2 { margin-bottom: var(--s4); }
.mk-lead { max-width: 40ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--white); margin-bottom: var(--s4); text-wrap: pretty; }
.mk-list { margin-bottom: var(--s5); }
.mk-cta { height: 64px; padding: 0 30px; font-size: 17px; }
.mk-ig { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 0; font: 600 15px/1 var(--text); color: var(--grout); transition: color .3s; }
.mk-ig svg { width: 20px; height: 20px; color: var(--brass); }
@media (hover: hover) { .mk-ig:hover { color: var(--white); } }
@media (prefers-reduced-motion: no-preference) {
  .mk-ring { animation: spin 22s linear infinite; }
  .js .mk-ph-a { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-io); }
  .js .mk-ph-a img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
  .js .mk-ph-b { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-io) .35s; }
  .js .mk-badge { scale: 0; transition: scale .8s var(--ease) .7s, background-color .4s; }
  .js .mk.is-in .mk-ph-a, .js .mk.is-in .mk-ph-b { clip-path: inset(0 0 0 0); }
  .js .mk.is-in .mk-ph-a img { transform: none; }
  .js .mk.is-in .mk-badge { scale: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- KONTAKT + FORMULÁŘ ---------- */
.kontakt { position: relative; padding-top: calc(var(--s6) + 40px); padding-bottom: var(--s5); overflow: clip; }
.kontakt-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "head form" "alt form"; column-gap: clamp(40px, 6vw, 120px); align-items: start; }
.kontakt-head { grid-area: head; }
.kontakt .h2 { margin-bottom: var(--s4); }
.kontakt-lead { max-width: 34ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--white); text-wrap: pretty; }
.kontakt-alt { grid-area: alt; align-self: end; padding-top: var(--s5); }
.kontakt-alt-t { font: 500 15px/1.4 var(--text); color: var(--grout); margin-bottom: 14px; }
.ig-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s4); }
.ig-list a { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid rgba(247, 243, 238, .16); font: 600 15px/1 var(--text); color: var(--white); transition: border-color .35s var(--ease), color .35s var(--ease), background-color .35s var(--ease); }
.ig-list svg { width: 20px; height: 20px; color: var(--brass); transition: color .35s; }
@media (hover: hover) { .ig-list a:hover { border-color: var(--brass); background: rgba(199, 154, 94, .1); } }

.pf-box {
  grid-area: form; position: relative; isolation: isolate; scroll-margin-top: calc(var(--nav) + 16px);
  padding: clamp(24px, 3.2vw, 52px); border-radius: 20px;
  background: linear-gradient(160deg, rgba(247, 243, 238, .06), rgba(247, 243, 238, .02) 40%, rgba(20, 17, 15, .4));
  border: 1px solid rgba(247, 243, 238, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 50px 110px -50px rgba(0, 0, 0, .8);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.pf-box:focus { outline: none; }
.pf-box::before { content: ""; position: absolute; z-index: -1; inset: -30% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(199, 154, 94, .2), rgba(199, 154, 94, 0)); }
.pf-box::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 50% at 0% 100%, rgba(199, 154, 94, .09), rgba(199, 154, 94, 0)); }
@media (prefers-reduced-motion: no-preference) { .pf-box::before { animation: glow 14s ease-in-out infinite alternate; } }
@keyframes glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-28%, 34%) scale(1.25); } }
.pf-h { font: 600 clamp(28px, 2.4vw, 36px)/1.05 var(--display); letter-spacing: -.025em; color: var(--white); margin-bottom: var(--s4); }
.pf { display: grid; gap: 22px; }
.pf[hidden] { display: none; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pf-f { min-width: 0; margin: 0; padding: 0; border: 0; }
.pf-f > label, .pf-svc legend { display: block; padding: 0; margin-bottom: 9px; font: 600 14px/1.3 var(--text); color: var(--white); }
.pf-opt { font-weight: 400; color: var(--stone); }
.pf input[type="text"], .pf input[type="tel"], .pf input[type="email"], .pf textarea {
  display: block; width: 100%; min-height: 56px; padding: 15px 16px; border-radius: 12px;
  font: 400 17px/1.4 var(--text); color: var(--white);
  background: rgba(20, 17, 15, .62); border: 1px solid #4a4239;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.pf textarea { resize: vertical; min-height: 128px; }
.pf ::placeholder { color: #9a9083; opacity: 1; }
.pf input:hover, .pf textarea:hover { border-color: #5d5449; }
.pf input:focus, .pf textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px rgba(199, 154, 94, .18); background: rgba(20, 17, 15, .82); }
.pf-hint { margin-top: -12px; font-size: 14px; line-height: 1.4; color: var(--grout); }
.pf-err { min-height: 0; font: 500 14px/1.35 var(--text); color: #f2a08a; }
.pf-err:not(:empty) { margin-top: 8px; }
.pf-f.is-bad input, .pf-f.is-bad textarea { border-color: #e2836b; }
.pf-f.is-bad input:focus { box-shadow: 0 0 0 4px rgba(226, 131, 107, .2); }

.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips label { position: relative; cursor: pointer; }
.pf-chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pf-chips span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(247, 243, 238, .2); background: rgba(20, 17, 15, .35);
  font: 500 15px/1 var(--text); color: var(--white); white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), scale .16s ease-out;
}
@media (hover: hover) { .pf-chips label:hover span { border-color: var(--brass); } }
.pf-chips input:checked + span { background: var(--brass); border-color: var(--brass); color: var(--bg); font-weight: 700; }
.pf-chips input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }
.pf-chips label:active span { scale: .96; }
.pf-svc.is-bad .pf-chips span { border-color: rgba(226, 131, 107, .7); }

.pf-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.pf-f > .pf-check, .pf-check { margin: 0; font-weight: 400; position: relative; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--grout); }
.pf-check input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; opacity: 0; margin: 0; cursor: pointer; }
.pf-box-ic { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1px solid #6a6054; background: rgba(20, 17, 15, .62); transition: background-color .25s, border-color .25s; }
.pf-box-ic svg { width: 15px; height: 15px; color: var(--bg); transform: scale(0); transition: transform .35s var(--ease); }
.pf-check input:checked + .pf-box-ic { background: var(--brass); border-color: var(--brass); }
.pf-check input:checked + .pf-box-ic svg { transform: none; }
.pf-check input:focus-visible + .pf-box-ic { outline: 2px solid var(--brass); outline-offset: 3px; }
.pf-ok.is-bad .pf-box-ic { border-color: #e2836b; }

.pf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; padding-top: 6px; }
.pf-send { height: 62px; padding: 0 30px; font-size: 17px; }
.pf-send svg { transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .pf-send:hover svg { transform: translate(3px, -3px); } }
.pf-send[aria-disabled="true"] { cursor: progress; }
.pf.is-sending .pf-send svg { animation: sendPulse 1s var(--ease-io) infinite; }
@keyframes sendPulse { 0% { transform: none; opacity: 1; } 50% { transform: translate(10px, -10px); opacity: 0; } 51% { transform: translate(-10px, 10px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.pf-status { font: 500 15px/1.4 var(--text); color: var(--grout); }
.pf-status.is-err { color: #f2a08a; }

.pf-done { display: grid; justify-items: start; gap: 18px; padding-block: 12px; }
.pf-done[hidden] { display: none; }
.pf-done-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 999px; background: var(--brass); color: var(--bg); }
.pf-done-ic svg { width: 34px; height: 34px; }
.pf-done-h { font: 600 clamp(36px, 3.6vw, 56px)/1 var(--display); letter-spacing: -.03em; color: var(--white); }
.pf-done-h:focus { outline: none; }
.pf-done-p { max-width: 40ch; font-size: 17px; line-height: 1.55; color: var(--grout); }
@media (prefers-reduced-motion: no-preference) {
  .pf-done:not([hidden]) .pf-done-ic { animation: popIn .8s var(--ease) both; }
  .pf-done:not([hidden]) .pf-done-h, .pf-done:not([hidden]) .pf-done-p, .pf-done:not([hidden]) .btn { animation: softIn .9s var(--ease) both; }
  .pf-done:not([hidden]) .pf-done-h { animation-delay: .12s; }
  .pf-done:not([hidden]) .pf-done-p { animation-delay: .2s; }
  .pf-done:not([hidden]) .btn { animation-delay: .28s; }
}
@keyframes popIn { from { transform: scale(.3) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }

.firm {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: var(--s6);
  border-top: 1px solid var(--line);
}
.firm > div { grid-column: span 1; padding: 28px 24px 0 0; }
.firm .firm-wide { grid-column: span 2; }
.firm dt { font: 500 13px/1.3 var(--text); color: var(--stone); margin-bottom: 10px; }
.firm dd { font: 500 16px/1.5 var(--text); color: var(--white); }
.firm dd a { color: var(--brass); border-bottom: 1px solid rgba(199, 154, 94, .45); }
@media (hover: hover) { .firm dd a:hover { border-color: var(--brass); } }

/* ---------- PATIČKA ---------- */
.foot { padding-block: var(--s5) calc(var(--s4) + env(safe-area-inset-bottom, 0px)); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-row p { font-size: 14px; color: var(--grout); max-width: 52ch; }
.ig-foot { margin: 0 0 0 auto; }
.ig-foot a { height: 42px; font-size: 14px; }
.legal { margin-top: 18px; max-width: 80ch; font-size: 13px; line-height: 1.6; color: var(--stone); }

/* ================= RESPONZIVITA ================= */
@media (max-width: 1180px) {
  .nav-links { gap: 26px; }
  .nav-in { gap: 28px; }
}
@media (max-width: 1023px) {
  :root { --nav: 68px; }
  .nav-links { display: none; }
  .nav-in { gap: 10px; }
  .burger { display: block; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-panel { display: none; }
  .svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .svc-row, .svc-row:last-child { border: 0; padding: 0 0 56px; }
  .svc-row::before { display: none; }
  .svc-row h3 { font-size: clamp(28px, 3.6vw, 36px); color: var(--white); }
  .svc-row p { color: var(--grout); }
  .svc-ph { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; margin-bottom: 24px; background: var(--deep); }
  .svc-ph img { width: 100%; height: 100%; object-fit: cover; }
  .svc-ph .pill { position: absolute; left: 14px; top: 14px; }
  .svc-ph::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-radius: inherit; }
  .firm { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .mk-grid { grid-template-columns: 1fr; }
  .mk-media { max-width: 640px; }
  .kontakt-grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "alt"; }
  .kontakt-head { margin-bottom: var(--s4); }
  .kontakt-alt { padding-top: var(--s5); }
  .firm .firm-wide { grid-column: span 1; }
}
@media (max-width: 767px) {
  :root { --s6: 88px; --s5: 48px; }
  .chip { font-size: 24px; }
  .nav-tel { padding: 0 16px; gap: 8px; font-size: 14px; }
  .nav-tel svg { width: 16px; height: 16px; }
  .hero-in { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 32px; }
  .hero-h1 { margin-bottom: 20px; }
  .hero-lead { margin-bottom: 24px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-area { padding: 18px 0 0; }
  .hero-cue { display: none; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-row, .svc-row:last-child { padding-bottom: 48px; }
  .svc-row h3 { font-size: 30px; }
  .split { min-height: 78svh; }
  .split-t span:last-child { max-width: 12ch; }
  .ba-slider { aspect-ratio: 4 / 5; }
  .ba-knob { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .ba-l, .ba-r { top: 14px; }
  .ba-l { left: 14px; }
  .ba-r { right: 14px; }
  .ba-real { left: 14px; bottom: 14px; padding: 9px 13px; font-size: 13px; }
  .strip { gap: 14px; }
  .sc { width: 85vw; }
  .sc-p .sc-ph, .sc-l .sc-ph { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .sc figcaption { flex-direction: column; gap: 4px; }
  .parta { min-height: 0; padding-block: 140px 120px; }
  .parta-media img { object-position: 62% 40%; }
  .parta-shade { background: linear-gradient(180deg, #1a1714 0%, rgba(26, 23, 20, 0) 18%, rgba(26, 23, 20, 0) 80%, #1a1714 100%), rgba(20, 17, 15, .64); }
  .mk-media { padding: 0 10% 16% 0; }
  .mk-badge { width: 96px; top: -5%; right: 0; }
  .mk-ring text { font-size: 12px; }
  .mk-real { left: 12px; bottom: calc(16% + 12px); }
  .mk-cta { width: 100%; height: auto; min-height: 60px; padding: 14px 22px; white-space: normal; text-align: left; line-height: 1.25; }
  .pf-box { padding: 24px 18px 26px; border-radius: 16px; margin-inline: calc(var(--gut) * -.4); }
  .pf-row { grid-template-columns: 1fr; }
  .pf-send { width: 100%; }
  .pf-foot { flex-direction: column; align-items: stretch; }
  .kontakt-alt .btn { width: 100%; }
  .ig-foot { margin: 0; }
  .split-shade { background: linear-gradient(180deg, #1a1714 0%, rgba(26, 23, 20, 0) 18%, rgba(26, 23, 20, 0) 82%, #1a1714 100%), rgba(20, 17, 15, .5); }
  .firm { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s5); }
  .firm .firm-wide { grid-column: span 2; }
  .firm > div { padding-right: 12px; }
  .foot-row { flex-direction: column-reverse; align-items: flex-start; }
  .btn { height: 56px; }
}

/* hero na výšku (mobil i tablet na výšku): ořez 3:4, fotka nahoře, text dole */
@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .hero-media { bottom: 30%; }
  .hero-img { object-position: 50% 30%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(20, 17, 15, .55) 0%, rgba(20, 17, 15, 0) 16%),
      linear-gradient(0deg, #1a1714 0%, #1a1714 34%, rgba(26, 23, 20, .82) 46%, rgba(26, 23, 20, 0) 64%);
  }
}

/* ---------- omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .btn, .nav-tel { translate: none !important; }
  .js .mk-ph-a, .js .mk-ph-b { clip-path: none !important; }
  .js .mk-ph-a img { transform: none !important; }
  .js .mk-badge { scale: 1 !important; }
}

/* úzké telefony: v navigaci jen ikona poptávky, burger se nesmí smáčknout */
.burger { flex: none; }
@media (max-width: 374px) {
  .nav-tel { width: 46px; padding: 0; justify-content: center; }
  .nav-tel-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
