/* ==========================================================================
   ECOCLEAN+  ·  VERZE A „Čistá linie“
   Světlý, vzdušný, editorial design. Fotky v hlavní roli, klidná typografie.
   --------------------------------------------------------------------------
   1  Tokeny            9  Katalog technologií      17 Kontakt & formulář
   2  Reset & základ    10 Srovnání technologií     18 Footer & mobilní lišta
   3  Typografie        11 Okruh vody (schéma)      19 Podstránky – hero & fakta
   4  Layout            12 (volné)                  20 Podstránky – obsah
   5  Tlačítka & štítky 13 Proč my / postup         21 Galerie & lightbox
   6  Header & menu     14 Showcase / duo karty     22 Video
   7  Hero (úvod)       15 FAQ                      23 Animace
   8  Značky & segmenty 16 CTA pásy                 24 Responzivita
   ========================================================================== */

/* 0 ------------------------------------------------------------ PÍSMO */
/* Manrope je vložené přímo do CSS (funguje i při otevření souboru z disku, žádné předávání IP adres Googlu). */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-latin-ext.woff2?v=6d36d5bd) format('woff2'); 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: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-latin.woff2?v=938c6e80) 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; }

/* 1 ---------------------------------------------------------------- TOKENY */
:root {
  --ink: #0B1E2B;
  --ink-2: #2B4152;
  --muted: #5D7282;
  --line: #E2E9ED;
  --line-2: #D0DCE3;
  --bg: #FFFFFF;
  --mist: #F3F7F8;
  --mist-2: #E8F0F2;
  --navy: #0A2231;
  --navy-2: #0F2F44;

  --blue: #0A5C92;
  --blue-600: #0E73B8;
  --blue-300: #8CC6EA;
  --blue-100: #E3F0F9;
  --teal: #16B8A6;
  --teal-700: #0B7F72;
  --teal-300: #7FDDD1;
  --teal-100: #DCF4EF;
  --teal-ink: #08665C;      /* audit: D24 – tyrkysový text na světlém tyrkysovém podkladu (5,9:1) */
  --field-line: #8193A0;    /* audit: D50 – rámeček polí formuláře (3,2:1 vůči bílé) */

  --grad: linear-gradient(115deg, #0A5C92 0%, #0E73B8 45%, #16B8A6 100%);
  --grad-deep: linear-gradient(115deg, #0A5C92 0%, #0E73B8 45%, #0B7F72 100%);   /* audit: D24 – pás s bílým textem */
  --grad-soft: linear-gradient(135deg, #E3F0F9 0%, #DCF4EF 100%);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gut: clamp(18px, 4.5vw, 40px);
  --sec: clamp(64px, 9vw, 128px);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --sh-1: 0 1px 2px rgba(11, 30, 43, .05), 0 2px 8px rgba(11, 30, 43, .04);
  --sh-2: 0 10px 30px -12px rgba(11, 30, 43, .16), 0 2px 6px rgba(11, 30, 43, .05);
  --sh-3: 0 30px 70px -28px rgba(11, 30, 43, .32), 0 8px 20px -12px rgba(11, 30, 43, .12);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t: .3s var(--ease);
}

/* 2 ----------------------------------------------------------- RESET/ZÁKLAD */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; border-radius: 6px; }   /* audit: D24 – na světlém pozadí tmavší tyrkys (3:1) */
:is(.sec--navy, .prefoot, .footer, .showcase, .loop__panel, .side-card--dark, .seg--cta, .lightbox) :focus-visible { outline-color: var(--teal-300); }
.cta-band :focus-visible { outline-color: #fff; box-shadow: 0 0 0 7px var(--navy); }   /* audit: D24 – dvoubarevný prstenec na přechodu */
::selection { background: var(--teal-300); color: var(--ink); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 3 --------------------------------------------------------------- TYPO */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.95rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -.02em; }
h4 { font-size: 1.08rem; letter-spacing: -.015em; }
p { color: var(--ink-2); }
strong, b { font-weight: 700; color: var(--ink); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.24rem); color: var(--muted); line-height: 1.7; max-width: 62ch; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.hl { color: var(--teal-700); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .28em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 2, 80 2, 110 6 S 170 11, 198 4' fill='none' stroke='%2316B8A6' stroke-width='4' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--teal); }
.sec--navy .eyebrow { color: var(--teal-300); }
.sec--navy .eyebrow::before { background: var(--teal-300); }

/* 4 ---------------------------------------------------------------- LAYOUT */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.sec--mist { background: var(--mist); }
.sec--grad { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--navy h2, .sec--navy h3, .sec--navy h4 { color: #fff; }
.sec--navy p { color: rgba(255,255,255,.74); }
.sec--navy .lead { color: rgba(255,255,255,.72); }
/* audit: D11 – tučný text v tmavých blocích (globální strong/b { color: ink } ho na navy zneviditelnil) */
:is(.sec--navy, .showcase, .loop__panel, .side-card--dark, .seg--cta, .prefoot, .footer, .cta-band) :is(strong, b) { color: #fff; }

.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.head h2 { margin: 16px 0 16px; }
.head--center { text-align: center; margin-inline: auto; }
.head--center .lead { margin-inline: auto; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.head--row > div { max-width: 700px; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* 5 ------------------------------------------------------- TLAČÍTKA/ŠTÍTKY */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em; line-height: 1;
  padding: 16px 26px; border-radius: 999px; white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background-color var(--t), color var(--t);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 92, 146, .7); }
.btn--primary:hover { background: #084F7E; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(10, 92, 146, .75); }
.btn--teal { background: var(--teal); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(22, 184, 166, .8); }   /* audit: D24 – tmavý text na tyrkysu 6,8:1 (bílý měl 2,5:1) */
.btn--teal:hover { background: #12A393; transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--outline-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: 12px 20px; font-size: .92rem; }
.btn--lg { padding: 19px 32px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.pill--teal { background: var(--teal-100); color: var(--teal-ink); box-shadow: none; }
.pill--blue { background: var(--blue-100); color: var(--blue); box-shadow: none; }
.pill--dark { background: rgba(11,30,43,.72); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* pilulka jako odkaz na část stránky (šipka dolů) */
a.pill--link { gap: 6px; color: var(--blue); transition: box-shadow var(--t), background var(--t); }
a.pill--link svg { width: 13px; height: 13px; flex: none; }
a.pill--link:hover, a.pill--link:focus-visible { background: var(--blue-100); box-shadow: inset 0 0 0 1px var(--blue); }
.spec th a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.spec th a:hover { color: var(--blue); text-decoration-color: currentColor; }
.chip { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--mist); padding: 5px 11px; border-radius: 8px; }

.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--grad-soft); color: var(--blue); }
.ico svg { width: 24px; height: 24px; }
.check { display: grid; gap: 12px; }
.check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B7F72' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.sec--navy .check li { color: rgba(255,255,255,.8); }
.sec--navy .check li::before { background-color: rgba(22,184,166,.2); }

/* 6 ------------------------------------------------------- HEADER & MENU */
.topbar { background: var(--navy); color: rgba(255,255,255,.72); font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color var(--t); }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--teal-300); }

.header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t); }
/* Rozmazané pozadí je v pseudo-elementu: backdrop-filter přímo na .header by z něj udělal
   referenční rámec pro position:fixed a mobilní menu by se ořízlo na výšku hlavičky. */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(11,30,43,.35); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; color: var(--ink); flex: none; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo span span { color: var(--teal); }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: color var(--t), background-color var(--t); white-space: nowrap; }
.nav__link:hover { color: var(--blue); background: var(--mist); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--teal); }
.has-sub > .nav__link::before { order: 2; content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .5; }
.nav__toggle { display: none; }
.sub {
  position: absolute; top: calc(100% + 8px); left: -12px; width: 380px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-sub:hover .sub, .has-sub.is-open .sub, .sub:focus-within { opacity: 1; visibility: visible; transform: none; }   /* audit: N34 – z klávesnice otevírá podmenu tlačítko (.is-open), ne fokus na položce */
.sub__item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; transition: background-color var(--t); }
.sub__item:hover, .sub__item.is-active { background: var(--mist); }
.sub__item img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: var(--mist-2); }
.sub__item b { display: block; font-size: .95rem; letter-spacing: -.01em; }
.sub__item small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.sub__all { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--grad-soft); font-weight: 700; font-size: .9rem; color: var(--blue); }
.sub__all svg { width: 18px; height: 18px; }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header__tel { display: none; }
.nav__cta { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; background: var(--mist); }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--t), top var(--t), opacity var(--t); content: ""; }
.burger span { top: 22px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* 7 ------------------------------------------------------------- HERO */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 100px); overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,184,166,.16), transparent 62%); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 26px; }
.kicker__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-100); display: grid; place-items: center; }
.kicker__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,184,166,.55); } 70% { box-shadow: 0 0 0 9px rgba(22,184,166,0); } 100% { box-shadow: 0 0 0 0 rgba(22,184,166,0); } }
.hero h1 { margin-bottom: 24px; }
.hero__lead { font-size: clamp(1.08rem, 1.45vw, 1.26rem); color: var(--muted); max-width: 56ch; line-height: 1.7; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero__facts svg { width: 22px; height: 22px; color: var(--teal); flex: none; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.02; }
.hv { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--sh-3); background: var(--mist-2); }
.hv img { width: 100%; height: 100%; object-fit: cover; }
.hv--main { inset: 0 12% 16% 0; }
.hv--second { width: 50%; aspect-ratio: 4 / 3; right: 0; bottom: 0; border: 6px solid #fff; border-radius: 26px; }
.hv-card {
  position: absolute; z-index: 3; background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-radius: 18px; box-shadow: var(--sh-3); padding: 16px 18px;
}
.hv-card--water { left: -28px; bottom: 26%; width: 236px; }
.hv-card--water .lbl { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hv-card--water .val { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; margin: 4px 0 10px; }
.hv-card--water .val small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.meter { height: 8px; border-radius: 8px; background: var(--mist-2); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.6s var(--ease) .4s; }
.in .meter span, .meter.in span { width: var(--w, 80%); }
.hv-card--year { top: 7%; right: 3%; display: flex; align-items: center; gap: 12px; }
.hv-card--year .y { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.hv-card--year p { font-size: .8rem; line-height: 1.35; color: var(--ink-2); font-weight: 600; }

/* 8 ------------------------------------------------- ZNAČKY & SEGMENTY */
.brands { border-block: 1px solid var(--line); background: #fff; }
.brands__in { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); min-height: 92px; flex-wrap: wrap; justify-content: space-between; padding-block: 18px; }
.brands__lbl { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; max-width: 180px; line-height: 1.4; }
.brands__list { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 2.6vw, 40px); }
.brands__list li { font-weight: 800; font-size: clamp(1rem, 1.5vw, 1.25rem); letter-spacing: .02em; color: var(--muted); transition: color var(--t); }
.brands__list li:hover { color: var(--ink); }

.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
.seg {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.seg:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.seg h3 { font-size: 1.2rem; margin-top: 6px; }
.seg p { font-size: .95rem; color: var(--muted); }
.seg__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.seg__links a { font-size: .82rem; font-weight: 700; color: var(--blue); background: var(--blue-100); padding: 7px 12px; border-radius: 999px; transition: background-color var(--t), color var(--t); }
.seg__links a:hover { background: var(--blue); color: #fff; }
.seg--cta { background: var(--navy); border-color: var(--navy); color: #fff; justify-content: space-between; overflow: hidden; }
.seg--cta::after { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; bottom: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(22,184,166,.45), transparent 65%); }
.seg--cta h3 { color: #fff; font-size: 1.35rem; }
.seg--cta p { color: rgba(255,255,255,.72); }
.seg--cta .btn { align-self: flex-start; position: relative; z-index: 1; }

/* 9 ------------------------------------------------- KATALOG TECHNOLOGIÍ */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.tab { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink-2); transition: background-color var(--t), color var(--t), box-shadow var(--t); }
.tab:hover { color: var(--blue); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }   /* audit: D49 – filtr jako přepínače (aria-pressed) */
.tab .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--mist-2); font-size: .72rem; color: var(--ink-2); }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 22px); }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.pcard[hidden] { display: none; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__tag { position: absolute; left: 12px; top: 12px; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.pcard__body h3 { font-size: 1.1rem; }
.pcard__body p { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.pcard__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pcard__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--blue); }
.pcard__more svg { width: 18px; height: 18px; transition: transform var(--t); }
.pcard:hover .pcard__more svg { transform: translateX(5px); }
.pcard--wide { grid-column: span 2; }
.pcard--wide .pcard__media { aspect-ratio: 16 / 9; }
/* obsah: produktové fotky výrobce (AD Produzione) na bílém pozadí – celé, bez ořezu */
.pcard__media--prod { aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.pcard__media--prod img { object-fit: contain; padding: 14px 12px 0; }
/* obsah: textové odkazy v kartách a poznámkách (AD Produzione, R+M Suttner) */
:is(.feat, .variant, .note, .why__item, .factor) p a:not(.btn), .check li a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* obsah: tabulka řad vysavačů bez řádku tfoot – karty pod 820 px uzavřít spodním okrajem */
@media (max-width: 820px) { .compare:not(:has(tfoot)) tbody tr:last-child td { border-bottom-width: 1px; border-radius: 0 0 var(--r-lg) var(--r-lg); } }

/* 10 ------------------------------------------------ SROVNÁNÍ TECHNOLOGIÍ */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); -webkit-overflow-scrolling: touch; }
.compare { min-width: 860px; font-size: .94rem; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--mist); font-size: .98rem; letter-spacing: -.01em; }
.compare thead th a { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.compare thead th a small { font-weight: 600; font-size: .78rem; color: var(--blue); }
.compare thead th:first-child { width: 17%; }
.compare tbody th { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.compare td { color: var(--ink-2); }
.compare td b { color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: #FAFCFD; }
.compare tfoot th, .compare tfoot td { padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 0; }   /* audit: N16 – řádek „Chci nabídku“ */

/* 11 ---------------------------------------------------- OKRUH VODY */
.loop { display: grid; gap: clamp(24px, 3vw, 36px); }
.loop__diagram { position: relative; background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); padding: clamp(14px, 3vw, 34px); box-shadow: var(--sh-1); }
.loop__svg { width: 100%; height: auto; overflow: visible; }
.loop__svg .pipe { fill: none; stroke: var(--mist-2); stroke-width: 14; stroke-linecap: round; }
.loop__svg .flow { fill: none; stroke: url(#flowGrad); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 16; animation: flow 1.1s linear infinite; }
.loop__svg .flow--back { stroke: var(--teal); stroke-dasharray: 2 18; animation-duration: 1.5s; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.loop__svg .node circle.bg { fill: #fff; stroke: var(--line-2); stroke-width: 2; transition: fill var(--t), stroke var(--t); }
.loop__svg .node circle.ring { fill: none; stroke: var(--teal); stroke-width: 2; opacity: 0; transform-origin: center; transform-box: fill-box; }
.loop__svg .node .ic { color: var(--blue); transition: color var(--t); }
.loop__svg .node text { font-family: var(--font); font-size: 17px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.loop__svg .node text.sm { font-size: 13.5px; font-weight: 600; fill: var(--muted); }
.loop__svg .node { cursor: pointer; }
.loop__svg .node.is-active circle.bg { fill: var(--blue); stroke: var(--blue); }
.loop__svg .node.is-active .ic { color: #fff; }
.loop__svg .node.is-active circle.ring { opacity: .5; animation: ring 2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .55; } to { transform: scale(1.35); opacity: 0; } }
.loop__svg .back-label { font-family: var(--font); font-size: 15px; font-weight: 700; fill: var(--teal-700); text-anchor: middle; }
.loop__svg .back-pill { fill: var(--teal-100); }

.loop__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.loop__step { text-align: left; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color var(--t), box-shadow var(--t), background-color var(--t); }
.loop__step small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.loop__step b { display: block; font-size: 1rem; margin-top: 4px; }
.loop__step[aria-selected="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.loop__step[aria-selected="true"] small { color: var(--blue); }
.loop__panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-xl); background: var(--navy); color: #fff; }
.loop__panel[hidden] { display: none; }
.loop__panel h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 10px 0 12px; }
.loop__panel p { color: rgba(255,255,255,.74); }
.loop__panel .eyebrow { color: var(--teal-300); }
.loop__panel .eyebrow::before { background: var(--teal-300); }
.loop__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.loop__kpi { padding: 18px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.loop__kpi b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.loop__kpi span { font-size: .84rem; color: rgba(255,255,255,.66); }
.loop__panel .link-arrow { color: var(--teal-300); margin-top: 18px; }

/* 13 ----------------------------------------------------- PROČ MY / POSTUP */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.why__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--sh-3); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__badge { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: var(--sh-2); }
.why__badge .y { font-size: 2.4rem; font-weight: 800; letter-spacing: -.05em; color: var(--blue); line-height: 1; }
.why__badge p { font-size: .9rem; line-height: 1.45; }
.why__list { display: grid; gap: 0; margin-top: 8px; }
.why__item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item .n { font-size: .85rem; font-weight: 800; color: var(--teal-700); letter-spacing: .06em; padding-top: 4px; }
.why__item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.why__item p { font-size: .96rem; color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 34px; right: calc((100% - 56px) / 5 - 34px); height: 2px;   /* audit: D54b – od středu kroku 1 ke středu kroku 5 */ background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.pstep { position: relative; text-align: left; padding: 0 6px; }
.pstep__n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: var(--blue); box-shadow: var(--sh-1); margin-bottom: 20px; transition: background-color var(--t), color var(--t), transform var(--t); }
.pstep:hover .pstep__n { background: var(--blue); color: #fff; transform: translateY(-3px); }
.pstep h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pstep p { font-size: .9rem; color: var(--muted); }

/* 14 ------------------------------------------------ SHOWCASE / DUO */
.showcase { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: #fff; box-shadow: var(--sh-3); }
.showcase__media { position: relative; min-height: 420px; }
.showcase__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase__body { padding: clamp(28px, 4.6vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.showcase__body h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.showcase__body p { color: rgba(255,255,255,.74); }
.hours { display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.72); }
.hours b { color: #fff; font-variant-numeric: tabular-nums; }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.duo__card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow var(--t), transform var(--t); }
.duo__card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.duo__card h3 { margin-bottom: 8px; }
.duo__card p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.duo__mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: .9rem; letter-spacing: .04em; }
.duo__mark svg { width: 30px; height: 30px; }
.duo__mark--kiehl { background: #0B1E2B; color: #fff; }
.duo__mark--parts { background: var(--teal-100); color: var(--teal-700); }

/* 15 --------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow var(--t), border-color var(--t); }
.faq__item[open] { border-color: var(--line-2); box-shadow: var(--sh-2); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-weight: 700; font-size: 1.04rem; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%230A5C92' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform var(--t), background-color var(--t); }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--blue-100); }
.faq__a { padding: 0 24px 22px; color: var(--ink-2); }
.faq__a p + p { margin-top: 10px; }
.faq__a a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 16 ---------------------------------------------------------- CTA PÁSY */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); background: var(--grad-deep); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 28px 40px; align-items: center; box-shadow: 0 30px 60px -30px rgba(10,92,146,.7); }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 10px; }
.cta-band p { color: #fff; max-width: 58ch; }   /* audit: D24 – bílý text na ztmaveném přechodu ≥ 4,9:1 */
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 17 ------------------------------------------------ KONTAKT & FORMULÁŘ */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.cline { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color var(--t), box-shadow var(--t); }
a.cline:hover { border-color: var(--blue-300); box-shadow: var(--sh-2); }
.cline small { display: block; font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cline b { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.cline span:not(.ico) { line-height: 1.45; }
.clines { display: grid; gap: 10px; }
.next-steps { margin-top: 24px; padding: 22px; border-radius: var(--r-lg); background: var(--mist); }
.next-steps h3 { font-size: 1rem; margin-bottom: 14px; }
.next-steps ol { display: grid; gap: 12px; counter-reset: ns; }
.next-steps li { display: flex; gap: 12px; font-size: .92rem; color: var(--ink-2); counter-increment: ns; }
.next-steps li::before { content: counter(ns); flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--blue); }

.form { padding: clamp(24px, 3.6vw, 44px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); }
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.field label i { font-style: normal; color: var(--teal-700); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--field-line); background: var(--mist); font-size: .98rem; transition: border-color var(--t), background-color var(--t), box-shadow var(--t); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal-700); outline-offset: 1px; border-color: var(--teal-700); background: #fff; }   /* audit: D24 – viditelný fokus polí */
.field ::placeholder { color: var(--muted); opacity: 1; }   /* audit: D50 */
.field.is-invalid input, .field.is-invalid select { border-color: #D2544B; background: #FFF7F6; }
.field .err { display: none; font-size: .8rem; color: #B43E36; margin-top: 6px; font-weight: 600; }
.field.is-invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form__ok { display: none; gap: 12px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--teal-100); color: var(--teal-ink); font-weight: 700; margin-bottom: 18px; }
.form__ok svg { width: 22px; height: 22px; flex: none; }
.form__ok.show { display: flex; }
.map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--mist-2); min-height: 360px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* 18 ------------------------------------------------- FOOTER & MOBILNÍ LIŠTA */
.prefoot { background: var(--navy); color: #fff; padding: clamp(48px, 6vw, 80px) 0 0; }
.prefoot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255,255,255,.1); }
.prefoot h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 18ch; }
.prefoot h2 span { color: var(--teal-300); }
.prefoot__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer { background: var(--navy); color: rgba(255,255,255,.66); padding: clamp(40px, 5vw, 64px) 0 0; font-size: .94rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px; padding-bottom: 44px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer__about { max-width: 36ch; line-height: 1.7; }
.footer p { color: inherit; }   /* audit: D12 – popis firmy dědí světlou barvu patičky (dřív 1,5:1) */
.footer__h { color: #fff; font-size: .95rem; letter-spacing: -.015em; margin-bottom: 16px; }   /* audit: D49 – nadpisy sloupců jsou h2 (za h2 v prefoot), vzhled zůstal jako dřív u h4 */
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color var(--t); }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal-300); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background-color var(--t), transform var(--t); }
.socials a:hover { background: var(--teal-700); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: rgba(255,255,255,.5); }

.mbar { display: none; }

/* 19 ------------------------------------------ PODSTRÁNKY – HERO & FAKTA */
.phero { position: relative; padding: clamp(28px, 4vw, 52px) 0 clamp(48px, 6vw, 84px); background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); overflow: hidden; }
.phero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(22,184,166,.14), transparent 62%); pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: clamp(20px, 3vw, 36px); position: relative; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { opacity: .5; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.phero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 18px 0 20px; }
.phero__lead { font-size: clamp(1.04rem, 1.35vw, 1.18rem); color: var(--muted); line-height: 1.7; max-width: 58ch; }
.phero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.phero__media { position: relative; }
.phero__photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--sh-3); background: var(--mist-2); }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* produktový snímek výrobce na bílém pozadí – celý, neořezaný */
.phero__photo--prod, .media--prod { background: #fff; }
.phero__photo--prod img, .media--prod img { object-fit: contain; padding: 28px; }
.phero__float { position: absolute; left: -24px; bottom: -24px; display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: var(--sh-3); max-width: 300px; }
.phero__float b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1.1; }
.phero__float span { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; }

.facts { position: relative; z-index: 2; margin-top: clamp(-40px, -3vw, -24px); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-2); overflow: hidden; }
.fact { padding: clamp(18px, 2.4vw, 28px); border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact b em { font-style: normal; color: var(--teal-700); }
.fact span { display: block; margin-top: 6px; font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* 20 ---------------------------------------------- PODSTRÁNKY – OBSAH */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.sticky { position: sticky; top: 110px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 14px; }
.prose h3 { margin-top: 30px; }
.prose p { color: var(--ink-2); }
.prose .check { margin-top: 22px; }
.prose a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.spec { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--sh-1); }
.spec__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: var(--mist); border-bottom: 1px solid var(--line); }
.spec__head h3 { font-size: 1.02rem; }
.spec table { font-size: .93rem; }
.spec th, .spec td { padding: 13px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 46%; font-weight: 500; color: var(--muted); }
.spec td { font-weight: 700; color: var(--ink); }
.spec__foot { padding: 16px 22px; border-top: 1px solid var(--line); background: #FBFCFD; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
.feat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feat { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.feat .ico { margin-bottom: 18px; }
.feat h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feat p { font-size: .94rem; color: var(--muted); }
.feat .big { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; color: var(--blue); margin-bottom: 4px; line-height: 1.15; }
.sec--mist .feat { border-color: transparent; box-shadow: var(--sh-1); }
.feat .check { gap: 9px; margin-top: 14px; font-size: .9rem; line-height: 1.5; }

/* rozměrová tabulka (ISTOBAL M’WASH3) – čísla zarovnaná vpravo, na úzkém displeji vodorovný posun s pevným prvním sloupcem */
.dims-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); -webkit-overflow-scrolling: touch; }
.dims { min-width: 700px; font-size: .94rem; font-variant-numeric: tabular-nums; }
.dims th, .dims td { padding: 13px 18px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dims thead th { background: var(--mist); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: normal; vertical-align: bottom; line-height: 1.35; }
.dims th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; background: #fff; box-shadow: inset -1px 0 0 var(--line); }
.dims thead th:first-child { background: var(--mist); }
.dims tbody th { font-weight: 800; color: var(--ink); }
.dims td { color: var(--ink-2); }
.dims tbody tr:last-child > * { border-bottom: 0; }
.dims-note { margin-top: 14px; font-size: .86rem; color: var(--muted); }
.dims-note p + p { margin-top: 4px; }
.dims-hint { display: none; margin-bottom: 8px; font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .dims-hint { display: block; } }

.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: pg; }
.program { position: relative; padding: 20px 20px 20px 62px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); counter-increment: pg; transition: border-color var(--t), box-shadow var(--t); }
.program::before { content: counter(pg, decimal-leading-zero); position: absolute; left: 18px; top: 20px; font-weight: 800; font-size: .84rem; color: var(--teal-700); }
.program:hover { border-color: var(--blue-300); box-shadow: var(--sh-1); }
.program h3 { font-size: 1rem; margin-bottom: 4px; }
.program p { font-size: .86rem; color: var(--muted); line-height: 1.5; }

.variants { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.variant { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.variant--hl { border: 2px solid var(--blue); box-shadow: var(--sh-2); }
.variant__tag { position: absolute; top: -13px; left: 28px; }
.variant__img { margin: 0 0 4px; height: 220px; display: flex; align-items: center; justify-content: center; }   /* produktový snímek výrobce v kartě varianty */
.variant__img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.variant h3 { font-size: 1.35rem; }
.variant .spec-mini { display: grid; gap: 8px; margin-top: 4px; }
.variant .spec-mini div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: .92rem; }
.variant .spec-mini span { color: var(--muted); }
.variant .spec-mini b { text-align: right; }

.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.usecase { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.usecase .ico { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }
.usecase .ico svg { width: 21px; height: 21px; }
.usecase h3 { font-size: 1rem; margin-bottom: 6px; }
.usecase p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--blue-100); color: var(--ink-2); font-size: .94rem; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 1px; }
.note--warm { background: #FFF6E6; }
.note--warm svg { color: #B7791F; }

.media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); background: var(--mist-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--43 { aspect-ratio: 4 / 3; }
.media--34 { aspect-ratio: 3 / 4; }
.media--sq { aspect-ratio: 1; }

.stack { display: grid; gap: 18px; }

/* 21 ------------------------------------------------- GALERIE & LIGHTBOX */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }   /* audit: D31 – dense zaplní díry po širokých/vysokých fotkách */
.gal__item { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--mist-2); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal__item:hover img { transform: scale(1.06); }
.gal__item figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(11,30,43,.72); color: #fff; font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: opacity var(--t), transform var(--t); }
.gal__item:hover figcaption, .gal__item:focus-visible figcaption { opacity: 1; transform: none; }
.gal__item--w { grid-column: span 2; }
.gal__item--t { grid-row: span 2; }
.gal__item--b { grid-column: span 2; grid-row: span 2; }   /* velká dlaždice 2 × 2 – doplní mřížku, když počet fotek nevychází */

.lightbox { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; padding: 60px 70px; background: rgba(6, 18, 27, .92); backdrop-filter: blur(6px); }
.lightbox.open { display: grid; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: var(--r); box-shadow: var(--sh-3); }
.lightbox__cap { position: absolute; bottom: 22px; left: 20px; right: 20px; text-align: center; color: rgba(255,255,255,.82); font-size: .92rem; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); transition: background-color var(--t); }
.lightbox__btn:hover { background: var(--teal-700); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 14px; top: 50%; translate: 0 -50%; }

/* 22 ------------------------------------------------------------- VIDEO */
/* Živá ukázka MojeMyti.cz (embed.js z mojemyti.cz vloží do .mm-demo rám s telefonem) */
/* Stav myčky Zlín-Louky ze správy webu (zimní odstávka, mimo provoz) */
.mycka-stav { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--blue-100); color: var(--ink); font-weight: 600; }
.mycka-stav.is-warn { background: #FFF1D6; color: #5C3B00; box-shadow: inset 0 0 0 1px #F2C46D; }
.mm-demo { max-width: 440px; margin-inline: auto; }
.mm-demo iframe { border-radius: 24px; }
.mm-demo:has(> .mm-demo__fallback) { display: grid; place-items: center; min-height: 420px; padding: 24px; border-radius: 32px; background: #fff; box-shadow: var(--sh-2); text-align: center; }
.mm-demo__fallback { font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 901px) { .split--mm { align-items: start; } .split--mm > :first-child { position: sticky; top: 120px; padding-top: 40px; } }
/* Stránka MojeMyti.cz: popisek pod ukázkou, nadpis „co dalšího umí“ a dlaždice na šedém pozadí */
.mm-demo__cap { max-width: 440px; margin: 14px auto 0; font-size: .86rem; line-height: 1.5; color: var(--muted); text-align: center; }
.mm-more { margin-top: clamp(48px, 6vw, 80px); margin-bottom: clamp(20px, 3vw, 28px); }
.mm-more h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.mm-tiles .usecase { border-color: transparent; box-shadow: var(--sh-1); }
.phero--mm .phero__grid { align-items: start; }
.phero--mm .phero__grid > div:first-child { padding-top: clamp(0px, 3vw, 40px); }
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 20px); }
.clip { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.clip:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.clip__media { position: relative; aspect-ratio: 16 / 10; background: var(--mist-2); }
.clip__media video { width: 100%; height: 100%; object-fit: cover; }
.clip__n { position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(11,30,43,.7); color: #fff; font-weight: 800; font-size: .85rem; }
.clip figcaption { padding: 16px 18px 18px; }
.clip h3 { font-size: 1rem; margin-bottom: 4px; }
.clip p { font-size: .87rem; color: var(--muted); }

/* 23 ----------------------------------------------------------- ANIMACE */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; }
.js .rv.d3 { transition-delay: .24s; } .js .rv.d4 { transition-delay: .32s; }
.js .rv.d5 { transition-delay: .4s; }
.js .rv-img { clip-path: inset(8% 8% 8% 8% round 30px); transition: clip-path 1.2s var(--ease); }
.js .rv-img.in { clip-path: inset(0 0 0 0 round 30px); }

/* 24 ------------------------------------------------------- RESPONZIVITA */
@media (max-width: 1180px) {
  .topbar__tagline { display: none; }
  .nav__link { padding: 10px 10px; font-size: .92rem; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
}
/* Hlavička na počítači: se 6 položkami menu (vč. MojeMyti.cz) se vedle loga vejde jen krátké „Poptávka“ */
.btn__short { display: none; }
@media (min-width: 1081px) {
  .header__actions .btn__long { display: none; }
  .header__actions .btn__short { display: inline; }
}
@media (min-width: 1241px) {
  .nav__link { padding: 10px 10px; }
  .nav__link.is-active::after { left: 10px; right: 10px; }
}
/* mezi 1081 a 1240 px ještě těsnější menu a o něco menší logo */
@media (min-width: 1081px) and (max-width: 1240px) {
  .header__in { gap: 12px; }
  .nav__list { gap: 0; }
  .nav__link { padding: 10px 5px; font-size: .86rem; }
  .nav__link.is-active::after { left: 5px; right: 5px; }
  .logo .logo__img { height: 31px; }
}
@media (max-width: 1080px) {
  .topbar { display: none; }
  .header__in { min-height: 68px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .header__tel { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); color: var(--blue); align-items: center; justify-content: center; }
  .header__tel svg { width: 20px; height: 20px; }
  .nav {
    position: fixed; inset: 68px 0 0 0; z-index: 99; background: #fff; padding: 16px var(--gut) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t), transform var(--t), visibility var(--t);
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; font-size: 1.12rem; padding: 18px 4px; border-radius: 0; }
  .nav__link:hover { background: none; }
  .nav__link.is-active::after { display: none; }
  .has-sub > .nav__link::before { display: none; }
  .nav__toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--mist); }
  .nav__toggle::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-2px); transition: transform var(--t); }
  .nav__toggle[aria-expanded="true"]::before { transform: rotate(-135deg) translateY(-2px); }
  .sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 14px; display: none; }
  .sub::before { display: none; }
  .has-sub.is-open .sub { display: block; }
  .sub__item img { width: 48px; height: 48px; }
  .nav__cta { display: grid; gap: 10px; margin-top: 24px; }
  .why, .contact, .split, .split--even, .showcase, .loop__panel { grid-template-columns: minmax(0, 1fr); }   /* úvodní části (hero) se skládají až pod 900 px – audit: N31 */
  .programs { grid-template-columns: repeat(2, 1fr); }   /* časové osy a programy 2 + 2 místo 3 + 1 */
  .sticky { position: static; }
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .process::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .feat-grid, .feat-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .clips { grid-template-columns: repeat(2, 1fr); }
  /* audit: D31 – galerie zůstává čtyřsloupcová až do 820 px (3 sloupce dělaly díry) */
  .showcase__media { min-height: 300px; }
  .cta-band { grid-template-columns: 1fr; }
  .why__media { aspect-ratio: 16 / 10; }
}
@media (max-width: 820px) {
  .pgrid, .pgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .pcard--wide { grid-column: span 2; }
  .facts__in { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .variants, .duo { grid-template-columns: 1fr; }
  .loop__steps { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: 1fr; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .brands__lbl { max-width: none; width: 100%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .seg-grid, .pgrid, .pgrid--3, .feat-grid, .feat-grid--4, .feat-grid--2, .usecases, .clips, .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .pcard--wide { grid-column: span 1; }
  .pcard--wide .pcard__media { aspect-ratio: 4 / 3; }
  .programs { grid-template-columns: 1fr; }
  .hero__facts { flex-direction: column; gap: 10px; }
  .hero__cta .btn, .phero__cta .btn { width: 100%; }
  .hv--main { inset: 0 6% 18% 0; }
  .hv-card--water { width: 200px; padding: 12px 14px; bottom: 20%; }
  .hv-card--water .val { font-size: 1.6rem; }
  .hv-card--year { right: 0; top: 4%; padding: 10px 12px; }
  .hv-card--year .y { font-size: 1.5rem; }
  .facts { margin-top: 0; }
  .facts__in { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .gal { grid-auto-rows: 150px; }
  .gal__item--w { grid-column: span 2; }
  .gal__item--t { grid-row: span 1; }
  .lightbox { padding: 60px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; translate: none; }
  .lightbox__cap { bottom: 80px; }
  .phero__float { position: relative; left: 0; bottom: 0; margin-top: -30px; margin-left: 12px; }
  .why__item { grid-template-columns: 1fr; gap: 6px; }
  .cta-band__actions .btn, .prefoot__actions .btn { width: 100%; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform var(--t);
  }
  .mbar.show { transform: none; }
  .mbar .btn { padding: 14px 16px; }
  .footer__bottom { padding-bottom: 90px; }
}

/* SEO nadtitulek uvnitř H1 (klíčová slova, vizuálně jako štítek) */
.h1__kw { display: block; font-size: clamp(.82rem, 1.1vw, .95rem); font-weight: 700; letter-spacing: .01em; color: var(--blue); margin-bottom: 16px; line-height: 1.4; }
.h1__sub { display: block; margin-top: .3em; font-size: .5em; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--teal-700); }   /* druhý, menší řádek dlouhého nadpisu (podtitulek zůstává v H1) */
@media (max-width: 600px) { .loop__svg text, .loop__svg .back-pill { display: none; } }
.head--row > div { max-width: 660px; }
.head--row > .lead { max-width: 440px; flex: 1 1 320px; }
.head--row > .tabs { flex: none; }
.hero__copy { max-width: 620px; }

/* 25 ------------------------------------------------ PORADNA / ČLÁNKY */
.article { max-width: 760px; font-size: 1.06rem; line-height: 1.8; }
.article > * + * { margin-top: 18px; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 48px; }
.article h3 { font-size: 1.2rem; margin-top: 32px; }
.article p, .article li { color: var(--ink-2); }
.article ul, .article ol { padding-left: 0; display: grid; gap: 10px; }
.article ul li { position: relative; padding-left: 28px; }
.article ul li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.article ol { counter-reset: ol; }
.article ol li { position: relative; padding-left: 40px; counter-increment: ol; }
.article ol li::before { content: counter(ol); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-100); color: var(--blue); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.article a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue-300); text-underline-offset: 3px; }
.article a:hover { text-decoration-color: var(--blue); }
.article table { font-size: .94rem; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: block; overflow-x: auto; }
.article th, .article td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.article thead th { background: var(--mist); font-weight: 700; }
.article tbody th { font-weight: 600; color: var(--ink); }
.article blockquote { padding: 18px 24px; border-left: 4px solid var(--teal); background: var(--mist); border-radius: 0 var(--r) var(--r) 0; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.article aside { padding: 18px 22px; border-radius: var(--r); background: var(--teal-100); color: var(--ink-2); font-size: .98rem; }
.article aside.note { background: var(--blue-100); }
.article figure { margin: 32px 0; }
.article figure img { border-radius: var(--r-lg); width: 100%; }
.article figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.side-card { padding: 24px; border-radius: var(--r-lg); background: var(--mist); }
.side-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.side-card p { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.side-card ul { display: grid; gap: 8px; }
.side-card li a { font-weight: 600; color: var(--blue); font-size: .94rem; }
.side-card--dark { background: var(--navy); color: #fff; }
.side-card--dark h3 { color: #fff; }
.side-card--dark p { color: rgba(255,255,255,.72); }
.acards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.acards > .acard:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* lichý počet článků: poslední karta přes celou šířku */
.acard { display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.acard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.acard__media { background: var(--mist-2); min-height: 200px; }
.acard__media img { width: 100%; height: 100%; object-fit: cover; }
.acard__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.acard__body h3 { font-size: 1.12rem; }
.acard__body p { font-size: .92rem; color: var(--muted); }
.acard__meta { font-size: .8rem; font-weight: 700; color: var(--teal-700); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-side { position: static; } .acards { grid-template-columns: 1fr; } }
/* kontrola: min-height 180 px se přes aspect-ratio 16/9 přenášel na minimální šířku 320 px – při 320 px karta přetékala a nadpis se ořízl */
@media (max-width: 600px) { .acard { grid-template-columns: minmax(0, 1fr); } .acard__media { min-height: 0; aspect-ratio: 16/9; } }

/* Doplňky podstránek */
.tip-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; border-radius: var(--r-lg); background: var(--grad-soft); }
.tip-card .ico { background: #fff; }
.tip-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.tip-card p { font-size: .92rem; color: var(--ink-2); }
/* kontrola: delší popisky tlačítek („Článek: …“, „Průvodce: …“) – na tabletu jde tlačítko pod text, jinak text zúžil na ~200 px */
@media (min-width: 721px) and (max-width: 960px) { .tip-card { grid-template-columns: auto 1fr; row-gap: 14px; } .tip-card .btn { grid-column: 2; justify-self: start; } }
@media (max-width: 720px) { .tip-card { grid-template-columns: 1fr; } }
.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: fc; }
.factor { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); counter-increment: fc; }
.factor::before { content: counter(fc, decimal-leading-zero); display: block; font-weight: 800; font-size: .8rem; color: var(--teal-700); letter-spacing: .08em; margin-bottom: 10px; }
.factor h3 { font-size: 1rem; margin-bottom: 6px; }
.factor p { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .factors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .factors { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; width: 100%; border-radius: 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

/* Logo ECOCLEAN+ (původní logo firmy převedené do vektoru) */
.logo__img { display: block; height: 36px; width: auto; }
.footer .logo__img { height: 40px; }
@media (max-width: 600px) { .logo__img { height: 28px; } }

/* Mapa načítaná až po kliknutí (rychlost + žádné cookies Googlu bez souhlasu) */
.map { position: relative; }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(22,184,166,.16), transparent 55%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px, var(--mist); }
.map__pin { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); display: grid; place-items: center; box-shadow: var(--sh-2); margin-bottom: 4px; }
.map__pin svg { width: 24px; height: 24px; color: #fff; transform: rotate(45deg); }
.map__addr { color: var(--ink-2); line-height: 1.5; }
.map__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-weight: 700; font-size: .9rem; }
.map__links a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.map__note { color: var(--muted); font-size: .78rem; }
.map.is-loaded iframe { position: absolute; inset: 0; }

/* Novinka – zvýrazněný produkt (ISTOBAL M’WASH3) */
.novinka { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(18px, 3vw, 32px); border-radius: var(--r-xl); background: linear-gradient(120deg, #fff 0%, var(--teal-100) 100%); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.novinka__media { display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-1); transition: transform var(--t), box-shadow var(--t); }
.novinka__media:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.novinka__media img { width: 100%; height: auto; }
figure.novinka__media { margin: 0; cursor: zoom-in; }
/* Držák na koberečky (boxy): dvě menší fotky pod textem, otevírají se v lightboxu */
.drzak-foto { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 26px; }
.drzak-foto figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--mist-2); box-shadow: var(--sh-1); cursor: zoom-in; }
.drzak-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.drzak-foto figure:hover img { transform: scale(1.06); }

/* Chemie KIEHL – skupiny a karty přípravků (číslo produktu, popis, parametry) */
.chem-group + .chem-group { margin-top: clamp(40px, 5vw, 60px); }
.chem-group__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 18px; }
.chem-group__head h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.chem-group__head p { color: var(--muted); font-size: .95rem; }
.chem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 2vw, 20px); }
.chem-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.chem { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.sec--mist .chem { border-color: transparent; box-shadow: var(--sh-1); }
/* AquaClean – fotky k časové ose náběhu */
.nabeh-foto { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 18px); margin-top: clamp(24px, 3vw, 32px); }
.nabeh-foto figure { margin: 0; cursor: zoom-in; }
.nabeh-foto img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh-1); }
.nabeh-foto figcaption { margin-top: 8px; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.nabeh-foto__note { margin-top: 12px; font-size: .82rem; color: var(--muted); }
@media (max-width: 720px) { .nabeh-foto { grid-template-columns: 1fr; } }
.chem__img { margin: 0; height: 160px; display: flex; justify-content: center; overflow: hidden; }
.chem__img img { width: 160px; height: 160px; object-fit: contain; }
/* technický a bezpečnostní list: dvě ikonky v pravém horním rohu karty (popisek v title a aria-label) */
.chem__docs { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; margin: 0; }
.chem__docs a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--mist); color: var(--muted); transition: background var(--t), color var(--t); }
.chem__docs a:hover, .chem__docs a:focus-visible { background: var(--blue-100); color: var(--blue); }
.chem__docs a + a:hover, .chem__docs a + a:focus-visible { background: #FFF1D6; color: #9A5B00; }
.chem__docs svg { width: 18px; height: 18px; }
.chem__head { display: flex; align-items: center; gap: 14px; }
.chem__no { flex: none; display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 8px; border-radius: 14px; background: var(--blue-100); color: var(--blue); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chem__no--sklad { background: var(--teal-100); color: var(--teal-700); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.chem__head h4 { font-size: 1.1rem; line-height: 1.25; }
.chem__head small { display: block; margin-top: 3px; font-size: .86rem; font-weight: 500; color: var(--muted); line-height: 1.35; }
.chem .check { gap: 7px; font-size: .9rem; line-height: 1.5; }
.chem__spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 14px; margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: .86rem; line-height: 1.45; }
.chem__spec dt { color: var(--muted); }
.chem__spec dd { margin: 0; color: var(--ink); font-weight: 600; }
.novinka h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 14px 0 12px; }
.novinka .check { margin: 18px 0 26px; }
.sub__item em.new { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--teal); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 820px) { .novinka { grid-template-columns: minmax(0, 1fr); } }

/* 26 ------------------------------------------ AUDIT: VZHLED & RESPONZIVITA */

/* audit: D53 – délka řádku textu (60ch ≈ 71–83 znaků) */
.prose > :is(p, ul, ol, blockquote) { max-width: 60ch; }
.article > :is(p, ul, ol, h2, h3, blockquote, aside) { max-width: 60ch; }
.faq__a > * { max-width: 60ch; }
.note { max-width: calc(60ch + 56px); }

/* audit: D32 – tabulky v článcích: stín u okraje naznačí, že tabulka pokračuje do strany (stíny se při posunu odkrývají) */
.article table {
  background:
    linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) 0 0 / 40px 100% no-repeat local,
    linear-gradient(270deg, #fff 30%, rgba(255,255,255,0)) 100% 0 / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(11,30,43,.18), transparent) 0 0 / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(11,30,43,.18), transparent) 100% 0 / 14px 100% no-repeat scroll,
    #fff;
}

/* audit: N10 – kontakt: fotka provozovny v úvodu, „Co bude následovat“ pod formulářem */
.phero--kontakt .phero__photo img { object-position: 50% 12%; }
.contact__side { display: grid; gap: 24px; align-content: start; }
.contact__side .next-steps { margin-top: 0; }
@media (min-width: 1081px) and (min-height: 1040px) { .contact__side { position: sticky; top: 110px; } }

/* audit: D36 – mobilní lišta: běžně Zavolat + Poptávka; na stránce myčky (body[data-mbar="mycka"]) Navigovat + plné Zavolat */
.mbar .mbar__nav { display: none; }
[data-mbar="mycka"] .mbar .mbar__nav { display: inline-flex; }
[data-mbar="mycka"] .mbar .mbar__cta { display: none; }
[data-mbar="mycka"] .mbar .mbar__tel { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 92, 146, .7); }

/* audit: N29 – okruh vody na mobilu: svislé schéma kroků s popisky a návratem vody (štítek .loop__back jen pod 600 px) */
.loop__back { display: none; }

/* audit: N31 – úvodní části zůstávají dvousloupcové až do 900 px (tablet na šířku), koláž zjednodušená na jednu fotku a jednu kartu */
@media (min-width: 901px) and (max-width: 1080px) {
  .hero__grid { gap: 36px; }
  .hero h1 { font-size: 2.75rem; }
  .hv--main { inset: 0; }
  .hv--second, .hv-card--year { display: none; }
  .hv-card--water { left: -18px; bottom: 7%; width: 244px; }
  .phero__float { left: -14px; bottom: -18px; max-width: 280px; }
}
@media (max-width: 900px) {
  .hero__grid, .phero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .phero__media { max-width: 640px; width: 100%; margin-inline: auto; }   /* audit: D54a – fotka na střed, vpravo nezůstane prázdno */
}
@media (min-width: 601px) and (max-width: 900px) {
  .hv-card--water { left: 0; }
  .phero { padding-bottom: 72px; }   /* audit: D54a – plovoucí štítek fotky nesplývá s pruhem faktů */
  .phero__float { left: 12px; bottom: -20px; }
}

/* audit: D32 + N16 – srovnávací tabulka pod 820 px jako karty: jedna technologie = jedna karta, řádky parametr → hodnota (popisek z data-label) */
@media (max-width: 820px) {
  .compare-wrap { overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .compare { display: flex; flex-direction: column; min-width: 0; font-size: .93rem; }
  .compare thead, .compare tbody, .compare tfoot, .compare tr { display: contents; }
  .compare th, .compare td { display: block; background: #fff; border: 1px solid var(--line); border-top-width: 0; padding: 12px 18px; order: calc(var(--c, 0) * 100 + var(--r, 0)); }
  .compare thead th:first-child, .compare tbody th, .compare tfoot th { display: none; }
  .compare tr > :nth-child(2) { --c: 1; } .compare tr > :nth-child(3) { --c: 2; } .compare tr > :nth-child(4) { --c: 3; } .compare tr > :nth-child(5) { --c: 4; } .compare tr > :nth-child(6) { --c: 5; }
  .compare thead tr { --r: 0; } .compare tfoot tr { --r: 99; }
  .compare tbody tr:nth-child(1) { --r: 1; } .compare tbody tr:nth-child(2) { --r: 2; } .compare tbody tr:nth-child(3) { --r: 3; } .compare tbody tr:nth-child(4) { --r: 4; }
  .compare tbody tr:nth-child(5) { --r: 5; } .compare tbody tr:nth-child(6) { --r: 6; } .compare tbody tr:nth-child(7) { --r: 7; } .compare tbody tr:nth-child(8) { --r: 8; }
  .compare tbody tr:nth-child(9) { --r: 9; } .compare tbody tr:nth-child(10) { --r: 10; } .compare tbody tr:nth-child(11) { --r: 11; } .compare tbody tr:nth-child(12) { --r: 12; }
  .compare thead th { border-top-width: 1px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--mist-2); padding: 16px 18px; }
  .compare thead th:not(:nth-child(2)) { margin-top: 18px; }
  .compare thead th a { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; font-size: 1.08rem; }
  .compare td { display: grid; grid-template-columns: 7.4em minmax(0, 1fr); gap: 12px; }
  .compare td::before { content: attr(data-label); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.4; padding-top: .25em; }
  .compare tbody tr:hover td { background: #fff; }
  .compare tfoot td { display: block; border-width: 0 1px 1px; border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 4px 18px 18px; }
  .compare tfoot td::before { content: none; }
  .compare tfoot .btn { width: 100%; background: var(--blue); color: #fff; box-shadow: none; }
}

/* audit: N15 – mobil: fotka na první obrazovce hned pod nadpisem (jen pořadí přes CSS order; obrázek se načítá stejně jako dřív) */
@media (max-width: 600px) {
  .hero__grid, .phero__grid { gap: 0; }
  .hero__copy, .phero__grid > div:first-child { display: contents; }
  .hero .kicker, .phero__grid .pill { justify-self: start; }
  .hero__visual, .phero__media { order: 1; }
  .hero__lead, .hero__cta, .hero__facts, .phero__lead, .phero__pills, .phero__cta { order: 2; }
  .hero__visual { aspect-ratio: auto; max-width: none; margin: 0 0 40px; }
  .hv--main { position: relative; inset: auto; aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
  .hv--main img { object-position: 50% 30%; }   /* linka EUROWASH: portál s cedulí a kartáči */
  .hv--second, .hv-card--year { display: none; }
  .hv-card--water { left: 12px; bottom: -24px; width: 200px; padding: 10px 14px; }
  .hv-card--water .val { font-size: 1.45rem; margin: 2px 0 8px; }
  .phero__media { margin: 0 0 28px; }
  .phero__photo { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
  .phero--kontakt .phero__media, .phero--mm .phero__media { order: 3; margin: 36px 0 0; }   /* kontakt a MojeMyti.cz: mapa / vysoký telefon s ukázkou až pod textem a tlačítky */

  /* audit: N29 – okruh vody: svislé kroky 01 → 02 → 03, návrat vody vpravo; SVG bez popisků se na mobilu skryje */
  .loop__diagram { display: none; }
  .loop__steps { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px 0; }
  .loop__step { grid-column: 1; position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; }
  .loop__step small { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); letter-spacing: 0; }
  .loop__step b { margin-top: 0; line-height: 1.3; }
  .loop__step[aria-selected="true"] small { background: var(--blue); color: #fff; }
  .loop__step:nth-child(-n+2)::after { content: ""; position: absolute; left: 30px; top: 100%; width: 2px; height: 14px; background: var(--blue-300); }
  .loop__back { display: flex; align-items: center; grid-column: 2; grid-row: 1 / span 3; position: relative; margin: 30px 0; padding: 6px 4px 6px 14px; border: 2px dashed var(--teal); border-left: 0; border-radius: 0 16px 16px 0; font-size: .76rem; font-weight: 800; line-height: 1.3; color: var(--teal-ink); }
  .loop__back::before { content: ""; position: absolute; left: 0; top: -7px; border: 6px solid transparent; border-left: 0; border-right: 9px solid var(--teal); }

  /* audit: N18 – dlouhý popisek tlačítka se na úzkém mobilu zalomí, místo aby přetekl */
  .btn { white-space: normal; text-align: center; line-height: 1.15; }
  .spec__head .pill { flex: none; white-space: nowrap; }
}
@media (max-width: 380px) {
  .mbar .btn { padding-inline: 10px; font-size: .9rem; }
  .compare td { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* audit: N11 – na dotykových zařízeních jsou popisky galerií vidět trvale (bez najetí myší), nejvýš dva řádky */
@media (hover: none) {
  .gal__item figcaption { opacity: 1; transform: none; left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; font-size: .75rem; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
}

/* audit: N13 – při velkém zvětšení / nízkém okně (telefon na šířku) se hlavička nepřichytí a spodní lišta se schová */
@media (max-height: 500px) {
  .header { position: relative; }
  .nav-open .header { position: sticky; }
  .mbar { display: none; }
}

/* 27 ------------------------------------ AUDIT: PŘÍSTUPNOST & INTERAKCE
   Stavy a prvky, které vytváří nebo přepíná main.js (T2a).               */

/* audit: N06 – pojistka: když se main.js nenačte (nebo spadne dřív, než přidá .js-ok), animované bloky se po 3 s ukážou samy */
.js:not(.js-ok) .rv, .js:not(.js-ok) .rv-img { animation: rv-fallback 0s 3s forwards; }
html:not(.js-ok) .meter span { animation: meter-fallback 0s 3s forwards; }
@keyframes rv-fallback { to { opacity: 1; transform: none; clip-path: none; } }
@keyframes meter-fallback { to { width: var(--w, 80%); } }

/* audit: N34 + D48 – podmenu na desktopu: šipka je tlačítko s aria-expanded, najetí myší funguje dál, Esc podmenu zavře (.is-dismissed) */
@media (min-width: 1081px) {
  .has-sub > .nav__link { position: relative; padding-right: 4px; }
  .has-sub > .nav__link::before { display: none; }
  .has-sub > .nav__link.is-active::after { right: 4px; }
  .nav__toggle { display: grid; place-items: center; width: 24px; height: 34px; margin-left: 1px; border-radius: 8px; color: var(--ink-2); transition: color var(--t), background-color var(--t); }
  .nav__toggle:focus-visible { outline-offset: 0; }
  .nav__toggle::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; transition: transform var(--t), opacity var(--t); }
  .nav__toggle:hover, .has-sub.is-open > .nav__toggle { color: var(--blue); background: var(--mist); }
  .nav__toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); opacity: 1; }
  .has-sub.is-dismissed .sub { opacity: 0; visibility: hidden; transform: translateY(8px); }
}

/* audit: D48 – mobilní lišta: schovaná nedostane fokus, zobrazená nezakryje prvek s fokusem */
@media (max-width: 600px) {
  html { scroll-padding-bottom: 96px; }
  .mbar { visibility: hidden; transition: transform var(--t), visibility 0s linear .3s; }
  .mbar.show { visibility: visible; transition-delay: 0s; }
}

/* audit: D29 – odkaz v běžném textu je podtržený, ne jen barevný (WCAG 1.4.1); abbr s vysvětlením tečkovaně */
main :is(p, td, dd, figcaption, blockquote) a:not([class]) { color: var(--blue); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
main :is(p, td, dd, figcaption, blockquote) a:not([class]):hover { text-decoration-thickness: 2px; }
main :is(.sec--navy, .loop__panel, .showcase, .cta-band, .side-card--dark, .seg--cta) :is(p, td, dd, figcaption, blockquote) a:not([class]) { color: inherit; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }

/* audit: N27 – poptávka: volba „Zavolejte mi zpět“ a doplňující pole podle zájmu (vytváří main.js) */
.f-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 18px; padding: 5px; border: 0; border-radius: 14px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.f-mode label { position: relative; display: flex; align-items: center; justify-content: center; padding: 11px 12px; border-radius: 10px; font-weight: 700; font-size: .9rem; line-height: 1.25; text-align: center; color: var(--ink-2); cursor: pointer; transition: background-color var(--t), box-shadow var(--t), color var(--t); }
.f-mode label:hover { color: var(--blue); }
.f-mode label.is-on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.f-mode input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.f-mode label:has(input:focus-visible) { outline: 3px solid var(--teal-700); outline-offset: 2px; }
.f-row.is-solo { grid-template-columns: minmax(0, 1fr); }
.f-row > .field[hidden] { display: none; }
.f-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 2px 0 16px; padding: 12px 16px 2px; border: 1.5px dashed var(--line-2); border-radius: 14px; }
.f-extra[hidden] { display: none; }
.f-extra > legend { padding: 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.f-checks { grid-column: 1 / -1; margin: 0 0 14px; padding: 0; border: 0; }
.f-checks legend { margin-bottom: 7px; padding: 0; font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.chk { display: inline-flex; align-items: center; gap: 8px; margin: 2px 20px 4px 0; font-size: .95rem; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
@media (max-width: 820px) { .f-extra { grid-template-columns: minmax(0, 1fr); } }

/* audit: N07 + D28 – po odeslání karta poděkování místo prázdného formuláře (fokus se přesune na její nadpis); chyba odeslání v textu, ne v alert() */
.form__ok.is-card { display: block; margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--teal-100); color: var(--ink-2); font-weight: 400; }
.form__ok.is-card[hidden] { display: none; }
.form__ok.is-card > svg { width: 44px; height: 44px; margin-bottom: 14px; padding: 10px; border-radius: 50%; background: #fff; color: var(--teal-ink, var(--teal-700)); }
.form__ok.is-card h3 { margin-bottom: 8px; }
.form__ok.is-card h3:focus { outline: none; }   /* nadpis dostane fokus jen programově (oznámení pro čtečky), není ovládací prvek */
.form__ok.is-card p { margin-bottom: 18px; color: var(--ink-2); }
.form__fail { margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: #FFF7F6; color: #B43E36; font-size: .92rem; font-weight: 600; }

/* audit: D48 + N23 – lightbox: výška podle skutečného okna (mobilní Safari), počítadlo fotek */
.lightbox img { max-height: calc(100dvh - 140px); }
.lightbox__btn[hidden] { display: none; }   /* galerie s jedinou fotkou – bez šipek */
.lightbox__n { display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }

/* audit: D09 (kontrakt s HTML) – videa hrají jen na obrazovce; tlačítko Pozastavit / Přehrát (vytváří main.js) */
.vid-box { position: relative; }
.vid-btn { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(11,30,43,.72); backdrop-filter: blur(6px); transition: background-color var(--t); }
.vid-btn:hover { background: var(--teal-700); }
.vid-btn svg { width: 18px; height: 18px; }
.vid-btn:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--navy); }

/* audit: N25 – video výrobce z YouTube (youtube-nocookie) se načte až po kliknutí; do té doby jen náhled */
.yt-fig { max-width: 980px; margin: clamp(36px, 5vw, 64px) auto 0; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); box-shadow: var(--sh-3); }
.yt__thumb { width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; color: #fff; font-weight: 700; font-size: 1rem; text-align: center; text-shadow: 0 1px 12px rgba(0,0,0,.45); background: linear-gradient(180deg, rgba(6,18,27,.12) 0%, rgba(6,18,27,.66) 100%); }
.yt__play::before { content: ""; width: 84px; height: 84px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%230A5C92'/%3E%3C/svg%3E") 56% 50% / 32px no-repeat; box-shadow: 0 16px 40px -12px rgba(0,0,0,.55); transition: transform var(--t); }
.yt__play:hover::before { transform: scale(1.08); }
.yt__play:focus-visible { outline: 3px solid #fff; outline-offset: -10px; border-radius: var(--r-xl); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__note { margin-top: 12px; font-size: .86rem; color: var(--muted); text-align: center; }
@media (max-width: 600px) { .yt__play { font-size: .9rem; gap: 10px; } .yt__play::before { width: 64px; height: 64px; background-size: 26px; } }

/* audit: N30 – obsah článku z nadpisů H2 (vytváří main.js): v postranním panelu přichycený, na mobilu sbalitelný pod úvodem */
.article-side.has-toc { position: static; align-self: stretch; align-content: start; }
.toc { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; }
.toc ol, .article .toc-m ol { display: grid; gap: 2px; padding: 0; }
.toc li, .article .toc-m li { padding: 0; }
.article .toc-m li::before { content: none; }
.toc a, .article .toc-m a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px; padding: 7px 10px 7px 8px; border-radius: 10px; font-size: .9rem; font-weight: 600; line-height: 1.4; color: var(--ink-2); text-decoration: none; transition: background-color var(--t), color var(--t); }
.toc__n { padding-top: 1px; font-size: .75rem; font-weight: 800; color: var(--teal-700); font-variant-numeric: tabular-nums; }
.toc a:hover, .article .toc-m a:hover { background: #fff; color: var(--blue); }
.toc a[aria-current="true"], .article .toc-m a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: inset 3px 0 0 var(--teal); }
.toc-m { display: none; }
@media (max-width: 1080px) {
  .toc { display: none; }
  .article .toc-m { display: block; max-width: 60ch; border: 1px solid var(--line); border-radius: var(--r); background: var(--mist); }
  .toc-m summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform var(--t); }
  .toc-m[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .toc-m nav { padding: 0 10px 12px; }
}

/* audit: D30 – režim vynucených barev (kontrastní motivy Windows): ikona menu, vybrané přepínače, posuvníky, grafy */
@media (forced-colors: active) {
  .burger { border: 1px solid ButtonText; }
  .burger span, .burger span::before, .burger span::after { background: CanvasText; }
  .nav-open .burger span { background: transparent; }
  .nav__toggle, .lightbox__btn, .vid-btn { border: 1px solid ButtonText; }
  .tab[aria-pressed="true"], .tab[aria-selected="true"], .loop__step[aria-selected="true"], .f-mode label.is-on, .toc a[aria-current="true"], .toc-m a[aria-current="true"] { outline: 2px solid Highlight; outline-offset: 2px; }
  .meter span { background: Highlight; }
  .yt__play::before { border: 2px solid ButtonText; }
}

/* audit: D52 – nezlomitelné názvy modelů (ECO-RO200, ACF-32, Zlín-Louky, SIDE RUNNER …) a rozsahy (260–280, Po–Pá).
   <span class="nowrap"> vkládá build.ps1 do viditelného textu. Span je pro vzhled „průhledný“: nevytváří vlastní box
   (v flexboxu, např. summary nebo tlačítko, by jinak text rozdělil do sloupců) a přebije pravidla typu
   „.fact span { display: block; font-size: … }“. V nadpisech se na úzkém mobilu smí zlomit, aby dlouhý název nepřetekl.
   V rodiči typu flex/grid (summary FAQ, pill, eyebrow, link-arrow, záhlaví srovnání, tlačítka) by se span jinak stal samostatnou
   položkou s mezerou „gap“ a text by přetékal (FAQ při 320–390 px); display: contents box nevytvoří a nowrap se dál dědí. */
.nowrap { white-space: nowrap; }
span.nowrap.nowrap { display: contents; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
@media (max-width: 480px) { h1 .nowrap, h2 .nowrap { white-space: normal; } }
@media (max-width: 400px) { .fact b .nowrap, .loop__kpi b .nowrap, .hv-card .nowrap, .phero__float b .nowrap { white-space: normal; } }

/* kontrola: pruh faktů při 320–380 px – stejně široké sloupce a menší číslo, aby „4 programy“ nebo „2 zákazníci“ nepřetekly kartu */
@media (max-width: 600px) { .facts__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact b { overflow-wrap: break-word; } }
@media (max-width: 380px) { .fact { padding-inline: 16px; } .fact b { font-size: 1.2rem; } }
/* kontrola: tabulka parametrů (.spec) byla při 320 px o 9–23 px širší než karta a vpravo se ořízla – menší vodorovné odsazení buněk */
@media (max-width: 400px) { .spec th, .spec td { padding: 12px 14px; } .spec__head, .spec__foot { padding-inline: 14px; } }

/* kontrola: díry v mřížkách karet – poslední karta v neúplném řádku se roztáhne přes zbylé sloupce, fotka nebo ikona je vedle textu.
   Mřížka s filtrem (katalog na úvodu) se při skrytých kartách [hidden] nemění, počty karet by tam neseděly. */
@media (min-width: 821px) and (max-width: 1180px) {
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) { grid-column: span 2; flex-direction: row; }
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) > .pcard__media { flex: 0 0 calc(50% - 10px); aspect-ratio: auto; min-height: 220px; }
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) > .pcard__media--prod { border-bottom: 0; border-right: 1px solid var(--line); }
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) > .pcard__body { justify-content: center; padding: 28px; }
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) .pcard__more { margin-top: 6px; }
}
@media (min-width: 1181px) {
  .pgrid--3:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) { grid-column: span 2; flex-direction: row; }
  .pgrid--3:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) > .pcard__media { flex: 0 0 calc(50% - 11px); aspect-ratio: auto; min-height: 220px; }
  .pgrid--3:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) > .pcard__media--prod { border-bottom: 0; border-right: 1px solid var(--line); }
  .pgrid--3:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) > .pcard__body { justify-content: center; padding: 28px; }
  .pgrid--3:not(:has(> [hidden])) > .pcard:last-child:nth-child(3n+2) .pcard__more { margin-top: 6px; }
}
@media (min-width: 601px) and (max-width: 820px) {
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(odd) { grid-column: span 2; flex-direction: row; }
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(odd) > .pcard__media { flex: 0 0 calc(50% - 8px); aspect-ratio: auto; min-height: 220px; }
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(odd) > .pcard__media--prod { border-bottom: 0; border-right: 1px solid var(--line); }
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(odd) > .pcard__body { justify-content: center; }
  .pgrid:not(:has(> [hidden])) > .pcard:last-child:nth-child(odd) .pcard__more { margin-top: 6px; }
}
@media (min-width: 601px) and (max-width: 1080px) {
  .feat-grid > .feat:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-content: start; }
  .feat-grid > .feat:last-child:nth-child(odd) > * { grid-column: 2; }
  .feat-grid > .feat:last-child:nth-child(odd) > :is(.ico, .big):first-child { grid-column: 1; grid-row: 1 / span 4; margin-bottom: 0; }
  .feat-grid > .feat:last-child:nth-child(odd) p { max-width: 75ch; }
}
