/* =========================================================
   Lerch KOVO s.r.o. – hlavní styly
   ========================================================= */

:root {
  --ink: #0b0f15;
  --ink-2: #121924;
  --ink-3: #1b2431;
  --bg: #f3f5f8;
  --surface: #ffffff;
  --text: #101820;
  --muted: #5a6573;
  --muted-dark: #9aa6b4;
  --line: #e0e5eb;
  --line-dark: rgba(255, 255, 255, .09);

  --brand: #0b5fae;
  --brand-2: #1683d8;
  --accent: #5cc2f2;
  --hot: #ff7a1a;

  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 8px 24px -8px rgba(16, 24, 32, .12);
  --shadow-lg: 0 30px 60px -20px rgba(11, 30, 60, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: -.02em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
  transform: translate(var(--bx), var(--by));
}
.btn:hover { text-decoration: none; }
.btn svg { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 10px 24px -10px rgba(22, 131, 216, .7), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(22, 131, 216, .85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { color: currentColor; border-color: currentColor; background: transparent; opacity: .92; }
.btn-ghost:hover { background: rgba(127, 160, 200, .12); opacity: 1; }
.btn-sm { padding: .7em 1.2em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff;
  transition: background .35s, box-shadow .35s, height .35s, color .35s;
}
/* blur is on a pseudo-element: backdrop-filter on the header itself would
   become the containing block of the fixed mobile menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: rgba(11, 15, 21, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.scrolled { --header-h: 64px; height: 64px; }
.site-header.scrolled::before { opacity: 1; }
.header-inner { position: relative; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 38px; height: 38px; color: currentColor; transition: transform .8s var(--ease); }
.logo:hover .logo-mark { transform: rotate(90deg); }
.logo-text { font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; letter-spacing: .04em; line-height: 1; display: flex; flex-direction: column; }
.logo-text strong { font-weight: 700; display: inline; }
.logo-text small { font-family: var(--font); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; opacity: .6; margin-top: 4px; font-weight: 500; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 8px 12px; color: inherit; font-weight: 500; font-size: .96rem; opacity: .82;
  transition: opacity .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a.active { opacity: 1; text-decoration: none; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-mobile-contact { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; font-size: .95rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { text-decoration: none; color: var(--accent); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08);
  position: relative; color: inherit;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 75% 30%, #13253d 0%, transparent 60%), var(--ink);
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
}
.hero-grid {
  position: absolute; inset: -40px;
  background-image:
    linear-gradient(rgba(92, 194, 242, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 194, 242, .07) 1px, transparent 1px),
    linear-gradient(rgba(92, 194, 242, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 194, 242, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%);
  transform: translate3d(0, var(--py, 0), 0);
}
.hero-glow {
  position: absolute; width: 560px; height: 560px; right: -120px; top: 10%;
  background: radial-gradient(circle, rgba(22, 131, 216, .35), transparent 65%);
  filter: blur(20px); animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-80px, 60px) scale(1.15); opacity: .7; } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 14px 7px 12px; border: 1px solid var(--line-dark); border-radius: 999px;
  background: rgba(255,255,255,.04); font-size: .88rem; font-weight: 500; letter-spacing: .04em; color: #cfe3f3;
}
.dot { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); font-weight: 700; line-height: .98; margin-bottom: .4em; letter-spacing: -.015em; }
.text-gradient {
  background: linear-gradient(90deg, #fff 0%, var(--accent) 50%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #b7c3d0; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 44px; }
.hero-specs { display: grid; grid-template-columns: repeat(3, auto); gap: 0; border-top: 1px solid var(--line-dark); padding-top: 22px; justify-content: start; }
.hero-specs li { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line-dark); }
.hero-specs li:last-child { border: 0; margin: 0; padding: 0; }
.hero-specs .mono { display: block; font-size: 1.5rem; color: #fff; }
.hero-specs small { color: var(--muted-dark); font-size: .82rem; }

.hero-visual { position: relative; }
.blueprint { width: 100%; height: auto; overflow: visible; }
.blueprint .draw { fill: none; stroke-linecap: round; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.blueprint .axis { stroke: rgba(92, 194, 242, .45); stroke-width: 1; stroke-dasharray: 14 6 3 6; stroke-dashoffset: 0; opacity: 0; }
.blueprint .part { stroke: #e6f4ff; stroke-width: 2; }
.blueprint .part-thin { stroke: rgba(230, 244, 255, .55); stroke-width: 1.2; }
.blueprint .dim { stroke: var(--accent); stroke-width: 1; }
.blueprint text { font-family: var(--font-mono); font-size: 13px; fill: var(--accent); opacity: 0; }
.blueprint text.tag { fill: #7e8fa3; font-size: 11px; letter-spacing: .04em; }
.blueprint .part-fill { opacity: 0; }
.blueprint .crosshair { fill: none; stroke: var(--hot); stroke-width: 1.5; opacity: 0; transform-origin: 410px 210px; }
.is-loaded .blueprint .draw { animation: draw 2.2s var(--ease) forwards; }
.is-loaded .blueprint .part-thin { animation-delay: .7s; }
.is-loaded .blueprint .dim { animation-delay: 1.3s; animation-duration: 1.4s; }
.is-loaded .blueprint .axis { animation: fade .8s .2s forwards; }
.is-loaded .blueprint .part-fill { animation: fill 1.4s 1.8s var(--ease) forwards; }
.is-loaded .blueprint text { animation: fade .8s 2.1s forwards; }
.is-loaded .blueprint .crosshair { animation: fade .5s 2.6s forwards, scan 7s 3s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fill { to { opacity: .22; } }
@keyframes scan {
  0%, 100% { transform: translateX(0) rotate(0); }
  30% { transform: translateX(-250px) rotate(90deg); }
  60% { transform: translateX(-120px) rotate(180deg); }
}
.hero-badge {
  position: absolute; left: 4%; bottom: -6%;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(18, 25, 36, .75); border: 1px solid var(--line-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px);
}
.is-loaded .hero-badge { animation: rise .8s 2.4s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-badge .mono { display: block; font-size: 1.6rem; color: var(--accent); }
.hero-badge small { color: var(--muted-dark); font-size: .8rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand); color: #fff; overflow: hidden; padding: 18px 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--brand), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--brand), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee li::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.dark { background: var(--ink); color: #e9eef4; }
.section.dark .section-lead, .section.dark p { color: #a9b5c3; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.kicker {
  font-family: var(--font-mono); font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.dark .kicker { color: var(--accent); }
.section-lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 26px; box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .4s, border-color .4s, opacity .9s var(--ease) var(--d, 0s);
  overflow: hidden; isolation: isolate;
}
.service-card.reveal:not(.in) { transform: perspective(900px) translateY(28px); }
.service-card.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(22, 131, 216, .10), transparent 45%);
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(22, 131, 216, .35); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(145deg, #eef5fc, #dbe8f5); color: var(--brand);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.service-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.service-icon .acc { stroke: var(--hot); }
.service-icon .spin { stroke-dasharray: 4 4; transform-origin: 12px 32px; }
.service-card:hover .service-icon { transform: translateY(-3px) rotate(-6deg); background: linear-gradient(145deg, var(--brand-2), var(--brand)); color: #fff; }
.service-card:hover .service-icon .acc { stroke: var(--accent); }
.service-card:hover .spin { animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.service-card h3 { font-size: 1.6rem; }
.service-card p { color: var(--muted); font-size: .98rem; }
.service-spec {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: auto 0 18px; padding: 16px 0 0;
  border-top: 1px dashed var(--line); font-size: .9rem;
}
.service-spec dt { color: var(--muted); }
.service-spec dd { margin: 0; text-align: right; color: var(--text); }
.card-link { font-weight: 600; font-size: .95rem; display: inline-flex; gap: 6px; align-items: center; }
.card-link span { transition: transform .3s var(--ease); }
.card-link:hover { text-decoration: none; }
.card-link:hover span { transform: translateX(4px); }

/* Cooperation */
.coop {
  margin-top: 56px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(11, 95, 174, .96), rgba(8, 40, 82, .98)),
    repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 14px);
  color: #fff; position: relative; overflow: hidden;
}
.coop::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 40px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.02);
}
.coop .kicker { color: var(--accent); }
.coop h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.coop p { color: #c9dcef; margin: 0; }
.coop-lists { display: grid; gap: 26px; position: relative; z-index: 1; }
.coop h4 { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #cfe3f3; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; }
.chip-dot.hot { background: var(--hot); box-shadow: 0 0 12px var(--hot); }
.chip-dot.cool { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  transition: background .25s, transform .25s var(--ease);
}
.chips li:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* ---------- Machines ---------- */
.machines { overflow: hidden; }
.machines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(92, 194, 242, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 194, 242, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.machines .container { position: relative; }
.tabs {
  position: relative; display: flex; gap: 4px; padding: 6px; margin-bottom: 32px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 999px; width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  position: relative; z-index: 1; border: 0; background: none; color: #a9b5c3; font-weight: 600; font-size: .95rem;
  padding: 10px 20px; border-radius: 999px; white-space: nowrap; transition: color .3s;
}
.tabs button[aria-selected="true"] { color: #fff; }
.tabs button:hover { color: #fff; }
.tab-indicator {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 6px 18px -6px rgba(22,131,216,.8);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.tab-panel { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.machine-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.machine {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 24px; transition: transform .4s var(--ease), border-color .3s;
}
.machine:hover { transform: translateY(-4px); border-color: rgba(92, 194, 242, .4); }
.machine-head { margin-bottom: 14px; }
.machine-type { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.machine h3 { font-size: 1.7rem; color: #fff; margin: 6px 0 0; }
.machine h3 small { font-size: .9rem; color: var(--muted-dark); font-weight: 500; }
.machine li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-dark); font-size: .94rem; }
.machine li:last-child { border-bottom: 0; }
.machine li span { color: var(--muted-dark); }
.machine li b { color: #fff; font-weight: 500; text-align: right; }
.meter { margin-top: 16px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.meter span { display: block; height: 100%; width: calc(var(--v) * 100%); background: linear-gradient(90deg, var(--brand-2), var(--accent)); border-radius: 4px; transform-origin: left; animation: meter 1.4s var(--ease) both .2s; }
@keyframes meter { from { transform: scaleX(0); } }
.meter-note { font-size: .82rem; margin-top: 14px; color: #6f7d8d !important; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line-dark); }
.stats li { padding: 32px 24px 0 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stats b { display: block; font-size: clamp(2.4rem, 4.6vw, 3.6rem); color: #fff; line-height: 1; margin-bottom: 10px; font-weight: 500; }
.stats span { color: var(--muted-dark); font-size: .95rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.6s var(--ease);
}
.steps.in-view { --progress: 1; }
.step { position: relative; padding-top: 70px; }
.step-no {
  position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--brand-2); color: var(--brand);
  font-size: 1.05rem; box-shadow: 0 0 0 8px var(--bg);
  transition: background .3s, color .3s;
}
.step:hover .step-no { background: var(--brand); color: #fff; }
.step h3 { font-size: 1.55rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery-section { background: linear-gradient(180deg, var(--bg), #e8edf2); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.g-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.g-wide { grid-column: span 2; }
.g-item button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; pointer-events: none;
  color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(transparent, rgba(8, 14, 22, .78));
  transform: translateY(8px); opacity: 0; transition: opacity .4s, transform .4s var(--ease);
}
.g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px;
  background: rgba(6, 10, 16, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .3s;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1000px, 92vw); text-align: center; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; background: #fff; animation: zoomIn .4s var(--ease); }
@keyframes zoomIn { from { transform: scale(.94); opacity: 0; } }
.lightbox figcaption { color: #dbe4ee; margin-top: 14px; font-weight: 500; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-copy p { font-size: 1.08rem; }
.about-copy strong { color: #fff; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #dfe7ef; font-weight: 500; }
.checks li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.about-refs { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 32px; }
.about-refs h3 { color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.ref-list li {
  display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: #e9eef4; letter-spacing: .01em;
  transition: padding .3s var(--ease), color .3s;
}
.ref-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); flex: none; }
.ref-list li:hover { padding-left: 8px; color: var(--accent); }
.ref-list li.more { border: 0; color: var(--muted-dark); font-weight: 500; }
.ref-list li.more::before { background: var(--muted-dark); }

/* ---------- Rental ---------- */
.rental { padding-bottom: 0; }
.rental-card {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.rental-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--hot), var(--brand-2));
}
.rental-card h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.rental-card p { color: var(--muted); margin: 0; }
.rental-contact { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px dashed #c7d1dc; }
.rental-contact strong { font-family: var(--font-head); font-size: 1.5rem; }
.rental-contact a { font-weight: 600; }
.person-role { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow);
}
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #f8fafc;
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; transform-origin: left top; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); background: #fff; box-shadow: 0 0 0 4px rgba(22, 131, 216, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: .76rem; color: var(--brand); font-weight: 600; }
.field.invalid input, .field.invalid textarea { border-color: #d64545; background: #fff7f7; }
.field-chips { border: 0; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.field-chips legend { font-size: .9rem; font-weight: 600; margin-bottom: 10px; padding: 0; }
.field-chips label { position: relative; }
.field-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.field-chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; transition: all .25s; background: #f8fafc; }
.field-chips input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.field-chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-chips label:hover span { border-color: var(--brand-2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #138a4b; }
.form-status.err { color: #c43030; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }

.contact-info { display: grid; gap: 18px; }
.info-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; }
.info-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(92,194,242,.08); }
.info-card h3 { font-size: 1.6rem; }
.info-list li { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.info-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-dark); }
.info-list a { color: #fff; font-size: 1.25rem; font-weight: 600; }
.info-list a:hover { color: var(--accent); text-decoration: none; }
.people { display: grid; gap: 12px; }
.person { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s; }
.person:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.person div { display: flex; flex-direction: column; }
.person strong { font-size: 1.05rem; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }

.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.location { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.location-text { padding: 24px 26px; }
.loc-label { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-2); }
.location h3 { font-size: 1.6rem; margin: 8px 0 10px; }
.text-link { font-weight: 600; font-size: .95rem; }
.map { position: relative; height: 280px; background: #dfe6ee; margin-top: auto; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px;
  color: var(--muted); font-size: .88rem;
  background:
    linear-gradient(rgba(11,95,174,.06) 1px, transparent 1px) 0 0/28px 28px,
    linear-gradient(90deg, rgba(11,95,174,.06) 1px, transparent 1px) 0 0/28px 28px,
    #eef2f6;
}
.map-consent svg { width: 34px; height: 34px; color: var(--brand); }
.map-consent p { max-width: 340px; margin: 0; }
.map-consent .btn { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9b5c3; padding: 80px 0 28px; font-size: .95rem; }
.legal-page .site-footer { padding-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.6fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.logo-light { color: #fff; margin-bottom: 18px; }
.site-footer h4 { font-family: var(--font); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfd8e2; }
.site-footer a:hover { color: var(--accent); }
.footer-legal-id p { font-size: .88rem; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; margin-right: 64px; }
.footer-bottom li { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; color: #cfd8e2; font-size: inherit; }
.link-btn:hover { color: var(--accent); text-decoration: underline; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--brand); box-shadow: 0 10px 24px -8px rgba(11, 95, 174, .7);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s var(--ease);
}
.to-top svg { width: 22px; height: 22px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie-open .to-top { bottom: 120px; }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 980px; margin: 0 auto;
  background: rgba(14, 20, 29, .96); color: #dfe7ef; border: 1px solid var(--line-dark); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); backdrop-filter: blur(10px);
  animation: slideUp .6s var(--ease);
}
.cookie-bar[hidden] { display: none; }
@keyframes slideUp { from { transform: translateY(120%); } }
.cookie-inner { display: flex; align-items: center; gap: 24px; padding: 18px 22px; }
.cookie-inner p { margin: 0; font-size: .92rem; flex: 1; }
.cookie-inner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-bar .btn-ghost { color: #dfe7ef; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 64px) 0 56px; position: relative; overflow: hidden; }
.legal-hero .hero-grid { mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); position: relative; }
.legal-hero p { color: #a9b5c3; position: relative; margin: 0; }
.legal { padding: 64px 0 clamp(64px, 8vw, 100px); }
.legal-body { max-width: 820px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.legal-body h2 { font-size: 1.9rem; margin-top: 1.6em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.3rem; margin-top: 1.3em; }
.legal-body ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal-body li { margin-bottom: .35em; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .94rem; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { background: var(--bg); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.legal-body .note { padding: 16px 18px; border-radius: 12px; background: #eef5fc; border-left: 4px solid var(--brand-2); font-size: .95rem; }
.back-link { display: inline-flex; gap: 8px; margin-top: 28px; font-weight: 600; }
.site-header.solid::before { opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .main-nav a { padding: 8px 9px; font-size: .92rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center;
    padding: 90px var(--gutter) 40px; margin: 0;
    background: #090d13;
    clip-path: circle(0 at calc(100% - 44px) 34px); visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .nav-open .main-nav { clip-path: circle(150% at calc(100% - 44px) 34px); visibility: visible; transition: clip-path .7s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
  .nav-open .main-nav li { opacity: 1; transform: none; }
  .nav-open .main-nav li:nth-child(1) { transition-delay: .15s; } .nav-open .main-nav li:nth-child(2) { transition-delay: .2s; }
  .nav-open .main-nav li:nth-child(3) { transition-delay: .25s; } .nav-open .main-nav li:nth-child(4) { transition-delay: .3s; }
  .nav-open .main-nav li:nth-child(5) { transition-delay: .35s; } .nav-open .main-nav li:nth-child(6) { transition-delay: .4s; }
  .nav-open .main-nav li:nth-child(7) { transition-delay: .45s; }
  .main-nav a { font-family: var(--font-head); font-size: clamp(2rem, 7vw, 2.8rem); font-weight: 700; padding: 6px 0; opacity: 1; }
  .main-nav a::after { left: 0; right: auto; width: 60px; }
  .nav-mobile-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
  .nav-mobile-contact a { color: var(--accent); font-weight: 600; font-size: 1.1rem; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .coop { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 22px; }
  .steps::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .logo-text { font-size: 1.25rem; }
  .logo-mark { width: 32px; height: 32px; }
  .hero { padding-bottom: 80px; min-height: auto; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-specs { grid-template-columns: 1fr 1fr 1fr; }
  .hero-specs li { padding-right: 12px; margin-right: 12px; }
  .hero-specs .mono { font-size: 1.05rem; }
  .hero-specs small { font-size: .72rem; display: block; line-height: 1.3; }
  .hero-badge { position: relative; left: auto; bottom: auto; display: inline-block; margin-top: 12px; padding: 10px 14px; }
  .hero-badge .mono { font-size: 1.2rem; }
  .scroll-cue { display: none; }
  .marquee li { font-size: 1.2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 22px 22px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .stats li { padding: 24px 12px 0 0; }
  .stats li + li { padding-left: 12px; }
  .stats li:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0 0 0 80px; min-height: 60px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 10px; }
  .g-wide { grid-column: span 2; grid-row: span 1; }
  .g-item figcaption { opacity: 1; transform: none; font-size: .8rem; padding: 26px 10px 8px; }
  .checks { grid-template-columns: 1fr; }
  .rental-card { grid-template-columns: 1fr; gap: 24px; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .locations { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions .btn { flex: 1; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; transform: none !important; }
  .cookie-open .to-top { bottom: 200px; }
}

@media (hover: none) {
  .service-card { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .blueprint .draw { stroke-dashoffset: 0; }
  .blueprint text, .blueprint .axis, .blueprint .crosshair, .hero-badge { opacity: 1; transform: none; }
  .blueprint .part-fill { opacity: .22; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .scroll-progress, .cookie-bar, .to-top, .hero-visual, .marquee, .map { display: none !important; }
  .hero, .section.dark, .site-footer { background: #fff !important; color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Autor webu */
.credit { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line-dark); white-space: nowrap; }
.credit a { color: #fff; font-weight: 600; }
@media (max-width: 680px) { .credit { display: block; margin: 8px 0 0; padding: 0; border: 0; } }
.person-mail { font-size: .92rem; color: var(--muted); }
.person-mail:hover { color: var(--brand); }

/* Přílohy ve formuláři */
.dropzone { position: relative; margin-bottom: 16px; }
.dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone label {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer;
  padding: 20px 16px; border: 1.5px dashed #c7d1dc; border-radius: 12px; background: #f8fafc; color: var(--muted);
  transition: border-color .25s, background .25s;
}
.dropzone label svg { width: 28px; height: 28px; color: var(--brand); margin-bottom: 4px; }
.dropzone label strong { color: var(--brand); }
.dropzone label small { font-size: .8rem; }
.dropzone label:hover, .dropzone.drag label { border-color: var(--brand-2); background: #eef5fc; }
.dropzone input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.file-list { display: grid; gap: 6px; margin-top: 8px; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .9rem; }
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.file-list small { color: var(--muted); flex: none; }
.file-remove { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 1.1rem; line-height: 1; }
.file-remove:hover { background: #fde8e8; color: #c43030; }

/* Pevná lišta Zavolat / Poptat (jen mobil) */
.mobile-cta { display: none; }
@media (max-width: 680px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 15, 21, .94); border-top: 1px solid var(--line-dark);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: transform .4s var(--ease);
  }
  .mobile-cta .btn { padding: .85em 1em; font-size: .95rem; }
  .mobile-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
  .mobile-cta svg { width: 1.05em; height: 1.05em; }
  .mobile-cta.hide, .nav-open .mobile-cta { transform: translateY(110%); }
  body:has(.mobile-cta) .site-footer { padding-bottom: 96px; }
  .to-top { bottom: 84px; }
  .cookie-bar { bottom: 84px; }
  .cookie-open .to-top { bottom: 270px; }
}

/* =========================================================
   Podstránky služeb
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1000px 520px at 80% 30%, #13253d 0%, transparent 60%), var(--ink);
  padding: calc(var(--header-h) + 56px) 0 80px;
}
.page-hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 1; margin-bottom: .35em; }
.page-hero .hero-cta { margin: 28px 0 36px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted-dark); margin-bottom: 20px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: #cfe3f3; }
.breadcrumb [aria-current] { color: var(--accent); }
.page-hero-photo { margin: 0; position: relative; }
.page-hero-photo img { width: 100%; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.page-hero-photo figcaption { margin-top: 14px; font-size: .78rem; color: var(--muted-dark); display: flex; align-items: center; gap: 10px; }
.page-hero-photo figcaption::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

.svc-intro-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.svc-text p { font-size: 1.08rem; color: var(--muted); }
.svc-checks { display: grid; gap: 12px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.svc-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.svc-checks li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.svc-machines { padding-top: 0; }
.machine.light { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.machine.light:hover { border-color: rgba(22, 131, 216, .35); }
.machine.light h3 { color: var(--text); }
.machine.light h3 small { color: var(--muted); }
.machine.light .machine-type { color: var(--brand-2); }
.machine.light li { border-bottom-color: var(--line); }
.machine.light li span { color: var(--muted); }
.machine.light li b { color: var(--text); }

.svc-gallery { padding-top: 0; }
.gallery-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.svc-cta { padding-top: 0; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(135deg, rgba(11, 95, 174, .96), rgba(8, 40, 82, .98));
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .3em; }
.cta-band p { color: #c9dcef; margin: 0; max-width: 560px; }
.cta-band a:not(.btn) { color: #fff; text-decoration: underline; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }

.svc-related { padding-top: 0; padding-bottom: clamp(80px, 11vw, 140px); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.related-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .3s;
}
.related-card:hover { text-decoration: none; transform: translateY(-3px); border-color: rgba(22, 131, 216, .4); }
.related-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.related-card small { color: var(--muted); font-size: .85rem; }
.related-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #eef5fc, #dbe8f5); color: var(--brand); }
.related-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.related-icon .acc { stroke: var(--hot); }
.related-arrow { color: var(--brand); font-weight: 700; transition: transform .3s var(--ease); }
.related-card:hover .related-arrow { transform: translateX(4px); }

@media (max-width: 1024px) {
  .page-hero-inner, .svc-intro-inner { grid-template-columns: 1fr; }
  .page-hero-photo { max-width: 560px; }
}
@media (max-width: 680px) {
  .page-hero { padding-bottom: 56px; }
  .page-hero .hero-cta .btn { flex: 1 1 100%; }
  .gallery-auto { grid-template-columns: 1fr 1fr; }
  .cta-band-actions .btn { flex: 1; }
}
.info-hours { color: #fff; font-size: 1.25rem; font-weight: 600; }
.loc-hours { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
.loc-hours strong { color: var(--text); }
