/* Hodinový manžel Čadca
   Materiály: nočná modrá, oceľ, mosadz, chróm. Jedna hlasná vec: príbeh s kľúčom. */

:root {
  --navy: #131a33;
  --navy-2: #1b2447;
  --navy-3: #0e1429;
  --ink: #18223f;
  --muted: #5b6482;
  --paper: #f2f4f8;
  --white: #ffffff;
  --accent: #ffc629;
  --steel: #c3c8d2;
  --line: #dde2ea;
  --on-dark: #c8d0e8;

  --font-d: "Erode", Georgia, "Times New Roman", 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);
  --r: 14px;

  --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);
}

*, *::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: 500; letter-spacing: -0.03em; line-height: 0.98; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.75rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.services :focus-visible, .why :focus-visible, .steps :focus-visible, .gallery :focus-visible { outline-color: var(--ink); }
::selection { background: var(--accent); color: var(--ink); }

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

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 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--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.34); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: #ffd24f; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
  .menu a:hover { color: #fff; }
}

/* ---------- 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); }
.head p { max-width: 44ch; color: var(--muted); font-size: 1.125rem; }
.head a { font-weight: 700; text-underline-offset: 4px; }

/* =====================================================
   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: 14px var(--pad); color: #fff;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}
.top.is-stuck { background: rgba(19, 26, 51, 0.96); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(8, 12, 28, 0.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.menu { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.menu a { color: var(--on-dark); font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: color 160ms ease; }

/* =====================================================
   ÚVOD
   ===================================================== */
.hero {
  position: relative; overflow: hidden; min-height: 100svh;
  display: flex; align-items: center; padding: 120px 0 72px;
  color: #fff;
  background: radial-gradient(900px 620px at 76% 46%, #2a3767 0%, rgba(42, 55, 103, 0) 68%), var(--navy);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero__h { font-size: clamp(3.3rem, 8.2vw, 7.4rem); }
.hero__lead { max-width: 34ch; margin-top: 28px; font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.5; color: var(--on-dark); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; font-size: 0.9375rem; font-weight: 500; color: var(--on-dark); }
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__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(420px, 44vw, 600px); }
.todo {
  position: absolute; left: 4%; top: 50%; width: min(390px, 78%);
  padding: 30px 30px 26px; border-radius: 20px; background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px rgba(5, 8, 22, 0.5), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  transform: translateY(-50%) rotate(-3deg);
}
.todo__h { font-family: var(--font-d); font-size: 1.625rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.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: -3%; top: -6%; height: 112%; width: auto;
  rotate: -13deg; transform-origin: 50% 14%;
  filter: drop-shadow(0 26px 28px rgba(4, 7, 20, 0.55));
  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: 70ms; }
.js .hero__copy > :nth-child(3) { animation-delay: 140ms; }
.js .hero__copy > :nth-child(4) { animation-delay: 210ms; }
.js .todo { animation: card-in 900ms var(--ease-out) 150ms both; }
.js .hero__wrench { animation: wrench-in 1100ms var(--ease-out) 300ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes card-in { from { opacity: 0; transform: translateY(-44%) rotate(-9deg); } }
@keyframes wrench-in { from { opacity: 0; rotate: -58deg; } }

/* =====================================================
   PRÍBEH
   ===================================================== */
.story { background: var(--navy); color: #fff; }
.story__intro { padding-top: var(--sec); padding-bottom: 40px; }
.story__intro p { max-width: 46ch; 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.46); 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: #2b3764; box-shadow: 0 0 0 4px var(--navy); z-index: 1;
  transition: background-color 240ms ease, transform 300ms var(--ease-out);
}
.rail li.is-done { color: rgba(255, 255, 255, 0.72); }
.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 { font-family: var(--font-d); font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.28; letter-spacing: -0.01em; margin-top: 0.7em; }
.meter { display: none; }

.js .story__pin { height: 760vh; }
.js .story__sticky { position: sticky; top: 0; height: 100svh; min-height: 0; }
.js .story__panel { position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding: 0; }
.js .caps { position: relative; min-height: 6.6em; }
.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: 92px; 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: #2a3661; 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; } }

/* =====================================================
   SLUŽBY
   ===================================================== */
.services { padding: var(--sec) 0; background: var(--paper); }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.cat { padding: 26px 26px 16px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cat__h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.cat__h svg, .benefits svg {
  flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--navy);
  fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.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); }
}

.mylist {
  grid-column: span 2; 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(--navy); color: #fff;
}
.mylist h3 { font-family: var(--font-d); font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; }
.mylist__empty { margin-top: 10px; color: var(--on-dark); }
.mylist__items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mylist__items li {
  padding: 6px 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__side { display: grid; gap: 10px; }
.mylist__status { min-height: 1.4em; font-size: 0.875rem; color: var(--on-dark); max-width: 26ch; }

/* =====================================================
   PREČO JA
   ===================================================== */
.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: 40ch; }
.why__letter .why__sign { margin-top: 32px; font-family: var(--font-d); font-style: italic; font-size: 1.625rem; letter-spacing: -0.01em; }
.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: 28px 0 30px; border-top: 2px solid var(--ink); }
.benefits h3 { margin-top: 18px; 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(--ink); 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: block; font-family: var(--font-d); font-size: 4.25rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.steps__row h3 { margin-top: 14px; font-size: 1.25rem; }
.steps__row p { margin-top: 8px; color: var(--muted); }

/* =====================================================
   UKÁŽKY
   ===================================================== */
.gallery { padding: var(--sec) 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.shot__img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--paper); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.js .shot__img { clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .shot.in .shot__img { clip-path: inset(0 0 0 0 round var(--r)); }
.shot figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.shot figcaption b { display: block; font-size: 1.0625rem; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .shot:hover img { transform: scale(1.045); } }
.quote { margin-top: clamp(56px, 7vw, 96px); padding-left: 28px; border-left: 4px solid var(--accent); }
.quote p { font-family: var(--font-d); font-style: italic; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.1; 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 80% 50%, #2a3767 0%, rgba(42, 55, 103, 0) 70%), var(--navy);
}
.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: 44ch; margin-top: 20px; font-size: 1.125rem; color: var(--on-dark); }
.contact__num {
  display: inline-block; margin-top: 28px; font-family: var(--font-d); font-weight: 500;
  font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -0.035em; color: var(--accent);
  text-decoration: none; font-variant-numeric: lining-nums;
}
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.quick {
  justify-self: end; width: min(440px, 100%); padding: 30px;
  border-radius: 20px; background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px rgba(5, 8, 22, 0.5);
}
.quick__h { font-family: var(--font-d); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.quick__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; border: 0; }
.quick__chips legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.quick__chips label { position: relative; cursor: pointer; }
.quick__chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quick__chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out);
}
.quick__chips input:checked + span { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 700; }
.quick__chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.quick__chips label:active span { transform: scale(0.96); }
.quick__field { display: grid; gap: 6px; margin-top: 16px; font-size: 0.9375rem; font-weight: 700; }
.quick__field i { font-style: normal; font-weight: 400; color: var(--muted); }
.quick__field input, .quick__field textarea {
  width: 100%; padding: 12px 14px; border: 0; border-radius: 10px; resize: vertical;
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow 160ms ease;
}
.quick__field input:focus, .quick__field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.quick__preview { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--paper); }
.quick__preview span { font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.quick__preview p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; }
.quick__send { width: 100%; margin-top: 16px; }
@media (hover: hover) and (pointer: fine) {
  .quick__chips label:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .quick__chips label:hover input:checked + span { box-shadow: inset 0 0 0 1.5px var(--accent); }
}

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

/* =====================================================
   PÄTA
   ===================================================== */
.foot { padding: 44px 0; background: var(--navy-3); color: var(--on-dark); font-size: 0.9375rem; }
.foot__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 40px; align-items: baseline; }
.foot__brand { font-family: var(--font-d); font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { font-weight: 700; color: #fff; text-underline-offset: 4px; }
.foot__copy { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; }

/* =====================================================
   TABLET A TELEFÓN
   ===================================================== */
@media (max-width: 1000px) {
  .menu { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { min-height: 440px; margin-top: 8px; }
  .todo { left: 0; }
  .hero__wrench { right: 2%; height: 104%; top: -2%; }
  .head { grid-template-columns: 1fr; align-items: start; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat:nth-of-type(7), .mylist { grid-column: 1 / -1; }
  .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .steps__row { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .quick { justify-self: start; }

  /* príbeh: 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(--navy);
  }
  .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.4em; }
  .js .meter { top: 84px; }
}

@media (max-width: 640px) {
  .top { padding: 10px var(--pad); }
  .top__call span { display: none; }
  .top__call { padding: 0 14px; }
  .hero { padding: 104px 0 56px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__art { min-height: 400px; }
  .todo { width: 84%; padding: 24px 22px 20px; }
  .todo__h { font-size: 1.375rem; }
  .hero__wrench { height: 96%; top: 2%; right: -4%; }
  .js .story__pin { height: 700vh; }
  .cats, .steps__row { grid-template-columns: 1fr; }
  .mylist { grid-template-columns: 1fr; padding: 26px 22px; }
  .benefits { grid-template-columns: 1fr; }
  .shots { gap: 22px 12px; }
  .contact__btns .btn { flex: 1 1 100%; }
  .quick { width: 100%; padding: 24px 20px; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* =====================================================
   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 .shot__img { clip-path: none; }
  .todo span::after { transition-duration: 1ms; }
  .js .story__pin { height: auto; }
  .js .story__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; }
}
