/* =========================================================
   FINIŠ – dokončovací práce
   Barvy: antracit #1F2328 · oranžová #F28C28 · vápno #F5F3EF
   ========================================================= */
:root {
  --anth: #1F2328;
  --anth-2: #272C32;
  --anth-3: #2F353C;
  --orange: #F28C28;
  --orange-d: #D9741A;
  --lime: #F5F3EF;
  --lime-2: #ECE8E1;
  --gray: #5A5E63;
  --muted-on-dark: #B9B4AA;
  --line-dark: rgba(245, 243, 239, .12);
  --line-light: rgba(31, 35, 40, .12);
  --radius: 14px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Zákaz posouvání do stran: html ořízne viewport, body/main přes `clip`
   (na rozdíl od `hidden` nevytváří scroll kontejner, takže sticky animace funguje). */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body, main, footer { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--lime);
  background: var(--anth);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-stretch: 112%; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--anth); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- LOGO ---------- */
.logo { display: inline-flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo-word {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 26px;
  letter-spacing: .01em;
  color: var(--lime);
  line-height: 1;
}
.logo-s { position: relative; display: inline-block; }
.logo-check {
  position: absolute;
  left: 22%;
  bottom: 74%;
  width: 115%;
  fill: var(--orange);
}
.logo-sub {
  font-family: var(--body);
  font-weight: 600;
  font-size: 8.6px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  border-top: 2px solid var(--orange);
  padding-top: 4px;
}
.logo-lg .logo-word { font-size: 44px; }
.logo-lg .logo-sub { font-size: 13px; letter-spacing: .33em; padding-top: 7px; border-top-width: 3px; }

/* ---------- TLAČÍTKA ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font: 600 16px/1 var(--body);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--anth); }
.btn-primary:hover { background: #ff9d3d; }
.btn-ghost { border-color: var(--line-dark); color: var(--lime); }
.btn-ghost:hover { border-color: var(--lime); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}

/* ---------- PRŮBĚH SCROLLU ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- HLAVIČKA ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(31, 35, 40, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header .logo { padding-top: 10px; }
.nav { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; color: var(--muted-on-dark); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--lime); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone svg { width: 16px; height: 16px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .35;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-bgword {
  position: absolute; z-index: -1;
  right: -4vw; bottom: -6vw;
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: 34vw; line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 243, 239, .07);
  user-select: none; pointer-events: none;
  will-change: transform;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow .dot { display: none; }
.eyebrow-dark { color: var(--orange-d); }
.hero-title {
  font-weight: 900; font-stretch: 118%;
  font-size: clamp(40px, 10.5vw, 128px);
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 30px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.brush { position: relative; display: inline-block; color: var(--lime); z-index: 0; }
.brush svg {
  position: absolute; left: -2%; right: -2%; bottom: .02em; width: 104%; height: .34em; z-index: -1;
  overflow: visible;
}
.brush path {
  fill: none; stroke: var(--orange); stroke-width: 22; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: brush 1.1s 1s var(--ease) forwards;
}
@keyframes brush { to { stroke-dashoffset: 0; } }
.hero-lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-on-dark); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px 56px; padding-top: 30px; border-top: 1px solid var(--line-dark); max-width: 760px; }
.hero-facts li { display: flex; align-items: center; gap: 14px; }
.hero-facts strong { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 34px; color: var(--orange); }
.hero-facts span { font-size: 14px; line-height: 1.35; color: var(--muted-on-dark); }

.hero-anim { opacity: 0; transform: translateY(28px); animation: rise 1s var(--d, 0s) var(--ease) forwards; }
.hero-title .hero-anim { transform: translateY(105%); }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark);
  opacity: 0; animation: rise 1s 1.4s var(--ease) forwards;
}
.scroll-hint i { width: 2px; height: 46px; background: var(--line-dark); position: relative; overflow: hidden; border-radius: 2px; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--orange); animation: drip 1.8s infinite var(--ease); }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--orange); color: var(--anth); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.03); position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 24px; text-transform: uppercase; white-space: nowrap; }
.marquee b { font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- PROCES (sticky scroll animace) ---------- */
.process { position: relative; height: 620vh; background: var(--anth); margin-top: -10px; }
.process-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.process-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.section-title { font-weight: 800; font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -.015em; margin-bottom: 22px; }
.section-title em { font-style: normal; color: var(--orange); }
.steps { margin-top: 34px; display: grid; gap: 4px; }
.step {
  position: relative;
  display: grid; grid-template-columns: 42px 1fr; gap: 6px 14px;
  padding: 12px 0 14px;
  opacity: .32;
  transition: opacity .45s var(--ease);
}
.step.is-active, .step.is-done { opacity: 1; }
.step.is-done:not(.is-active) { opacity: .55; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--orange); padding-top: 4px; }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: 15px; color: var(--muted-on-dark); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.step.is-active p { max-height: 60px; opacity: 1; }
.step-bar { position: absolute; left: 56px; right: 0; bottom: 0; height: 2px; background: var(--line-dark); }
.step-bar i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }

.process-stage { position: relative; }
.stage-frame {
  position: relative;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  background: #22262b;
}
#scene { width: 100%; height: auto; }
.stage-hud {
  position: absolute; left: 16px; right: 16px; top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none;
}
.hud-label, .hud-pct {
  background: rgba(31, 35, 40, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-dark);
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.hud-pct b { font-family: var(--display); font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; display: inline-block; min-width: 2.2ch; text-align: right; }

/* ---------- OBECNÉ SEKCE ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted-on-dark); max-width: 600px; }

/* světlé sekce */
.services, .flow, .about { background: var(--lime); color: var(--anth); }
.services .section-lead, .flow .section-lead, .about .section-lead { color: var(--gray); }

/* ---------- SLUŽBY ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service {
  position: relative; overflow: hidden; isolation: isolate;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px 26px 32px;
  min-height: 290px;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), color .45s, border-color .45s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--anth);
  clip-path: inset(100% 0 0 0);
  transition: clip-path .6s var(--ease);
}
.service::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px; z-index: -1;
  background: var(--orange); top: 100%;
  transition: top .6s var(--ease);
}
.service:hover { transform: translateY(-6px); color: var(--lime); border-color: var(--anth); }
.service:hover::before { clip-path: inset(0 0 0 0); }
.service:hover::after { top: -6px; }
.service svg { width: 46px; height: 46px; fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.service h3 { font-size: 22px; font-weight: 800; margin: 40px 0 10px; }
.service p { font-size: 15px; line-height: 1.55; color: var(--gray); transition: color .45s; }
.service:hover p { color: var(--muted-on-dark); }

/* ---------- KALKULAČKA ---------- */
.calc { background: var(--anth-2); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.calc-config, .calc-summary {
  background: var(--anth); border: 1px solid var(--line-dark); border-radius: 20px;
  padding: clamp(20px, 3vw, 34px);
  min-width: 0;
}
.calc-block { margin-bottom: 26px; min-width: 0; }
.calc-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 12px; }
.calc-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.calc-type {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 14px 12px; min-width: 0;
  background: var(--anth-2); color: var(--lime);
  border: 1.5px solid var(--line-dark); border-radius: 12px;
  font: 600 14px/1.2 var(--body); text-align: left; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.calc-type svg { width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.calc-type:hover { border-color: rgba(245, 243, 239, .3); }
.calc-type[aria-checked="true"] { border-color: var(--orange); background: rgba(242, 140, 40, .1); }
.calc-type:active { transform: scale(.97); }
.calc-input {
  width: 100%; min-width: 0;
  font: 16px var(--body); color: var(--lime);
  background: var(--anth-2); border: 1px solid var(--line-dark); border-radius: 10px;
  padding: 14px 16px;
  appearance: none; -webkit-appearance: none;
}
select.calc-input { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; text-overflow: ellipsis; }
.calc-input:focus-visible, .calc-type:focus-visible, .calc-step:focus-visible, .calc-seg button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.calc-rate { margin-top: 10px; font-size: 14px; color: var(--muted-on-dark); }
.calc-rate b { color: var(--orange); font-weight: 600; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.calc-qty { display: flex; align-items: center; gap: 6px; }
.calc-qty .calc-input { text-align: center; font-weight: 600; padding: 14px 6px; -moz-appearance: textfield; }
.calc-qty .calc-input::-webkit-inner-spin-button, .calc-qty .calc-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-unit { flex: none; font-size: 14px; color: var(--muted-on-dark); min-width: 34px; }
.calc-step {
  flex: none; width: 46px; height: 50px; border-radius: 10px;
  background: var(--anth-2); color: var(--orange); border: 1px solid var(--line-dark);
  font: 700 22px/1 var(--body); cursor: pointer;
}
.calc-step:hover { border-color: var(--orange); }
.calc-hint { margin-top: 8px; font-size: 13px; color: var(--muted-on-dark); min-height: 1.2em; }
.calc-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--anth-2); border: 1px solid var(--line-dark); border-radius: 10px; padding: 4px; gap: 4px; }
.calc-seg button { min-height: 42px; padding: 6px 4px; border: 0; border-radius: 7px; background: transparent; color: var(--muted-on-dark); font: 600 13px/1.15 var(--body); cursor: pointer; transition: background .2s, color .2s; }
.calc-seg button[aria-checked="true"] { background: var(--orange); color: var(--anth); }
.calc-state-off { opacity: .35; pointer-events: none; }
.calc-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.calc-line span { display: block; font-size: 13px; color: var(--muted-on-dark); text-transform: uppercase; letter-spacing: .08em; }
.calc-line strong { font-family: var(--display); font-weight: 800; font-size: 30px; font-variant-numeric: tabular-nums; }

.calc-summary { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.calc-summary h3 { font-size: 24px; font-weight: 800; }
.calc-items { display: grid; gap: 0; }
.calc-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.calc-items li:last-child { border-bottom: 1px solid var(--line-dark); }
.calc-items .ci-name { font-weight: 600; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.calc-items .ci-name small { display: block; font-weight: 400; color: var(--muted-on-dark); font-size: 13px; }
.calc-items .ci-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-items .ci-del { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; color: var(--muted-on-dark); font-size: 18px; line-height: 1; cursor: pointer; }
.calc-items .ci-del:hover { color: var(--orange); border-color: var(--orange); }
.calc-empty { font-size: 15px; color: var(--muted-on-dark); }
.calc-empty b { color: var(--lime); font-weight: 600; }
.calc-travel { display: grid; gap: 8px; }
.calc-travel label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); }
.calc-total { background: var(--orange); color: var(--anth); border-radius: 14px; padding: 18px 20px; }
.calc-total span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.calc-total strong { display: block; font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-total small { font-size: 14px; font-weight: 500; }
.calc-note { font-size: 13px; line-height: 1.5; color: var(--muted-on-dark); }
.calc-summary .btn { width: 100%; }
.calc-summary .btn.is-disabled { opacity: .45; pointer-events: none; }

.pricelist { margin-top: 20px; background: var(--anth); border: 1px solid var(--line-dark); border-radius: 20px; }
.pricelist summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px clamp(20px, 3vw, 34px); font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 19px; }
.pricelist summary::-webkit-details-marker { display: none; }
.pricelist summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
.pricelist[open] summary::after { transform: rotate(45deg); }
.pricelist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px 30px; padding: 0 clamp(20px, 3vw, 34px) 28px; }
.pl-group h4 { font-size: 17px; font-weight: 800; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); margin: 10px 0 4px; }
.pl-group h4 span { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--orange); white-space: nowrap; }
.pl-group li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line-dark); color: var(--muted-on-dark); }
.pl-group li b { color: var(--lime); font-weight: 600; white-space: nowrap; }
.inline-link { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- PROČ MY ---------- */
.why { background: var(--anth); }
.why-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.why-head { position: sticky; top: 140px; }
.why-list li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 34px 0; border-top: 1px solid var(--line-dark); }
.why-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.why-num { font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--orange); }
.why-list h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.why-list p { color: var(--muted-on-dark); }

/* ---------- SPOLUPRÁCE ---------- */
.flow-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.flow-line { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line-light); }
.flow-line i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.flow-step { position: relative; }
.flow-dot {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--anth); color: var(--lime);
  font-family: var(--display); font-weight: 800; font-size: 20px;
  margin-bottom: 26px; position: relative;
  box-shadow: 0 0 0 8px var(--lime);
  transition: background .4s, color .4s;
}
.flow-step.is-lit .flow-dot { background: var(--orange); color: var(--anth); }
.flow-step h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.flow-step p { color: var(--gray); font-size: 16px; }

/* ---------- OBLAST ---------- */
.area { background: var(--anth-2); overflow: hidden; }
.area-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.towns li { padding: 7px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 14px; color: var(--muted-on-dark); }
.towns li:first-child { background: var(--orange); color: var(--anth); border-color: var(--orange); font-weight: 600; }
.area-map svg { width: 100%; height: auto; max-width: 560px; margin: 0 auto; overflow: visible; }
.rings circle { stroke-width: 1.5; stroke-dasharray: 1700; stroke-dashoffset: 1700; transition: stroke-dashoffset 2s var(--ease); }
.rings circle:nth-child(2) { transition-delay: .25s; }
.rings circle:nth-child(3) { transition-delay: .5s; }
.area-map.is-in .rings circle { stroke-dashoffset: 0; }
.pulse { transform-origin: 300px 300px; animation: pulse 2.4s infinite var(--ease); opacity: .35; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(3.4); opacity: 0; } }
.town { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.area-map.is-in .town { opacity: 1; transform: none; }
.town text { font: 500 13px var(--body); fill: var(--lime); }
.town.is-center text { font-weight: 700; font-size: 15px; }

/* ---------- O NÁS ---------- */
.about-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.ref-link {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 34px; padding: 14px 20px;
  background: #fff; border: 1px solid var(--line-light); border-radius: 999px;
  font-size: 15px;
  transition: border-color .25s, transform .25s var(--ease);
}
.ref-link:hover { border-color: var(--orange); transform: translateY(-2px); }
.ref-badge { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--anth); font-weight: 800; }
.ref-link svg { width: 18px; height: 18px; fill: none; stroke: var(--anth); stroke-width: 2; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person { background: var(--anth); color: var(--lime); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.person::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid var(--orange); opacity: .9; }
.person:nth-child(2) { margin-top: 40px; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--anth-3); border: 2px solid var(--orange); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--orange); margin-bottom: 70px; }
.person h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.person p { font-size: 14px; color: var(--muted-on-dark); }

/* ---------- ČASTÉ DOTAZY ---------- */
.faq { background: var(--anth-2); }
.faq-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line-dark); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: clamp(18px, 1.6vw, 21px);
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--orange); }
.faq-list details p { color: var(--muted-on-dark); padding: 0 40px 26px 0; max-width: 640px; }
.hero-title .eyebrow { font-family: var(--body); font-stretch: 100%; line-height: 1.4; letter-spacing: .2em; display: flex; }

/* ---------- KONTAKT ---------- */
.contact { background: var(--anth); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-list { margin-top: 38px; display: grid; gap: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.contact-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-list span { color: var(--muted-on-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.contact-list a, .contact-list p { font-weight: 600; text-align: right; }
.contact-list a:hover { color: var(--orange); }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--anth-2); border: 1px solid var(--line-dark); border-radius: 20px;
  padding: clamp(22px, 3.5vw, 40px);
}
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 16px var(--body); color: var(--lime);
  background: var(--anth); border: 1px solid var(--line-dark); border-radius: 10px;
  padding: 14px 16px;
  transition: border-color .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6f737a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(245, 243, 239, .3); }
.field.has-error input, .field.has-error textarea { border-color: #ff6b5b; }
.err { color: #ff8a7d; font-size: 13px; min-height: 0; }
.form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--muted-on-dark); min-height: 1em; }

/* ---------- PATIČKA ---------- */
.footer { background: #181b1f; padding: 80px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer .logo { padding-top: 22px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 30px 70px; }
.footer-cols h4 { font-family: var(--body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.footer-cols a, .footer-cols p { display: block; color: var(--muted-on-dark); font-size: 15px; margin-bottom: 6px; }
.footer-cols a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 26px; font-size: 14px; color: #80848a; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- RESPONZIVITA ---------- */
@media (max-width: 1060px) {
  .nav { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .header-phone span { display: none; }
  .header-phone { width: 42px; padding: 0; }
  .process { height: 560vh; }
  .process-sticky { padding-top: 64px; }
  .process-inner { grid-template-columns: 1fr; gap: 14px; }
  .process-stage { order: -1; }
  .process-text .eyebrow { display: none; }
  .process-text .section-title { font-size: 26px; margin: 0; }
  .process-text .section-title br { display: none; }
  .process-text { min-height: 190px; }
  .steps { margin-top: 4px; }
  .step:not(.is-active) { display: none; }
  .step p { max-height: none; opacity: 1; }
  .step-bar { left: 0; }
  .stage-frame { border-radius: 14px; }
  .why-inner, .area-inner, .about-inner, .contact-inner, .faq-inner { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .flow-track { grid-template-columns: 1fr; gap: 34px; }
  .flow-line { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .flow-line i { transform: scaleY(0); transform-origin: top; height: 100%; width: 100%; }
  .flow-step { padding-left: 84px; }
  .flow-dot { position: absolute; left: 0; top: 0; margin: 0; }
  .person:nth-child(2) { margin-top: 0; }
  .avatar { margin-bottom: 40px; }
  .hero-facts { gap: 18px 30px; }
  .hero-facts strong { font-size: 28px; }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-summary { position: static; }
}
@media (max-width: 640px) {
  .calc-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-row { grid-template-columns: minmax(0, 1fr); }
  .calc-line .btn { width: 100%; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service h3 { margin-top: 26px; }
  .form { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .header .btn-primary { padding: 0 14px; }
  .logo-word { font-size: 22px; }
  .contact-list li { flex-direction: column; gap: 4px; }
  .contact-list a, .contact-list p { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .scroll-hint span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-anim, .scroll-hint { animation: none; opacity: 1; transform: none; }
  .brush path { animation: none; stroke-dashoffset: 0; }
  .marquee-track, .pulse, .scroll-hint i::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
