/* ═══════════════ Zemní práce Urbánek – styly ═══════════════ */
:root {
  --bg: #1A1A1A;
  --surface: #242424;
  --surface-2: #2E2E2E;
  --text: #FFFFFF;
  --muted: #A9A9A9;
  --line: #353535;
  --accent: #F5C100;        /* firemní žlutá (z loga / favicony) */
  --accent-ink: #111111;    /* text na žluté */
  --accent-text: #F5C100;   /* žlutá pro text na tmavém pozadí */
  --dark: #111111;
  --dark-2: #222222;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.25);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.25), 0 24px 48px rgba(0,0,0,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
  --head: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 22px; }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--surface { background: #141414; }
.section--alt { background: #202020; }
.section--dark { background: var(--dark); color: var(--text); }
.section--yellow { background: var(--accent); color: var(--accent-ink); }
.section--yellow .eyebrow { color: var(--accent-ink); }
.section--yellow .accent-w { background: var(--accent-ink); color: var(--accent); padding: 0 .16em; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ── Typografie ── */
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.2; }
.accent-w { color: var(--accent-text); }
.section--dark .accent-w { color: var(--accent); }
.lead { font-size: clamp(17.5px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: #B5B5B5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--accent); }

.sec-head { margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head--split .lead { max-width: 44ch; }

/* ── Tlačítka ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16.5px; line-height: 1;
  padding: 18px 28px; border-radius: 999px; text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px rgba(245,193,0,.25); }
.btn--primary:hover { background: #FFD020; box-shadow: 0 10px 30px rgba(245,193,0,.38); }
.btn--dark { background: #fff; color: var(--accent-ink); }
.btn--dark:hover { background: var(--accent); }
.btn--black { background: var(--accent-ink); color: #fff; }
.btn--black:hover { background: #000; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.25); color: var(--text); }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--accent-ink); }

/* ── Progress bar ── */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 300;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
}

/* ── Hlavička ── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: transform .45s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-solid { background: rgba(17,17,17,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 24px;
  transition: transform .4s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__txt { line-height: 1.05; }
.logo__txt small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.logo__txt strong { font-family: var(--head); font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 14px; border-radius: 999px; position: relative; transition: background .2s; }
.nav a:hover { background: rgba(255,255,255,.07); color: var(--accent); }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: 15.5px; }
.header__phone svg { width: 18px; height: 18px; color: var(--accent-text); }
.header .btn { padding: 13px 20px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav {
  position: fixed; inset: 78px 0 auto 0; z-index: 190; background: var(--bg);
  padding: 12px 22px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .3s, visibility 0s .35s;
}
.menu-open .mnav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav a { text-decoration: none; font-family: var(--head); font-size: 24px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 20px; font-family: var(--body); font-size: 17px; border-bottom: 0; }

/* ── Hero ── */
.hero { padding-top: clamp(118px, 15vw, 160px); padding-bottom: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
/* skvrny jako radiální gradient místo filter: blur – stejný vzhled, ale bez drahého překreslování */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform; }
.blob--1 { width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(245,193,0,.16), rgba(245,193,0,.06) 55%, transparent); top: -260px; right: -240px; }
.blob--2 { width: 560px; height: 560px; background: radial-gradient(closest-side, rgba(245,193,0,.08), transparent); bottom: -210px; left: -230px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line);
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; margin-bottom: 26px; box-shadow: var(--shadow);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2FA35B; position: relative; flex-shrink: 0; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #2FA35B; opacity: .35; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2); opacity: 0; } }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 1.0; letter-spacing: -0.035em; margin-bottom: 26px; font-weight: 800; }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line-mask > span { display: inline-block; }
.js .line-mask > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.js .is-loaded .line-mask > span { transform: none; }
.js .is-loaded .line-mask:nth-child(2) > span { transition-delay: .12s; }
.js .is-loaded .line-mask:nth-child(3) > span { transition-delay: .24s; }
.scrib { position: relative; display: inline-block; color: var(--accent-text); }
.scribble { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) .9s; }
.js .scribble path { stroke-dashoffset: 1; }
.js .is-loaded .scribble path { stroke-dashoffset: 0; }
.hero__sub { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 34em; margin-bottom: 34px; }
.typed { color: var(--text); font-weight: 700; border-right: 2px solid var(--accent); padding-right: 3px; white-space: nowrap; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__proof { display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.hero__proof b { color: var(--text); font-weight: 700; }
.hero__proof .stars { color: var(--accent); letter-spacing: 1px; }
.hero__proof a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.hero__proof a:hover b { text-decoration: underline; }

.hero__visual { position: relative; }
.photo-frame {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease);
  background: var(--surface-2);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.photo-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 42%);
}
.photo-frame:hover::after { opacity: 1; }
.chip {
  position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3;
}
.chip b { display: block; font-family: var(--head); font-size: 18px; letter-spacing: -0.01em; }
.chip__ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; }
.chip__ic svg { width: 20px; height: 20px; }
.chip--a { left: -28px; bottom: 44px; }
.chip--b { right: -20px; top: 32px; }
.floaty { animation: floaty 6s ease-in-out infinite; }
.chip--b.floaty { animation-delay: -3s; }
@keyframes floaty { 50% { translate: 0 -8px; } }

/* ── Marquee ── */
.marquee { background: var(--accent); color: var(--accent-ink); padding: 22px 0; overflow: hidden; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-off .marquee__track { animation-play-state: paused; }
.is-off .dot::after { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--head); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; white-space: nowrap; letter-spacing: -0.01em; }
.marquee__item i { color: var(--accent-ink); font-style: normal; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Služby ── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card__corners::before, .card__corners::after, .card__corners i::before, .card__corners i::after {
  content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s;
}
.card__corners::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.card__corners::after { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.card__corners i::before { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.card__corners i::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.card__ic {
  width: 56px; height: 56px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; margin-bottom: 22px;
  transition: background .35s var(--ease), transform .45s var(--ease);
}
.card__ic svg { width: 28px; height: 28px; stroke: var(--text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 10px; }
.card > p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 7px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231F1B16' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.card__link { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; font-weight: 700; font-size: 15px; text-decoration: none; }
.card__link .arr { transition: transform .3s var(--ease); }
.card__link:hover .arr { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .card:hover .card__corners::before { opacity: 1; transform: translate(-6px, -6px); }
  .card:hover .card__corners::after { opacity: 1; transform: translate(6px, -6px); }
  .card:hover .card__corners i::before { opacity: 1; transform: translate(-6px, 6px); }
  .card:hover .card__corners i::after { opacity: 1; transform: translate(6px, 6px); }
  .card:hover .card__ic { background: var(--accent); transform: rotate(-8deg); }
  .card:hover .card__ic svg { stroke: var(--accent-ink); }
}

/* ── Kontejnery (výběr velikosti) ── */
.cont { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sizes { display: flex; gap: 8px; margin: 28px 0 26px; flex-wrap: wrap; }
.size {
  min-width: 82px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--head); font-size: 22px; font-weight: 700; line-height: 1; transition: all .25s var(--ease);
}
.size small { font-size: 13px; font-family: var(--body); font-weight: 600; color: var(--muted); margin-left: 2px; }
.size:hover { border-color: var(--text); }
.size[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.size[aria-selected="true"] small { color: rgba(17,17,17,.7); }
.cont__info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; min-height: 196px; }
.cont__info h3 { margin-bottom: 8px; }
.cont__info p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.cont__fade { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.cont__fade.swap { opacity: 0; transform: translateY(6px); }
.cont__visual { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: end center; padding-bottom: 8%; }
.cont__visual::before { content: ""; position: absolute; inset: 8% 4% 0; background: var(--surface-2); border-radius: 28px; }
.cont__svg { position: relative; width: 94%; overflow: visible; }
.cg { opacity: 0; transform: translateY(18px); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.cg.on { opacity: 1; transform: none; }
.cont__label { position: absolute; top: 14%; right: 9%; font-family: var(--head); font-weight: 800; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1; }
.cont__label small { font-size: .45em; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ── Čísla ── */
.stats { --sl: rgba(17,17,17,.2); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1.5px solid var(--sl); }
.stat { padding: 34px 24px 6px 0; border-right: 1.5px solid var(--sl); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--head); font-weight: 800; font-size: clamp(48px, 6vw, 80px); line-height: 1; letter-spacing: -0.04em; color: var(--accent-ink); }
.stat__num small { font-size: .5em; letter-spacing: -0.02em; }
.stat p { color: rgba(17,17,17,.75); font-weight: 500; margin-top: 12px; font-size: 16px; max-width: 22ch; }

/* ── O nás ── */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.words { font-family: var(--head); font-weight: 600; font-size: clamp(26px, 3.3vw, 42px); line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 40px; }
.js .words .w { opacity: .16; transition: opacity .35s var(--ease); }
.js .words .w.lit { opacity: 1; }
.words .k { color: var(--accent-text); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.benefit { display: flex; gap: 14px; }
.benefit__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.benefit__ic svg { width: 20px; height: 20px; stroke: var(--accent-ink); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.benefit h4 { font-size: 17px; margin-bottom: 3px; letter-spacing: -0.01em; }
.benefit p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.about__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__photos figure { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.about__photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.about__photos figure:not(:first-child) { aspect-ratio: 3 / 4; }
.about__photos img { width: 100%; height: 100%; object-fit: cover; }
.about__sign { margin-top: 26px; display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.about__sign b { display: block; color: var(--text); font-size: 17px; }

/* ── Realizace (horizontální galerie) ── */
.hscroll { position: relative; }
.hscroll__track { display: flex; gap: 18px; padding-inline: max(22px, calc((100vw - 1160px) / 2 + 22px)); }
.is-drift .hscroll__track { will-change: transform; }
.work {
  flex: 0 0 auto; width: clamp(260px, 26vw, 340px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--surface-2); cursor: zoom-in; text-align: left;
}
.work--wide { width: clamp(340px, 40vw, 520px); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 20px 18px; color: #fff; font-weight: 600; font-size: 15.5px; line-height: 1.35;
  background: linear-gradient(to top, rgba(20,17,13,.82), transparent);
}
.work figcaption span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .work:hover img { transform: scale(1.06); } }
.hscroll { overflow-x: clip; }
.hscroll__view { position: relative; }
.hscroll:not(.is-drift) .hscroll__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.hscroll:not(.is-drift) .hscroll__track::-webkit-scrollbar { display: none; }
.hscroll:not(.is-drift) .work { scroll-snap-align: center; }
.hs-arrow {
  position: absolute; top: 50%; z-index: 3; width: 58px; height: 58px; border-radius: 50%; translate: 0 -50%;
  display: grid; place-items: center; color: #fff; background: rgba(17,17,17,.72);
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: background .25s, color .25s, opacity .3s, transform .3s var(--ease);
}
.hs-arrow svg { width: 24px; height: 24px; }
.hs-arrow--prev { left: 20px; }
.hs-arrow--next { right: 20px; }
.hs-arrow:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.08); }
.hs-arrow:disabled { opacity: 0; pointer-events: none; }
.hscroll__bar { height: 3px; background: var(--line); border-radius: 3px; margin-top: 28px; overflow: hidden; }
.hscroll__bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.hint { font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }

/* ── Postup ── */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.process__head { position: sticky; top: 120px; align-self: start; }
.steps { position: relative; padding-left: 64px; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--p)); }
.step { position: relative; padding-bottom: 56px; transition: opacity .4s var(--ease); }
.step:last-child { padding-bottom: 0; }
.js .step { opacity: .38; }
.js .step.is-active, .js .step.is-done { opacity: 1; }
.step__n {
  position: absolute; left: -64px; top: -4px; width: 44px; height: 44px; border-radius: 50%; z-index: 1;
  background: var(--bg); border: 2px solid var(--line); display: grid; place-items: center;
  font-family: var(--head); font-weight: 700; transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.step.is-active .step__n, .step.is-done .step__n { background: var(--accent); border-color: var(--accent); }
.step.is-active .step__n { transform: scale(1.12); }
.step h3 { margin-bottom: 8px; font-size: clamp(22px, 2.4vw, 28px); }
.step p { color: var(--muted); max-width: 46ch; }

/* ── Recenze ── */
.reviews { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: stretch; }
.score { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.score__big { font-family: var(--head); font-weight: 800; font-size: 96px; line-height: .9; letter-spacing: -0.05em; }
.score .stars { color: var(--accent-ink); font-size: 24px; letter-spacing: 3px; }
.score p { color: rgba(17,17,17,.75); font-size: 15.5px; font-weight: 500; }
.rev-list { display: grid; gap: 14px; }
.rev { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.rev__av { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 19px; flex-shrink: 0; }
.rev__name { font-weight: 700; }
.rev__meta { font-size: 14px; color: var(--muted); }
.rev .stars { margin-left: auto; color: var(--accent); letter-spacing: 2px; font-size: 18px; white-space: nowrap; }

/* ── FAQ ── */
.faq { max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  padding: 26px 0; font-family: var(--head); font-size: clamp(19px, 2vw, 23px); font-weight: 600; letter-spacing: -0.01em;
}
.faq__icon { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex-shrink: 0; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--text); border-radius: 2px; translate: -50% -50%; transition: transform .35s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.open .faq__icon { background: var(--accent); border-color: var(--accent); }
.faq__item.open .faq__icon::after { transform: rotate(0); }
.faq__item.open .faq__icon::before, .faq__item.open .faq__icon::after { background: var(--accent-ink); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding: 0 56px 26px 0; max-width: 64ch; }

/* ── Kontakt / CTA ── */
.cta-big { text-align: center; margin-bottom: clamp(56px, 8vw, 88px); }
.cta-big h2 { font-size: clamp(42px, 7vw, 88px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 22px; }
.cta-big .lead { margin: 0 auto 34px; }
.cta-big__btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.magnet { display: inline-block; transition: transform .4s var(--ease); }
.btn--xl { padding: 24px 38px; font-size: clamp(19px, 2.2vw, 24px); font-family: var(--head); }
.btn--xl svg { width: 22px; height: 22px; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.contact__info { display: grid; gap: 12px; align-content: start; }
.ci { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
a.ci:hover { border-color: var(--accent); transform: translateX(4px); }
.ci__ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(245,193,0,.14); display: grid; place-items: center; flex-shrink: 0; }
.ci__ic svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ci small { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #9A9A9A; font-weight: 700; }
.ci b { font-size: 17px; font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 220px; border: 1px solid rgba(255,255,255,.08); background: var(--dark-2); }
.map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

.form { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 38px); }
.form h3 { font-size: 26px; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #111; box-shadow: 0 0 0 4px rgba(245,193,0,.22); }
.field input::placeholder, .field textarea::placeholder { color: #777; }
.field option { background: #222; color: #fff; }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 6px rgba(245,193,0,.55); } }

/* ── Patička ── */
.footer { background: #0D0D0D; color: #9A9A9A; padding: 64px 0 110px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(244,239,230,.1); }
.footer .logo__txt strong { color: #FFFFFF; }
.footer .logo__txt small { color: #9A9A9A; }
.footer h4 { color: #FFFFFF; font-family: var(--body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13.5px; }

/* ── Mobilní lišta ── */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 180; display: none; gap: 8px;
  padding: 8px; border-radius: 22px; background: rgba(31,27,22,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,.3); transform: translateY(140%); transition: transform .5s var(--ease);
}
.mbar.show { transform: none; }
.mbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 16px; font-weight: 700; text-decoration: none; font-size: 16px; }
.mbar svg { width: 19px; height: 19px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px; background: #fff; color: var(--accent-ink); font-size: 15px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.4); transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { .toast { bottom: 96px; } }
.mbar__call { background: var(--accent); color: var(--accent-ink); }
.mbar__wa { background: #25D366; color: #0B2E17; }

/* ── Lightbox ── */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(16,13,10,.94); display: grid; place-items: center; padding: 64px 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lb.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb img { max-width: min(92vw, 1100px); max-height: 82vh; border-radius: 14px; object-fit: contain; }
.lb__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #D9D0C3; font-size: 15px; padding: 0 70px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .2s, color .2s; }
.lb button:hover { background: var(--accent); color: var(--accent-ink); }
.lb button svg { width: 22px; height: 22px; }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb__next { right: 18px; top: 50%; translate: 0 -50%; }

/* ── Reveal ── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Responzivita ── */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .cont, .about, .process, .reviews, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .photo-frame { aspect-ratio: 4 / 3.4; }
  .chip--a { left: -8px; } .chip--b { right: -8px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1.5px solid var(--sl); padding: 26px 12px 26px 0 !important; }
  .stat:nth-child(odd) { border-right: 1.5px solid var(--sl); }
  .stat:nth-child(even) { padding-left: 22px !important; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .process__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .header__phone { display: none; }
  .header .btn--primary { display: none; }
  .header__in { height: 70px; }
  .mnav { top: 70px; }
  .services { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .hero__cta .btn { flex: 1 1 100%; }
  .mbar { display: flex; }
  .work, .work--wide { width: 78vw; }
  .hs-arrow { width: 44px; height: 44px; }
  .hs-arrow svg { width: 20px; height: 20px; }
  .hs-arrow--prev { left: 10px; } .hs-arrow--next { right: 10px; }
  .work--wide { aspect-ratio: 3 / 4; }
  .sizes { flex-wrap: nowrap; }
  .size { flex: 1; min-width: 0; padding: 14px 8px; }
  .faq__a p { padding-right: 0; }
  .rev { flex-wrap: wrap; }
  .rev .stars { margin-left: 64px; }
  .score__big { font-size: 80px; }
  .chip { padding: 10px 12px; font-size: 13px; }
  .chip b { font-size: 16px; }
  .chip__ic { width: 34px; height: 34px; }
  .lb__prev, .lb__next { top: auto; bottom: 14px; translate: none; }
  .lb__cap { bottom: 80px; padding: 0 16px; }
}

/* Dotyková zařízení: bez rozmazaného pozadí a filtrů, které při scrollu brzdí */
@media (hover: none), (pointer: coarse) {
  .header.is-solid { background: rgba(17,17,17,.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mbar { background: rgba(24,24,24,.98); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hs-arrow { background: rgba(17,17,17,.85); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .map iframe { filter: none; }
  .floaty { animation: none; }
  .blob { will-change: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .line-mask > span { transform: none; }
  .js .words .w { opacity: 1; }
  .js .step { opacity: 1; }
  .scribble path { stroke-dashoffset: 0; }
}
