/* =====================================================================
   Bohemia Textil – redesign v2
   1 Písma · 2 Tokeny · 3 Základ · 4 Layout · 5 Typografie · 6 Komponenty
   7 Hlavička · 8 Patička · 9 Sekce a stránky · 10 Formulář · 11 Pohyb · 12 Tisk
   ===================================================================== */

/* 1 ─ Písma (self-hosted, variabilní 400–700; "-cs" = výřez latin-ext na znaky češtiny a slovenštiny) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/montserrat-cs.woff2) format('woff2');
  unicode-range: U+010C-010F, U+011A-011B, U+0139-013A, U+013D-013E, U+0147-0148, U+0154-0155, U+0158-0161, U+0164-0165, U+016E-016F, U+017D-017E;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  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: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-cs.woff2) format('woff2');
  unicode-range: U+010C-010F, U+011A-011B, U+0139-013A, U+013D-013E, U+0147-0148, U+0154-0155, U+0158-0161, U+0164-0165, U+016E-016F, U+017D-017E;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin.woff2) format('woff2');
  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;
}

/* 2 ─ Tokeny */
:root {
  color-scheme: dark light;

  /* barvy */
  --navy-950: #00060f;
  --navy-900: #0b1220;
  --navy-800: #151d2c;
  --blue-500: #3a6afd;
  --blue-600: #2f5ae8;
  --blue-300: #8fb0ff;
  --blue-50: #eef3ff;
  --chip-ink: #1d3fb8;
  --ink: #0b1220;
  --slate-600: #5a6478;
  --slate-300: #9aa4b8;
  --text-on-dark: #c5cdda;
  --surface: #f4f6fa;
  --white: #ffffff;
  --line: #dde2ec;
  --field-border: #7c8699;
  --line-dark: rgba(255, 255, 255, .10);
  --error: #b42318;
  --error-bg: #fef3f2;
  --success: #1e7f4f;
  --focus: var(--blue-600);

  /* typografie */
  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --fs-h1: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --fs-h2: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-stat: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-eyebrow: .8125rem;

  /* rozestupy (8px základ) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --section-pad: clamp(48px, 7vw, 112px);
  --section-pad-tight: clamp(32px, 4vw, 56px); /* cílová stránka (Kontakt): formulář co nejvýš */
  --head-gap: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1200px;
  --container-narrow: 760px;
  --grid-gap: 12px;

  /* tvary a stíny */
  --radius-card: 12px;
  --radius-field: 8px;
  --radius-chip: 6px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(11, 18, 32, .04);
  --shadow-hover: 0 8px 24px -12px rgba(11, 18, 32, .25);

  --header-h: 64px;

  /* pohyb („mild“) */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms;   /* barvy */
  --dur-2: 280ms;   /* hover pohyb */
  --dur-3: 600ms;   /* odhalení */
  --dur-4: 1200ms;  /* kreslení */
  --stagger: 80ms;
}
@media (min-width: 480px) { :root { --fs-body: 1.0625rem; } }
@media (min-width: 768px) { :root { --grid-gap: 24px; --head-gap: 40px; } }
@media (min-width: 1024px) { :root { --header-h: 72px; } }
@media (min-width: 1024px) { :root { --grid-gap: 32px; } }

/* 3 ─ Základ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; } /* <picture> jen vybírá formát (AVIF/WebP), rozložení řídí <img> */
h1, h2, h3, p, ul, ol, dl, dd, figure, address, fieldset { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p, li, dd { text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--blue-500); color: #fff; }
[hidden] { display: none !important; }

.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; border-radius: var(--radius-field);
  background: var(--white); color: var(--navy-950);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--blue-300); }

/* tmavé plochy – barva fokusu a textu */
.site-header, .site-footer, .hero, .page-head, .section--dark { --focus: var(--blue-300); }

/* 4 ─ Layout */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section-pad); }
.section--light { background: var(--surface); color: var(--ink); color-scheme: light; }
.section--white { background: var(--white); color: var(--ink); color-scheme: light; }
.section--dark { background: var(--navy-900); color: #fff; }
.section--tight-top { padding-top: var(--section-pad-tight); }

.grid { display: grid; gap: var(--grid-gap); }
@media (min-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 5 ─ Typografie */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: var(--space-3);
  font: 700 var(--fs-eyebrow)/1.2 var(--font-head);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600);
  text-wrap: balance;
}
.eyebrow::before {
  content: ''; flex: none;
  width: 4px; height: 16px; border-radius: 2px;
  background: var(--blue-500);
}
.hero .eyebrow, .page-head .eyebrow, .section--dark .eyebrow { color: var(--blue-300); }

.section-head { max-width: 760px; margin-bottom: var(--head-gap); }
.section-head h2 { font-size: var(--fs-h2); line-height: 1.2; }
.section-head__lead {
  margin-top: var(--space-4); max-width: 60ch;
  font-size: var(--fs-lead); line-height: 1.55; color: var(--slate-600);
}
.section--dark .section-head__lead { color: var(--slate-300); }
.section-foot { margin-top: var(--space-6); }

.prose { max-width: 65ch; }
.prose p + p { margin-top: var(--space-4); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }

.text-link {
  color: var(--blue-600);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* 6 ─ Komponenty */

/* tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5);
  border: 1.5px solid transparent; border-radius: var(--radius-pill);
  font: 600 1rem/1.2 var(--font-body);
  text-align: center; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn--lg { min-height: 56px; padding-inline: 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn__extra { display: none; }
@media (min-width: 480px) { .btn__extra { display: inline; } }
.btn--primary { background: var(--blue-500); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn--secondary { border-color: rgba(11, 18, 32, .25); color: var(--ink); background: transparent; }
.btn--secondary:hover { border-color: var(--ink); background: rgba(11, 18, 32, .04); }
.btn--on-blue { background: var(--white); color: var(--ink); }
.btn--on-blue:hover { background: var(--blue-50); }
.btn:disabled { cursor: progress; opacity: .75; }

/* textový odkaz se šipkou */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px;
  font-weight: 600; color: var(--blue-600);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow .icon { width: 18px; height: 18px; }
.section--dark .link-arrow, .band__panel .link-arrow { color: var(--blue-300); }

/* karty */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .card { padding: 28px; } }
.card h3 { font-size: var(--fs-h3); line-height: 1.3; }
.card > p, .card__body > p { margin-top: var(--space-2); color: var(--slate-600); }
.card .chips { margin-top: var(--space-4); }
.section--light .card--flat { box-shadow: none; }

.card--link { display: flex; flex-direction: column; transition: border-color var(--dur-1) ease, box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.card--link:hover { border-color: var(--blue-600); box-shadow: 0 12px 28px -14px rgba(11, 18, 32, .28); }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card--link:has(.card__link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
@supports selector(:has(*)) { .card__link:focus-visible { outline: none; } }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: var(--space-4);
  font-weight: 600; color: var(--blue-600);
}
.card__more .icon { width: 18px; height: 18px; }

.card--dark { background: var(--navy-800); border-color: var(--line-dark); color: var(--text-on-dark); box-shadow: none; }
.card--dark h3 { color: #fff; }
.card--dark > p { color: var(--text-on-dark); }

.icon-tile {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; margin-bottom: var(--space-4);
  border-radius: 10px;
  background: var(--blue-50); color: var(--blue-600);
}
.section--dark .icon-tile, .card--dark .icon-tile { background: rgba(58, 106, 253, .16); color: var(--blue-300); }

/* štítky */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex; align-items: center;
  min-height: 28px; padding: 3px 10px;
  border-radius: var(--radius-chip);
  background: var(--blue-50); color: var(--chip-ink);
  font-size: var(--fs-small); font-weight: 500; line-height: 1.35;
}
.section--dark .chip, .page-head .chip { background: rgba(143, 176, 255, .12); color: #c5d5ff; }
.chip--best { background: var(--blue-600); color: #fff; font-weight: 600; }

/* faktové dlaždice */
.facts { display: grid; gap: var(--space-5) var(--space-3); align-items: start; }
@media (min-width: 360px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { padding-left: var(--space-3); border-left: 4px solid var(--blue-500); }
.fact__value {
  display: block;
  /* všechny hodnoty stejně velké; na mobilu min. 22 px (schváleno v kole 2), aby se „90–200 cm“ vešlo do 2 × 2 od 360 px */
  font: 600 clamp(1.375rem, .75rem + 2vw, 2.5rem)/1.1 var(--font-head);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: #fff;
}
.fact__value--wrap { white-space: normal; text-wrap: balance; }
.fact__label { display: block; margin-top: 6px; font-size: var(--fs-small); line-height: 1.4; color: var(--slate-300); }
.fact__label--nowrap { white-space: nowrap; }
@media (min-width: 768px) { .facts { gap: var(--space-5); } .fact { padding-left: var(--space-4); } }
@media (min-width: 1024px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
  .facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* postup spolupráce: linka se „kreslí“ (R4-16) */
.steps { position: relative; display: grid; }
.step { position: relative; padding: 0 0 var(--space-6) 64px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-500); color: #fff;
  font: 600 1rem/1 var(--font-head);
}
.step::after {
  content: ''; position: absolute;
  left: 19px; top: 48px; bottom: 8px; width: 2px;
  background: var(--line); transform-origin: top;
}
.step:last-child::after { display: none; }
.step h3 { padding-top: 7px; font-size: var(--fs-h3); line-height: 1.3; }
.step > .pic { display: none; }
@media (min-width: 768px) { .step > .pic { display: block; width: 48px; height: 48px; margin-bottom: var(--space-3); } .step > .pic + h3 { padding-top: 0; } }
.step p { margin-top: 6px; color: var(--slate-600); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--grid-gap); }
  /* jedna linka od středu prvního po střed posledního kroužku */
  .steps::before {
    content: ''; position: absolute; top: 19px; height: 2px;
    left: 20px; right: calc(20% - .8 * var(--grid-gap) - 20px);
    background: var(--line); transform-origin: left;
  }
  .step { padding: 60px 0 0; }
  .step::after { display: none; }
  .step h3 { padding-top: 0; }
}

/* loga odběratelů */
.clients { background: var(--navy-900); color: #fff; padding-block: 40px; border-top: 1px solid var(--line-dark); }
.clients__inner { display: grid; gap: var(--space-5); align-items: center; }
.clients__title {
  font: 700 var(--fs-eyebrow)/1.4 var(--font-head);
  letter-spacing: .08em; text-transform: uppercase; color: var(--slate-300);
}
.clients__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); align-items: center; justify-items: center; }
.clients__list img { opacity: .85; }
@media (min-width: 768px) { .clients__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .clients__inner { grid-template-columns: 3fr 9fr; gap: var(--space-6); } .clients__title { max-width: 22ch; } }

/* CTA pás */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--blue-600); color: #fff; padding-block: 40px; --focus: #fff; }
.cta-band__mark { display: none; position: absolute; z-index: -1; right: -40px; top: 50%; width: 320px; height: 320px; margin-top: -160px; color: #fff; pointer-events: none; }
.cta-band__mark svg { display: block; width: 100%; height: 100%; }
.cta-band__mark .wm-base { opacity: .10; }
.cta-band__mark .wm-shine { opacity: .18; }
@media (min-width: 768px) { .cta-band__mark { display: block; } }
@media (min-width: 768px) { .cta-band { padding-block: var(--space-8); } }
.cta-band__inner { display: grid; gap: var(--space-6); }
.cta-band h2 { font-size: var(--fs-h2); line-height: 1.2; }
.cta-band p { margin-top: var(--space-3); max-width: 60ch; font-size: var(--fs-lead); line-height: 1.55; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.cta-band__contacts { display: grid; gap: 0; }
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.contact-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.cta-band .contact-link { color: #fff; }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: 7fr 5fr; align-items: center; gap: var(--space-7); }
  .cta-band__actions { padding-left: var(--space-7); border-left: 1px solid rgba(255, 255, 255, .25); }
}

/* hlavička podstránky */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-950); color: #fff;
  padding-block: 40px;
}
@media (min-width: 768px) { .page-head { padding-block: 64px 56px; } }
.page-head--texture::before {
  content: ''; position: absolute; inset: 0 0 0 30%; z-index: -1;
  /* R11-04: výřez ilustračního AI obrázku ai-1 (nejde o fotografii z výroby) */
  background: url(../img/head-texture-ai-640.webp) 60% 40% / cover no-repeat;
  background-image: image-set(url(../img/head-texture-ai-640.avif) type("image/avif"), url(../img/head-texture-ai-640.webp) type("image/webp"));
  opacity: .14;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.page-head--kontakt::before {
  content: ''; position: absolute; inset: 0 0 0 35%; z-index: -1;
  background: url(../img/kontakt-duo-1024.webp) 30% 40% / cover no-repeat;
  background-image: image-set(url(../img/kontakt-duo-1024.avif) type("image/avif"), url(../img/kontakt-duo-1024.webp) type("image/webp"));
  opacity: .28;
  -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent);
  mask-image: linear-gradient(270deg, #000 30%, transparent);
}
/* motiv „tkaná mřížka“ z loga (R4-03) */
.page-head__mark {
  position: absolute; z-index: -1; pointer-events: none;
  width: 220px; height: 220px; right: -44px; top: 50%; margin-top: -110px;
  color: var(--blue-300); opacity: .08;
}
@media (min-width: 768px) { .page-head__mark { width: 400px; height: 400px; right: -80px; margin-top: -200px; opacity: .12; } }
.page-head h1 { font-size: var(--fs-h1); line-height: 1.15; max-width: 24ch; }
.page-head__lead { margin-top: var(--space-4); max-width: 60ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--slate-300); }
.page-head__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
@media (min-width: 480px) { .page-head__actions { flex-direction: row; flex-wrap: wrap; } }
.page-head__facts { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line-dark); }

.anchor-nav { margin-top: var(--space-6); }
.anchor-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.anchor-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  background: rgba(143, 176, 255, .12); color: #dbe5ff;
  font-weight: 500; text-decoration: none;
  transition: background-color .15s ease;
}
.anchor-nav a:hover { background: rgba(143, 176, 255, .22); color: #fff; }

/* ilustrační systém „Tkaná linka“ (R4-01): barvy jen přes --ill-*, tah 2 / nitě 1,5 / kóty 1 */
:root { --ill-line: #0b1220; --ill-muted: #9aa4b8; --ill-fill: #eef3ff; --ill-fill-2: #ffffff; --ill-accent: #3a6afd; }
.section--dark, .ill-dark {
  --ill-line: #c5cdda; --ill-muted: rgba(255, 255, 255, .35); --ill-fill: rgba(58, 106, 253, .14); --ill-fill-2: #151d2c; --ill-accent: #8fb0ff;
}
.ill, .pic { display: block; overflow: visible; }
.ill .o, .ill .m, .ill .a, .ill .k { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ill .o { stroke: var(--ill-line); stroke-width: 2; }
.ill .a { stroke: var(--ill-accent); stroke-width: 2; }
.ill .m, .ill .k { stroke: var(--ill-muted); stroke-width: 1; }
.ill .t { stroke-width: 1.5; }
.ill .F { fill: var(--ill-fill); }
.ill .F2 { fill: var(--ill-fill-2); }
.ill .FA { fill: var(--ill-accent); }
.ill .MF { fill: var(--ill-muted); }
.ill .dash { stroke-dasharray: 5 4; }
.ill .w3 { stroke-width: 3; }
.ill .dashk { stroke-dasharray: 4 4; }
.ill .side-flange { fill-opacity: .55; }
.ill .mask-line { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.ill .laser-dot {
  fill: var(--blue-500); opacity: 0;
  offset-path: path('M300 132C318 110 352 118 356 142C360 162 346 166 352 186C358 208 330 224 310 210C292 198 276 214 266 196C254 174 286 160 300 132Z');
  offset-rotate: 0deg; filter: drop-shadow(0 0 4px rgba(58, 106, 253, .6));
}

/* fotopás s panelem (R4-04, R4-08) */
.band { position: relative; isolation: isolate; background: var(--navy-950); color: #fff; }
.band__media { position: relative; overflow: hidden; overflow: clip; aspect-ratio: 16 / 10; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band--laser .band__media img { object-position: 55% 70%; }
.band--nabizime .band__media img { object-position: 62% 50%; }
.band__inner { position: relative; margin-top: -32px; padding-bottom: var(--section-pad); }
.band__panel { position: relative; padding: 28px 24px; border-radius: var(--radius-card); background: var(--navy-900); color: #fff; --focus: var(--blue-300); }
.band__panel .eyebrow { color: var(--blue-300); }
.band__panel h2 { font-size: var(--fs-h2); line-height: 1.2; }
.band__panel p:not(.eyebrow) { margin-top: var(--space-3); color: var(--text-on-dark); font-size: var(--fs-lead); line-height: 1.55; }
.band__panel .btn { margin-top: var(--space-5); }
.band__panel .link-arrow { margin-top: var(--space-3); }
.section--band-end { padding-bottom: 0; }
.section--band-end .band { margin-top: var(--section-pad); }
@media (min-width: 768px) {
  .band { display: flex; align-items: center; min-height: clamp(380px, 38vw, 540px); }
  .band--nabizime { min-height: clamp(300px, 30vw, 440px); }
  .band__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
  .band__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 6, 15, .55) 0%, rgba(0, 6, 15, .15) 60%, rgba(0, 6, 15, 0) 100%); }
  .band--laser .band__media img { object-position: 50% 62%; }
  .band__inner { margin-top: 0; padding-block: var(--space-8); }
  .band__panel { max-width: 520px; padding: 40px; }
}

/* 7 ─ Hlavička webu */
.site-header { position: sticky; top: 0; z-index: 50; color: #fff; }
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 6, 15, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-2); height: var(--header-h); }
.site-logo { display: block; flex: none; margin-right: auto; border-radius: 4px; }
.site-logo img { width: 128px; height: auto; }

.site-nav__list { display: flex; align-items: center; }
.site-nav__list a {
  position: relative;
  display: flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: rgba(255, 255, 255, .85); text-decoration: none;
  font: 500 .9375rem/1.2 var(--font-body);
  border-radius: 6px;
  transition: color .15s ease;
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: #fff; }
.site-nav__list a::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 6px;
  height: 2px; border-radius: 1px; background: var(--blue-500);
  transform: scaleX(0); transition: transform 220ms var(--ease-out);
}
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: none; }
.site-nav__extra { display: none; }

.header-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-width: 44px; min-height: 44px; border-radius: var(--radius-pill);
  color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap;
}
.header-phone:hover .header-phone__num { text-decoration: underline; text-underline-offset: 4px; }
.header-phone__num { display: none; }
.header-cta { min-height: 44px; padding-inline: 20px; font-size: .9375rem; }

.burger {
  display: none; place-items: center;
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  background: none; border: 0; border-radius: 8px; color: #fff; cursor: pointer;
}
.burger__box, .burger__box::before, .burger__box::after {
  display: block; width: 22px; height: 2px; border-radius: 1px;
  background: currentColor;
  transition: transform .2s ease, background-color .2s ease;
}
.burger__box { position: relative; }
.burger__box::before, .burger__box::after { content: ''; position: absolute; left: 0; }
.burger__box::before { top: -7px; }
.burger__box::after { top: 7px; }
.site-header.is-open .burger__box { background: transparent; }
.site-header.is-open .burger__box::before { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .burger__box::after { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .site-header__inner { gap: var(--space-4); }
  .site-logo img { width: 168px; }
  .site-nav { margin-right: var(--space-4); } /* menu → telefon ≥ 32 px */
}
/* 1024–1199 px: „Domů“ je v menu, proto užší odkazy a menší mezery (telefon jen jako ikona) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header__inner { gap: var(--space-3); }
  .site-nav { margin-right: 20px; }
  .site-nav__list a { padding-inline: 8px; }
  .site-nav__list a::after { left: 8px; right: 8px; }
}
@media (min-width: 1280px) {
  .site-nav__list a { padding-inline: 14px; }
  .site-nav__list a::after { left: 14px; right: 14px; }
  .header-phone { padding-inline: var(--space-2); }
  .header-phone__num { display: inline; }
}

/* mobilní menu (≤ 1023 px) */
@media (max-width: 1023px) {
  .header-cta { display: none; }
  .js .burger { display: grid; }
  .js .site-nav {
    display: none;
    position: fixed; inset: var(--header-h) 0 0 0;
    overflow-y: auto; overscroll-behavior: contain;
    padding: var(--space-2) var(--gutter) var(--space-6);
    background: var(--navy-950);
  }
  .site-header.is-open::before { background: var(--navy-950); }
  .site-header.is-open .site-nav { display: flex; flex-direction: column; }
  .js .site-nav__list { flex-direction: column; align-items: stretch; }
  .js .site-nav__list a {
    min-height: 56px; padding: 0 0 0 var(--space-4);
    border-bottom: 1px solid var(--line-dark); border-radius: 0;
    font: 600 1.375rem/1.2 var(--font-head); color: #fff;
  }
  .js .site-nav__list a::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 4px; height: auto; transform: scaleY(0); }
  .js .site-nav__list a[aria-current="page"]::after { transform: none; }
  .js .site-nav__list a:not([aria-current])::after { display: none; }
  .js .site-nav__extra { display: grid; gap: var(--space-2); margin-top: var(--space-6); }
  .site-nav__extra .btn { margin-bottom: var(--space-2); }
  .site-nav__extra .contact-link { color: var(--text-on-dark); }
  /* bez JavaScriptu: menu jako zalomený řádek pod logem */
  html:not(.js) .site-header__inner { flex-wrap: wrap; height: auto; padding-block: var(--space-2); }
  html:not(.js) .site-nav { order: 3; width: 100%; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; }
}

/* 8 ─ Patička */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--text-on-dark); font-size: .9375rem; border-top: 1px solid var(--line-dark); }
.site-footer__mark { display: none; position: absolute; z-index: -1; left: -40px; bottom: -40px; width: 240px; height: 240px; color: #fff; opacity: .05; pointer-events: none; }
@media (min-width: 768px) { .site-footer__mark { display: block; } }
.site-footer__grid { display: grid; gap: 40px var(--space-6); padding-block: var(--space-8) var(--space-7); }
.site-footer__brand p { margin-top: var(--space-4); max-width: 30ch; }
.site-footer .site-logo { display: inline-block; }
.site-footer .site-logo img { width: 168px; }
.footer-title {
  margin-bottom: var(--space-3);
  font: 700 var(--fs-eyebrow)/1.2 var(--font-head);
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.footer-list li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.footer-list li > .icon { color: var(--slate-300); width: 20px; height: 20px; }
.footer-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; }
.footer-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-list a .icon { color: var(--slate-300); width: 20px; height: 20px; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; color: var(--text-on-dark); text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: #fff; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-nav a[aria-current="page"] { font-weight: 600; }
.footer-ids div { display: flex; gap: var(--space-2); min-height: 32px; align-items: center; }
.footer-ids dt { color: var(--slate-300); }
.footer-ids dd { color: #fff; font-variant-numeric: tabular-nums; }
.ares-link { display: inline-block; padding-block: 6px; margin-left: 6px; font-size: var(--fs-small); color: var(--blue-600); }
.site-footer .ares-link { color: var(--blue-300); }
.facts-card .ares-link { margin-left: 0; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-5);
  padding-block: var(--space-3); border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small); color: var(--slate-300);
}
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--slate-300); }
.site-footer__bottom a:hover, .site-footer__bottom a[aria-current="page"] { color: #fff; }
@media (pointer: fine) {
  .footer-list li, .footer-list a, .footer-nav a { min-height: 36px; }
}
@media (max-width: 767px) {
  .site-footer__grid { gap: 28px; padding-block: var(--space-7) var(--space-6); }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); }
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.3fr 1.3fr 1fr 1fr; } }

/* 9 ─ Sekce a stránky */

/* Domů – hero (R11-01): ilustrační AI obrázek kepru v přirozených barvách; levá třetina je sama tmavá.
   Plocha vlevo od fotky (nad 1536 px) má barvu levého okraje zdroje #010307. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #010307; color: #fff; }
.hero__media { position: absolute; inset: 0 0 0 auto; width: min(100%, 1536px); z-index: -2; } /* ukotveno vpravo, nezvětšuje se */
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; } /* < 768: výřez na výšku */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1, 3, 7, .88) 0%, rgba(1, 3, 7, .80) 65%, rgba(1, 3, 7, .55) 100%);
}
.hero__inner { padding-block: var(--space-7) var(--space-7); }
.hero__content { max-width: 720px; }
.hero__title { font-size: var(--fs-display); line-height: 1.08; letter-spacing: -.015em; max-width: 20ch; }
.hero__lead { margin-top: 20px; max-width: 60ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-on-dark); }
.hero__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.hero__call { margin-top: var(--space-3); color: var(--text-on-dark); }
.hero__call a { display: inline-block; padding-block: 10px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.hero__facts {
  background: rgba(11, 18, 32, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23fff' stroke-opacity='.04' stroke-linecap='round'%3E%3Cpath d='M0 6h2.5M9.5 6H24M0 18h14.5M21.5 18H24M6 0v14.5M6 21.5V24M18 0v2.5M18 9.5V24'/%3E%3C/svg%3E");
  border-top: 1px solid var(--line-dark); padding-block: var(--space-6);
}
.count { display: inline-block; }
@media (min-width: 480px) { .hero__actions { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 768px) {
  .hero__inner { display: flex; align-items: center; min-height: clamp(440px, 58vh, 600px); padding-block: var(--space-8); }
  .hero__media img { object-position: 75% 40%; }
  /* 768–1023 px: text zabírá skoro celou šířku, proto zůstává svislý překryv jako na mobilu (vodorovný by pod perexem
     nechal světlou látku bez překryvu – naměřeno 0,8 : 1) */
}
@media (min-width: 1024px) {
  .hero__media img { object-position: 70% 40%; } /* hřbet záhybu v pravé polovině */
  /* lehčí překryv než dřív: levá část fotky je tmavá sama, vpravo fotka „svítí“ */
  .hero::before { background: linear-gradient(90deg, rgba(1, 3, 7, .60) 0%, rgba(1, 3, 7, .50) 45%, rgba(1, 3, 7, .30) 60%, rgba(1, 3, 7, 0) 75%); }
  .hero__content { max-width: min(720px, 62%); }
  .hero__lead { max-width: min(60ch, 80%); } /* perex končí do 50 % šířky okna, kde je fotka tmavá (≥ 12 : 1) */
}
@media (min-width: 1537px) {
  /* fotka má 1536 px: širší obrazovka ji nezvětší, levých 12 % se rozpustí do #010307 */
  .hero__media img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%); }
}

/* Domů – služby: ilustrované karty (R4-04) */
.services-grid { display: grid; gap: var(--grid-gap); }
.card--spot { padding: 0; overflow: hidden; }
.card__art {
  display: grid; place-items: center;
  height: 136px; background: var(--blue-50);
  border-bottom: 1px solid var(--line);
}
.card__art .ill { width: 160px; height: 112px; }
.card__sym { display: none; width: 40px; height: 40px; }
.service__title .pic { flex: none; width: 48px; height: 48px; }
.card--spot .card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.section-head--split { display: grid; gap: var(--space-3); max-width: none; }
.section-head--split > div { max-width: 760px; }
.section-head--split > .link-arrow { justify-self: start; }
@media (min-width: 1024px) { .section-head--split { grid-template-columns: 1fr auto; align-items: end; } }

/* Materiály – vzorníky (R4-10) */
.mat-card h3 { font-size: var(--fs-h3); }
.mat-card__swatch {
  position: relative; display: grid; place-items: center;
  height: 120px; margin: -28px -28px 24px;
  background: var(--blue-50); border-bottom: 1px solid var(--line); border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.mat-card__swatch .sw { width: 96px; height: 96px; }
/* text etikety (R9-01): etiketa je ve vzorníku (96 × 96) všitá do splývající látky vlevo dole, střed (44,9; 61,5),
   natočená −18° jako látka; vzorník je v okně na středu, 12 px od horní hrany. Na mobilu (48 px) se etiketa ani text nekreslí. */
.sw-label {
  position: absolute; left: calc(50% - 3.1px); top: 73.5px; transform: translate(-50%, -50%) rotate(-18deg);
  font: 700 .6875rem/1 var(--font-head); letter-spacing: .02em; color: var(--ink);
}

/* Použití: fotopodklad + dlaždice s ilustracemi (R4-05) */
.section--photo { position: relative; isolation: isolate; overflow: hidden; overflow: clip; } /* clip: nevytváří posuvný kontejner, takže view() timeline sleduje stránku */
.section__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; overflow: clip; }
.section__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.section__bg::after { content: ''; position: absolute; inset: 0; background: rgba(11, 18, 32, .86); }
.uses-grid { display: grid; gap: var(--space-4); }
.use {
  display: flex; align-items: center; gap: var(--space-4);
  min-height: 96px; padding: 20px;
  background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: var(--radius-card);
  color: #fff; font-size: 1.0625rem; line-height: 1.4;
  transition: background-color var(--dur-1) ease;
}
.use__art { flex: none; width: 56px; height: 56px; }
.use__art .ill { width: 100%; height: 100%; }
.use--cta { position: relative; border: 1.5px solid var(--blue-500); }
.use--cta a { color: var(--blue-300); font-weight: 600; text-decoration: none; }
.use--cta a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.use--cta .icon--arrow { width: 18px; height: 18px; margin-left: auto; color: var(--blue-300); }
.use--cta:has(a:focus-visible) { outline: 2px solid var(--blue-300); outline-offset: 3px; }
@supports selector(:has(*)) { .use--cta a:focus-visible { outline: none; } }
@media (min-width: 480px) { .uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .uses-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap) var(--space-5); }
  .use { flex-direction: column; align-items: flex-start; gap: var(--space-4); min-height: 168px; padding: 24px; }
  .use__art { width: 72px; height: 72px; }
  .use--cta .icon--arrow { position: absolute; right: 24px; bottom: 24px; }
}

/* Dělená sekce s fotkou / diagramem (R4-06, R4-09) */
.split { display: grid; gap: var(--space-7); }
.split__media { position: relative; }
.photo { overflow: hidden; border-radius: var(--radius-card); }
.photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 40% 50%; }
.split__badge {
  position: relative; z-index: 1;
  display: grid; gap: 4px; width: max-content; max-width: calc(100% - 32px);
  margin: -24px 0 0 16px; padding: 20px 24px;
  background: var(--navy-900); color: var(--text-on-dark); border-radius: var(--radius-card);
  font-size: var(--fs-small);
}
.split__badge-value { font: 600 var(--fs-stat)/1.1 var(--font-head); color: #fff; letter-spacing: -.01em; }
.value-list { display: grid; }
.value-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); padding-block: 20px; border-top: 1px solid var(--line); }
.value-list li:first-child { border-top: 0; padding-top: 0; }
.value-list .pic { width: 48px; height: 48px; }
.value-list h3 { font-size: var(--fs-h3); line-height: 1.3; }
.value-list p { margin-top: 6px; color: var(--slate-600); }
.split .section-head { margin-bottom: var(--space-5); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
  .photo img { aspect-ratio: 1; }
  .split__badge { position: absolute; right: -24px; bottom: 32px; margin: 0; }
  .diagram--sticky { position: sticky; top: 104px; }
}

/* Služby – bloky */
.service { display: grid; gap: var(--space-5); padding-block: var(--space-7); border-top: 1px solid var(--line); }
.service:first-child { padding-top: 0; border-top: 0; }
.service:last-child { padding-bottom: 0; }
.service__title { display: flex; align-items: center; gap: var(--space-4); }
.service__title .icon-tile { margin: 0; }
.service__title h2 { font-size: var(--fs-h2); line-height: 1.2; }
.service__body { margin-top: var(--space-4); }
.service__body p { font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; }
.service__body p + p { margin-top: var(--space-3); }
.service__body .link-arrow { margin-top: var(--space-2); }
/* boxy s modrým pruhem: pruh jako ::before (rovný, neohýbá se v rozích), box s běžným rámečkem */
.params, .facts-card, .tip-card, .help-box, .pull-quote { position: relative; }
.params::before, .facts-card::before, .tip-card::before, .help-box::before, .pull-quote::before {
  content: ''; position: absolute; left: 0; top: 16px; bottom: 16px;
  width: 4px; border-radius: 2px; background: var(--blue-500);
}
.params {
  align-self: start;
  padding: var(--space-5); border-radius: var(--radius-card);
  background: var(--surface); border: 1px solid var(--line);
}
.params__title {
  margin-bottom: var(--space-4);
  font: 700 var(--fs-eyebrow)/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--slate-600);
}
.params dl { display: grid; gap: var(--space-4); }
.params dt { font-size: var(--fs-small); color: var(--slate-600); }
.params dd { margin-top: 2px; font: 600 1.25rem/1.3 var(--font-head); color: var(--ink); }
.params dd .text-link { font: 500 1rem/1.4 var(--font-body); }
.params dd.params__text { font: 500 1rem/1.5 var(--font-body); }
.params ul { padding-left: 1.1rem; }
.params li::marker { color: var(--blue-500); }
.subservices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-5); }
.subservice {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--white); font-weight: 600; line-height: 1.3;
}
.subservice .pic { width: 48px; height: 48px; }
@media (min-width: 1024px) { .subservices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* bloky s diagramem, cikcak (R4-07) */
.service--fig .params { margin-top: var(--space-5); }
.diagram { margin: 0; padding: var(--space-5); background: var(--surface); border-radius: var(--radius-card); }
.diagram__art { position: relative; max-width: 480px; margin-inline: auto; }
.diagram__art .ill { width: 100%; height: auto; }
.dim {
  position: absolute; transform: translate(-50%, -50%);
  padding: 1px 6px; border-radius: 4px; background: var(--surface);
  font: 600 .8125rem/1.3 var(--font-body); color: var(--ink); white-space: nowrap;
}
.dim--right { transform: translate(0, -50%); }
.view-label { position: absolute; top: 0; transform: translateY(-30%); font-size: var(--fs-small); line-height: 1; color: var(--slate-600); } /* nad konci nití (y 20), aby se text nekřížil s první nití */
.diagram__legend { display: flex; flex-wrap: wrap; gap: 4px var(--space-5); margin: var(--space-3) 0 0; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--ink); }
p.diagram__legend { color: var(--slate-600); }
.diagram__legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 22px; height: 0; border-top: 2px solid var(--ill-line); }
.lg--accent { border-color: var(--ill-accent); }
.diagram figcaption { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--slate-600); }
.section--light .diagram, .section--light .dim { background: var(--white); }
@media (min-width: 1024px) {
  .service { grid-template-columns: 7fr 5fr; gap: var(--space-6) var(--space-8); align-items: start; }
  .service--full { grid-template-columns: 1fr; }
  .service--fig {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 0;
    grid-template-areas: "title fig" "body fig" "params fig"; grid-template-rows: auto auto 1fr;
  }
  .service--fig.service--flip { grid-template-areas: "fig title" "fig body" "fig params"; }
  .service--fig > .service__title { grid-area: title; }
  .service--fig > .diagram { grid-area: fig; align-self: start; }
  .service--fig > .service__body { grid-area: body; }
  .service--fig > .params { grid-area: params; }
  .params { padding: var(--space-6); }
}

/* Laser – hlavička s fotkou */
.page-head--split .page-head__inner { display: grid; gap: var(--space-6); align-items: center; }
.page-head__media { position: relative; isolation: isolate; }
.page-head__media .page-head__mark { right: 24px; top: -48px; margin: 0; width: 180px; height: 180px; z-index: -1; }
.page-head__media img { position: relative; }
@media (min-width: 768px) { .page-head__media .page-head__mark { width: 240px; height: 240px; top: -72px; right: 32px; margin: 0; } }
/* R8-04: v jednom sloupci (fotka pod perexem) motiv začíná až pod textem a přesahuje jen horní hranu fotky (~20 px) */
@media (max-width: 1023px) { .page-head__media .page-head__mark { top: -32px; } }
.page-head__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
/* O nás a Materiály – ilustrační fotka v dělené hlavičce (R7-04, R11-02, R11-03):
   desktop 4 : 3 do 440 px, mobil výřez 16 : 9 do výšky 220 px */
.page-head--about .page-head__media img, .page-head--materialy .page-head__media img { border: 1px solid rgba(255, 255, 255, .08); }
.page-head--about .page-head__media img { object-position: 50% 50%; }
.page-head--materialy .page-head__media img { object-position: 55% 50%; }
@media (max-width: 1023px) {
  .page-head--about .page-head__media img, .page-head--materialy .page-head__media img { aspect-ratio: 16 / 9; max-height: 220px; }
  .page-head--materialy .page-head__media img { object-position: 50% 45%; }
}
@media (min-width: 1024px) { .page-head--about .page-head__media, .page-head--materialy .page-head__media { justify-self: end; width: 100%; max-width: 440px; } }
@media (min-width: 1024px) {
  .page-head--split .page-head__inner { grid-template-columns: 7fr 5fr; gap: var(--space-7); }
}
.card--pic > .pic { width: 48px; height: 48px; margin-bottom: var(--space-4); }

/* Materiály – tabulka */
.table-block { margin-top: var(--space-8); }
.table-block h2 { font-size: var(--fs-h2); line-height: 1.2; margin-bottom: var(--space-3); }
.table-block__lead { color: var(--slate-600); margin-bottom: var(--space-5); max-width: 60ch; }
.table-hint { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); font-size: var(--fs-small); color: var(--slate-600); }
.table-hint .icon { width: 16px; height: 16px; }
.table-scroll {
  position: relative; /* drží i absolutně umístěné skryté popisky uvnitř posuvné oblasti */
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background:
    linear-gradient(to left, var(--white) 24px, rgba(255, 255, 255, 0)) right / 48px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, rgba(11, 18, 32, .16), rgba(11, 18, 32, 0)) right / 16px 100% no-repeat scroll,
    var(--white);
}
.compare { width: 100%; min-width: 680px; table-layout: fixed; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.compare th, .compare td { padding: 14px 16px; height: 52px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.compare thead th {
  border-top: 0; background: var(--surface);
  font: 600 .9375rem/1.3 var(--font-head); color: var(--ink);
}
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink); }
.compare th:first-child { position: sticky; left: 0; z-index: 1; width: 150px; background: var(--white); box-shadow: inset -1px 0 0 var(--line); }
.compare thead th:first-child { background: var(--surface); }
.compare .na { color: rgba(90, 100, 120, .6); }
@media (min-width: 768px) { .compare th:first-child { width: 210px; } }
@media (max-width: 767px) {
  .compare { width: 37.5rem; min-width: 0; font-size: .9375rem; }
  .compare th, .compare td { height: 44px; padding: 10px 12px; }
  .compare th:first-child { width: 7.5rem; font-size: var(--fs-small); line-height: 1.35; }
  .compare thead th { font-size: var(--fs-small); }
}
.compare .chip { margin-right: 6px; }
.table-note { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--slate-600); }
@media (min-width: 768px) { .table-hint { display: none; } }

.help-box {
  display: grid; gap: var(--space-5); align-items: center;
  margin-top: var(--space-8); padding: var(--space-6);
  border-radius: var(--radius-card); background: var(--white); border: 1px solid var(--line);
}
.help-box h2 { font-size: var(--fs-h3); line-height: 1.3; }
.help-box p { margin-top: var(--space-2); color: var(--slate-600); max-width: 60ch; }
.help-box .spot96, .tip-card .spot96 { display: none; width: 96px; height: 96px; }
@media (min-width: 768px) {
  .help-box { grid-template-columns: auto 1fr auto; padding: var(--space-6) var(--space-7); }
  .help-box .spot96, .tip-card .spot96 { display: block; }
  .tip-card .spot96 { margin-bottom: var(--space-3); }
}

/* O nás */
.about-grid { display: grid; gap: var(--space-7); }
.about-grid .prose > p { font-size: var(--fs-lead); line-height: 1.6; }
.facts-card {
  align-self: start;
  padding: var(--space-6); border-radius: var(--radius-card);
  background: var(--surface); border: 1px solid var(--line);
}
.facts-card h2 { font-size: var(--fs-h3); line-height: 1.3; margin-bottom: var(--space-4); }
.facts-card dl { display: grid; gap: var(--space-3); }
.facts-card div { display: grid; gap: 2px; padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.facts-card div:last-child { padding-bottom: 0; border-bottom: 0; }
.facts-card dt { font-size: var(--fs-small); color: var(--slate-600); }
.facts-card dd { font-weight: 500; }
@media (min-width: 768px) {
  .facts-card dl { gap: 0; }
  .facts-card div { grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--space-4); padding-block: 12px; }
  .facts-card div:first-child { padding-top: 0; }
  .facts-card dt { padding-top: 2px; }
}
.pull-quote { margin: var(--space-7) 0 0; padding: var(--space-2) 0 var(--space-2) var(--space-6); }
.pull-quote::before { top: 0; bottom: 0; }
.pull-quote__mark { width: 32px; height: 32px; margin-bottom: var(--space-3); color: var(--blue-300); }
.pull-quote p { font: 600 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.4 var(--font-head); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 7fr 5fr; gap: var(--space-8); align-items: start; } }

/* Ochrana soukromí */
.legal { max-width: var(--container-narrow); }
.legal h2 { margin: 40px 0 12px; font-size: var(--fs-h3); line-height: 1.3; }
.legal h2:first-child { margin-top: 0; }
.legal p { max-width: 70ch; }
.legal p + p { margin-top: var(--space-4); }
.legal ul { margin-top: var(--space-3); padding-left: 1.25rem; }
.legal li { padding-left: 4px; }
.legal li + li { margin-top: var(--space-2); }
.legal li::marker { color: var(--blue-500); }

/* Kontakt */
.quick-contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-5); }
.quick-contact .btn { padding-inline: var(--space-3); }
@media (min-width: 1024px) { .quick-contact { display: none; } }
.contact-grid { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: var(--grid-gap); } }
.contact-aside { display: grid; gap: var(--grid-gap); }
.contact-card h2, .tip-card h2, .form-card__title { font-size: var(--fs-h3); line-height: 1.3; }
.contact-card .contact-card__name { margin-top: var(--space-4); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.contact-card__phone {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: var(--space-2);
  font: 600 clamp(1.375rem, 1.2rem + .6vw, 1.625rem)/1.2 var(--font-head);
  color: var(--ink); text-decoration: none;
}
.contact-card__phone .icon { color: var(--blue-600); }
.contact-card__phone:hover { color: var(--blue-600); }
.contact-card .contact-link { color: var(--blue-600); font-weight: 600; }
.contact-card .contact-link .icon { color: var(--blue-600); }
.contact-card__block { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.contact-card address { display: flex; gap: 10px; }
.contact-card address .icon { color: var(--slate-600); margin-top: 2px; }
.contact-card__ids { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--space-4); }
.contact-card__ids dt { color: var(--slate-600); }
.tip-card { background: var(--surface); box-shadow: none; }
.section--light .tip-card { background: var(--white); }
.tip-card ul { margin-top: var(--space-3); padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.tip-card li { display: flex; gap: 10px; color: var(--ink); }
.tip-card li .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--blue-600); }

/* Mobil (< 768 px): hustší karty a seznamy, menší formy vizuálů (R2-05, R4) */
@media (max-width: 767px) {
  .card { padding: 20px; }
  /* ilustrované karty služeb: spot 56 px vlevo od nadpisu, šipka vpravo, text pod nimi */
  .card--spot { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: var(--space-3); align-items: center; padding: 16px 20px 20px; }
  .card--spot .card__art { width: 56px; height: 56px; border: 0; border-radius: 10px; }
  .card--spot .card__art .ill { display: none; }
  .card--spot .card__sym { display: block; }
  .service__title .pic { width: 40px; height: 40px; }
  .card--spot .card__body { display: contents; }
  .card--spot h3 { grid-column: 2; }
  .card--spot .card__body > p { grid-column: 1 / -1; margin-top: 8px; }
  .card--spot .card__more { grid-column: 3; grid-row: 1; margin: 0; padding: 0; }
  .card--spot .card__more-label { display: none; }
  .card--spot .card__more .icon { width: 20px; height: 20px; }
  .ill .t { stroke-width: 1.25; }

  /* piktogramové karty (Laser – materiály, O nás – hodnoty): piktogram 40 px vlevo od nadpisu */
  .card--pic { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--space-3); align-items: center; }
  .card--pic > .pic { width: 40px; height: 40px; margin: 0; }
  .card--pic > :not(.pic):not(h3) { grid-column: 1 / -1; }
  .value-list li { grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-3); padding-block: 16px; }
  .value-list .pic { width: 40px; height: 40px; }
  .value-list h3 { font-size: 1.125rem; padding-top: 8px; }
  .subservice { padding: var(--space-3) var(--space-4); gap: var(--space-2); }
  .subservice .pic { width: 40px; height: 40px; }

  /* hodnoty na O nás: jedna karta se seznamem odděleným linkami */
  .values { gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
  .values > .card { padding: 16px 20px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .values > .card + .card { border-top: 1px solid var(--line); }
  .values > .card > p { margin-top: 4px; }
  .values > .card > h3 { font-size: 1.125rem; }

  /* použití a materiály: jedna karta se seznamem odděleným linkami */
  .uses-grid { gap: 0; background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: var(--radius-card); }
  .use { min-height: 56px; padding: 8px 16px; background: none; border: 0; border-radius: 0; gap: var(--space-3); }
  .use + .use { border-top: 1px solid var(--line-dark); }
  .use__art { width: 40px; height: 40px; }
  .use--cta { margin: 8px; border: 1.5px solid var(--blue-500); border-radius: 10px; }
  .use + .use--cta { border-top: 1.5px solid var(--blue-500); }
  .mat-grid { gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
  .mat-grid > .card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--space-3); align-items: center; padding: 16px 20px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .mat-grid > .card + .card { border-top: 1px solid var(--line); }
  .mat-card__swatch { grid-row: span 2; align-self: start; width: 48px; height: 48px; margin: 0; background: none; border: 0; }
  .mat-card__swatch .sw { width: 48px; height: 48px; }
  .sw-label { display: none; }
  .mat-card__swatch .sw { --sw-detail: 0; --sw-tag: 0; } /* 48 px: role, splývající látka a pruh – bez etikety */
  .mat-grid .chips { grid-column: 2; margin-top: var(--space-2); gap: 6px; }

  /* diagramy: menší forma (max. 200 px výšky); legenda a opakující se popisek jen pro čtečky (obsah je hned pod v textu) */
  .diagram { padding: var(--space-3); }
  .diagram__art { max-width: 256px; }
  .diagram--wide .diagram__art { max-width: 360px; }
  .view-label { font-size: .75rem; transform: translateY(-50%); }
  .dim { font-size: .75rem; }
  .diagram__legend { display: none; }
  .diagram--repeat figcaption {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  /* kotvy služeb v jednom vodorovně posuvném řádku */
  .anchor-nav ul {
    flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none;
    scroll-padding-inline: 16px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .anchor-nav li { flex: none; }
  .band__media { aspect-ratio: 16 / 9; }
  .band__inner { padding-bottom: var(--space-6); }

  /* hero a patička */
  .hero__inner { padding-block: 40px var(--space-6); }
  .hero__facts { padding-block: var(--space-5); }
  .site-footer__brand p { max-width: none; margin-top: var(--space-3); }
  .site-footer .site-logo img { width: 128px; }
  .footer-list li:not(:has(a)) { min-height: 32px; }
  .clients { padding-block: 32px; }
  .anchor-nav { margin-top: var(--space-5); }
  .footer-ids { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }

  /* Služby: menší vertikální rozestupy */
  .service { padding-block: 20px; gap: var(--space-3); }
  .service__body p { font-size: var(--fs-body); }
  .params dl > div:has(.params__text) { grid-template-columns: 1fr; gap: 2px; }
  .service__title { gap: var(--space-3); }
  .service__title .icon-tile { width: 40px; height: 40px; border-radius: 8px; }
  .service__body { margin-top: 0; }
  .service--fig .params { margin-top: var(--space-2); }
  .params { padding: var(--space-4) 20px; }
  .params__title { margin-bottom: var(--space-3); }
  .params dl { gap: var(--space-3); }
  .params dl > div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--space-3); align-items: baseline; }
  .params dd { margin-top: 0; font-size: 1.0625rem; }
  .params dd + dd { grid-column: 2; }
  .subservices { margin-top: var(--space-4); gap: var(--space-2); }
  .step { padding: 0 0 16px 52px; }
  .step__num { width: 36px; height: 36px; font-size: .9375rem; }
  .step::after { left: 17px; top: 44px; }
  .step h3 { padding-top: 6px; font-size: 1.125rem; }
  .step p { margin-top: 4px; }
  .section-foot { margin-top: var(--space-3); }
  .split { gap: var(--space-6); }
}

/* 10 ─ Formulář */
.form-card { padding: 22px; }
@media (min-width: 768px) { .form-card { padding: var(--space-6) var(--space-7) var(--space-7); } }
.form-card__intro { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--slate-600); }
.form { margin-top: var(--space-5); }
.form__grid { display: grid; gap: 20px var(--space-5); }
@media (min-width: 600px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > legend { font-size: var(--fs-small); font-weight: 600; line-height: 1.4; color: var(--ink); }
.field > legend { margin-bottom: 6px; }
.req { margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: var(--surface); color: var(--slate-600); font-size: .875rem; font-weight: 600; line-height: 1.3; }
.input {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--field-border); border-radius: var(--radius-field);
  background: var(--white); color: var(--ink);
  font-size: 1rem; line-height: 1.4;
}
.input::placeholder { color: var(--slate-600); opacity: 1; }
.input:hover { border-color: var(--ink); }
.input:focus, .input:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 1px; border-color: var(--blue-600); }
textarea.input { min-height: 9.5rem; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field__hint { font-size: var(--fs-small); line-height: 1.45; color: var(--slate-600); }
.field__error { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.45; font-weight: 500; color: var(--error); }
.field__error .icon { width: 18px; height: 18px; margin-top: 1px; }
.checks { display: grid; gap: 0 var(--space-5); }
@media (min-width: 600px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; cursor: pointer; line-height: 1.35; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue-600); cursor: pointer; }
.check-hint .field__hint { display: flex; gap: 8px; align-items: flex-start; margin-top: var(--space-2); }
.check-hint .field__hint .icon { margin-top: 2px; color: var(--blue-600); }
.check-hint a { color: var(--blue-600); }
.form__actions { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.form__actions .btn { width: 100%; }
.form__privacy { font-size: var(--fs-small); color: var(--slate-600); }
.form__privacy a { color: var(--blue-600); }
@media (min-width: 600px) {
  .form__actions { grid-template-columns: auto 1fr; align-items: center; gap: var(--space-5); }
  .form__actions .btn { width: auto; }
}
.form-alert {
  display: flex; gap: var(--space-3);
  margin-top: var(--space-5); padding: var(--space-4);
  border: 1px solid var(--error); border-left-width: 4px; border-radius: var(--radius-field);
  background: var(--error-bg); color: var(--error); font-weight: 500;
}
.form-alert a { color: var(--error); font-weight: 600; }
.form-success { padding-block: var(--space-4); }
.form-success > .icon { width: 48px; height: 48px; color: var(--success); }
.form-success h2 { margin-top: var(--space-4); font-size: var(--fs-h2); line-height: 1.2; }
.form-success p { margin-top: var(--space-3); max-width: 50ch; color: var(--slate-600); font-size: var(--fs-lead); line-height: 1.55; }
.form-success a { color: var(--blue-600); font-weight: 600; white-space: nowrap; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 11 ─ Pohyb („mild“, R4-13 až R4-20)
   Bez JS, po 3 s (pojistka) a s omezeným pohybem je vše vidět, ilustrace nakreslené a čísla konečná.
   Animuje se jen transform, opacity a stroke-dashoffset; nic neběží ve smyčce. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* odhalení: hlavičky sekcí, karty, panely přes fotopásy, fotky v dělených sekcích */
  .js-reveal [data-reveal]:not(.is-in),
  .js-reveal [data-stagger] > :not(.is-in) { opacity: 0; transform: translateY(16px); }
  .js-reveal [data-reveal="panel"]:not(.is-in) { transform: translateY(24px); }
  .js-reveal [data-reveal="photo"]:not(.is-in) { transform: none; }
  .js-reveal [data-reveal="photo"] img { transition: transform 900ms var(--ease-out); }
  .js-reveal [data-reveal="photo"]:not(.is-in) img { transform: scale(1.04); }
  .js-reveal .is-in:not(.rv-done) {
    transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js-reveal [data-reveal="panel"].is-in:not(.rv-done) { transition-duration: 700ms; transition-delay: 150ms; }
  .js-reveal [data-reveal="photo"].is-in:not(.rv-done) { transition-duration: 900ms; }

  /* hero: fotka se jednou pomalu usadí (text se neanimuje) */
  .hero__media { animation: hero-settle 1600ms var(--ease-out) both; }
  @keyframes hero-settle { from { transform: scale(1.06); } }

  /* motiv v hlavičkách podstránek: jednou při načtení */
  .page-head__mark { animation: mark-in 1600ms var(--ease-out) both; }
  @keyframes mark-in { from { opacity: 0; transform: translateX(16px); } }

  /* postup: linka se kreslí, kroužky naskakují, jak k nim dorazí */
  .js-reveal .steps[data-anim]::before { transform: scaleX(0); }
  .js-reveal .steps[data-anim] .step::after { transform: scaleY(0); }
  .js-reveal .steps[data-anim] .step__num { opacity: 0; transform: scale(.6); }
  .js-reveal .steps.is-in::before { transform: none; transition: transform var(--dur-4) var(--ease-in-out); }
  .js-reveal .steps.is-in .step::after { transform: none; transition: transform 360ms var(--ease-in-out) calc(240ms + var(--i, 0) * 180ms); }
  .js-reveal .steps.is-in .step__num {
    opacity: 1; transform: none;
    transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); transition-delay: calc(100ms + var(--i, 0) * 180ms);
  }

  /* vzorníky materiálů: při odhalení karty se nejdřív ukáže role, pak se látka jednou „odvine“ dolů a naskočí etiketa;
     zpoždění podle pořadí karty (80 ms jako stagger), jen transform/clip-path/opacity, nic ve smyčce */
  .js-reveal .mat-card:not(.is-in) .sw { clip-path: inset(0 0 56% 0); }
  .js-reveal .mat-card:not(.is-in) .sw-label { opacity: 0; }
  .js-reveal .mat-card.is-in .sw { animation: sw-unroll 1100ms var(--ease-out) calc(220ms + var(--n, 0) * 80ms) both; }
  .js-reveal .mat-card.is-in .sw-label { animation: sw-tag 400ms var(--ease-out) calc(900ms + var(--n, 0) * 80ms) both; }
  .mat-card:nth-child(2) { --n: 1; }
  .mat-card:nth-child(3) { --n: 2; }
  .mat-card:nth-child(4) { --n: 3; }
  @keyframes sw-unroll {
    0% { clip-path: inset(0 0 56% 0); transform: translateY(-3px); }
    100% { clip-path: inset(0 0 0 0); transform: none; }
  }
  @keyframes sw-tag { from { opacity: 0; } }

  /* „4 materiály“ v hero: zkratky naskakují s odpočtem (třída is-ticking jen z JS, bez JS je vše vidět) */
  .fact.is-ticking .mat-tick { display: inline-block; transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
  .fact.is-ticking .mat-tick:not(.is-on) { opacity: 0; transform: translateY(6px); }

  /* loga odběratelů: jen průhlednost, rozestup 80 ms */
  .js-reveal .clients__list[data-anim]:not(.is-in) img { opacity: 0; }
  .js-reveal .clients__list.is-in img { transition: opacity 500ms ease; }
  .js-reveal .clients__list.is-in li:nth-child(2) img { transition-delay: 80ms; }
  .js-reveal .clients__list.is-in li:nth-child(3) img { transition-delay: 160ms; }
  .js-reveal .clients__list.is-in li:nth-child(4) img { transition-delay: 240ms; }

  /* CTA pás: jednorázový lesk přes nitě motivu */
  .js-reveal .cta-band.is-in .shine-bar { animation: shine 2400ms var(--ease-in-out) both; }
  @keyframes shine { to { transform: translateX(290px); } }

  /* parallax fotopásů a podkladu Použití: CSS scroll-driven, bez JS; jen kde to prohlížeč umí a od 768 px */
  @supports (animation-timeline: view()) {
    @media (min-width: 768px) {
      .band__media img, .section__bg img { animation: band-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
      @keyframes band-drift { from { transform: translateY(-5%) scale(1.14); } to { transform: translateY(5%) scale(1.14); } }
    }
  }
}

/* kreslení ilustrací tahem (od 768 px, kde se kreslí v měřítku ~1 : 1) */
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .js-draw .ill .draw { vector-effect: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js-draw .ill .o.draw, .js-draw .ill .a.draw { stroke-width: calc(2 * var(--k, 1)); }
  .js-draw .ill .t.draw { stroke-width: calc(1.5 * var(--k, 1)); }
  .js-draw .ill .m.draw, .js-draw .ill .k.draw { stroke-width: calc(1 * var(--k, 1)); }
  .js-draw .ill .w3.draw { stroke-width: calc(3 * var(--k, 1)); }
  .js-draw .ill .fill { opacity: 0; }
  .js-draw .ill.is-drawn .draw { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur-4) var(--ease-out); }
  .js-draw .ill.is-drawn .draw.acc { transition-delay: 300ms; }
  .js-draw .ill.is-drawn .fill { opacity: 1; transition: opacity 400ms ease 600ms; }
  .js-draw .ill.is-drawn .laser-dot { animation: laser-run 2400ms var(--ease-in-out) 1300ms both; }
  @keyframes laser-run {
    0% { offset-distance: 0%; opacity: 0; }
    6%, 92% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
  }
}

/* mikrointerakce (jen myš); pohyb jen bez omezeného pohybu, barvy vždy */
@media (hover: hover) and (pointer: fine) {
  .text-link { transition: text-decoration-thickness var(--dur-1) ease, text-underline-offset var(--dur-1) ease; }
  .text-link:hover { text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .use:hover { background: #1b2437; }
  .compare tbody tr, .compare tbody th { transition: background-color var(--dur-1) ease; }
  .compare tbody tr:hover, .compare tbody tr:hover th { background: var(--surface); }
  .card--link:hover .card__art .ill { --ill-accent: var(--blue-600); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn .icon:last-child, .link-arrow .icon, .card__more .icon, .use--cta .icon--arrow, .card__art .ill { transition: transform 200ms var(--ease-out); }
  .btn:hover .icon:last-child { transform: translateX(3px); }
  .btn:active { transform: scale(.98); transition: transform 80ms ease; }
  .link-arrow:hover .icon { transform: translateX(4px); }
  .link-arrow[href^="#"]:hover .icon { transform: translateY(3px); }
  .card--link:hover { transform: translateY(-3px); }
  .card--link:hover .card__more .icon, .use--cta:hover .icon--arrow { transform: translateX(4px); }
  .card--link:hover .card__art .ill { transform: translateY(-2px); }
  .header-phone:hover .icon { animation: phone-swing 400ms ease; }
  @keyframes phone-swing { 25% { transform: rotate(8deg); } 75% { transform: rotate(-8deg); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* 12 ─ Tisk (Materiály, Kontakt a další) */
@media print {
  @page { margin: 16mm; }
  *, *::before, *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  .site-header, .site-footer, .skip-link, .cta-band, .hero__media, .quick-contact, .form-card, .table-hint, .anchor-nav, .page-head__media, .help-box .btn,
  .band, .section__bg, .page-head__mark, .card__art, .split__media, .spot96 { display: none !important; }
  body { font-size: 11pt; }
  .section, .page-head, .hero__inner { padding-block: 8mm !important; }
  .page-head::before, .hero::before { display: none !important; }
  .card, .params, .facts-card, .tip-card, .table-scroll, .help-box { border: 1px solid #999 !important; }
  .table-scroll { overflow: visible; }
  .compare { min-width: 0; }
  .compare th:first-child { position: static; }
  .chip { border: 1px solid #999; }
  .card--link:hover { transform: none; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: none; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .contact-grid, .about-grid, .grid { display: block; }
  .contact-grid > *, .grid > * { margin-bottom: 6mm; break-inside: avoid; }
}
