/* LisPlast — Skládací metr a značky tužkou
   Deska bílého LTD jako podklad, žlutý skládací metr jako jediná nepřerušená linka,
   grafitová tužka pro kóty a poznámky, červená z loga pro akci. */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalam"; src: url("/fonts/kalam-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kalam"; src: url("/fonts/kalam-latin.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  /* deska */
  --board: #f5f5f2;          /* bílé LTD */
  --board-2: #ebeae5;        /* stůl / zapuštěná plocha */
  --line: #d9d8d2;           /* hrana / dělicí linka */
  --core: #d6c29b;           /* dřevotřískové jádro */
  --core-dk: #b39a6c;
  /* tužka */
  --ink: #1f2124;            /* grafit, antracit LTD */
  --ink-2: #50545a;
  --pencil: #63676d;
  /* metr */
  --rule: #f2c230;
  --rule-hi: #f7d460;
  --rule-lo: #d9a91c;
  --red: #d7141a;            /* logo */
  --red-dk: #b10f14;
  --brass: #a8874f;

  --sans: "Archivo", "Arial Narrow", Arial, sans-serif;
  --hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1240px;
  --r-sm: 4px;
  --r: 6px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 1px rgb(31 33 36 / 0.06), 0 2px 6px -2px rgb(31 33 36 / 0.16);
  --shadow-2: 0 1px 2px rgb(31 33 36 / 0.08), 0 10px 24px -10px rgb(31 33 36 / 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--board);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--red); }
::selection { background: var(--rule); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- typografie ---------- */
.h1, .h2, .h3, h1 { font-stretch: 118%; font-weight: 800; letter-spacing: -0.025em; line-height: 0.98; }
h1, .h1 { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.6rem); }
.h2 { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.4rem); line-height: 1.02; }
.h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.1; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.prose { max-width: 68ch; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose h2 { font-stretch: 112%; font-weight: 750; font-size: 1.5rem; letter-spacing: -0.015em; line-height: 1.15; margin: 2.2em 0 0.6em; }
.prose h3 { font-weight: 700; font-size: 1.15rem; margin: 1.6em 0 0.4em; }
.prose ul { padding-left: 1.2em; margin: 0; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--red); }
.num { font-variant-numeric: tabular-nums; font-stretch: 75%; }
.pencil { font-family: var(--hand); color: var(--pencil); font-weight: 400; letter-spacing: 0; }

/* ---------- tlačítka ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: var(--h); padding: 0 1.35em;
  border: 0; border-radius: var(--r-sm);
  font-weight: 700; font-stretch: 105%; font-size: 1rem; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition-property: background-color, color, box-shadow, scale;
  transition-duration: 160ms; transition-timing-function: var(--ease);
}
.btn:active { scale: 0.96; }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 1px 0 var(--red-dk), 0 6px 14px -8px rgb(31 33 36 / 0.45); }
.btn--red:hover { background: var(--red-dk); }
.btn--red .ico[href], .btn--red svg { transition: translate 200ms var(--ease); }
.btn--red:hover svg { translate: 3px 0; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--board); }
.btn--sm { --h: 42px; padding: 0 1.05em; font-size: 0.95rem; }
.btn--lg { --h: 58px; font-size: 1.075rem; padding: 0 1.8em; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0.4em 0.2em; color: var(--red); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.more { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }
.more svg { transition: translate 200ms var(--ease); }
.more:hover svg { translate: 3px 0; }

/* ---------- hlavička + pravítko ---------- */
.notice { background: var(--ink); color: #fff; font-size: 0.95rem; }
.notice__in { display: flex; gap: 0.7em; align-items: center; padding-block: 10px; }
.notice .ico { color: var(--rule); }
.top { position: sticky; top: 0; z-index: 50; background: var(--board); transition: box-shadow 200ms var(--ease); }
.top.is-scrolled { box-shadow: 0 8px 20px -14px rgb(31 33 36 / 0.45); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.top__logo img { width: 148px; }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a { position: relative; padding: 10px 12px; font-weight: 600; font-stretch: 105%; text-decoration: none; color: var(--ink-2); border-radius: var(--r-sm); transition: color 150ms var(--ease); }
.top__nav a:hover, .top__nav a[aria-current="page"] { color: var(--ink); }
.top__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); }
.top__act { display: flex; align-items: center; gap: 14px; }
.top__tel { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; font-stretch: 90%; font-variant-numeric: tabular-nums; text-decoration: none; font-size: 1.05rem; padding: 8px 4px; }
.top__tel .ico { color: var(--red); }
.top__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; border-radius: var(--r-sm); cursor: pointer; }
.top__burger .ico { width: 26px; height: 26px; }

/* pravítko: jedna nepřerušená linka webu, červený trojúhelník ukazuje, kde jste */
.ruler {
  position: relative; height: 14px;
  background:
    repeating-linear-gradient(90deg, rgb(31 33 36 / 0.9) 0 1px, transparent 1px 60px) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgb(31 33 36 / 0.7) 0 1px, transparent 1px 30px) 0 0 / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgb(31 33 36 / 0.45) 0 1px, transparent 1px 6px) 0 0 / 100% 4px no-repeat,
    linear-gradient(var(--rule-hi), var(--rule) 40%, var(--rule-lo));
  box-shadow: inset 0 -1px 0 rgb(31 33 36 / 0.18);
}
.ruler__mark {
  position: absolute; bottom: 0; left: 0; width: 14px; height: 10px;
  translate: var(--tx, 0px) 0;
  background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transition: translate 120ms linear;
}

/* ---------- sekce a hrany desek ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.sec--bench { background: var(--board-2); }
.sec--ink { background: var(--ink); color: #f1f1ee; }
.sec--yellow { background: var(--rule); color: var(--ink); }
/* hrana desky: konec plochy = olepená hrana */
.edge { position: relative; }
.edge::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; z-index: 2; pointer-events: none;
  background: linear-gradient(rgb(255 255 255 / 0.55) 0 1px, transparent 1px), var(--edge, var(--line));
  box-shadow: 0 2px 3px -1px rgb(31 33 36 / 0.25);
}
.edge--ink { --edge: #2b2e32; }
.edge--yellow { --edge: var(--rule-lo); }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.sec__head p { color: var(--ink-2); font-size: 1.125rem; max-width: 60ch; }
.sec--ink .sec__head p { color: #c9cac6; }

/* ---------- úvod (hero) ---------- */
.hero { padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: clamp(40px, 5vw, 72px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero__copy { display: grid; gap: 20px; align-content: start; padding-bottom: 8px; }
.hero__copy h1 .red { color: var(--red); }
.hero__photo { position: relative; margin: 0; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2)); }
.hero__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r) 0 0 var(--r); outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.hero__photo figcaption { position: absolute; left: 18px; bottom: 14px; font-size: 1.15rem; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.55); rotate: -1.5deg; }


/* ---------- měřicí nástroj: skládací metr ---------- */
.meter { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; align-items: end; }
.meter__head { display: grid; gap: 12px; }
.meter__title { font-stretch: 112%; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.015em; }
.ops { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.op { position: relative; cursor: pointer; }
.op input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.op > span { display: grid; gap: 0; padding: 8px 14px 9px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); line-height: 1.2; transition-property: background-color, box-shadow, color; transition-duration: 150ms; transition-timing-function: var(--ease); }
.op b { font-weight: 650; font-size: 0.95rem; }
.op small { font-size: 0.82rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.op:hover > span { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.op input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.op input:checked + span small { color: var(--rule); }
.op input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.meter__read { display: grid; gap: 6px; justify-items: end; text-align: right; }
.meter .rule, .meter__foot { grid-column: 1 / -1; }

.rule {
  --seg: 120px; --rh: 38px;
  position: relative; height: calc(var(--seg) * 0.72 + var(--rh) + 26px); margin-top: -8px;
  touch-action: pan-y;
}
.rule__scale {
  position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; pointer-events: none;
  background:
    linear-gradient(var(--pencil), var(--pencil)) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--pencil) 0 1px, transparent 1px var(--seg)) 0 100% / calc(100% + 1px) 10px no-repeat,
    repeating-linear-gradient(90deg, rgb(99 103 109 / 0.55) 0 1px, transparent 1px calc(var(--seg) / 2)) 0 100% / 100% 5px no-repeat;
  opacity: 0.8;
}
.rule__scale span { position: absolute; bottom: 14px; translate: -50% 0; font-family: var(--hand); font-size: 0.95rem; color: var(--pencil); line-height: 1; }
.rule__fold { position: absolute; left: 0; bottom: 10px; width: var(--seg); height: var(--rh); }
.seg {
  position: absolute; left: 0; top: 0; width: var(--seg); height: var(--rh);
  transform-origin: 0 50%;
  background: linear-gradient(var(--rule-hi), var(--rule) 30%, var(--rule) 78%, var(--rule-lo));
  border-radius: 2px;
  box-shadow: 0 1px 0 rgb(120 90 0 / 0.35), 0 3px 8px -3px rgb(31 33 36 / 0.35);
  transition: transform 420ms var(--ease-out);
}
.seg > .seg { left: 100%; }
.rule.is-dragging .seg { transition-duration: 90ms; }
.seg__ticks {
  position: absolute; inset: 0 0 auto 0; height: 100%; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgb(31 33 36 / 0.9) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)) 0 0 / 100% 52% no-repeat,
    repeating-linear-gradient(90deg, rgb(31 33 36 / 0.8) 0 1px, transparent 1px calc(var(--seg) / 10)) 0 0 / 100% 30% no-repeat;
}
.seg__n { position: absolute; right: 5px; bottom: 3px; font-weight: 800; font-stretch: 70%; font-size: calc(var(--rh) * 0.46); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.seg__h { position: absolute; left: calc(50% + 3px); bottom: 4px; font-weight: 700; font-stretch: 70%; font-size: calc(var(--rh) * 0.34); line-height: 1; color: var(--ink); opacity: 0.85; }
.seg__n, .seg__h { transition: opacity 200ms var(--ease); }
.seg.is-folded > .seg__n, .seg.is-folded > .seg__h { opacity: 0; }
.seg__rivet { position: absolute; left: -4px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e9d6a8, var(--brass) 55%, #6f5530); box-shadow: 0 1px 1px rgb(0 0 0 / 0.35); z-index: 1; }
.seg--first > .seg__rivet { display: none; }
.rule__mark {
  position: absolute; bottom: 4px; left: 0; height: calc(var(--rh) + 18px); width: 2px; margin-left: -1px;
  background: var(--red); pointer-events: none; z-index: 30;
  translate: calc(var(--x, 0.4) * var(--seg) * var(--n, 10)) 0;
  transition: translate 420ms var(--ease-out);
}
.rule.is-dragging .rule__mark { transition-duration: 90ms; }
.rule__mark span { position: absolute; bottom: 100%; left: 50%; translate: -50% -4px; padding: 3px 8px; background: var(--red); color: #fff; border-radius: 3px; font-weight: 750; font-stretch: 80%; font-size: 0.9rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rule__mark span::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 5px; margin-left: -4px; background: inherit; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.rule__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 40; }
.rule:has(.rule__range:focus-visible) .rule__mark span { outline: 2px solid var(--ink); outline-offset: 2px; }

.meter__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.meter__calc { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-stretch: 80%; font-weight: 700; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.meter__bm { display: inline-flex; align-items: baseline; gap: 6px; }
.meter__bm input { width: 3.6em; padding: 4px 8px; border: 0; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-stretch: 80%; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.meter__bm input::-webkit-inner-spin-button { -webkit-appearance: none; }
.meter__bm input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.meter__x { color: var(--pencil); font-weight: 400; }
.meter__total { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); font-weight: 850; font-stretch: 72%; letter-spacing: -0.01em; line-height: 1; min-width: 5.2ch; }
.meter__note { color: var(--ink-2); font-size: 0.98rem; line-height: 1.45; max-width: 36ch; }
.meter__note .pencil { display: inline-block; font-size: 1.1rem; rotate: -1.2deg; color: var(--ink-2); }
.meter__act { display: flex; flex-wrap: wrap; gap: 10px; }
.meter__help { font-size: 0.98rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- operace (služby) ---------- */
.ops-list { display: grid; gap: clamp(56px, 8vw, 112px); }
.opx { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.opx:nth-child(even) .opx__fig { order: 2; }
.opx__fig { position: relative; margin: 0; }
.opx__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.opx__body { display: grid; gap: 18px; align-content: start; }
.opx__body > p { color: var(--ink-2); max-width: 52ch; }
.opx__fig figcaption { position: absolute; left: 16px; bottom: 12px; font-size: 1.2rem; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.6); rotate: -1.5deg; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 4px 0 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { color: var(--pencil); font-size: 0.92rem; padding-right: 24px; padding-top: 12px; }
.spec dd { font-weight: 600; }
.kota { position: absolute; pointer-events: none; color: #fff; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.6)); }
.kota svg { display: block; overflow: visible; }
.kota span { font-family: var(--hand); font-size: 1.15rem; white-space: nowrap; }

/* ---------- řez deskou (PUR spára) ---------- */
.xsec { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.xsec__fig { margin: 0; }
.xsec__fig svg { width: 100%; height: auto; display: block; }
.xsec__fig text { font-family: var(--hand); font-size: 17px; fill: var(--ink-2); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.facts li { display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--ink); }
.facts b { font-stretch: 110%; font-weight: 750; font-size: 1.1rem; }
.facts span { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- ceník ---------- */
.prices { display: grid; gap: clamp(36px, 5vw, 56px); }
.pgroup h3 { font-stretch: 112%; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.pgroup > p { margin-top: 6px; color: var(--ink-2); font-size: 0.98rem; max-width: 64ch; }
.sec--yellow .pgroup > p, .sec--yellow .sec__head p { color: #4d3c05; }
.plist { list-style: none; margin: 14px 0 0; padding: 0; }
.plist li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgb(31 33 36 / 0.2); }
.plist li::before { content: none; }
.plist .pn { flex: 0 1 auto; }
.plist .pn small { display: block; color: var(--ink-2); font-size: 0.88rem; }
.sec--yellow .plist .pn small { color: #4d3c05; }
.plist .pd { flex: 1; border-bottom: 1.5px dotted rgb(31 33 36 / 0.45); translate: 0 -0.3em; min-width: 24px; }
.plist .pv { font-weight: 800; font-stretch: 75%; font-size: 1.3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plist .pv small { font-weight: 600; font-size: 0.85rem; font-stretch: 85%; color: var(--ink-2); margin-left: 3px; }
.sec--yellow .plist .pv small { color: #4d3c05; }
.prices--two { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 56px) clamp(32px, 6vw, 88px); }
.sec--yellow { background-image: repeating-linear-gradient(90deg, rgb(31 33 36 / 0.55) 0 1px, transparent 1px 60px), repeating-linear-gradient(90deg, rgb(31 33 36 / 0.35) 0 1px, transparent 1px 6px); background-size: 100% 12px, 100% 6px; background-repeat: no-repeat; }

/* ---------- vzorníky ---------- */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat { position: relative; display: grid; gap: 10px; padding: 28px 28px 26px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-1); text-decoration: none; transition-property: box-shadow, translate; transition-duration: 220ms; transition-timing-function: var(--ease); overflow: hidden; }
.cat:hover { box-shadow: var(--shadow-2); translate: 0 -2px; }
.cat h2, .cat h3 { font-stretch: 115%; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.015em; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat h2 .ico, .cat h3 .ico { color: var(--red); width: 22px; height: 22px; }
.cat p { color: var(--ink-2); }
.cat .chips { display: flex; gap: 6px; margin-top: 6px; }
.cat .chips i { width: 28px; height: 18px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: var(--hand); color: var(--red); font-size: 1.6rem; line-height: 1; }

/* ---------- proč LisPlast + trojúhelník ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why__list li { display: grid; grid-template-columns: 30px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.why__list li:first-child { border-top: 1px solid var(--line); }
.why__list .ico { width: 22px; height: 22px; color: var(--red); margin-top: 4px; grid-row: span 2; }
.why__list b { font-stretch: 110%; font-weight: 750; font-size: 1.2rem; }
.why__list span { color: var(--ink-2); }
.tri { display: grid; gap: 18px; align-content: start; }
.tri__fig { margin: 0; }
.tri__fig svg { width: 100%; height: auto; display: block; }
.tri__fig text { font-family: var(--hand); font-size: 18px; fill: var(--ink-2); }
.tri p { color: var(--ink-2); max-width: 46ch; }

/* ---------- poptávka ---------- */
.ask { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.ask__side { display: grid; gap: 22px; position: sticky; top: 120px; }
.ask__side p { color: var(--ink-2); }
.sendlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sendlist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.sendlist .ico { color: var(--red); width: 20px; height: 20px; margin-top: 2px; }
.direct { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.direct a { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; text-decoration: none; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.direct .ico { color: var(--red); }
.direct small { color: var(--pencil); font-size: 0.92rem; }

.inq[hidden] { display: none; }
.inq { display: grid; gap: 20px; padding: clamp(22px, 3vw, 36px); background: #fff; border-radius: 10px; box-shadow: var(--shadow-2); }
.inq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.fld { display: grid; gap: 6px; align-content: start; }
.fld--wide { grid-column: 1 / -1; }
.fld label { font-weight: 650; font-size: 0.95rem; }
.req { color: var(--red); }
.opt { color: var(--pencil); font-weight: 400; font-size: 0.85rem; margin-left: 4px; }
.fld input, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: var(--r-sm);
  background: var(--board); box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; caret-color: var(--red);
  transition-property: box-shadow, background-color; transition-duration: 150ms; transition-timing-function: var(--ease);
}
.fld textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.fld input::placeholder, .fld textarea::placeholder { color: #6b6f75; }
.fld input:hover, .fld textarea:hover { box-shadow: inset 0 0 0 1px #b9b8b1; }
.fld input:focus, .fld textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.fld.is-bad input { box-shadow: inset 0 0 0 2px var(--red); background: #fff7f7; }
.fld__err { color: var(--red-dk); font-size: 0.9rem; font-weight: 600; min-height: 0; }
.fld__err:empty { display: none; }
.drop { display: grid; gap: 8px; }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__zone {
  display: flex; gap: 14px; align-items: center; padding: 20px 20px; cursor: pointer;
  border-radius: var(--r); background: var(--board);
  background-image: linear-gradient(90deg, var(--pencil) 50%, transparent 50%), linear-gradient(90deg, var(--pencil) 50%, transparent 50%), linear-gradient(0deg, var(--pencil) 50%, transparent 50%), linear-gradient(0deg, var(--pencil) 50%, transparent 50%);
  background-size: 12px 1.5px, 12px 1.5px, 1.5px 12px, 1.5px 12px;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  transition: background-color 150ms var(--ease);
}
.drop__zone .ico { width: 26px; height: 26px; color: var(--red); }
.drop__zone strong { display: block; font-weight: 700; }
.drop__zone span span { display: block; color: var(--ink-2); font-size: 0.9rem; }
.drop__zone:hover, .drop.is-over .drop__zone { background-color: #fff6d6; }
.drop__input:focus-visible + .drop__zone { outline: 2px solid var(--red); outline-offset: 2px; }
.drop__file { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-sm); background: #eef6ec; color: #20441c; font-weight: 600; }
.drop__file[hidden] { display: none; }
.drop__name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.inq__tpl { font-size: 0.95rem; color: var(--ink-2); }
.inq__tpl a { font-weight: 650; color: var(--ink); }
.inq__tpl a .ico { vertical-align: -0.2em; margin-right: 4px; }
.inq__tpl .ico { color: var(--red); }
.chk { display: grid; grid-template-columns: 24px 1fr; gap: 6px 12px; align-items: start; font-size: 0.95rem; color: var(--ink-2); }
.chk input { appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border-radius: 4px; background: var(--board); box-shadow: inset 0 0 0 1.5px #9c9b95; cursor: pointer; display: grid; place-items: center; transition: background-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.chk input::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; rotate: -45deg; translate: 0 -1px; scale: 0.25; opacity: 0; transition: scale 180ms var(--ease), opacity 120ms var(--ease); }
.chk input:checked { background: var(--red); box-shadow: none; }
.chk input:checked::after { scale: 1; opacity: 1; }
.chk.is-bad input { box-shadow: inset 0 0 0 2px var(--red); }
.chk .fld__err { grid-column: 2; }
.chk label { cursor: pointer; }
.inq__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.inq__send p { color: var(--ink-2); font-size: 0.95rem; }
.inq__status { font-weight: 600; color: var(--red-dk); }
.inq__status:empty { display: none; }
.done { display: grid; gap: 12px; padding: clamp(28px, 4vw, 48px); background: #fff; border-radius: 10px; box-shadow: var(--shadow-2); }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done__tri { width: 56px; height: 56px; color: var(--red); }
.done h3 { font-stretch: 115%; font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; }
.done p { color: var(--ink-2); }
.done.is-in > * { animation: rise 520ms var(--ease-out) both; }
.done.is-in > *:nth-child(2) { animation-delay: 70ms; }
.done.is-in > *:nth-child(3) { animation-delay: 140ms; }
.done.is-in > *:nth-child(4) { animation-delay: 210ms; }
@keyframes rise { from { opacity: 0; translate: 0 10px; filter: blur(4px); } }

/* ---------- podstránky ---------- */
.phead { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 4vw, 56px); }
.phead__in { display: grid; gap: 20px; }
.phead__in > * { max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.92rem; color: var(--pencil); list-style: none; padding: 0; margin: 0; }
.crumbs a { color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.close { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }
.close .h2 { max-width: 18ch; }
.close__act { display: flex; flex-wrap: wrap; gap: 12px; }
.sec--ink .btn--line { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.sec--ink .btn--line:hover { background: #fff; color: var(--ink); }
.sec--ink .close p { color: #c9cac6; max-width: 52ch; margin-top: 14px; }
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-stretch: 105%; font-size: 1.12rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat; transition: rotate 220ms var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > p { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }
.machines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mach { display: grid; gap: 14px; align-content: start; }
.mach img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.mach h3 { font-stretch: 112%; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.mach p { color: var(--ink-2); }
.mach .opx__fig img { aspect-ratio: 4 / 3; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.contact-grid > div { padding: 24px 24px 24px 0; display: grid; gap: 10px; align-content: start; }
.contact-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.contact-grid h2 { font-size: 0.95rem; font-weight: 650; color: var(--pencil); }
.contact-grid .big { font-weight: 800; font-stretch: 85%; font-size: 1.7rem; text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.1; }
.contact-grid .big:hover { color: var(--red); }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 650; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.95rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--st, var(--pencil)); }
.status.is-open { --st: #2e8b3a; }
.status.is-closed { --st: var(--red); }
.legal h2 { margin-top: 2em; }

/* ---------- patička ---------- */
.foot { background: var(--ink); color: #c9cac6; padding-top: 72px; padding-bottom: 32px; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, rgb(31 33 36 / 0.8) 0 1px, transparent 1px 60px) 0 0 / 100% 7px no-repeat, repeating-linear-gradient(90deg, rgb(31 33 36 / 0.45) 0 1px, transparent 1px 6px) 0 0 / 100% 4px no-repeat, var(--rule); }
.foot a { color: #f1f1ee; text-decoration: none; }
.foot a:hover { color: var(--rule); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1.4fr; gap: 40px; }
.foot__brand { display: grid; gap: 18px; align-content: start; }
.foot__brand img { width: 170px; }
.foot__brand p { max-width: 34ch; font-size: 0.95rem; }
.foot__h { font-size: 0.9rem; font-weight: 650; color: #8e9096; margin-bottom: 14px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot__list a { display: inline-flex; gap: 10px; align-items: flex-start; }
.foot__list .ico { margin-top: 3px; color: var(--rule); }
.foot__list--cols { grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 0.95rem; }
.foot__hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-variant-numeric: tabular-nums; }
.foot__hours dd { margin: 0; color: #f1f1ee; }
.foot__status { margin-top: 12px; }
.foot__status .status { color: #f1f1ee; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #3a3d42; font-size: 0.88rem; color: #8e9096; }
.dock { display: none; }

/* ---------- pohyb: jedna autorská chvíle (metr se rozloží), zbytek zůstává v klidu ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* ---------- responzivita ---------- */
@media (max-width: 1100px) {
  .top__nav { gap: 0; }
  .top__nav a { padding-inline: 9px; }
  .top__tel span { display: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .meter { grid-template-columns: 1fr; }
  .meter__read { justify-items: start; text-align: left; }
}
@media (max-width: 900px) {
  .top__in { min-height: 64px; gap: 12px; }
  .top__logo img { width: 124px; }
  .top__burger { display: inline-flex; }
  .top__tel { display: none; }
  .top__nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 20px; background: var(--board); box-shadow: 0 16px 24px -16px rgb(31 33 36 / 0.4);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .top.is-open .top__nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 300ms var(--ease-out), visibility 0s; }
  .top__nav a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .top__nav a[aria-current="page"]::after { left: 4px; right: auto; width: 24px; bottom: 8px; }
  .top__act { margin-left: auto; }
  .hero__grid, .opx, .xsec, .why, .ask, .cols { grid-template-columns: 1fr; }
  .opx:nth-child(even) .opx__fig { order: 0; }
  .hero__photo { margin-right: calc(-1 * var(--gutter)); }
  .ask__side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .machines { grid-template-columns: 1fr; }
  .prices--two { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .dock {
    display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: rgb(245 245 242 / 0.97);
    box-shadow: 0 -8px 20px -14px rgb(31 33 36 / 0.5);
    translate: 0 0; transition: translate 240ms var(--ease-out);
  }
  .dock.is-hidden { translate: 0 110%; }
  .dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
  .dock__tel { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .dock__tel .ico { color: var(--red); }
  .dock__cta { background: var(--red); color: #fff; }
  body { padding-bottom: 72px; }
  .no-dock .dock { display: none; }
  .no-dock { padding-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .rule { --rh: 30px; }
  .seg__h { display: none; }
  .meter__head { gap: 12px; }
  .ops { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .op > span { padding: 8px 10px; }
  .meter__act { width: 100%; }
  .meter__act .btn { flex: 1; }
  .inq__grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__list--cols { grid-template-columns: 1fr; }
  .plist .pv { font-size: 1.15rem; }
}

/* Srozumitelné názvy a zadání pro firmy i jednotlivce. */
.term { display: block; }
.term__sub { display: block; font-size: 0.58em; font-weight: 500; font-stretch: 100%; letter-spacing: 0; line-height: 1.45; color: var(--ink-2); margin-top: 5px; }
.pn .term__sub { font-size: 0.88rem; }
.op .term__sub { font-size: 0.82rem; }
.op input:checked + span .term__sub { color: #fff; }
.aud__hint { font-size: 0.95rem; color: var(--ink-2); margin-top: -6px; }
.meter__read { gap: 8px; }
.meter__intro { color: var(--ink-2); }
.meter__length { font-weight: 650; }
.meter__totals { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 32px; }
.meter__totals p { display: grid; gap: 4px; }
.meter__totals p > span { font-size: 0.95rem; color: var(--ink-2); }
.meter__total { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); }
.meter__note { max-width: 70ch; }
.meter__help + .meter__help { margin-top: 8px; }
.ops { gap: 10px; }
.op > span { gap: 2px; padding: 10px 14px; height: 100%; }
.op { flex: 1 1 160px; }
.op input { width: 100%; height: 100%; }
.price-link { margin-top: 32px; }
.form-steps { display: grid; gap: 22px; margin-top: 24px; }
.form-steps .btn { justify-self: start; }
.steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.steps strong { color: var(--ink); }
.guide-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.guide-details summary { cursor: pointer; font-weight: 650; min-height: 32px; }
.form-guide { margin-top: 20px; display: grid; gap: 18px; }
.guide-list { padding-left: 22px; display: grid; gap: 12px; }
.guide-example { margin: 0; padding: 18px; background: var(--board); border: 1px solid var(--line); border-radius: var(--r); }
.guide-example svg { display: block; width: 100%; height: auto; }
.guide-example svg text { fill: var(--ink); font-family: inherit; font-size: 16px; }
.guide-example figcaption { font-size: 0.95rem; color: var(--ink-2); }
.material-help { margin-bottom: 36px; padding: 28px; border-left: 3px solid var(--red); background: var(--board-2); display: grid; gap: 18px; }
.material-help .btn { justify-self: start; }
@media (max-width: 600px) {
  .steps--three, .steps--two { grid-template-columns: 1fr; }
  .form-steps .btn { width: 100%; }
  .op { flex-basis: calc(50% - 10px); min-width: 0; }
  .op > span { padding: 10px; }
  .meter__totals { gap: 18px 24px; }
}

/* Kalkulačka v úvodu: na užších obrazovkách jeden sloupec (musí stát za pravidly výše). */
@media (max-width: 1100px) {
  .meter { grid-template-columns: minmax(0, 1fr); }
  .meter__read { justify-items: start; text-align: left; }
  .meter__totals { justify-content: flex-start; }
}

/* Úvod: metr musí být vidět na první obrazovce i s delším textem. */
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 3.8vw, 4.2rem); }
.hero .lead { max-width: 46ch; }
.hero .meter { margin-top: 24px; }
.meter__read { grid-template-columns: auto auto; align-items: center; column-gap: 14px; }
.meter__length { max-width: 24ch; font-size: 0.92rem; line-height: 1.3; }
.meter__totals, .meter__note { grid-column: 1 / -1; }
.rule { height: calc(var(--seg) * 0.6 + var(--rh) + 26px); }
@media (max-width: 1100px) {
  .meter__read { grid-template-columns: auto; }
  .meter__length { max-width: none; }
}
@media (max-width: 640px) {
}
@media (max-width: 900px) {
  /* na telefonu: text → kalkulačka → fotka */
  .hero > .wrap { display: flex; flex-direction: column; }
  .hero__grid { display: contents; }
  .hero__copy { order: 1; }
  .hero .meter { order: 2; }
  .hero__photo { order: 3; margin-top: 32px; }
}

/* ---------- přístupnost (audit 12. 10. 2026) ---------- */
/* Popisky tužkou na fotkách: tmavý přechod pod textem místo samotného stínu (kontrast ≥ 4,5 : 1). */
.hero__photo figcaption, .opx__fig figcaption {
  left: 0; right: 0; bottom: 0; rotate: none;
  padding: 48px 18px 14px;
  background: linear-gradient(to bottom, rgb(20 21 23 / 0), rgb(20 21 23 / 0.62) 45%, rgb(20 21 23 / 0.8));
  text-shadow: none;
}
.hero__photo figcaption { border-radius: 0 0 0 var(--r); }
.opx__fig figcaption { border-radius: 0 0 var(--r) var(--r); }
/* Stupnice pod metrem: plná barva tužky (5,3 : 1). */
.rule__scale { opacity: 1; }
/* Dotykové plochy aspoň 44 px. */
.btn--sm { --h: 44px; }
.top__logo { display: flex; align-items: center; min-height: 44px; }
.more { position: relative; }
.more::before { content: ""; position: absolute; inset: -8px -6px; }
.crumbs a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.direct a { min-height: 44px; }
.foot__list { gap: 0; }
.foot__list a { min-height: 44px; align-items: center; }
.foot__list a .ico { margin-top: 0; }
.foot__list--cols { gap: 0 20px; }
.guide-details summary { min-height: 44px; padding-block: 10px; }
/* Úzké obrazovky a velké zvětšení: dlouhé popisky tlačítek se zalomí místo přetečení. */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; height: auto; padding-block: 10px; }
}
/* Parametry služeb: dlouhé popisky se zalomí, sloupec nepřeteče. */
.spec { grid-template-columns: fit-content(42%) minmax(0, 1fr); }
.meter__bm input { min-height: 44px; }
.contact-grid .big { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- Víc než přířez + Poradna (12. 10. 2026) ---- */
.facts--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .facts--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .facts--three { grid-template-columns: 1fr; } }

.article { padding-top: clamp(8px, 2vw, 24px); }
.article .prose { max-width: 70ch; }
.article .prose h2:first-child { margin-top: 0; }
.prose ol { padding-left: 1.4em; margin: 0; }
.prose ol li + li { margin-top: 0.45em; }
.prose ol li::marker { color: var(--red); font-weight: 700; }
.prose p + ol, .prose ol + p, .prose p + .tbl-wrap, .prose .tbl-wrap + p, .prose p + .tip, .prose .tip + p, .prose ul + .tbl-wrap { margin-top: 1em; }
.prose strong { color: var(--ink); }
.article__meta { color: var(--pencil); font-size: 0.95rem; margin-top: 14px; }

.tbl-wrap { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
.tbl { border-collapse: collapse; width: 100%; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.tbl caption { text-align: left; color: var(--pencil); font-size: 0.92rem; padding-bottom: 8px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
.tbl thead th { border-bottom: 2px solid var(--ink); font-weight: 700; color: var(--ink); white-space: nowrap; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; }

.tip { padding: 16px 18px; border-left: 3px solid var(--rule); background: var(--board-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); }
.tip strong { color: var(--ink); }

.guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide { position: relative; display: grid; gap: 10px; align-content: start; height: 100%; padding: 22px 22px 24px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.guide h2, .guide h3 { font-stretch: 110%; font-weight: 750; font-size: 1.25rem; line-height: 1.2; }
.guide :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.guide :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.guide :is(h2, h3) a:focus-visible { outline: none; }
.guide:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.guide:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.guide p { color: var(--ink-2); }
.guide .pencil { font-family: var(--hand); color: var(--pencil); font-size: 1.05rem; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } }

.related { display: grid; gap: 8px; margin-top: 2.4em; padding-top: 18px; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 4px !important; font-size: 1.1rem !important; }
.related ul { list-style: none; padding: 0; }
.related a { display: inline-flex; align-items: center; min-height: 44px; }

/* Obrázky a nákresy v článcích */
.afig { margin: 1.6em 0; }
.afig img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.afig--sketch { padding: clamp(12px, 2.5vw, 22px); background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r); }
.afig svg { display: block; width: 100%; height: auto; }
.afig svg text { fill: var(--ink); font-family: var(--sans); font-size: 15px; }
.afig svg .hand { font-family: var(--hand); fill: var(--ink-2); font-size: 17px; }
.afig svg .red { fill: var(--red); }
.afig figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--ink-2); }
.afig--photo figcaption { font-family: var(--hand); color: var(--pencil); font-size: 1.05rem; }
.guides-group + .guides-group { margin-top: clamp(40px, 5vw, 64px); }
.guides-group > h2 { margin-bottom: 18px; }
