/* Sused na pomoc, Čadca
   Podľa roll-upu: svetlý podklad, antracit, oranžová, ťah štetcom, šesťuholník.
   Hlasné sú len dve veci: nápis v úvode a dva scroll príbehy (voda, elektrina). */

:root {
  --coal: #26292e;
  --coal-2: #33373d;
  --coal-3: #1b1d21;
  --ink: #23262b;
  --text: #3a3e45;
  --muted: #5d626b;
  --paper: #f1f2f3;
  --white: #ffffff;
  --accent: #f47b20;
  --accent-hover: #ff9240;
  --accent-deep: #e8690f;
  --steel: #c5c9cf;
  --line: #e0e2e5;
  --on-dark: #cfd2d7;

  --font-d: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-b: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 160px);
  /* výška animovanej scény: zmestí sa na obrazovku pod hlavičku */
  --scene-h: clamp(540px, calc(100svh - 70px), 860px);
  --r: 12px;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --fall: cubic-bezier(0.55, 0, 1, 0.45);

  /* suchý ťah štetcom: hrany rozstrapkané šumom, roztiahne sa na ľubovoľnú šírku */
  --brush-coal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cfilter id='r' x='-10%25' y='-12%25' width='120%25' height='124%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.21' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='26' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpath filter='url(%23r)' fill='%2326292e' d='M24 13L382 8L376 93L18 87Z'/%3E%3C/svg%3E");
  --brush-accent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cfilter id='r' x='-10%25' y='-12%25' width='120%25' height='124%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.21' numOctaves='2' seed='8'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='26' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpath filter='url(%23r)' fill='%23e8690f' d='M22 12L384 9L377 92L17 88Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font-b); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2 { font-family: var(--font-d); font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.1; text-wrap: balance; }
h2, .sub main h1 { font-size: clamp(2.25rem, 4.6vw, 3.875rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.story :focus-visible, .volt :focus-visible, .mylist :focus-visible, .cat--more :focus-visible, .contact :focus-visible, .foot :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 var(--pad); }

/* ťah štetcom pod kľúčovým slovom */
.brush { display: inline-block; padding: 0.08em 0.36em 0.12em; background: var(--brush-coal) center / 100% 100% no-repeat; font-style: italic; }
.brush--accent { background-image: var(--brush-accent); color: #fff; }

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  background: var(--coal); color: #fff;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1.0625rem; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(35, 38, 43, 0.34); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.36); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-hover); }
  .btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75); }
  .menu a:hover { color: var(--ink); }
}

/* ---------- vstupy ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 500ms ease, transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- hlavičky sekcií ---------- */
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
/* nadpis bez sprievodnej vety sa roztiahne na celú šírku */
.head > :only-child { grid-column: 1 / -1; }
.head p { max-width: 46ch; color: var(--muted); font-size: 1.125rem; }
.head a { font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
.head :is(h1, h2) .brush { margin-left: -0.16em; }

/* šesťuholníkové ikony, ako na roll-upe */
.cat__h svg, .benefits svg, .msg__by svg, .tile__ico {
  flex: none; width: 44px; height: 50px; padding: 13px 10px; background: var(--coal); clip-path: var(--hex);
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* =====================================================
   HLAVIČKA
   ===================================================== */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px var(--pad); color: var(--ink);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}
.top.is-stuck { background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(20, 22, 26, 0.1); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { flex: none; width: 38px; height: 30px; color: var(--ink); }
.brand__t { font-family: var(--font-d); font-size: 1.375rem; font-weight: 700; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand__t i { color: var(--accent-deep); }
.top__call b { display: none; }
.menu { display: flex; gap: clamp(14px, 2.2vw, 32px); }
.menu a { color: var(--muted); font-size: 0.9375rem; font-weight: 700; text-decoration: none; transition: color 160ms ease; }

/* =====================================================
   ÚVOD
   ===================================================== */
.hero {
  position: relative; overflow: hidden; min-height: 100svh;
  display: flex; align-items: center; padding: 116px 0 72px;
  background: radial-gradient(900px 640px at 20% 42%, #ffffff 0%, rgba(255, 255, 255, 0) 72%), var(--paper);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero__place { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.9375rem; font-weight: 700; color: var(--muted); }
.hero__place svg { width: 18px; height: 18px; fill: var(--accent); }
.hero__h { display: flex; flex-direction: column; align-items: flex-start; font-size: clamp(4.5rem, 12.6vw, 10.75rem); line-height: 0.86; }
.hero__h .brush { margin: 0.13em 0 0 -0.16em; padding: 0.1em 0.42em 0.15em; font-size: 0.5em; line-height: 1; letter-spacing: 0.005em; color: var(--accent); }
.hero__tag {
  margin-top: 28px; padding-left: 16px; border-left: 4px solid var(--accent);
  font-family: var(--font-d); font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 500; line-height: 1.15; letter-spacing: 0.02em; text-transform: uppercase;
}
.hero__lead { max-width: 28em; margin-top: 22px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--text); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }

/* hlavné volanie: tmavý pás s oranžovým krúžkom telefónu, ako číslo na roll-upe */
.call {
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 92px; padding: 12px 40px 12px 13px; border-radius: 999px;
  background: var(--coal); color: #fff; text-decoration: none;
  box-shadow: 0 2px 4px rgba(20, 22, 26, 0.16), 0 18px 30px -14px rgba(20, 22, 26, 0.6);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.call__ico {
  position: relative; flex: none; display: grid; place-items: center;
  width: 66px; height: 66px; border-radius: 50%; background: var(--accent);
}
/* krúžok sa raz za čas rozbehne a telefón sa zatrasie, ako keď zvoní */
.call__ico::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); opacity: 0;
  animation: call-ring 3s var(--ease-out) 1.4s infinite;
}
.call__ico svg { position: relative; width: 31px; height: 31px; fill: var(--ink); animation: call-shake 3s ease 1.4s infinite; }
.call__t { display: flex; flex-direction: column; line-height: 1.1; }
.call small { font-family: var(--font-d); font-size: 1.1875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.call b { margin-top: 4px; font-family: var(--font-d); font-size: 2.375rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.call:active { transform: scale(0.97); }
.call:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .call:hover { background-color: #343840; } }
@keyframes call-ring {
  0% { opacity: 0.55; transform: scale(1); }
  55%, 100% { opacity: 0; transform: scale(1.75); }
}
@keyframes call-shake {
  0%, 22%, 100% { transform: rotate(0); }
  4%, 12% { transform: rotate(-14deg); }
  8%, 16% { transform: rotate(14deg); }
}
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 0.9375rem; font-weight: 700; }
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__trust li::before, .contact__trust li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
  clip-path: polygon(14% 52%, 26% 40%, 42% 56%, 74% 22%, 86% 34%, 42% 80%);
}

.hero__art { position: relative; min-height: clamp(440px, 46vw, 620px); }
.hero__hex { position: absolute; left: 50%; top: 50%; width: min(112%, 620px); translate: -50% -50%; filter: drop-shadow(0 30px 36px rgba(20, 22, 26, 0.28)); }
.todo {
  position: absolute; left: 7%; top: 50%; width: min(370px, 74%);
  padding: 28px 28px 24px; border-radius: 16px; border-top: 6px solid var(--accent); background: #fff; color: var(--ink);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(-50%) rotate(-3deg);
}
.todo__h { margin-bottom: 12px; font-family: var(--font-d); font-size: 1.625rem; font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.todo li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-weight: 500; }
.todo li + li { border-top: 1px solid var(--line); }
.todo i {
  position: relative; flex: none; width: 24px; height: 24px; border-radius: 7px;
  box-shadow: inset 0 0 0 2px var(--steel); transition: background-color 200ms ease, box-shadow 200ms ease;
}
.todo i::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  clip-path: polygon(16% 52%, 28% 40%, 42% 54%, 72% 24%, 84% 36%, 42% 78%);
  opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 260ms var(--ease-out);
}
.todo span { position: relative; transition: color 300ms ease; }
.todo span::after {
  content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 2px; background: var(--muted);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 420ms var(--ease-out);
}
.todo li.done i { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.todo li.done i::after { opacity: 1; transform: scale(1); }
.todo li.done span { color: var(--muted); }
.todo li.done span::after { transform: scaleX(1); }

.hero__wrench {
  position: absolute; right: -2%; top: -5%; height: 110%; width: auto;
  rotate: -13deg; transform-origin: 50% 14%;
  filter: drop-shadow(0 24px 24px rgba(10, 12, 16, 0.5));
  pointer-events: none;
}

/* jedna zrežírovaná chvíľa pri načítaní */
.js .hero__copy > * { animation: rise 700ms var(--ease-out) both; }
.js .hero__copy > :nth-child(2) { animation-delay: 60ms; }
.js .hero__copy > :nth-child(3) { animation-delay: 120ms; }
.js .hero__copy > :nth-child(4) { animation-delay: 180ms; }
.js .hero__copy > :nth-child(5) { animation-delay: 240ms; }
.js .hero__copy > :nth-child(6) { animation-delay: 300ms; }
.js .hero__h .brush { animation: swipe 700ms var(--ease-out) 380ms both; }
.js .hero__hex { animation: rise 900ms var(--ease-out) 100ms both; }
.js .todo { animation: card-in 900ms var(--ease-out) 220ms both; }
.js .hero__wrench { animation: wrench-in 1100ms var(--ease-out) 360ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes swipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(-44%) rotate(-9deg); } }
@keyframes wrench-in { from { opacity: 0; rotate: -58deg; } }

/* =====================================================
   RECENZIE od zákazníkov
   ===================================================== */
.reviews { padding: clamp(40px, 5vw, 72px) 0 var(--sec); background: var(--paper); }
/* okraj navyše, aby zbalená stena neorezala chvosty bublín a tiene */
.wall { position: relative; margin: 0 -14px; padding: 0 14px; outline: 0; }
.wall__cols { columns: 3; column-gap: 28px; }
.msg { break-inside: avoid; padding: 4px 0 30px; }
/* bublina ako prijatá správa: chvost dole vľavo ukazuje na to, od čoho správa je */
.msg__b {
  position: relative; padding: 16px 20px 17px; border-radius: 20px 20px 20px 6px;
  background: #fff; color: var(--ink); line-height: 1.5;
  filter: drop-shadow(0 1px 1px rgba(20, 22, 26, 0.1)) drop-shadow(0 10px 14px rgba(20, 22, 26, 0.09));
}
.msg__b::after {
  content: ""; position: absolute; left: -7px; bottom: 0; width: 16px; height: 18px; background: inherit;
  clip-path: path("M7 0v9c0 4-3 7.500-7 9 6 .500 11.500-1.500 15-6V0z");
}
.msg__b p { overflow-wrap: anywhere; }
.msg__b p + p { margin-top: 0.7em; }
/* o akú prácu išlo: hlavička priamo v bubline, nad textom recenzie */
.msg__by {
  display: flex; align-items: center; gap: 12px; margin: -2px 0 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line); font-size: 0.875rem; line-height: 1.3; color: var(--muted);
}
.msg__by svg { width: 32px; height: 36px; padding: 10px 8px; stroke-width: 2; }
.msg__by b { display: block; font-size: 0.9375rem; color: var(--ink); }
.js .msg[data-reveal] { transform-origin: 0 100%; transition: opacity 320ms ease, transform 520ms var(--ease-out), filter 420ms ease; }
.js .msg[data-reveal]:not(.in) { transform: translateY(10px) scale(0.96); }

/* zbalená stena: časť správ je ostrá, ďalšie pod nimi rozmazané, zvyšok sa ukáže na požiadanie.
   Výšku a ktoré správy sú rozmazané ráta main.js podľa počtu stĺpcov. */
.wall.is-clamped { max-height: 560px; overflow: hidden; transition: max-height 520ms var(--ease-out); }
.wall.is-clamped .msg.is-teaser { filter: blur(5px); pointer-events: none; user-select: none; }
.wall.is-clamped::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 170px; pointer-events: none;
  background: linear-gradient(rgba(241, 242, 243, 0), rgba(241, 242, 243, 0.7) 45%, var(--paper) 90%);
  transition: opacity 320ms ease;
}
.wall.is-open::after { opacity: 0; }
.wall__more { position: relative; display: flex; justify-content: center; margin-top: 8px; }
/* kým je stena zbalená, tlačidlo sedí na rozmazaných správach */
.wall.is-clamped:not(.is-open) + .wall__more { margin-top: -58px; }
.wall__more[hidden] { display: none; }

/* =====================================================
   PRÍBEHY: voda a elektrina (spoločné časti)
   ===================================================== */
.story, .volt { background: var(--coal-3); color: #fff; }
.story__intro, .volt__intro { padding-top: var(--sec); padding-bottom: 40px; }
.story__intro p, .volt__intro p { max-width: 48ch; margin-top: 18px; font-size: 1.125rem; color: var(--on-dark); }
.story__sticky { position: relative; min-height: 100svh; overflow: hidden; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }

.story__panel {
  position: relative; z-index: 2; width: min(34vw, 400px);
  margin-left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  padding: 96px 0;
}
.rail { position: relative; display: grid; gap: 14px; padding-left: 30px; }
.rail::before, .rail::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 1px; }
.rail::before { background: rgba(255, 255, 255, 0.16); }
.rail::after { background: var(--accent); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.rail li { position: relative; font-size: 0.9375rem; font-weight: 500; color: rgba(255, 255, 255, 0.5); transition: color 240ms ease; }
.rail li::before {
  content: ""; position: absolute; left: -30px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: #41454c; box-shadow: 0 0 0 4px var(--coal-3); z-index: 1;
  transition: background-color 240ms ease, transform 300ms var(--ease-out);
}
.rail li.is-done { color: rgba(255, 255, 255, 0.74); }
.rail li.is-done::before { background: var(--accent); }
.rail li.is-on { color: #fff; font-weight: 700; }
.rail li.is-on::before { background: var(--accent); transform: scale(1.35); }

.caps { margin-top: 34px; }
.cap { margin-top: 0.7em; font-size: clamp(1.3125rem, 1.9vw, 1.625rem); font-weight: 500; line-height: 1.32; letter-spacing: -0.01em; }
.meter { display: none; }

.js .story__sticky { height: var(--scene-h); min-height: 0; }
/* koniec okruhu: obraz a titulok sa zľahka stratia a ukážka začne odznova */
.scene, .volt__scene, .js .caps { transition: opacity 300ms ease; }
.is-fading .scene, .is-fading .volt__scene, .js .is-fading .caps { opacity: 0; }
.js .story__panel { position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding: 0; }
.js .caps { position: relative; min-height: 6.8em; }
.js .cap {
  position: absolute; left: 0; top: 0; margin: 0; opacity: 0; transform: translateY(14px);
  transition: opacity 260ms ease, transform 420ms var(--ease-out);
}
.js .cap.on { opacity: 1; transform: none; }
.js .meter {
  position: absolute; z-index: 2; top: 28px; right: var(--pad);
  display: flex; gap: 8px; opacity: 0; transition: opacity 300ms ease;
}
.js .meter.on { opacity: 1; }
.meter svg { width: 26px; height: 40px; fill: #5fb0ff; transition: fill 240ms ease, transform 300ms var(--ease-out); }
.meter svg.empty { fill: #41454c; transform: scale(0.82); }

.tapdrop { animation: tapdrip 1.7s linear infinite; }
@keyframes tapdrip {
  0% { transform: translateY(-14px); opacity: 0; }
  22% { transform: translateY(-10px); opacity: 1; animation-timing-function: var(--fall); }
  70% { transform: translateY(46px); opacity: 1; }
  71%, 100% { transform: translateY(46px); opacity: 0; }
}
.leakdrop { animation: leakdrip 0.9s var(--fall) infinite; }
.leakdrop--b { animation-delay: 0.3s; }
.leakdrop--c { animation-delay: 0.6s; }
@keyframes leakdrip {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  88% { transform: translateY(100px); opacity: 1; }
  100% { transform: translateY(100px); opacity: 0; }
}
.scene.is-fixed .tapdrop, .scene.is-fixed .leak { display: none; }
.duck__body { transform-box: fill-box; transform-origin: 50% 80%; }
.scene.is-afloat .duck__body { animation: bob 1.3s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-7px) rotate(6deg); } }
.ph { fill: var(--ink); font-family: var(--font-b); }
.ph--name { font-size: 21px; font-weight: 700; }
.ph--num { font-size: 19px; font-weight: 500; }
.ph--state { font-size: 17px; fill: var(--muted); }
.ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.scene.is-calling .ring { animation: ring 1.4s var(--ease-out) infinite; }
.scene.is-calling .ring--b { animation-delay: 0.7s; }
@keyframes ring { from { transform: scale(1); opacity: 0.55; } to { transform: scale(2); opacity: 0; } }

/* ---------- elektrina: rozvodná skrinka ---------- */
.volt__sticky { position: relative; min-height: 100svh; overflow: hidden; }
.volt__in {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 32px;
  width: min(var(--wrap), 100%); height: 100%; min-height: inherit; margin: 0 auto; padding: 36px var(--pad) 36px;
}
.volt__panel { grid-column: 1; grid-row: 1; max-width: 400px; }
.volt__scene { grid-column: 2; grid-row: 1; width: 100%; height: auto; max-height: calc(var(--scene-h) - 72px); overflow: visible; }
.js .volt__sticky { height: var(--scene-h); min-height: 0; }
/* posun čiarky a priehľadnosť nastavuje skript atribútom, preto tu nesmú byť v CSS */
.wire { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.vt { font-family: var(--font-b); font-size: 10px; font-weight: 700; fill: #6a6f77; }
.vlabel { font-family: var(--font-b); font-size: 11.5px; font-weight: 700; fill: var(--ink); }

/* =====================================================
   SLUŽBY
   ===================================================== */
.services { padding: var(--sec) 0; background: var(--paper); }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.cat { padding: 24px 26px 16px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cat:target { box-shadow: inset 0 0 0 2px var(--accent); }
.cat__h {
  display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px solid var(--accent);
  font-family: var(--font-d); font-size: 1.3125rem; font-weight: 600; line-height: 1.1; letter-spacing: 0.005em; text-transform: uppercase;
  overflow-wrap: anywhere; hyphens: auto;
}
.pick { position: relative; display: flex; align-items: center; gap: 13px; min-height: 44px; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.pick__box {
  position: relative; flex: none; width: 22px; height: 22px; border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px var(--steel);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out);
}
.pick__box::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  clip-path: polygon(16% 52%, 28% 40%, 42% 54%, 72% 24%, 84% 36%, 42% 78%);
  opacity: 0; transform: scale(0.6); transition: opacity 120ms ease, transform 200ms var(--ease-out);
}
.pick input:checked + .pick__box { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.pick input:checked + .pick__box::after { opacity: 1; transform: scale(1); }
.pick input:checked ~ .pick__t { font-weight: 700; }
.pick input:focus-visible + .pick__box { outline: 3px solid var(--ink); outline-offset: 3px; }
.pick:active .pick__box { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) {
  .pick:hover .pick__box { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .pick:hover input:checked + .pick__box { box-shadow: inset 0 0 0 1.5px var(--accent); }
}

/* „A mnoho viac": tmavá karta ako spodok roll-upu */
.cat--more { padding-bottom: 26px; background: var(--coal); color: #fff; box-shadow: none; }
.cat--more .cat__h { display: block; padding: 0; margin: 0; border: 0; font-size: 1.625rem; font-weight: 700; }
.cat--more .cat__h .brush { margin-left: -0.24em; padding: 0.2em 0.6em 0.24em; }
.cat--more p { margin: 14px 0 6px; color: var(--on-dark); }
.cat--more .pick__box { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.42); }
.cat--more .pick input:focus-visible + .pick__box { outline-color: var(--accent); }
.cat__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.cat__acts a { font-weight: 700; text-underline-offset: 4px; font-variant-numeric: lining-nums; }
@media (hover: hover) and (pointer: fine) {
  .cat--more .pick:hover .pick__box { box-shadow: inset 0 0 0 1.5px #fff; }
  .cat--more .pick:hover input:checked + .pick__box { box-shadow: inset 0 0 0 1.5px var(--accent); }
}

.mylist {
  grid-column: 1 / -1; align-self: stretch;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 32px; border-radius: var(--r); background: var(--coal); color: #fff;
}
.mylist h3 { font-family: var(--font-d); font-size: 2rem; font-weight: 700; line-height: 1.05; letter-spacing: 0; text-transform: uppercase; }
.mylist__to { margin-top: 6px; font-size: 0.9375rem; color: var(--on-dark); }
.mylist__to b { color: var(--accent); font-variant-numeric: lining-nums; white-space: nowrap; }
.mylist__empty { margin-top: 10px; color: var(--on-dark); }
.mylist__items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mylist__items li {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.1); font-size: 0.9375rem; font-weight: 500;
  transition: opacity 240ms ease, transform 300ms var(--ease-out);
  @starting-style { opacity: 0; transform: translateY(8px) scale(0.96); }
}
.mylist__items button {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px;
  background: none; color: var(--on-dark); font-size: 1.125rem; line-height: 1; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.mylist__items button:active { transform: scale(0.9); }
.mylist__add { margin-top: 20px; }
.mylist__add label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--on-dark); }
.mylist__add div { display: flex; gap: 8px; margin-top: 8px; }
.mylist__add input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 0; border-radius: 10px;
  font: inherit; color: #fff; background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); transition: box-shadow 160ms ease;
}
.mylist__add input::placeholder { color: rgba(255, 255, 255, 0.52); }
.mylist__add input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
@media (hover: hover) and (pointer: fine) { .mylist__items button:hover { background: rgba(255, 255, 255, 0.16); color: #fff; } }
.mylist__side { display: grid; gap: 10px; }
.mylist__status { min-height: 1.4em; font-size: 0.875rem; color: var(--on-dark); max-width: 26ch; }

/* =====================================================
   O MNE
   ===================================================== */
.why { padding: var(--sec) 0; }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__letter p { margin-top: 20px; font-size: 1.125rem; max-width: 42ch; color: var(--text); }
.why__letter .why__sign { margin-top: 30px; font-size: 1.5rem; font-weight: 700; font-style: italic; letter-spacing: -0.01em; color: var(--ink); }
.why__letter .why__ps { margin-top: 6px; color: var(--muted); font-size: 1rem; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.benefits li { padding: 26px 0 30px; border-top: 2px solid var(--accent); }
.benefits h3 { margin-top: 16px; font-size: 1.25rem; }
.benefits p { margin-top: 8px; color: var(--muted); max-width: 32ch; }

/* =====================================================
   POSTUP
   ===================================================== */
.steps { padding: var(--sec) 0; background: var(--paper); }
.steps__line { position: relative; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps__line i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.steps__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 30px; }
.steps__n {
  display: grid; place-items: center; width: 60px; height: 68px; background: var(--coal); clip-path: var(--hex);
  font-family: var(--font-d); font-size: 1.75rem; font-weight: 700; line-height: 1; color: #fff;
}
.steps__row h3 { margin-top: 16px; font-size: 1.25rem; }
.steps__row p { margin-top: 8px; color: var(--muted); }

/* =====================================================
   UKÁŽKY
   ===================================================== */
.gallery { padding: var(--sec) 0; }
/* fotky sú na Instagrame, na webe je len odkaz so značkou fotoaparátu */
.cam {
  display: inline-flex; align-items: center; gap: 20px; padding: 16px 30px 16px 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  color: var(--muted); font-size: 0.9375rem; line-height: 1.35; text-decoration: none;
  box-shadow: 0 1px 2px rgba(20, 22, 26, 0.06), 0 12px 24px -14px rgba(20, 22, 26, 0.22);
  transition: border-color 200ms ease, transform 160ms var(--ease-out);
}
.cam svg {
  flex: none; width: 62px; height: 70px; padding: 19px 15px; background: var(--coal); clip-path: var(--hex);
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color 200ms ease;
}
/* jedno políčko s fotkami a v ňom dva odkazy: Instagram a Facebook */
.cam--two { padding-right: 16px; }
.cam--two:active { transform: none; }
.cam__t { margin-right: 8px; }
.cam__links { display: flex; gap: 10px; }
@media (max-width: 640px) {
  .cam--two { flex-wrap: wrap; gap: 14px 16px; padding: 16px; }
  .cam__t { flex: 1; margin: 0; }
  .cam__links { flex: 1 1 100%; }
  .cam__links .btn { flex: 1; min-height: 50px; }
}
.cam b { display: block; margin-bottom: 2px; font-size: 1.125rem; color: var(--ink); }
.cam:active { transform: scale(0.98); }
.cam:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .cam:hover { border-color: var(--accent); }
  .cam:hover svg { background-color: var(--accent); }
}
.quote { margin-top: clamp(56px, 7vw, 96px); padding-left: 28px; border-left: 4px solid var(--accent); }
.quote p { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; font-style: italic; line-height: 1.12; letter-spacing: -0.02em; }
.quote footer { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }

/* =====================================================
   KONTAKT
   ===================================================== */
.contact {
  padding: var(--sec) 0; color: #fff;
  background: radial-gradient(800px 560px at 82% 50%, #3b3f46 0%, rgba(59, 63, 70, 0) 70%), var(--coal);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact__copy p { max-width: 46ch; margin-top: 20px; font-size: 1.125rem; color: var(--on-dark); }
.contact__num {
  display: inline-flex; align-items: center; gap: 0.2em; margin-top: 30px;
  font-family: var(--font-d); font-size: clamp(2.75rem, 6.2vw, 5.5rem); font-weight: 700; line-height: 1; color: #fff;
  text-decoration: none; font-variant-numeric: lining-nums; white-space: nowrap;
}
.contact__num svg { flex: none; width: 0.74em; height: 0.74em; padding: 0.17em; border-radius: 50%; background: var(--accent); fill: var(--ink); }
.contact__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 0.9375rem; font-weight: 700; color: var(--on-dark); }
.contact__trust li { display: flex; align-items: center; gap: 9px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.area {
  justify-self: end; width: min(440px, 100%); padding: 28px 28px 24px;
  border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.area__h { font-family: var(--font-d); font-size: 1.75rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.area__map { width: 100%; height: auto; margin-top: 12px; border-radius: 12px; background: var(--paper); }
/* pásy okolo ciest sú v jednej skupine, aby sa na križovatkách nesčítala priehľadnosť */
.area__zones { opacity: 0.26; }
.area__zone { fill: none; stroke: var(--accent); stroke-width: 76; stroke-linecap: round; stroke-linejoin: round; }
.area__zone--side { stroke-width: 50; }
.area__road { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .area__road { stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease-in-out) 250ms; }
.js .area.in .area__road { stroke-dashoffset: 0; }
.area__road--side { stroke-width: 4; }
.js .area__road--side { transition-duration: 900ms; transition-delay: 1500ms; }
.area__dots circle { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.area__home { fill: var(--accent); stroke: var(--ink); stroke-width: 4; }
.area__pulse { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3.2); opacity: 0; } }
.area__van circle { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.area__names text { font-family: var(--font-b); font-size: 14px; font-weight: 500; fill: var(--muted); }
.area__names .is-main { font-size: 18px; font-weight: 700; fill: var(--ink); }
.area__note { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }

@media (hover: hover) and (pointer: fine) {
  .contact__num:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }
}

/* =====================================================
   PÄTA
   ===================================================== */

/* =====================================================
   TABLET A TELEFÓN
   ===================================================== */
@media (min-width: 1001px) and (max-width: 1240px) {
  .todo { left: 0; width: min(330px, 68%); }
  .hero__wrench { right: -9%; }
}

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { min-height: 460px; margin-top: 8px; }
  .hero__hex { width: min(100%, 520px); }
  .todo { left: 4%; }
  .hero__wrench { right: 2%; height: 100%; top: 0; }
  .head { grid-template-columns: 1fr; align-items: start; }
  .cats { grid-template-columns: 1fr 1fr; }
  .wall__cols { columns: 2; column-gap: 24px; }
  .cat--more { grid-column: 1 / -1; }
  .why__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .steps__row { grid-template-columns: 1fr 1fr; }
  .area { justify-self: start; }

  /* príbehy: obraz hore, text na pevnom podklade dole */
  .story__panel { width: auto; margin: 0; padding: 72px var(--pad) 40px; }
  .js .story__panel {
    left: 0; right: 0; top: auto; bottom: 0; transform: none; width: auto;
    padding: 18px var(--pad) max(22px, env(safe-area-inset-bottom)); background: var(--coal-3);
  }
  .rail { display: flex; gap: 6px; padding: 0; }
  .rail::before, .rail::after { display: none; }
  .rail li { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); transition: background-color 240ms ease; }
  .rail li::before { display: none; }
  .rail li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rail li.is-done, .rail li.is-on { background: var(--accent); }
  .caps { margin-top: 16px; }
  .js .caps { min-height: 5.6em; }
  .js .meter { top: 20px; }

  .volt__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 0; padding: 20px 0 0; }
  .volt__scene { grid-column: 1; grid-row: 1; height: 100%; max-height: none; min-height: 300px; padding: 0 var(--pad); }
  .volt__panel { position: relative; grid-column: 1; grid-row: 2; max-width: none; padding: 18px var(--pad) max(22px, env(safe-area-inset-bottom)); background: var(--coal-3); }
}

@media (max-width: 640px) {
  .top { padding: 10px var(--pad); }
  .top__call span { display: none; }
  .top__call { padding: 0 14px; }
  .top__call b { display: inline; }
  .brand__t { font-size: 1.25rem; }
  .hero { padding: 100px 0 56px; }
  .hero__h { font-size: clamp(5rem, 25vw, 7.5rem); }
  .hero__cta .btn, .hero__cta .call { flex: 1 1 100%; }
  .call { min-height: 86px; gap: 14px; padding-right: 22px; }
  .call__ico { width: 62px; height: 62px; }
  .call b { font-size: 2.125rem; }
  .hero__art { min-height: 400px; }
  .todo { width: 82%; padding: 22px 22px 18px; }
  .todo__h { font-size: 1.375rem; }
  .hero__wrench { height: 94%; top: 3%; right: -4%; }
  .cats, .steps__row { grid-template-columns: minmax(0, 1fr); }
  .wall__cols { columns: 1; }
  .msg { padding-bottom: 24px; }
  .wall.is-clamped { max-height: 620px; }
  .wall__more .btn { flex: 1 1 100%; }
  .cat { padding: 22px 20px 14px; }
  .cat__h { font-size: 1.1875rem; gap: 12px; }
  .mylist { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .benefits { grid-template-columns: 1fr; }
  .cam { display: flex; }
  .contact__btns .btn { flex: 1 1 100%; }
  .area { width: 100%; padding: 22px 18px 20px; }
  .mylist__add div { flex-wrap: wrap; }
  .mylist__add .btn { flex: 1 1 100%; }
}

/* veľmi úzke displeje: dlhé tlačidlá sa radšej zalomia, než by pretiekli */
@media (max-width: 350px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
  .hero__h { font-size: 4rem; }
  .top { gap: 10px; }
  .brand { gap: 8px; }
  .brand svg { width: 30px; height: 24px; }
  .brand__t { font-size: 1.0625rem; }
  .contact__num { font-size: clamp(1.75rem, 11.5vw, 2.375rem); }
  .call { gap: 12px; padding-right: 16px; }
  .call__ico { width: 54px; height: 54px; }
  .call small { font-size: 1.0625rem; }
  .call b { font-size: 1.75rem; }
  .top__call b { display: none; }
}

/* ---------- nápoveď: stránka pokračuje nižšie ---------- */
.cue__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); animation: cue-bob 1.6s ease-in-out infinite; }
.cue__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.cue__ico path { animation: cue-chev 1.6s ease-in-out infinite; }
.cue__ico path + path { animation-delay: 0.22s; }
@keyframes cue-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes cue-chev { 0% { opacity: 0.25; } 40% { opacity: 1; } 100% { opacity: 0.25; } }

.cue {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 20; width: fit-content; margin-inline: auto;
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 26px 9px 9px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 1.125rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 4px rgba(20, 22, 26, 0.08), 0 16px 30px -12px rgba(20, 22, 26, 0.4);
  transition: opacity 260ms ease, transform 260ms var(--ease-out), visibility 0s, border-color 200ms ease;
}
.js .cue { position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); animation: cue-in 600ms var(--ease-out) 1300ms backwards; }
.js .cue.is-off { opacity: 0; transform: translateY(14px); visibility: hidden; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease, visibility 0s 200ms; }
.cue:active { transform: scale(0.97); }
@keyframes cue-in { from { opacity: 0; transform: translateY(14px); } }
@media (hover: hover) and (pointer: fine) { .cue:hover { border-color: var(--accent); } }


/* =====================================================
   VIAC STRÁNOK: menu, podstránky, dlaždice, päta
   ===================================================== */
.menu a { display: inline-flex; align-items: center; min-height: 44px; }
.menu a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }

/* podstránky: hlavička je vždy na bielom a obsah začína pod ňou */
.sub .top { background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 var(--line); }
.sub .top.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(20, 22, 26, 0.1); }
.sub main { padding-top: var(--top-h, 70px); }
.sub main > section:first-child { padding-top: clamp(44px, 5vw, 76px); }
.sub main > .volt:first-child { padding-top: 0; }
.sub main > .volt:first-child .volt__intro { padding-top: clamp(44px, 5vw, 76px); }

/* ukážky: nadpis stránky a pod ním dve scény s menšími nadpismi */
.volt__intro .volt__lead { margin-bottom: clamp(44px, 6vw, 76px); }
.p-ukazky .volt__intro h2, .p-ukazky .story__intro h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.p-ukazky .story { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.p-ukazky .story__intro { padding-top: clamp(56px, 7vw, 96px); }

/* číslo ukážky nad nadpisom, aby bolo jasné, že sú dve a kde sa ktorá začína */
.volt__intro .demo__n, .story__intro .demo__n {
  display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-size: 0.9375rem; font-weight: 700; line-height: 1.3;
}
/* užšie obrazovky: pod pásikom krokov je napísané, ktorý krok práve beží */
@media (max-width: 1000px) {
  .rail { counter-reset: krok; padding-bottom: 32px; }
  .rail li { position: static; counter-increment: krok; }
  .rail li.is-on span {
    position: absolute; left: 0; top: 14px; width: auto; height: auto; overflow: visible; clip-path: none;
    font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: var(--accent); white-space: nowrap;
  }
  .rail li.is-on span::before { content: counter(krok) ". "; }
  .caps { margin-top: 6px; }
}

/* dlaždice: veľké odkazy na ostatné stránky */
.signpost { padding: var(--sec) 0; }
.reviews--teaser { padding-top: var(--sec); }
.reviews--teaser .wall__more { margin-top: 20px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tiles > li { display: flex; }
.tile {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0;
  padding: 26px 24px 24px; border-radius: var(--r); background: #fff; color: var(--text); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(20, 22, 26, 0.05), 0 18px 30px -22px rgba(20, 22, 26, 0.35);
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.tile__t { display: block; min-width: 0; }
.tile b { display: block; font-family: var(--font-d); font-size: 1.625rem; font-weight: 600; line-height: 1.1; letter-spacing: 0.005em; text-transform: uppercase; color: var(--ink); }
.tile__t > span { display: block; margin-top: 8px; color: var(--muted); }
.tile__go { margin-top: auto; padding-bottom: 3px; font-weight: 700; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.tile:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--accent), 0 1px 2px rgba(20, 22, 26, 0.05), 0 22px 34px -22px rgba(20, 22, 26, 0.45); }
  .foot__col a:hover, .foot__copy a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
}
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--2 .tile { flex-direction: row; align-items: center; gap: 18px; }
.tiles--2 .tile__go { flex: none; margin: 0 0 0 auto; }
/* zoznam prác a postup majú rovnaký podklad, medzi nimi stačí jedna medzera */
.services + .steps { padding-top: 0; }
.onward { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.onward--paper { background: var(--paper); border-top: 0; }
.onward__h { margin-bottom: 24px; font-size: clamp(1.75rem, 3vw, 2.5rem); }

/* päta: zavolať, stránky, kontakt, kam chodím */
.foot { padding-bottom: 28px; background: var(--coal-3); color: var(--on-dark); }
.foot__call { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: clamp(36px, 5vw, 60px) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.p-kontakt .foot__call { display: none; }
.foot__q { margin-right: auto; font-family: var(--font-d); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.1; text-transform: uppercase; color: #fff; }
.foot__num {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 26px 0 20px; border-radius: 10px;
  background: var(--accent); color: var(--ink); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.foot__num svg { width: 24px; height: 24px; fill: currentColor; }
.foot__num:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .foot__num:hover { background-color: var(--accent-hover); } }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 48px; padding: clamp(36px, 5vw, 56px) 0; }
.foot__brand { font-family: var(--font-d); font-size: 1.5rem; font-weight: 700; line-height: 1; text-transform: uppercase; color: #fff; }
.foot__brand i { color: var(--accent); }
.foot__about p + p { margin-top: 14px; max-width: 34ch; }
.foot__h { margin-bottom: 6px; font-weight: 700; color: #fff; }
.foot__col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-dark); text-decoration: none; }
.foot__col a[aria-current] { color: #fff; font-weight: 700; }
.foot__col p + p { max-width: 30ch; line-height: 1.7; }
.foot__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; }
.foot__copy a { font-weight: 700; color: #fff; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* užšie obrazovky: menu je druhý riadok hlavičky, pri posune nadol sa schová */
@media (max-width: 900px) {
  .top { flex-wrap: wrap; gap: 4px 10px; }
  .menu {
    order: 3; flex: 1 0 100%; justify-content: flex-start; gap: 0 36px; max-height: 46px; overflow: hidden;
    transition: max-height 240ms var(--ease-out), opacity 160ms ease, margin-top 240ms var(--ease-out), visibility 0s;
  }
  .menu a { color: var(--ink); }
  .top.is-stuck .menu { max-height: 0; margin-top: -4px; opacity: 0; visibility: hidden; transition: max-height 240ms var(--ease-out), opacity 160ms ease, margin-top 240ms var(--ease-out), visibility 0s 240ms; }
  .sub main { padding-top: var(--top-h, 118px); }
  .hero { padding-top: 164px; }
}
@media (max-width: 640px) {
  .menu { justify-content: space-between; gap: 2px; }
  .sub main { padding-top: var(--top-h, 114px); }
  .hero { padding-top: 148px; }
  .tiles, .tiles--2 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tile, .tiles--2 .tile { flex-direction: row; align-items: center; gap: 16px; padding: 18px 18px 18px 16px; }
  .tile__go { display: none; }
  .tile::after { content: ""; flex: none; width: 11px; height: 11px; margin: 0 6px 0 auto; border-top: 3px solid var(--accent-deep); border-right: 3px solid var(--accent-deep); transform: rotate(45deg); }
  .tile b { font-size: 1.4375rem; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .foot__call > a { flex: 1 1 100%; }
  .foot__col a { min-height: 44px; }
}
/* nízke telefóny: úvod sa stiahne, aby bolo tlačidlo na zavolanie vidno celé; nápoveď by ho len zakrývala */
@media (max-width: 640px) and (max-height: 700px) {
  .hero { padding-top: 132px; }
  .hero__h { font-size: 4.5rem; }
  .js .cue { display: none; }
}
@media (max-width: 350px) {
  .menu a { font-size: 0.875rem; }
}

/* =====================================================
   MENEJ POHYBU
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js [data-reveal] { transform: none; transition: opacity 300ms ease; }
  .js .msg[data-reveal]:not(.in) { transform: none; }
  .wall.is-clamped { transition: none; }
  .area__van { display: none; }
  .js .area__road { stroke-dashoffset: 0; }
  .todo span::after { transition-duration: 1ms; }
  .js .story__sticky, .js .volt__sticky { position: relative; height: auto; min-height: 0; }
  .scene { position: relative; inset: auto; height: 72svh; }
  .js .story__panel { position: relative; top: auto; bottom: auto; transform: none; width: auto; max-width: 680px; padding: 40px var(--pad) 96px; background: none; }
  .js .caps { min-height: 0; }
  .js .cap { position: static; opacity: 1; transform: none; margin-top: 0.7em; }
  .js .meter { display: none; }
  .volt__in { min-height: 0; }
  .volt__scene { max-height: 72svh; }
}
