@charset "UTF-8";
/* Autoservis Matice, ukázkový web (ProWeb Procházka).
   Barvy a písma z identity (identita\BRAND.md) beze změn. Animuje se jen transform a opacity
   (barvy tlačítek se při najetí mění skokem, bez přechodu). */

@font-face { font-family: "Archivo"; src: url("fonts/Archivo-VF.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600; font-display: swap; }

:root {
  /* identita */
  --papir: #F2F0E9;      /* zakázkový list, hlavní plocha */
  --grafit: #1D2220;     /* pneumatiky, olej, text */
  --zelena: #2E5245;     /* lak dílenských strojů, nadpisy a odkazy */
  --oranz: #E65F17;      /* signální prvky zvedáku, jen akcent */
  --patina: #B9C6BC;     /* omšelá ocel, linky a rámečky */
  /* odvozené tóny (grafit tónovaný do patiny, papír o stupeň tmavší) */
  --grafit-soft: #46524D;
  --papir-2: #E8E8E0;

  --sc-canvas: var(--papir);
  --sc-surface: var(--papir-2);
  --sc-ink: var(--grafit);
  --sc-ink-soft: var(--grafit-soft);
  --sc-accent: var(--oranz);
  --sc-accent-ink: var(--grafit);
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Archivo", system-ui, sans-serif;
  --sc-font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --sc-shadow-color: 150 9% 12%;

  --g: clamp(16px, 3.4vw, 56px);          /* boční okraj */
  --bar-h: 68px;
  --r: 4px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --t-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
}
@media (max-width: 1099px) { :root { --bar-h: 82px; } }

html { scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  background: var(--papir);
  color: var(--grafit);
  font-family: "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  font-size: var(--t-body);
  line-height: 1.55;
  letter-spacing: 0;
}
h1, h2, h3 { margin: 0; color: var(--zelena); text-wrap: balance; }
p { margin: 0; }
a { color: var(--zelena); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--zelena); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--g); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--grafit); color: var(--papir);
  padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- texty -- */
.said {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: clamp(0.9rem, 0.84rem + 0.22vw, 1.05rem);
  line-height: 1.45;
  color: var(--grafit-soft);
  margin-bottom: clamp(10px, 1.4vw, 16px);
}
h1 {
  font-stretch: 125%;
  font-weight: 780;
  font-size: clamp(2.05rem, 1rem + 3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
}
h2 {
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(1.55rem, 0.95rem + 1.9vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h3 {
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.2;
}
.lede { color: var(--grafit-soft); max-width: 36rem; text-wrap: pretty; }

/* znak matice jako odrážka (prvek identity, orientace jako v logu) */
.hex {
  display: inline-block; flex: none;
  width: 0.7em; height: 0.8em;
  margin-right: 0.5em; vertical-align: -0.06em;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--zelena);
  position: relative;
}
.hex--sig, .hex--now { background: var(--oranz); }
.hex--ok { background: var(--zelena); }
.hex--wait { background: var(--oranz); }
.hex--wait::after {
  content: ""; position: absolute; inset: 2px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--papir);
}

/* ------------------------------------------------------------- tlačítka -- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 22px;
  border-radius: var(--r);
  font-family: "Archivo", system-ui, sans-serif; font-stretch: 112%; font-weight: 700;
  font-size: 1rem; line-height: 1.1; white-space: nowrap;
  text-decoration: none;
  transition: transform 140ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--sig { background: var(--oranz); color: var(--grafit); }
.btn--line { color: var(--zelena); box-shadow: inset 0 0 0 1.5px var(--zelena); }
@media (hover: hover) and (pointer: fine) {
  .btn--sig:hover { background: #EE7432; }
  .btn--line:hover { background: var(--zelena); color: var(--papir); }
  .link:hover { text-decoration-thickness: 2.5px; }
}
.link { font-weight: 600; font-stretch: 112%; }

/* ---------------------------------------------------------------- lišta -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: var(--papir);
  border-bottom: 1px solid var(--patina);
}
.bar__demo {
  display: flex; align-items: center; justify-content: center;
  height: 24px; padding-inline: var(--g);
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grafit-soft);
  border-bottom: 1px solid color-mix(in oklab, var(--patina) 60%, transparent);
}
.bar__row {
  height: 57px; padding-inline: var(--g);
  display: flex; align-items: center; gap: 16px;
}
.bar__logo { display: block; flex: none; padding: 8px 0; }
.bar__logo img { width: 158px; height: 40px; }   /* zkrácená verze loga (znak + MATICE), obor říká titulek a hero */
.bar__nav { display: none; }
.bar__tel { display: none; }
.bar__cta { display: none; }
.bar__call {
  margin-left: auto; flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--r);
  background: var(--oranz); color: var(--grafit);
}
.bar__call:active { transform: scale(0.96); }

@media (min-width: 1100px) {
  .bar { display: flex; align-items: center; height: var(--bar-h); padding-inline: var(--g); gap: 24px; }
  .bar__row { display: contents; }
  .bar__logo { order: 1; }
  .bar__demo { order: 2; height: auto; padding: 0; border: 0; font-size: 10.5px; white-space: nowrap; }
  .bar__nav { order: 3; display: flex; gap: clamp(14px, 1.8vw, 28px); margin-left: auto; }
  .bar__tel { order: 4; display: block; }
  .bar__cta { order: 5; display: inline-flex; min-height: 44px; padding: 10px 18px; }
  .bar__call { display: none; }
  .bar__nav a {
    position: relative; padding: 6px 0 6px 0;
    color: var(--grafit); text-decoration: none;
    font-weight: 600; font-size: 0.95rem;
  }
  .bar__nav a::before {
    content: ""; position: absolute; left: -15px; top: 50%;
    width: 9px; height: 10px; margin-top: -5px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--oranz);
    opacity: 0; transform: scale(0.6);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }
  .bar__nav a.is-current::before { opacity: 1; transform: none; }
  .bar__nav a:hover { color: var(--zelena); }
  .bar__tel {
    font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; font-size: 0.95rem;
    color: var(--grafit); text-decoration: none; white-space: nowrap;
  }
}
@media (min-width: 1100px) and (max-width: 1299px) { .bar__tel { display: none; } }

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; padding-top: calc(var(--bar-h) + 14px); }
.hero__bay {
  margin: 0 0 0 var(--g);
  height: clamp(250px, 54vh, 620px);
  overflow: hidden;
  border-radius: var(--r) 0 0 var(--r);
  background: var(--papir-2);
}
.hero__bay img {
  width: 100%; height: calc(100% + 24px);
  object-fit: cover; object-position: 50% 15%;   /* ořez 5 : 3 bez plakátu s azbukou, nahoře střecha auta */
  will-change: transform;
}
.hero__wheel {
  position: absolute; z-index: 2;
  right: var(--g);
  top: calc(var(--bar-h) + 14px + clamp(250px, 54vh, 620px) * 0.58);
  width: clamp(190px, 20vw, 300px);
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 6px;
  background: var(--papir);
  border-radius: 6px;
  outline: 1px solid var(--patina);   /* bez stínu (BRAND §8): papírový rám a linka Patina */
}
.hero__wheel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); }
.hero__copy {
  padding: clamp(20px, 3.4vh, 40px) var(--g) clamp(40px, 6vh, 80px);
  max-width: calc(100% - clamp(190px, 20vw, 300px) - var(--g));
}
.hero__copy h1 { max-width: 15.5em; }
.hero__lede { margin-top: clamp(12px, 2vh, 20px); max-width: 58rem; color: var(--grafit-soft); text-wrap: pretty; }
.hero .actions { margin-top: clamp(18px, 3vh, 30px); }
/* nízké okno (notebook, Windows se škálováním 125–150 %, tedy 1536 × 730 nebo 1280 × 640):
   pás dílny nižší a se střechou auta, menší nadpis, obě tlačítka nad ohybem */
@media (max-height: 820px) and (min-width: 761px) {
  .hero__bay { height: clamp(200px, 45vh, 460px); }
  .hero__bay img { object-position: 50% 13%; }
  .hero__wheel { top: calc(var(--bar-h) + 14px + clamp(200px, 45vh, 460px) * 0.58); width: clamp(170px, 17vw, 260px); }
  .hero__copy { padding-top: clamp(16px, 3vh, 28px); max-width: calc(100% - clamp(170px, 17vw, 260px) - var(--g)); }
  .hero__copy h1 { font-size: clamp(2rem, min(7.2vh, 5.2vw), 3.75rem); }
  .hero .actions { margin-top: clamp(14px, 2.6vh, 24px); }
}

/* jednorázový příchod: portrét dosedne, pak stojí */
.js .hero__wheel { opacity: 0; transform: translateY(14px); }
.js .hero__copy { opacity: 0; }
.is-in .hero__wheel { opacity: 1; transform: none; transition: opacity 700ms var(--ease) 120ms, transform 900ms var(--ease) 120ms; }
.is-in .hero__copy { opacity: 1; transition: opacity 600ms var(--ease); }

@media (max-width: 760px) {
  .hero { padding-top: var(--bar-h); }
  .hero__bay { margin: 0; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .hero__wheel {
    top: calc(var(--bar-h) + 75vw - 64px);
    width: 31vw; padding: 4px; border-radius: 5px;
  }
  .hero__copy { max-width: none; padding: 16px var(--g) 56px; }
  .hero__copy .said { max-width: calc(100% - 31vw - 14px); min-height: calc(31vw * 1.25 - 84px); }
  .hero__copy h1 { margin-top: 10px; }
}

/* --------------------------------------------------------------- služby -- */
.services { padding-block: clamp(48px, 6vw, 96px) clamp(56px, 8vw, 120px); }
.services__grid { display: grid; gap: 28px; }
.services__head .lede { margin-top: 18px; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--patina); }
.svc {
  display: grid; grid-template-columns: clamp(100px, 11vw, 156px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px); align-items: center;
  padding: clamp(12px, 1.5vw, 18px) 0;
  border-bottom: 1px solid var(--patina);
}
.svc img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--papir-2); }
.svc p { margin-top: 6px; color: var(--grafit-soft); font-size: clamp(0.94rem, 0.9rem + 0.15vw, 1.04rem); text-wrap: pretty; max-width: 40rem; }
@media (min-width: 900px) {
  .services__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
  .services__head { position: sticky; top: calc(var(--bar-h) + 48px); }
}

/* ----------------------------------------------------- hloubkoměr (pin) -- */
.gauge__stage { padding-top: var(--bar-h); display: flex; align-items: center; }
.gauge__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.72fr) minmax(0, 1.05fr);
  grid-template-areas: "head head head" "photo inst read";
  column-gap: clamp(24px, 3.4vw, 60px);
  row-gap: clamp(14px, 3vh, 34px);
  align-items: center;
}
.gauge__head { grid-area: head; max-width: 50rem; }
.gauge__hint {
  margin-top: 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.86rem; color: var(--grafit-soft);
}
.gauge__photo { grid-area: photo; margin: 0; height: min(54svh, 520px); }
.gauge__photo img, .gauge__photo picture { display: block; width: 100%; height: 100%; }
.gauge__photo img { object-fit: cover; object-position: 50% 45%; border-radius: var(--r); }
.gauge__instrument { grid-area: inst; height: min(54svh, 520px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tread { width: auto; height: calc(100% - 3.2em); max-width: 100%; overflow: visible; }
.tread__body { will-change: transform; }
.tread [data-g-block], .tread [data-g-dim] { transform-box: fill-box; transform-origin: 50% 100%; will-change: transform; }
.tread [data-g-dimtop] { will-change: transform; }
.gauge__legend {
  margin-top: 10px; max-width: 18rem; text-align: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.74rem; line-height: 1.4; color: var(--grafit-soft);
}
.gauge__read { grid-area: read; }
.gauge__value {
  font-stretch: 125%; font-weight: 780; color: var(--zelena);
  font-size: clamp(3rem, 1.6rem + 4.4vw, 6.4rem); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap;
}
.gauge__value small { font-size: 0.42em; font-weight: 700; letter-spacing: 0; margin-left: 0.08em; }
.verdicts { list-style: none; margin: clamp(14px, 2.4vh, 24px) 0 0; padding: 0; display: grid; }
.verdict { grid-area: 1 / 1; opacity: 0; transition: opacity 220ms var(--ease); }
.verdict.is-on { opacity: 1; }
.verdict__tag {
  display: flex; align-items: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grafit);
}
.verdict__line { margin-top: 8px; font-stretch: 112%; font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.65rem); line-height: 1.2; color: var(--grafit); text-wrap: balance; }
.verdict__note { margin-top: 8px; color: var(--grafit-soft); font-size: 0.98rem; max-width: 26rem; text-wrap: pretty; }
.ruler { margin-top: clamp(18px, 3vh, 30px); max-width: 440px; }
.ruler__bar { position: relative; height: 12px; border-radius: 2px; }
.ruler__zone { position: absolute; top: 0; bottom: 0; }
.ruler__zone--ok { left: 0; width: 50%; background: var(--patina); border-radius: 2px 0 0 2px; }
.ruler__zone--wait { left: 50%; width: 30%; box-shadow: inset 0 0 0 1.5px var(--oranz); background: var(--papir); }
.ruler__zone--now { left: 80%; width: 20%; background: var(--oranz); border-radius: 0 2px 2px 0; }
.ruler__ptr {
  position: absolute; left: 0; top: -12px; width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--grafit);
  margin-left: -7px; will-change: transform;
}
.ruler__ticks { position: relative; height: 22px; margin-top: 6px;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.74rem; color: var(--grafit-soft); }
.ruler__ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ruler__ticks span:first-child { transform: none; }
.ruler__ticks span:last-child { transform: translateX(-100%); }
.gauge__read .link { display: inline-block; margin-top: clamp(14px, 2.4vh, 24px); }

@media (max-width: 1099px) and (min-width: 761px) {
  .gauge__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); grid-template-areas: "head head" "inst read"; }
  .gauge__photo { display: none; }
}
@media (max-width: 760px) {
  .gauge__stage { align-items: flex-start; padding-top: calc(var(--bar-h) + 10px); }
  .gauge__grid {
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-areas: "head head" "photo photo" "inst read";
    column-gap: 14px; row-gap: 12px; align-items: start;
  }
  .gauge__hint { display: none; }
  .gauge__photo { height: auto; aspect-ratio: 2 / 1; }
  .gauge__photo img { object-position: 50% 85%; }   /* mereni-m.jpg 16 : 10: stupnice, tělo a patka na vzorku */
  .gauge__instrument { height: min(27svh, 230px); }
  .tread { height: 100%; }
  .tread__scale text { font-size: 21px; }              /* stupnice čitelná i v malém (cca 10 px) */
  .tread__scale text:last-of-type { font-size: 12px; }
  .gauge__legend { display: none; }
  .gauge__value { font-size: clamp(2.3rem, 11vw, 3rem); }
  .verdicts { margin-top: 8px; }
  .verdict__line { font-size: 1.05rem; margin-top: 4px; }
  .verdict__note { font-size: 0.86rem; margin-top: 4px; }
  .ruler { margin-top: 26px; }
  .ruler__ticks { font-size: 0.66rem; }
  .gauge__read .link { margin-top: 6px; }
}
/* vyšší telefon: fotka měření celá (16 : 10), na nízkém zůstane 2 : 1, ať se připnutá sekce vejde */
@media (max-width: 760px) and (min-height: 760px) {
  .gauge__photo { aspect-ratio: 16 / 10; }
  .gauge__photo img { object-position: 50% 50%; }
}

/* omezený pohyb: žádný pin, příklad měření a všechny tři výroky pod sebou */
.gauge.is-static { padding-block: clamp(64px, 9vw, 130px); }
.gauge.is-static .gauge__stage { padding-top: 0; }
.gauge.is-static .verdicts { gap: 18px; }
.gauge.is-static .verdict { grid-area: auto; opacity: 1; }
.gauge.is-static .verdict.is-match .verdict__tag::after {
  content: "(tento příklad)"; margin-left: 0.6em;
  font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--grafit-soft);
}

/* --------------------------------------------------------------- postup -- */
.process { padding-block: clamp(24px, 4vw, 64px) clamp(56px, 8vw, 110px); }
.process__head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 56px); }
.process__grid { display: grid; gap: clamp(28px, 4vw, 72px); }
.process__photo { margin: 0; border-radius: var(--r); overflow: hidden; }
.process__photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 40%; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: krok; }
.step { position: relative; padding: 0 0 clamp(20px, 2.6vw, 30px) 3.2rem; counter-increment: krok; }
.step + .step { padding-top: clamp(20px, 2.6vw, 30px); border-top: 1px solid var(--patina); }
.step::before {
  content: counter(krok);
  position: absolute; left: 0;
  font-stretch: 125%; font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--zelena);
}
.step + .step::before { top: clamp(20px, 2.6vw, 30px); }
.step p { margin-top: 8px; color: var(--grafit-soft); text-wrap: pretty; max-width: 34rem; }
.piles { margin: 14px 0 0; display: grid; gap: 10px; }
.piles > div { display: grid; grid-template-columns: 8.6rem minmax(0, 1fr); gap: 12px; align-items: baseline; }
.piles dt {
  display: flex; align-items: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grafit);
}
.piles dd { margin: 0; color: var(--grafit-soft); font-size: 0.98rem; }
/* tablet a malý notebook: úzký sloupec vedle fotky, štítek hromádky nad textem */
@media (min-width: 900px) and (max-width: 1099px) {
  .piles > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (min-width: 900px) {
  .process__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
}
@media (max-width: 480px) {
  .piles > div { grid-template-columns: 1fr; gap: 2px; }
}

/* -------------------------------------------------------------- kontakt -- */
.contact { padding-top: clamp(64px, 9vw, 140px); }
.contact__grid { display: grid; gap: clamp(28px, 4vw, 72px); padding-bottom: clamp(56px, 8vw, 120px); }
.contact__tel {
  display: inline-block; margin-top: clamp(16px, 2.6vh, 28px);
  font-stretch: 125%; font-weight: 780; color: var(--zelena);
  font-size: clamp(1.75rem, 0.6rem + 3.6vw, 3.9rem); line-height: 1;
  letter-spacing: -0.015em; white-space: nowrap; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) { .contact__tel:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; } }
.contact__lede { margin-top: clamp(16px, 2.6vh, 26px); max-width: 32rem; color: var(--grafit-soft); }
.contact__meta { margin: 22px 0 0; display: grid; gap: 8px; }
.contact__meta > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 12px; align-items: baseline; }
.contact__meta dt { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.8rem; color: var(--grafit-soft); }
.contact__meta dd { margin: 0; font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; font-size: 1rem; }
.contact .actions { margin-top: 28px; }
.contact__photo { margin: 0; border-radius: var(--r); overflow: hidden; align-self: end; }
.contact__photo img { width: 100%; height: auto; aspect-ratio: 1500 / 1077; object-fit: cover; }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}

.foot { background: var(--grafit); color: var(--papir); }
.foot__grid { display: grid; gap: 26px; padding-block: clamp(36px, 5vw, 64px); }
.foot__logo { width: 300px; height: auto; }   /* hlavní verze: minimum 280 px na obrazovce */
.foot__text { display: grid; gap: 10px; max-width: 46rem; font-size: 0.92rem; line-height: 1.55; color: #D9DDD7; }
.foot__demo {
  display: flex; align-items: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--papir);
}
.foot__credits { color: #AEB8B2; font-size: 0.84rem; }
@media (min-width: 900px) {
  .foot__grid { grid-template-columns: 320px minmax(0, 1fr); align-items: start; }
}

/* ---------------------------------------------------- omezený pohyb -- */
@media (prefers-reduced-motion: reduce) {
  .js .hero__wheel, .js .hero__copy { opacity: 1; transform: none; transition: none; }
  .hero__bay img { height: 100%; }
  .verdict { transition: none; }
}

/* telefon: tlačítka vedle sebe, v kontaktu fotka nad textem (konec ukáže telefon i patičku) */
@media (max-width: 760px) {
  .btn { padding: 12px 16px; font-size: 0.95rem; min-height: 48px; }
  .actions { gap: 10px; }
  .contact__photo { order: -1; }
  .contact { padding-top: 48px; }
}

/* atributy style="" z původní stránky (politika CSP webu inline styly nepovoluje), doplnil tools/ukazky.mjs */
[data-st="1"] { left:0 !important; }
[data-st="2"] { left:50% !important; }
[data-st="3"] { left:80% !important; }
[data-st="4"] { left:100% !important; }

/* ===== doplněno pro web ProWeb Procházka (tools/ukazky.mjs): odkaz z ukázkového webu zpět na celou ukázku ===== */
.ukazka-zpet { grid-column: -2 / -1; flex-basis: 100%; margin: 0; }
.ukazka-zpet a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: inherit; text-decoration: none; }
.ukazka-zpet__t { text-decoration: underline; text-underline-offset: 4px; }

/* ===== doplněno pro web ProWeb Procházka (tools/ukazky.mjs): „smyšlená firma“ ve štítku ukázky v liště ===== */
.ukazka-smysl { white-space: nowrap; }
/* tady se doplněk do lišty nevejde (měřeno 320–1920 px), zůstane povinný štítek „Ukázka – ProWeb Procházka“ */
@media (max-width: 389px) { .ukazka-smysl { display: none; } }
