/* =============================================================
   MULCUJ.CZ — Premium Industrial Utility
   Shared stylesheet (all 5 pages)
   ============================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Sharp geometry — non-negotiable design rule. */
  border-radius: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--orange); color: #fff; }

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* surfaces */
  --bg:         #ffffff;
  --bg-soft:    #f8f9fa;
  --bg-line:    #e6e8eb;
  --bg-dark:    #0f1419;
  --bg-dark-2:  #161c23;

  /* ink */
  --ink:        #1a1d22;
  --ink-2:      #3a3f47;
  --ink-mute:   #6b7280;
  --ink-soft:   #9ca3af;
  --ink-light:  #e9ecef;

  /* brand */
  --orange:     #ff5500;
  --orange-d:   #e64c00;
  --green:      #78be20;
  --green-d:    #5fa015;

  /* state */
  --focus:      #ff5500;

  /* typography */
  --display:    "Oswald", "Teko", "Inter", system-ui, sans-serif;
  --body:       "Inter", "Roboto", system-ui, sans-serif;

  /* spacing */
  --container:  1280px;
  --pad-x:      clamp(20px, 4vw, 48px);
  --section-y:  clamp(64px, 9vw, 120px);
}

/* ---------- TYPOGRAPHY ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: clamp(17px, 1.6vw, 20px); }
p { color: var(--ink-2); }

/* ============================================================
   EYEBROW — small technical label above H1/H2
   ============================================================
   DUAL-BRANDING semantic rules:
     • ORANGE (default `.eyebrow` / `.eyebrow--segment`)
         — audience segmentation: B2C, B2G, B2B
         — actions, CTAs, conversion labels
         — examples: "Pro veřejný sektor · B2G",
                     "Poptávkový formulář"
     • GREEN  (`.eyebrow--green` / `.eyebrow--tech`)
         — technology, ecology, evidence-based proof
         — examples: "Řešení pro firmy",
                     "Důkaz místo slibů",
                     "Kde nejčastěji pracujeme"
     • WHITE  (`.eyebrow--white`) — on dark backgrounds (hero)
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--orange);
  display: inline-block;
}
/* Semantic aliases — same visual, intent-revealing names */
.eyebrow--segment { color: var(--orange); }
.eyebrow--segment::before { background: var(--orange); }

.eyebrow--light { color: var(--orange); }

.eyebrow--green,
.eyebrow--tech { color: var(--green-d); }
.eyebrow--green::before,
.eyebrow--tech::before { background: var(--green-d); }

.eyebrow--white { color: rgba(255,255,255,.7); }
.eyebrow--white::before { background: var(--orange); }

.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 640px;
}

/* ---------- LAYOUT UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark p { color: rgba(255,255,255,.7); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow,
.section-head--center .lead { margin-inline: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn--primary:hover { background: var(--orange-d); border-color: var(--orange-d); }

.btn--dark {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}
.btn--dark:hover { background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--bg-line);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn--ghost-light:hover {
  /* MDB brand green — matches the tech-bar number color */
  background: #22c55e;
  color: var(--bg-dark);
  border-color: #22c55e;
}

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- SKIP-LINK (a11y — first element in <body>, visible only on focus) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: -3px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--bg-line);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 80px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  text-transform: uppercase;
}
/* Logo image variant (replaces brand mark + text combo) */
.brand img { display: block; height: 48px; width: auto; }
.foot__brand .brand img { height: 60px; }
@media (max-width: 900px) {
  .brand img { height: 36px; }
}
@media (max-width: 480px) {
  .brand img { height: 30px; }
}

.nav__menu {
  display: flex; justify-content: center; gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav__menu a {
  position: relative;
  padding: 10px 0;
  color: var(--ink-2);
  transition: color .15s ease;
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 6px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after,
.nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu a.is-active { color: var(--ink); }

.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__tel {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__tel:hover { color: var(--orange); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  padding: 10px;
  border: 1px solid var(--bg-line);
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  /* Keep nav-bar height fixed — menu drops as overlay so the burger /
     close-cross never moves from its top-right position. */
  .nav__inner {
    grid-template-columns: auto auto;
    height: 64px;
    position: relative; /* anchor for absolutely-positioned menu */
  }
  .nav__menu {
    /* absolute overlay panel below the nav, doesn't push layout */
    position: absolute;
    top: 100%;
    left: calc(var(--pad-x) * -1);
    right: calc(var(--pad-x) * -1);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad-x) 20px;
    border-top: 1px solid var(--bg-line);
    background: #fff;
    box-shadow: 0 16px 24px -8px rgba(0,0,0,.10);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav__menu a {
    padding: 16px 0;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--bg-line);
  }
  .nav__menu a:last-child { border-bottom: none; }
  .nav__menu a::after { display: none; }
  .nav.is-open .nav__menu { display: flex; }
  .nav__burger { display: block; }
  .nav__tel { display: none; }
  /* compact CTA so logo can be larger and everything fits in the bar */
  .nav__cta { gap: 12px; }
}
@media (max-width: 480px) {
  .nav__cta { gap: 8px; }
  .nav__cta .btn--sm { padding: 9px 14px; font-size: 12px; }
}

/* ---------- HERO ---------- */
.hero {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(70px, 10vw, 120px);
}
.hero--sm .hero__inner { padding-block: clamp(60px, 8vw, 90px); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero__text { position: relative; z-index: 2; }
.hero__title {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(36px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
}
.hero__title strong { color: var(--orange); font-weight: 700; }
.hero__title .accent-g { color: var(--green); font-weight: 700; }

.hero__lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.6;
}

.hero__actions {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* breadcrumb on sub-pages */
.crumbs {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.crumbs a { color: rgba(255,255,255,.7); }
.crumbs a:hover { color: var(--orange); }
.crumbs span { opacity: .4; }

/* ---------- HERO — CINEMATIC modifier ----------
   Full-bleed background photo + dark overlay for headline contrast.
   Asymmetric: text constrained to ~720px on the left,
   machine remains visible on the right via gradient fade. */
.hero--cinematic {
  position: relative;
  min-height: clamp(580px, 84vh, 840px);
  display: grid;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
  background: var(--bg-dark-2);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Stack (top → bottom):
     1. Engineering grid pattern (40px, 1px @ rgba .05) — industrial CAD feel
     2. Diagonal asymmetric darkening on top of the photo (#222 base)
     3. Bottom vignette for headline foot edge */
  background:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,.05) 0 1px,
      transparent 1px 40px),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.05) 0 1px,
      transparent 1px 40px),
    linear-gradient(98deg,
      rgba(34,34,34,.85) 0%,
      rgba(34,34,34,.74) 38%,
      rgba(34,34,34,.46) 65%,
      rgba(34,34,34,.12) 100%),
    linear-gradient(0deg,
      rgba(34,34,34,.45) 0%,
      transparent 35%);
}
.hero--cinematic .hero__inner {
  position: relative;
  z-index: 2;
  display: block;
  padding-block: clamp(90px, 12vw, 150px);
}
.hero--cinematic .hero__text { max-width: 720px; }
.hero--cinematic .hero__title { margin-top: 0; }
@media (max-width: 900px) {
  .hero__overlay {
    background:
      repeating-linear-gradient(0deg,
        rgba(255,255,255,.05) 0 1px,
        transparent 1px 40px),
      repeating-linear-gradient(90deg,
        rgba(255,255,255,.05) 0 1px,
        transparent 1px 40px),
      linear-gradient(180deg,
        rgba(34,34,34,.70) 0%,
        rgba(34,34,34,.78) 60%,
        rgba(34,34,34,.86) 100%);
  }
}

/* ---------- HERO — MINIMAL modifier ----------
   Used on contact page: no machine photo, just #222 base
   + engineering grid pattern. Functional and quiet. */
.hero--minimal {
  background: #222222;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero--minimal .hero__inner {
  position: relative;
  z-index: 2;
  display: block;
  padding-block: clamp(80px, 10vw, 130px);
}
.hero--minimal .hero__text { max-width: 760px; }
.hero--minimal .hero__title { margin-top: 0; }
.hero--minimal .hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Only the engineering grid — no asymmetric dark gradient
     since there is no photo to darken. */
  background:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,.05) 0 1px,
      transparent 1px 40px),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.05) 0 1px,
      transparent 1px 40px);
}

/* ---------- TECH BAR — dark data slab between hero and marquee ----------
   Reads as a continuation of the dark hero; 3 industrial cells separated
   by 1px lines; HUGE orange numbers in Oswald. */
.tech-bar {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(255,85,0,.45);
}
.tech-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tech-bar__item {
  padding: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px);
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tech-bar__item:last-child { border-right: none; }
.tech-bar__num {
  display: block;
  font-family: var(--display);
  /* sized to fit even the longest label ("100 % Compliance" on firmy.html)
     on one line within a ~395 px grid column at 1280 px container */
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  /* never break a single value into two lines — wrap-mid felt visually wrong */
  white-space: nowrap;
  /* MDB brand green (lighter step from SVG logo's #008d36 for better
     legibility on dark tech-bar background) */
  color: #22c55e;
}
.tech-bar__lbl {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 600;
  line-height: 1.4;
}
@media (max-width: 800px) {
  .tech-bar__grid { grid-template-columns: 1fr; }
  .tech-bar__item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .tech-bar__item:last-child { border-bottom: none; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  position: relative;
  background: var(--orange);
  color: #0a0a0a;
  overflow: hidden;
  /* slight diagonal skew */
  transform: rotate(-1.2deg) scaleX(1.04);
  margin-block: -22px;
  z-index: 5;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 28px;
  white-space: nowrap;
  padding-block: 14px;
  font-family: var(--display);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee__sep {
  display: inline-block;
  font-size: .6em;
  opacity: .55;
}
@keyframes marquee {
  /* explicit from-keyframe + translate3d forces GPU layer on iOS Safari,
     which otherwise sometimes never starts the animation when the marquee
     parent has its own transform (rotate + scaleX). */
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- ROZCESTNÍK (TRIO CARDS) ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--bg-line);
  background: #fff;
}
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }

.trio__card {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  border-right: 1px solid var(--bg-line);
  position: relative;
  background: #fff;
  transition: background .2s ease;
}
.trio__card:last-child { border-right: none; }
@media (max-width: 900px) {
  .trio__card { border-right: none; border-bottom: 1px solid var(--bg-line); }
  .trio__card:last-child { border-bottom: none; }
}
.trio__card:hover { background: var(--bg-soft); }

/* Hover left-border accent — animated via pseudo-element so card content
   does not shift. Alternates orange / green for visual rhythm. */
.trio__card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.trio__card:nth-child(even)::before { background: var(--green); }
.trio__card:hover::before { transform: scaleY(1); }

.trio__icon {
  width: 56px; height: 56px;
  background: var(--bg-soft);
  border: 1px solid var(--bg-line);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--orange);
}
.trio__icon svg { width: 28px; height: 28px; }

.trio__card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 12px;
}
.trio__card p {
  flex-grow: 1;
  margin-bottom: 24px;
  color: var(--ink-mute);
}
.trio__list {
  margin-bottom: 28px;
  display: grid; gap: 8px;
}
.trio__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.trio__list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--green);
  margin-top: 8px;
  flex-shrink: 0;
}
.trio__card .btn { align-self: flex-start; }

/* ---------- WHY US ---------- */
.feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feats { grid-template-columns: 1fr; } }

.feat {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--bg-line);
  position: relative;
  transition: border-color .2s ease;
}
.feat:hover { border-color: var(--orange); }
.feat__icon {
  width: 44px; height: 44px;
  color: var(--orange);
  margin-bottom: 18px;
}
.feat h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: var(--body);
}
.feat p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
}

/* ---------- PROCESS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--bg-line);
  background: #fff;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 32px 28px;
  border-right: 1px solid var(--bg-line);
  position: relative;
}
.step:last-child { border-right: none; }
@media (max-width: 900px) {
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--bg-line); }
}
@media (max-width: 540px) {
  .step { border-right: none; border-bottom: 1px solid var(--bg-line); }
  .step:last-child { border-bottom: none; }
}

.step__num {
  display: inline-block;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
  line-height: 1;
}
.step h3 {
  font-size: 18px;
  font-family: var(--body);
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
}

/* ---------- BEFORE / AFTER ---------- */
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--bg-line);
  user-select: none;
  cursor: ew-resize;
}
.ba__before, .ba__after {
  position: absolute; inset: 0;
}
.ba__after {
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
}
.ba__before img, .ba__after img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba__before.is-empty,
.ba__after.is-empty {
  background:
    linear-gradient(135deg, rgba(120,80,40,.18), transparent),
    repeating-linear-gradient(135deg, #d8dadd 0 10px, #c9ccd0 10px 20px);
}
.ba__after.is-empty {
  background:
    linear-gradient(135deg, rgba(120,190,32,.16), transparent),
    repeating-linear-gradient(45deg, #e9ecef 0 10px, #dfe3e6 10px 20px);
}
.ba__before.is-empty img,
.ba__after.is-empty img { display: none; }
.ba__label {
  position: absolute;
  top: 16px; left: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 12px;
  border: 1px solid var(--bg-line);
}
.ba__label--right {
  left: auto; right: 16px;
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 4;
  outline: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
.ba__handle-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 700;
}

/* ---------- BANNER CTA ---------- */
.banner {
  background: var(--bg-dark);
  color: #fff;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border-left: 4px solid var(--orange);
}
@media (max-width: 720px) {
  .banner { grid-template-columns: 1fr; }
}
.banner h2 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.15;
}
.banner p {
  color: rgba(255,255,255,.7);
  margin-top: 10px;
  max-width: 560px;
}
.banner__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* ---------- TWO-COL CONTENT BLOCK (for sub-pages) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

.split__media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--bg-soft);
  border: 1px solid var(--bg-line);
  overflow: hidden;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media.is-empty {
  background:
    linear-gradient(135deg, rgba(255,85,0,.06), transparent 60%),
    repeating-linear-gradient(45deg, #f1f3f5 0 12px, #e9ecef 12px 24px);
}
.split__media.is-empty img { display: none; }
.split__media-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: #fff;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid var(--bg-line);
  color: var(--ink);
}

.split__text h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 18px;
}
.split__text .lead {
  margin-bottom: 22px;
}
.split__list {
  margin-top: 20px;
  display: grid; gap: 12px;
}
.split__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.split__list li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--green-d);
  margin-top: 4px;
}

/* ---------- FORM ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--bg-line);
  padding: clamp(28px, 4vw, 44px);
}
.form-card h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 8px;
}
.form-card .lead {
  font-size: 15px;
  margin-bottom: 28px;
}

.field {
  display: block;
  margin-bottom: 18px;
}
.field > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--bg-line);
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 120px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-block: 22px;
}
.field--check input { width: 18px; height: 18px; accent-color: var(--orange); }
.field--check span {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* ---------- FORM HINT (e-mail nebo telefon helper) ---------- */
.form-hint {
  display: block;
  margin: -8px 0 18px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-mute);
}
.form-hint strong { color: var(--ink); font-weight: 700; }

/* ---------- FORM FLASH (server-side response banner) ---------- */
.form-flash {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 1.5px solid;
  font-size: 15px;
  line-height: 1.5;
  animation: form-flash-in .45s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity .25s ease, transform .25s ease;
}
@keyframes form-flash-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-flash { animation: none; }
}
.form-flash__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.form-flash__body { flex: 1; }
.form-flash__body strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}
.form-flash__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.form-flash__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  opacity: 0.55;
  transition: opacity .15s ease, background .15s ease;
}
.form-flash__close:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }

.form-flash--ok {
  background: rgba(34, 197, 94, .08);
  border-color: rgba(34, 197, 94, .35);
  color: #04612a;
}
.form-flash--ok .form-flash__icon { background: #22c55e; }

.form-flash--err {
  background: rgba(213, 31, 38, .08);
  border-color: rgba(213, 31, 38, .35);
  color: #8b1218;
}
.form-flash--err .form-flash__icon { background: #d51f26; }

/* ---------- CONTACT INFO ---------- */
.info-card {
  /* #222 base + same engineering grid pattern as cinematic hero overlay */
  background:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,.05) 0 1px,
      transparent 1px 40px),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.05) 0 1px,
      transparent 1px 40px),
    #222222;
  color: #fff;
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column;
  gap: 26px;
}
.info-card h2 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 10px;
}
.info-card .lead { color: rgba(255,255,255,.7); }

.info-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.info-row:last-of-type { border-bottom: none; }
.info-row svg {
  width: 22px; height: 22px;
  color: var(--orange);
  margin-top: 2px;
}
.info-row dt {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}
.info-row dd {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}
.info-row dd a:hover { color: var(--orange); }

/* ---------- MAP ---------- */
.map {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border: 1px solid var(--bg-line);
  overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map.is-static {
  background:
    radial-gradient(circle at 40% 50%, rgba(255,85,0,.10), transparent 40%),
    repeating-linear-gradient(0deg, #e9ecef 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, #e9ecef 0 1px, transparent 1px 60px),
    var(--bg-soft);
  display: grid; place-items: center;
}
.map__pin {
  width: 18px; height: 18px;
  background: var(--orange);
  position: relative;
}
.map__pin::after {
  content: "";
  position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%);
  border: 9px solid transparent;
  border-top-color: var(--orange);
}

/* ---------- FOOTER ---------- */
.foot {
  background: var(--bg-dark);
  color: #fff;
  padding-top: clamp(60px, 8vw, 90px);
  padding-bottom: 24px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr; gap: 28px; } }

.foot__brand .brand { color: #fff; }
.foot__brand p {
  margin-top: 16px;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  max-width: 280px;
}
.foot__col h4 {
  color: #fff;
  font-size: 14px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.foot__col ul { display: grid; gap: 10px; }
.foot__col a {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  transition: color .15s ease;
}
.foot__col a:hover { color: var(--orange); }

.foot__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.foot__bottom a:hover { color: #fff; }

/* ---------- A11Y / FOCUS ---------- */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.btn:focus-visible { outline-offset: 3px; }

/* ---------- REVEAL on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═════════════════════════════════════════════════════════════════════════
   COOKIE CONSENT — banner + modal (brand-konzistentní s industrial vzhledem)
   Renderováno dynamicky z consent.js, není v žádné HTML šabloně.
   ═════════════════════════════════════════════════════════════════════════ */

/* ─── BANNER (bottom strip) ──────────────────────────────────────────── */
.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  max-width: 960px;
  margin-inline: auto;
  padding: 22px 26px;
  background-color: #0f1419;
  background-image:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,.05) 0 1px,
      transparent 1px 40px),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.05) 0 1px,
      transparent 1px 40px);
  color: #fff;
  border-left: 4px solid var(--orange);
  box-shadow: 0 14px 38px rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .35s ease, transform .35s ease;
  font-family: var(--body);
}
.cc-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cc-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cc-banner__title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: .01em;
}
.cc-banner__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.cc-banner__text a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-banner__text a:hover {
  color: #fff;
}
.cc-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 720px) {
  .cc-banner__inner { grid-template-columns: 1fr; }
  .cc-banner__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}
@media (max-width: 480px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; padding: 18px 18px; }
  .cc-banner__actions { grid-template-columns: 1fr; }
}

/* ─── BUTTONS (vlastní, ne sdílené s .btn — modal/banner specifika) ─── */
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.cc-btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.cc-btn--primary:hover { background: #e64c00; border-color: #e64c00; }
.cc-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.25);
}
.cc-btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.cc-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ─── MODAL (overlay nastavení) ──────────────────────────────────────── */
.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}
.cc-modal.is-visible { opacity: 1; }

.cc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.cc-modal__inner {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-top: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}

.cc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--bg-line);
}
.cc-modal__title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.cc-modal__close {
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  color: var(--ink-mute);
  transition: color .15s ease;
}
.cc-modal__close:hover { color: var(--ink); }
.cc-modal__close:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.cc-modal__body {
  padding: 20px 28px;
  flex: 1;
}
.cc-modal__body > p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
}

.cc-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  border-top: 1px solid var(--bg-line);
}
.cc-option:first-of-type { border-top: 0; }
.cc-option input[type="checkbox"] {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
  cursor: pointer;
}
.cc-option input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cc-option strong {
  display: block;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.cc-option p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
}

.cc-modal__foot {
  padding: 18px 28px 24px;
  border-top: 1px solid var(--bg-line);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  background: var(--bg-soft);
}
.cc-modal__foot .cc-btn--ghost {
  color: var(--ink-2);
  border-color: var(--bg-line);
}
.cc-modal__foot .cc-btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
@media (max-width: 520px) {
  .cc-modal__inner { max-height: 95vh; }
  .cc-modal__foot { flex-direction: column-reverse; }
  .cc-modal__foot .cc-btn { width: 100%; }
}

/* ─── Reduced motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cc-banner,
  .cc-modal {
    transition: none;
    transform: none;
  }
}
