/* Shaade – layout podle šablony Precept, pouze černobílá a šedé */
:root {
  --ink: #171717;
  --ink-2: #333333;
  --ink-3: #6b6b6b;
  --muted: #c9c9c9;
  --light: #e4e4e4;
  --card: #f2f2f2;
  --paper: #f4f4f2;
  --line: #e2e2e2;
  --bg: #ffffff;
  --gap: 8px;
  --r: 8px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gx1: 10%;
  --gx2: 90%;
  --gy: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.label { display: inline-flex; gap: 8px; color: #000; margin-bottom: 18px; }
.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 3px;
  background: rgba(17, 19, 21, .06);
  color: var(--ink);
  font-size: 11px;
}

/* Tlačítka – pilulka */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: -0.02em;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; transform: scale(1.04); }

.arrows { display: flex; gap: 10px; }
.arrow {
  width: 64px; height: 64px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; font-size: 26px; line-height: 1;
  display: grid; place-items: center;
  transition: background .3s var(--ease);
}
.arrow:hover { background: #000; }
.arrow--dark { width: 56px; height: 56px; }
.arrow--square { width: 40px; height: 40px; border-radius: 4px; background: #ededed; color: var(--ink); font-size: 20px; }
.arrow--square:hover { background: var(--ink); color: #fff; }

/* ---------- ÚVODNÍ INTRO ---------- */
body.is-intro { overflow: hidden; }
.intro-seen .intro { display: none; }
.intro-seen body.is-intro { overflow: auto; }
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: #111; color: #fff;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s cubic-bezier(.76, 0, .24, 1);
  cursor: pointer;
}
.intro.is-done { clip-path: inset(0 0 100% 0); }
.intro__center { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 1.2s cubic-bezier(.76, 0, .24, 1), opacity .8s; }
.intro.is-done .intro__center { transform: translateY(-18vh); opacity: 0; }
.intro__sym, .intro__logo { grid-area: 1 / 1; }
.intro__sym { width: 84px; height: 84px; animation: intro-sym 1.2s var(--ease) both, intro-out .6s var(--ease) 1.25s forwards; }
.intro__logo { width: 220px; opacity: 0; animation: intro-logo .9s var(--ease) 1.35s forwards; }
@keyframes intro-sym { from { transform: rotate(-200deg) scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-out { to { transform: scale(.6); opacity: 0; } }
@keyframes intro-logo { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(6px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }

.intro__label { font-size: 11px; color: rgba(255,255,255,.55); }
.intro__label--tl, .intro__label--tr { position: absolute; top: 28px; animation: intro-fade .8s var(--ease) .2s both; }
.intro__label--tl { left: 24px; }
.intro__label--tr { right: 24px; }
.intro__foot {
  position: absolute; left: 24px; right: 24px; bottom: 26px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px;
  animation: intro-fade .8s var(--ease) .1s both;
}
.intro__foot .intro__label { padding-bottom: 10px; }
.intro__ruler {
  position: relative; height: 22px; margin-bottom: 10px;
  /* měřítko: dílek po 1 %, delší po 5 % a 10 % */
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 10%) bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 1px, transparent 1px 2%) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 1%) bottom / 100% 5px no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.intro__ruler i {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: #fff; transform: scaleX(0); transform-origin: left;
}
.intro__count { font-size: clamp(56px, 9vw, 128px); font-weight: 400; letter-spacing: -0.06em; line-height: .8; font-variant-numeric: tabular-nums; }
.intro__count small { font-size: .3em; letter-spacing: 0; margin-left: 4px; vertical-align: top; color: rgba(255,255,255,.55); }
@keyframes intro-fade { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 760px) {
  .intro__foot { grid-template-columns: 1fr auto; }
  .intro__foot > .intro__label { display: none; }
  .intro__label--tr { display: none; }
}

/* ---------- PLOVOUCÍ MENU ---------- */
.dock {
  position: fixed; top: var(--gap); left: var(--gap); z-index: 50;
  width: 320px;
  border-radius: 6px;
  color: #fff;
  background: rgba(28, 32, 27, .38);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.dock[data-tone="light"] { background: rgba(244, 244, 242, .82); color: var(--ink); }
.dock__bar { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 14px 0 22px; }
.dock__logo { position: relative; display: block; }
.dock__sym { height: 30px; width: auto; transition: opacity .4s; }
.dock__sym--black { position: absolute; left: 0; top: 0; opacity: 0; }
.dock[data-tone="light"] .dock__sym--white { opacity: 0; }
.dock[data-tone="light"] .dock__sym--black { opacity: 1; }
.dock__toggle {
  margin: 0;
  display: flex; align-items: center; gap: 12px;
  background: none; border: 0; font-size: 14px; font-weight: 500; letter-spacing: -0.02em;
}
.dock__icon {
  width: 32px; height: 32px; border-radius: 4px;
  background: rgba(255, 255, 255, .25);
  display: grid; grid-template-columns: repeat(3, 3px); gap: 2.5px; place-content: center;
  transition: transform .5s var(--ease), background .4s;
}
.dock[data-tone="light"] .dock__icon { background: rgba(0, 0, 0, .1); }
.dock__icon i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.dock.is-open .dock__icon { transform: rotate(45deg); }
.dock__menu {
  display: grid; padding: 0 24px; max-height: 0;
  transition: max-height .6s var(--ease), padding .6s var(--ease);
}
.dock.is-open .dock__menu { max-height: 640px; padding: 14px 22px 24px; }
.dock__menu > a {
  font-size: 28px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.25; padding: 9px 0;
  opacity: .9; transition: opacity .2s, padding .3s var(--ease);
}
.dock__menu > a:hover { opacity: 1; padding-left: 8px; }
.dock__menu > a + a { border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 14%, transparent); }
.dock__foot { display: flex; justify-content: space-between; margin-top: 30px; font-size: 11px; opacity: .6; }

/* ---------- TLAČÍTKO PARTNERSKÉ SEKCE ---------- */
.partner-btn {
  position: fixed; top: var(--gap); right: var(--gap); z-index: 50;
  height: 72px; padding: 0 24px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; background: rgba(28, 32, 27, .38);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font-size: 14px; font-weight: 500; letter-spacing: -0.02em;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.partner-btn[data-tone="light"] { background: rgba(244, 244, 242, .82); color: var(--ink); }
.partner-btn:hover { background: #111; color: #fff; }
.partner-btn svg { transition: transform .4s var(--ease); }
.partner-btn:hover svg { transform: translateY(-1px) rotate(-8deg); }
@media (max-width: 760px) {
  .partner-btn { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden; color: #fff; background: #222;
}
.hero__media, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media { transform: scale(1.08); transition: transform 2.4s var(--ease); filter: grayscale(1); }
.hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.42) 45%, rgba(0,0,0,.62)); }
body:not(.is-loading) .hero__media { transform: scale(1); }

.hero__title {
  position: absolute; left: 36px; right: 36px; top: 50%; transform: translateY(-56%);
  font-size: clamp(56px, 11.2vw, 168px); line-height: .8; letter-spacing: -0.065em; font-weight: 500;
  display: flex; flex-direction: column; gap: .14em;
}
.hero__line { display: flex; align-items: center; gap: .18em; overflow: hidden; padding: .2em 0 .06em; margin-top: -.16em; }
.hero__line--2 { justify-content: flex-end; }
.hero__word { display: inline-block; white-space: nowrap; transition: transform 1.1s var(--ease) .3s, opacity 1.1s var(--ease) .3s; }
.hero__line--1 .hero__word { transform: translateX(-110%); opacity: 0; }
.hero__line--2 .hero__word { transform: translateX(110%); opacity: 0; transition-delay: .45s; }
.hero__sym {
  width: .5em; height: .5em; flex: none;
  transform: scale(0) rotate(-180deg);
  transition: transform 1.1s var(--ease) .1s;
}
body:not(.is-loading) .hero__word { transform: none; opacity: 1; }
body:not(.is-loading) .hero__sym { transform: none; }

.hero__stats {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  color: var(--light);
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s;
}
.hero__stats > div { display: flex; flex-direction: column; gap: 8px; }
.hero__stats > div:last-child { text-align: right; }
.hero__stats > div:nth-child(2), .hero__stats > div:nth-child(3) { padding-left: 0; }
body:not(.is-loading) .hero__stats { opacity: 1; transform: none; }

/* ---------- MŘÍŽKA S PRŮSEČÍKY ---------- */
.grid-lines { position: relative; }
.gl { position: absolute; background: var(--line); pointer-events: none; }
.gl--v { top: 0; bottom: 0; width: 1px; }
.gl--h { left: 0; right: 0; height: 1px; }
.gl--l { left: var(--gx1); }
.gl--r { left: var(--gx2); }
.gl--t { top: var(--gy); }
.gl--b { bottom: var(--gy); }
.gd {
  position: absolute; width: 7px; height: 7px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: #b5b5b5; pointer-events: none;
}
.gd[style*="bottom"] { margin: 0 0 -4px -3px; }

/* ---------- O NÁS ---------- */
.about { padding: calc(var(--gy) + 120px) 0; --gy: 56px; }
.about .gl--t { top: 56px; }
.about .gl--b { bottom: 56px; }
.about .gd { top: 56px !important; }
.about .gd[style*="bottom"] { top: auto !important; bottom: 56px !important; }
.about__inner {
  margin: 0 var(--gx1); padding: 0 3%;
  display: grid; grid-template-columns: 1fr 1.15fr 1.15fr; gap: 4%;
}
.about__title { font-size: 32px; line-height: 1.2; letter-spacing: -0.04em; }
.about__col h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 10px; }
.about__col p { line-height: 1.4; max-width: 300px; }
.about__col .btn { margin-top: 36px; }

/* ---------- SLIDER SLUŽEB ---------- */
.services { padding: 0 var(--gap); }
.services__frame {
  position: relative; height: min(780px, 92vh); min-height: 560px;
  border-radius: var(--r); overflow: hidden; background: #1c1f2a; color: #fff;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide__media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 7s linear; filter: grayscale(1);
  background: radial-gradient(circle at 70% 40%, #5a5a5a 0%, #2a2a2a 55%, #141414 100%);
}
.slide.is-active .slide__media { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 75%); }
.slide__body {
  position: absolute; left: 32px; top: 50%; transform: translateY(-40%); z-index: 2; max-width: 500px;
}
.slide__body h2 { font-size: 48px; line-height: 1.2; letter-spacing: -0.04em; margin-bottom: 18px; }
.slide__body p { color: var(--light); font-weight: 500; line-height: 1.35; margin-bottom: 36px; }
.slide__body > * { transform: translateY(24px); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.slide.is-active .slide__body > * { transform: none; opacity: 1; }
.slide.is-active .slide__body p { transition-delay: .1s; }
.slide.is-active .slide__body .btn { transition-delay: .2s; }

.services__progress {
  position: absolute; left: 32px; right: 32px; bottom: 32px; z-index: 3;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.services__progress i { height: 2px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; cursor: pointer; }
.services__progress i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.services__progress i.is-done::after { transform: scaleX(1); }
.services__progress i.is-active::after { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- SCROLLYTELLING ---------- */
.scrolly { position: relative; height: 500vh; margin-top: var(--gap); background: #111; }
.scrolly__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; color: #fff; }
.scrolly__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.18); will-change: transform; }
.scrolly__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.5) 55%, rgba(0,0,0,.3)); }
.corner { position: absolute; width: 14px; height: 14px; border-color: rgba(255,255,255,.4); border-style: solid; border-width: 0; z-index: 2; }
.corner--tl { top: 24px; left: 24px; border-top-width: 1px; border-left-width: 1px; }
.corner--tr { top: 24px; right: 24px; border-top-width: 1px; border-right-width: 1px; }
.corner--bl { bottom: 24px; left: 24px; border-bottom-width: 1px; border-left-width: 1px; }
.corner--br { bottom: 24px; right: 24px; border-bottom-width: 1px; border-right-width: 1px; }

.dial { position: absolute; inset: 0; z-index: 2; --cx: calc(30vw - 900px); --R: 900px; }
.dial__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__svg .tick { stroke: rgba(255,255,255,.55); stroke-width: 1; }
.dial__svg .tick--major { stroke: #fff; stroke-width: 1.4; }
.dial__svg .arc { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1; }
.dial__svg text { fill: rgba(255,255,255,.75); font-family: var(--mono); font-size: 10px; }
.dial__nums span {
  position: absolute; left: 0; top: 0;
  font-size: 40px; font-weight: 400; letter-spacing: -0.05em; color: rgba(255,255,255,.6);
  transform-origin: center; white-space: nowrap; will-change: transform;
}
.dial__pointer {
  position: absolute; left: 30vw; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25);
}
.dial__bracket { position: absolute; left: calc(30vw - 1px); width: 10px; height: 10px; border: 1px solid #fff; border-left: 0; }
.dial__bracket--t { top: calc(50% - 120px); border-bottom: 0; }
.dial__bracket--b { top: calc(50% + 110px); border-top: 0; }

.steps {
  position: absolute; z-index: 3; left: calc(30vw + 48px); top: 50%; transform: translateY(-50%);
  display: flex; align-items: flex-start; gap: 64px;
}
.steps__big { font-size: 112px; line-height: .8; letter-spacing: -0.07em; font-weight: 400; min-width: 140px; margin-top: 4px; }
.steps__list { position: relative; width: min(460px, 36vw); height: 220px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step.is-active { opacity: 1; transform: none; }
.step .mono { font-size: 10px; opacity: .7; }
.step h3 { font-size: 48px; letter-spacing: -0.05em; line-height: 1.15; margin: 14px 0 14px; }
.step p { color: #fff; font-size: 17px; line-height: 1.4; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* ---------- STATS ---------- */
.stats { padding: 140px 32px 120px; }
.section-head h2 { font-size: 64px; line-height: 1.1; letter-spacing: -0.06em; color: var(--ink-2); }
.stats__grid { margin: 70px 0 0 21%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stat {
  position: relative; min-height: 300px; padding: 30px 30px 80px;
  border-radius: var(--r); background: var(--card); overflow: hidden;
}
.stat__front strong { display: block; font-size: 48px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.1; color: var(--ink-2); margin-bottom: 18px; }
.stat__front p { font-size: 14px; color: var(--ink-2); letter-spacing: -0.03em; }
.stat__back {
  position: absolute; inset: 0; padding: 30px; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 80px;
  clip-path: circle(0 at 46px calc(100% - 46px)); transition: clip-path .8s var(--ease);
}
.stat__back p { font-size: 20px; line-height: 1.3; letter-spacing: -0.04em; max-width: 440px; }
.stat.is-open .stat__back { clip-path: circle(150% at 46px calc(100% - 46px)); }
.stat__plus {
  position: absolute; left: 30px; bottom: 30px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: rgba(201, 201, 201, .5); color: var(--ink-3); font-size: 18px; line-height: 1;
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.stat.is-open .stat__plus { transform: rotate(45deg); background: rgba(255,255,255,.2); color: #fff; }

/* ---------- REFERENCE + MARQUEE ---------- */
.quotes { padding: 0 var(--gap); display: grid; gap: var(--gap); }
.quotes__box {
  position: relative; background: var(--card); border-radius: var(--r);
  padding: 70px 24px 64px; text-align: center; min-height: 360px;
}
.quote { position: absolute; left: 24px; right: 24px; top: 70px; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; position: relative; left: 0; right: 0; top: 0; pointer-events: auto; }
.quote__who { margin-left: 10px; font-size: 11px; color: var(--ink); }
.quote blockquote { margin: 26px auto 34px; max-width: 860px; font-size: 32px; line-height: 1.25; letter-spacing: -0.04em; color: var(--ink); }
.arrows--center { justify-content: center; }
.marquee { background: var(--card); border-radius: var(--r); overflow: hidden; height: 168px; display: flex; align-items: center; }
.marquee__track { display: flex; gap: 96px; padding-left: 96px; animation: marquee 40s linear infinite; white-space: nowrap; }
.marquee__track span { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; color: #a9a9a9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- NÁHRADNÍ DÍLY (karty) ---------- */
.parts { padding: 140px 0 120px; overflow: hidden; }
.parts__head { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 32px; margin-bottom: 50px; }
.parts .section-head .btn { margin-top: 40px; }
.parts__track {
  display: flex; gap: 12px; padding: 0 32px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; scroll-behavior: smooth;
}
.parts__track::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 min(1000px, 86vw); scroll-snap-align: start;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px; border: 1px solid var(--line); border-radius: 4px;
  transition: border-color .3s;
}
.card:hover { border-color: #bbb; }
.card img { width: 100%; height: 270px; object-fit: cover; border-radius: 2px; background: var(--card); }
.card img.card__product { object-fit: contain; padding: 24px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease); }
.card:hover img.card__product { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 4px; }
.card__body h3 { margin: auto 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.05em; color: var(--ink); }
.card__meta { font-size: 12px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }

/* ---------- KONTAKT + FORMULÁŘ ---------- */
.contact {
  display: grid; grid-template-columns: 522fr 918fr; gap: 24px;
  padding: 0 24px var(--gap) 0; margin-top: var(--gap);
}
.contact__media { position: relative; min-height: 100%; overflow: hidden; background: #1c1c1c; }
.contact__media img { position: sticky; top: 0; width: 100%; height: 100vh; object-fit: cover; object-position: 47% 35%; }
.contact__clock { position: absolute; left: 16px; bottom: 22px; color: #fff; font-size: 12px; }
.contact__body { padding: 120px 0 80px; }
.contact__row { display: grid; grid-template-columns: 300px 1fr; gap: 0; padding: 0 0 70px; }
.contact__row + .contact__row { border-top: 1px solid var(--line); padding-top: 50px; }
.contact__row h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.04em; color: var(--ink-2); }
.contact__list { display: grid; gap: 30px; padding-top: 6px; }
.contact__list div { display: grid; gap: 12px; }
.contact__list .mono { font-size: 11px; color: var(--ink-3); }
.contact__list a { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); transition: color .2s; }
.contact__list a:hover { color: var(--ink-3); }
.contact__steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; font-size: 11px; color: var(--ink-3); }
.contact__steps span { color: var(--ink); margin-right: 10px; }

.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.02em; }
.field input, .field textarea {
  font: inherit; font-size: 14px; letter-spacing: -0.02em; color: var(--ink);
  height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent;
  border-bottom: 2px solid #e8e8e8; transition: border-color .3s var(--ease);
}
.field textarea { height: 64px; padding-top: 10px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #b3b3b3; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #d64545; }
.field.is-invalid label::after { content: " · vyplňte"; color: #d64545; font-weight: 400; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.chips__item {
  height: 30px; padding: 0 12px; border: 0; border-radius: 4px;
  background: rgba(17, 19, 21, .06); color: var(--ink);
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.chips__item:hover { background: rgba(17, 19, 21, .12); }
.chips__item.is-active { background: var(--ink); color: #fff; }

.form__footer { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: -6px; }
.form__submit {
  height: 38px; padding: 0 22px; border: 0; border-radius: 4px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 10px; transition: background .3s var(--ease);
}
.form__submit span { transition: transform .3s var(--ease); }
.form__submit:hover { background: #000; }
.form__submit:hover span { transform: translateX(3px); }
.form__submit:disabled { opacity: .6; cursor: default; }
.form__note { font-size: 11px; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__success {
  position: absolute; inset: -10px; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
}
.form__success[hidden] { display: none; }
.form__success img { width: 44px; height: 44px; margin-bottom: 8px; animation: spin-in .9s var(--ease); }
.form__success h3 { font-size: 32px; letter-spacing: -0.05em; color: var(--ink); }
.form__success p { color: var(--ink-3); max-width: 380px; }
@keyframes spin-in { from { transform: rotate(-180deg) scale(0); } }

/* ---------- CTA ---------- */
.cta { margin: 0 var(--gap) var(--gap); background: var(--paper); border-radius: var(--r); overflow: hidden; --gy: 64px; }
.cta .gl { background: #dcdcd8; }
.cta__inner { position: relative; z-index: 1; padding: 150px var(--gx1); text-align: center; display: grid; justify-items: center; gap: 26px; }
.cta h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.05em; color: var(--ink-2); }

/* ---------- PATIČKA ---------- */
.footer {
  position: relative; color: #fff; padding: 22px 16px 22px;
  background: radial-gradient(120% 90% at 50% 100%, #4a4a4a 0%, #262626 45%, #161616 100%);
  min-height: 600px; display: flex; flex-direction: column; justify-content: space-between;
}
.footer { overflow: hidden; isolation: isolate; }
.footer__media {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(.9); opacity: .11; mix-blend-mode: screen; pointer-events: none;
}
/* ztmavení okrajů, aby text v patičce zůstal čitelný */
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(22,22,22,.9) 0%, rgba(22,22,22,.35) 40%, rgba(22,22,22,.35) 70%, rgba(22,22,22,.9) 100%); }
@media (prefers-reduced-motion: reduce) { .footer__media { display: none; } }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.footer h4 { font-size: 13px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 22px; }
.footer nav { display: grid; gap: 14px; font-size: 11px; color: #ddd; justify-items: start; }
.footer nav a:hover { color: #fff; }
.footer__cta { justify-self: end; width: min(300px, 100%); }
.footer__btn {
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 2px;
  background: rgba(255,255,255,.12); font-size: 13px; transition: background .3s;
}
.footer__btn:hover { background: rgba(255,255,255,.22); }
.footer__sym { width: 140px; margin: 60px auto; opacity: .95; }
.footer__bottom { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 11px; color: #cfcfcf; }
.footer__bottom span:last-child { text-align: right; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.stats__grid .reveal:nth-child(2) { transition-delay: .08s; }
.stats__grid .reveal:nth-child(3) { transition-delay: .16s; }
.stats__grid .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01s !important; animation-duration: .01s !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .contact__row { grid-template-columns: 200px 1fr; }
  .about__inner { grid-template-columns: 1fr 1fr; }
  .about__title { grid-column: 1 / -1; margin-bottom: 20px; }
  .stats__grid { margin-left: 0; }
  .dial { --cx: calc(22vw - 900px); }
  .dial__pointer, .dial__bracket { left: 22vw; }
  .steps { left: calc(22vw + 40px); gap: 32px; }
  .steps__big { font-size: 80px; min-width: 100px; }
}
@media (max-width: 760px) {
  :root { --gx1: 16px; --gx2: calc(100% - 16px); }
  .dock { width: calc(100% - 16px); }
  .dock__bar { height: 60px; padding: 0 10px 0 16px; }
  .dock__sym { height: 24px; }
  .hero__title { left: 16px; right: 16px; font-size: 14.5vw; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 16px 22px; }
  .hero__stats > div:last-child { text-align: left; }
  .about { padding: 130px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 32px; padding: 0 36px; margin: 0; }
  .about__title { margin: 0; }
  .slide__body { left: 20px; right: 20px; }
  .slide__body h2 { font-size: 34px; }
  .services__progress { left: 20px; right: 20px; bottom: 20px; }
  .dial { --cx: calc(12vw - 900px); }
  .dial__pointer, .dial__bracket { left: 12vw; }
  .dial__nums span { font-size: 26px; }
  .steps { left: calc(12vw + 24px); right: 16px; flex-direction: column; gap: 18px; }
  .steps__big { font-size: 64px; }
  .steps__list { width: 100%; height: 260px; }
  .step h3 { font-size: 34px; }
  .stats { padding: 100px 16px 80px; }
  .section-head h2 { font-size: 44px; }
  .stats__grid { grid-template-columns: 1fr; margin-top: 40px; }
  .stat { min-height: 240px; }
  .quote blockquote { font-size: 24px; }
  .parts { padding: 100px 0 80px; }
  .parts__head { padding: 0 16px; }
  .parts__head .arrows { display: none; }
  .parts__track { padding: 0 16px; }
  .card { grid-template-columns: 1fr; }
  .card img { height: 200px; }
  .card__body h3 { margin: 18px 0; }
  .cta h2 { font-size: 32px; }
  .cta__inner { padding: 120px 36px; }
  .contact { grid-template-columns: 1fr; padding: 0 16px var(--gap); }
  .contact__media { margin: 0 -16px; height: 380px; min-height: 0; }
  .contact__media img { object-position: 50% 22%; }
  .contact__media img { position: static; height: 100%; }
  .contact__body { padding: 60px 0 40px; }
  .contact__row { grid-template-columns: 1fr; gap: 28px; }
  .form { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; justify-self: stretch; width: 100%; }
  .footer__bottom { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer__bottom span:nth-child(3) { text-align: left; }
}

/* ---------- Časté dotazy ---------- */
.faq { padding: 140px 32px 120px; border-top: 1px solid var(--line); }
.faq__list { margin: 70px 0 0 21%; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.05em; color: var(--ink); }
.faq__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card); font-size: 22px; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq__item summary:hover .faq__icon { background: var(--ink); color: #fff; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a p { max-width: 760px; padding: 0 64px 32px 0; font-size: 18px; line-height: 1.5; color: var(--ink-3); }
.faq__list .reveal:nth-child(2) { transition-delay: .05s; }
.faq__list .reveal:nth-child(3) { transition-delay: .1s; }
.faq__list .reveal:nth-child(4) { transition-delay: .15s; }
@media (max-width: 900px) {
  .faq { padding: 100px 16px 80px; }
  .faq__list { margin: 40px 0 0; }
  .faq__item h3 { font-size: 20px; }
  .faq__a p { padding-right: 0; font-size: 16px; }
}

/* ---------- Firemní údaje ---------- */
.contact__list address { font-style: normal; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.35; color: var(--ink); }
.footer__legal { position: relative; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 10px; line-height: 1.6; color: #9a9a9a; }
