/* ==========================================================================
   H TOP – styl webu
   Barvy a písmo vycházejí ze schváleného loga (Outfit, #0B2B2A, #00A693).
   ========================================================================== */

:root {
  --ink: #0B2B2A;
  --ink-2: #113735;
  --ink-3: #1A4744;
  --teal: #00A693;
  --teal-dark: #00796B;
  --teal-light: #2ED3BF;
  --teal-wash: #E2F4F1;
  --text: #283F3D;
  --muted: #586C6A;
  --line: #D7DFDD;
  --line-strong: #B7C5C2;
  --bg: #FFFFFF;
  --bg-alt: #F2F5F4;
  --bg-alt-2: #E8EEEC;
  --warn-bg: #FFF2D9;
  --warn: #7A5200;
  --f-head: "Outfit", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 48px -28px rgba(11, 43, 42, .45);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, .h3 {
  font-family: var(--f-head);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.018em;
  font-weight: 700;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -.01em; font-weight: 600; }
h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 600; color: var(--ink); }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--teal-light); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.todo { display: inline-block; padding: 0 .4em; background: var(--warn-bg); color: var(--warn); font-weight: 600; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 124px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--alt { background: var(--bg-alt); }
.section--line { border-top: 1px solid var(--line); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typografické prvky ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 1.1em;
  font-family: var(--f-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark);
}
.eyebrow::before { content: ""; width: .62em; height: .62em; background: var(--teal); flex: none; }
.eyebrow--light { color: var(--teal-light); }
.eyebrow--light::before { background: var(--teal-light); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.27rem); line-height: 1.6; color: var(--text); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.note { font-size: .92rem; color: var(--muted); }

.list-sq { list-style: none; padding: 0; margin: 0 0 1.2em; }
.list-sq li { position: relative; padding-left: 1.35em; margin-bottom: .45em; }
.list-sq li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5em; height: .5em; background: var(--teal); }
.list-sq--cols { columns: 2; column-gap: 2em; }
.list-sq--cols li { break-inside: avoid; }
.on-dark .list-sq li::before { background: var(--teal-light); }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-family: var(--f-head); font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Logo (podle specifikace) ---------- */
.logo { font-family: "Outfit", sans-serif; font-weight: 700; letter-spacing: .01em; line-height: 1; color: #0B2B2A; text-decoration: none; white-space: nowrap; font-size: 2.15rem; }
.logo-dot { display: inline-block; width: .17em; height: .17em; margin: 0 .06em; background: #00A693; }
.logo:hover { color: #0B2B2A; }
.on-dark .logo, .on-dark .logo:hover { color: #FFFFFF; }
.on-dark .logo-dot { background: #2ED3BF; }

/* ---------- Tlačítka ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 1.45em;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 0;
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--accent { background: var(--teal); color: var(--ink); }
.btn--accent:hover { background: var(--teal-light); color: var(--ink); }
.on-dark .btn--accent { background: var(--teal-light); }
.on-dark .btn--accent:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.on-dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.on-dark .btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--sm { --h: 44px; padding: 0 1.15em; font-size: .95rem; }
.btn--lg { --h: 60px; padding: 0 1.8em; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-width: 44px; height: 44px; padding: 0 10px;
  background: transparent; border: 1.5px solid transparent; cursor: pointer; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--line); }

/* ---------- Horní lišta a hlavička ---------- */
.on-dark { background: var(--ink); color: rgba(255,255,255,.82); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark strong { color: #fff; }
.on-dark a { color: #fff; }
.on-dark a:hover { color: var(--teal-light); }

.topbar { font-size: .86rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 22px; }
.topbar .sq { width: 8px; height: 8px; background: var(--teal-light); display: inline-block; margin-right: -10px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar-contact .icon { width: 15px; height: 15px; color: var(--teal-light); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(11,43,42,.45); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 64px; }
.site-header .logo { font-size: 2rem; transition: font-size .3s var(--ease); }
.site-header.is-scrolled .logo { font-size: 1.75rem; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; height: var(--header-h);
  padding: 0 12px; font-family: var(--f-head); font-weight: 500; font-size: 1.02rem;
  color: var(--ink); text-decoration: none;
}
.site-header.is-scrolled .nav-link { height: 64px; }
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-mega:hover > .nav-link::after { transform: scaleX(1); }
.mega-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 36px; margin-left: -8px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink); }
.mega-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-mega:hover .mega-toggle .icon, .has-mega.is-open .mega-toggle .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-btn { padding: 0 12px; border-color: var(--line); color: var(--muted); font-size: .92rem; }
.search-btn:hover { border-color: var(--ink); color: var(--ink); }
.search-btn .icon { width: 18px; height: 18px; color: var(--ink); }
.search-kbd { font: 500 .72rem var(--f-body); padding: 2px 6px; border: 1px solid var(--line); color: var(--muted); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; color: var(--ink); text-decoration: none; padding: 0 6px; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--teal-dark); }
.nav-toggle { display: none; border-color: var(--line); }
.nav-toggle .icon-close { display: none; }
.nav-mobile-extra { display: none; }

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(11,43,42,.4);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease);
}
.mega-inner {
  max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 32px;
  display: grid; grid-template-columns: 1fr 300px; gap: 32px;
}
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
.mega-card { display: flex; gap: 16px; align-items: center; padding: 10px; text-decoration: none; color: var(--text); border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.mega-card:hover { border-color: var(--line); background: var(--bg-alt); color: var(--text); }
.mega-thumb { width: 88px; aspect-ratio: 4 / 3; flex: none; overflow: hidden; background: var(--bg-alt-2); }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mega-card:hover .mega-thumb img { transform: scale(1.06); }
.mega-text strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); line-height: 1.25; margin-bottom: 2px; }
.mega-text small { display: block; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.mega-side { display: flex; flex-direction: column; gap: 10px; }
.mega-feature {
  flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none;
  background: var(--ink) linear-gradient(rgba(46,211,191,.08) 1px, transparent 1px) 0 0 / 22px 22px;
  color: rgba(255,255,255,.8);
}
.mega-feature strong { font-family: var(--f-head); font-size: 1.35rem; color: #fff; }
.mega-feature .eyebrow { margin: 0; }
.mega-feature .link-arrow { color: var(--teal-light); margin-top: auto; }
.mega-feature:hover { color: #fff; }
.mega-all { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border: 1px solid var(--line); text-decoration: none; font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.mega-all:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Drobečková navigace ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 1.6em; font-size: .88rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; background: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Hero (úvodní stránka) ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 46%; height: 100%;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px;
  opacity: .45; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .4em; font-size: clamp(2.3rem, 3.9vw, 3.45rem); }
.hero h1 .accent { color: var(--teal-dark); }
.hero .lead { margin-bottom: 0; }
.hero-trust { list-style: none; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; padding: 0; margin: 2.2em 0 0; }
.hero-trust li { display: flex; flex-direction: column; padding-left: 14px; border-left: 2px solid var(--teal); }
.hero-trust strong { font-family: var(--f-head); font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; }
.hero-trust span { font-size: .88rem; color: var(--muted); }

/* Slider */
.slider { position: relative; aspect-ratio: 6 / 5; background: var(--ink); overflow: hidden; }
.slider::after { content: ""; position: absolute; left: -1px; bottom: -1px; width: 22%; height: 22%; max-width: 120px; max-height: 120px; background: var(--teal); z-index: 3; pointer-events: none; transform: translate(-55%, 55%); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11,43,42,.85)); }
.slide-caption {
  position: absolute; left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); bottom: 74px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: #fff; text-decoration: none;
}
.slide-caption .eyebrow { margin-bottom: .6em; }
.slide-caption strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.15; color: #fff; }
.slide-caption small { display: block; margin-top: .35em; font-size: .95rem; color: rgba(255,255,255,.8); }
.slide-caption .go { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; background: var(--teal-light); color: var(--ink); transition: transform .3s var(--ease), background-color .2s; }
.slide-caption:hover { color: #fff; }
.slide-caption:hover .go { transform: translateX(4px); background: #fff; }
.slide.is-active .slide-caption > * { animation: rise .8s var(--ease) both .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.slider-ui { position: absolute; left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); bottom: 26px; z-index: 4; display: flex; align-items: center; gap: 14px; }
.slider-dots { flex: 1; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 8px; }
.slider-dot { position: relative; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; }
.slider-dot::before, .slider-dot span { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.slider-dot::before { background: rgba(255,255,255,.3); }
.slider-dot span { background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.slider-dot:not(.is-active) span { transform: scaleX(0); }
.slider-dot.is-done span { transform: scaleX(1); }
.slider-arrow { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; cursor: pointer; transition: background-color .2s; }
.slider-arrow:hover { background: rgba(255,255,255,.25); }
.slider-arrow .icon { width: 18px; height: 18px; }

/* Běžící pás */
.ticker { background: var(--ink); color: rgba(255,255,255,.86); overflow: hidden; border-block: 1px solid var(--ink-3); }
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: inline-flex; align-items: center; gap: 22px; padding: 17px 0 17px 22px; font-family: var(--f-head); font-weight: 500; font-size: 1.02rem; white-space: nowrap; }
.ticker li::after { content: ""; width: 7px; height: 7px; background: var(--teal-light); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Záhlaví sekcí ---------- */
.section-head { max-width: 50rem; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin-bottom: 0; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row h2 { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Dlaždice sortimentu ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { background: #fff; }
.tile-link { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); }
.tile-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt-2); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .8s var(--ease), filter .5s; }
.tile-link:hover .tile-media img { transform: scale(1.06); filter: saturate(1); }
.tile-body { display: flex; flex-direction: column; gap: .5em; flex: 1; padding: 22px 22px 24px; }
.tile-title { font-family: var(--f-head); font-weight: 600; font-size: 1.24rem; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
.tile-text { font-size: .95rem; line-height: 1.55; color: var(--muted); }
.tile-list { list-style: none; padding: 0; margin: .3em 0 0; display: grid; gap: 4px; font-size: .9rem; color: var(--text); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .35s; }
.tile-list li { position: relative; padding-left: 1.1em; }
.tile-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--teal); }
.tile-link:hover .tile-list, .tile-link:focus-visible .tile-list { max-height: 160px; opacity: 1; }
.tile-more { margin-top: auto; padding-top: .8em; display: inline-flex; align-items: center; gap: .45em; font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.tile-more .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.tile-link:hover .tile-more .icon { transform: translateX(5px); }
.tile-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.tile-link:hover::after { transform: scaleX(1); }
.tile--feature .tile-link { background: var(--ink) linear-gradient(rgba(46,211,191,.08) 1px, transparent 1px) 0 0 / 26px 26px; color: rgba(255,255,255,.8); }
.tile--feature .tile-body { padding: 30px 26px; justify-content: flex-start; }
.tile--feature .tile-title { color: #fff; font-size: 1.6rem; }
.tile--feature .tile-text { color: rgba(255,255,255,.78); }
.tile--feature .tile-more { color: var(--teal-light); }
.tile-kicker { font-family: var(--f-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); }
.tile-steps { display: grid; gap: 8px; margin-top: 1em; }
.tile-steps span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); font-family: var(--f-head); font-weight: 500; color: #fff; transition: border-color .3s, background-color .3s; }
.tile-steps .icon { width: 20px; height: 20px; color: var(--teal-light); }
.tile--feature .tile-link:hover .tile-steps span { border-color: rgba(46,211,191,.45); }
.tile--feature .tile-link:hover .tile-steps span:nth-child(2) { transition-delay: .06s; }
.tile--feature .tile-link:hover .tile-steps span:nth-child(3) { transition-delay: .12s; }

/* ---------- Důvody, statistiky ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.why-num { font-family: var(--f-head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--teal); letter-spacing: -.02em; }
.why-item h3 { margin-bottom: .3em; }
.why-item p { margin: 0; color: var(--muted); }
.stats { list-style: none; margin: 2em 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats li { background: #fff; padding: 20px 20px 18px; }
.stats strong { display: block; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.stats span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.4; }

/* ---------- Modrotisk / technický výkres ---------- */
.blueprint {
  position: relative; overflow: hidden;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(46,211,191,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(46,211,191,.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.bp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.steps { list-style: none; counter-reset: s; margin: 2em 0 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 0 0 26px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; font-family: var(--f-head); font-weight: 600; color: var(--ink); background: var(--teal-light);
}
.steps li::after { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: rgba(46,211,191,.3); transform-origin: top; transform: scaleY(var(--grow, 1)); transition: transform 1s var(--ease) .3s; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin: .7em 0 .25em; }
.steps p { margin: 0; color: rgba(255,255,255,.72); font-size: .97rem; }
.js .steps[data-reveal] li::after { --grow: 0; }
.js .steps[data-reveal].is-in li::after { --grow: 1; }
.steps--light li::before { background: var(--ink); color: #fff; }
.steps--light li::after { background: var(--line); }
.steps--light p { color: var(--muted); }

.bp-figure { position: relative; margin: 0; }
.bp-drawing { width: 100%; height: auto; overflow: visible; }
.bp-line { fill: none; stroke: #fff; stroke-width: 1.6; transition: stroke .25s, stroke-width .25s; }
.bp-face { fill: rgba(46,211,191,.08); }
.bp-center { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; stroke-dasharray: 14 4 2 4; }
.bp-k { stroke: rgba(46,211,191,.7); }
.bp-dim, .bp-ext, .bp-leader { fill: none; stroke: var(--teal-light); stroke-width: 1; opacity: .75; transition: opacity .25s, stroke-width .25s; }
.bp-ext { opacity: .35; }
.bp-label { font-family: var(--f-head); font-weight: 600; font-size: 17px; fill: var(--teal-light); transition: fill .25s; }
.bp-note { font-family: var(--f-head); font-weight: 600; font-size: 12px; letter-spacing: .14em; fill: rgba(255,255,255,.5); }
.bp-sec { fill: url(#p-bp); stroke: #fff; stroke-width: 1.4; transition: stroke .25s; }
.bp-drawing .is-hl.bp-line, .bp-drawing .is-hl.bp-sec { stroke: var(--teal-light); stroke-width: 3; }
.bp-drawing .is-hl.bp-dim, .bp-drawing .is-hl.bp-leader { opacity: 1; stroke-width: 2; }
.bp-drawing .is-hl.bp-ext { opacity: .9; }
.bp-drawing .is-hl.bp-label { fill: #fff; }
.bp-drawing .is-hl.bp-center { stroke: var(--teal-light); stroke-width: 2; }
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-reveal].is-in .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.6,.1,.2,1) .2s, stroke .25s; }
.js [data-reveal].is-in .draw:nth-of-type(2) { transition-delay: .5s; }
.js [data-reveal] .bp-label, .js [data-reveal] .bp-dim, .js [data-reveal] .bp-ext, .js [data-reveal] .bp-leader { opacity: 0; transition: opacity .6s ease 1.6s; }
.js [data-reveal].is-in .bp-label { opacity: 1; }
.js [data-reveal].is-in .bp-dim, .js [data-reveal].is-in .bp-leader { opacity: .75; }
.js [data-reveal].is-in .bp-ext { opacity: .35; }

/* Interaktivní výkres */
.drawing-tool { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 0; border: 1px solid var(--ink-3); }
.drawing-stage { padding: clamp(16px, 3vw, 36px); }
.drawing-panel { background: var(--ink-2); padding: clamp(22px, 3vw, 32px); border-left: 1px solid var(--ink-3); }
.shape-switch { display: grid; gap: 6px; margin-bottom: 22px; }
.shape-switch button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px;
  background: transparent; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85);
  font-family: var(--f-head); font-weight: 500; text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.shape-switch button::after { content: ""; width: 10px; height: 10px; border: 1.5px solid rgba(255,255,255,.4); }
.shape-switch button:hover { border-color: rgba(46,211,191,.6); color: #fff; }
.shape-switch button[aria-pressed="true"] { background: rgba(46,211,191,.12); border-color: var(--teal-light); color: #fff; }
.shape-switch button[aria-pressed="true"]::after { background: var(--teal-light); border-color: var(--teal-light); }
.dim-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dim-legend button {
  width: 100%; display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; padding: 9px 10px;
  background: transparent; border: 0; border-left: 2px solid transparent; color: rgba(255,255,255,.78); text-align: left; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.dim-legend b { font-family: var(--f-head); font-weight: 600; color: var(--teal-light); font-size: 1.05rem; }
.dim-legend button:hover, .dim-legend button.is-hl { background: rgba(46,211,191,.1); border-left-color: var(--teal-light); color: #fff; }
.drawing-hint { margin: 18px 0 0; font-size: .88rem; color: rgba(255,255,255,.55); }
[data-drawing][data-active-shape="mezikruzi"] [data-view]:not([data-view="mezikruzi"]),
[data-drawing][data-active-shape="celoplosne"] [data-view]:not([data-view="celoplosne"]),
[data-drawing][data-active-shape="ram"] [data-view]:not([data-view="ram"]) { display: none; }
[data-drawing][data-active-shape="mezikruzi"] [data-shapes]:not([data-shapes~="mezikruzi"]),
[data-drawing][data-active-shape="celoplosne"] [data-shapes]:not([data-shapes~="celoplosne"]),
[data-drawing][data-active-shape="ram"] [data-shapes]:not([data-shapes~="ram"]) { display: none; }
[data-drawing][data-active-shape="ram"] .bp-center { opacity: .4; }
[data-view] { animation: viewin .45s var(--ease) both; }
@keyframes viewin { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Průvodce materiálem a filtry ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  background: #fff; border: 1.5px solid var(--line-strong); color: var(--ink);
  font-family: var(--f-head); font-weight: 500; font-size: .96rem; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip::before { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--line-strong); transition: background-color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"]::before { background: var(--teal-light); border-color: var(--teal-light); }
.advisor { border: 1px solid var(--line); background: #fff; }
.adv-controls { padding: clamp(20px, 3vw, 30px); border-bottom: 1px solid var(--line); background: var(--bg-alt); display: grid; gap: 18px; }
.adv-q { margin: 0; font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.adv-temp label { display: block; font-family: var(--f-head); font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.adv-temp output { color: var(--teal-dark); font-weight: 600; }
.adv-temp-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 4px; }
input[type="range"] { width: 100%; max-width: 520px; accent-color: var(--teal-dark); height: 28px; margin: 0; }
.adv-temp-scale { max-width: 520px; }
.adv-out { margin: 0; padding: 16px clamp(20px, 3vw, 30px); border-bottom: 1px solid var(--line); min-height: 58px; font-size: .98rem; }
.adv-out strong { color: var(--teal-dark); }
.advisor .table-wrap { border: 0; }
.adv-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; font-size: .85rem; white-space: nowrap; }
[data-state] .adv-badge::before { content: ""; width: 8px; height: 8px; }
[data-state="2"] .adv-badge { color: var(--teal-dark); }
[data-state="2"] .adv-badge::before { background: var(--teal); }
[data-state="1"] .adv-badge { color: var(--warn); }
[data-state="1"] .adv-badge::before { background: #E0A100; }
[data-state="0"] .adv-badge { color: var(--muted); }
[data-state="0"] .adv-badge::before { background: var(--line-strong); }
tr[data-state] { transition: background-color .3s, opacity .3s; }
tr[data-state="2"] { background: var(--teal-wash); }
tr[data-state="0"] { opacity: .5; }
.adv-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.adv-card { position: relative; background: #fff; padding: 18px 16px 44px; transition: background-color .3s, opacity .3s, transform .3s var(--ease); }
.adv-name { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.adv-use { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.adv-card .adv-badge { position: absolute; left: 16px; bottom: 14px; }
.adv-card[data-state="2"] { background: var(--teal-wash); }
.adv-card[data-state="2"]::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--teal); }
.adv-card[data-state="0"] { opacity: .45; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 26px; padding: 18px 20px; background: var(--bg-alt); border: 1px solid var(--line); }
.filter-bar .adv-q { margin-right: 4px; }
.filter-out { flex-basis: 100%; margin: 0; font-size: .95rem; color: var(--muted); min-height: 1.5em; }
.filter-out strong { color: var(--teal-dark); }
[data-tags] { transition: opacity .35s, filter .35s, border-color .35s, transform .35s var(--ease); }
[data-tags].is-dim, .js [data-tags].is-dim.is-in { opacity: .35; filter: grayscale(1); }
[data-tags].is-match { border-color: var(--teal) !important; }

/* ---------- Karty typů (řezy) ---------- */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.type-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); background: #fff; scroll-margin-top: calc(var(--header-h) + 30px); }
.type-card-fig { position: relative; background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 18px 18px 8px; }
.type-card-fig .tag { position: absolute; top: 14px; right: 14px; font-family: var(--f-head); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.type-card-body { padding: 22px 24px 24px; }
.type-card-body h3 { margin-bottom: .4em; }
.type-card-body p { color: var(--text); }
.type-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 1.1em 0 0; padding-top: 1em; border-top: 1px dashed var(--line); font-size: .92rem; }
.type-meta dt { font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.type-meta dd { margin: 0; color: var(--muted); }
.type-card-photo { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.type-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.xs { width: 100%; height: auto; max-height: 150px; }
.xs-o { stroke: var(--ink); stroke-width: 1.4; }
.xs-center { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 12 4 2 4; }
.xs-leader { fill: none; stroke: var(--muted); stroke-width: 1; }
.xs-label { font-family: var(--f-head); font-weight: 500; font-size: 11.5px; fill: var(--muted); }

/* ---------- Tabulky ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec-table thead th { font-family: var(--f-head); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); }
.spec-table tbody th { font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--bg-alt); }
.table-note { margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* ---------- Záhlaví podstránek ---------- */
.page-hero { position: relative; padding-block: clamp(32px, 4.5vw, 56px) clamp(40px, 5vw, 64px); background: var(--bg-alt); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px;
  opacity: .5; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%); mask-image: linear-gradient(100deg, transparent 30%, #000 75%); pointer-events: none;
}
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt-2); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; right: 0; bottom: 0; width: 56px; height: 56px; background: var(--teal); }
.page-hero--plain .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero--dark { background: var(--ink); border-bottom: 0; }
.page-hero--dark::before { background: linear-gradient(rgba(46,211,191,.07) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(46,211,191,.07) 1px, transparent 1px) 0 0 / 32px 32px; opacity: 1; -webkit-mask-image: none; mask-image: none; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: rgba(255,255,255,.8); }
.page-hero--dark .breadcrumb ol, .page-hero--dark .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero--dark .breadcrumb [aria-current] { color: #fff; }
.page-hero--dark .breadcrumb li + li::before { background: rgba(255,255,255,.35); }

.fact-strip { position: relative; list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact-strip li { background: #fff; padding: 18px 20px; }
.fact-strip strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; line-height: 1.25; }
.fact-strip span { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* Obsah s postranním panelem */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.content-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { border: 1px solid var(--line); background: #fff; padding: 24px; }
.aside-card .eyebrow { margin-bottom: .8em; }
.aside-title { font-family: var(--f-head); font-weight: 600; font-size: 1.22rem; color: var(--ink); margin-bottom: .4em; line-height: 1.25; }
.aside-card p { font-size: .95rem; color: var(--muted); }
.aside-line { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--f-head); font-weight: 500; color: var(--ink); text-decoration: none; }
.aside-line .icon { width: 18px; height: 18px; color: var(--teal-dark); }
.aside-line:hover { color: var(--teal-dark); }
.aside-nav { border: 1px solid var(--line); padding: 18px 20px; }
.aside-nav p { font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6em; }
.aside-nav ul { list-style: none; margin: 0; padding: 0; }
.aside-nav a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--text); text-decoration: none; font-size: .95rem; transition: border-color .2s, color .2s; }
.aside-nav a:hover, .aside-nav a.is-current { border-left-color: var(--teal); color: var(--ink); }

.block { margin-bottom: clamp(48px, 6vw, 80px); scroll-margin-top: calc(var(--header-h) + 24px); }
.block:last-child { margin-bottom: 0; }
.block-head { margin-bottom: 26px; }
.block-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: .3em; }
.block-head p { color: var(--muted); max-width: 44rem; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature { background: #fff; padding: 26px 24px; transition: background-color .3s; }
.feature:hover { background: var(--bg-alt); }
.feature .icon-sq { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px; background: var(--teal-wash); color: var(--teal-dark); }
.feature .icon-sq .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .35em; }
.feature p { margin: 0; font-size: .96rem; color: var(--muted); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 20px; background: #fff; }
.checklist li::before { content: counter(c); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--ink); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: .9rem; }
.checklist strong { display: block; font-family: var(--f-head); font-weight: 600; }
.checklist span { display: block; font-size: .92rem; color: var(--muted); }
.ask-box { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 22px 24px; background: var(--ink); color: rgba(255,255,255,.82); }
.ask-box p { margin: 0; }
.ask-box strong { color: #fff; }

.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.media-split--rev .media-frame { order: 2; }
.media-frame { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.media-frame figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: rgba(11,43,42,.82); color: #fff; font-size: .82rem; }

/* Galerie profilů */
.profiles { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; border: 1px solid var(--line); }
.profile-picker { padding: 22px; border-right: 1px solid var(--line); background: var(--bg-alt); }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.profile-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px;
  background: #fff; border: 1.5px solid var(--line); cursor: pointer; font-family: var(--f-head); font-weight: 500; font-size: .9rem; color: var(--ink);
  transition: border-color .2s, transform .25s var(--ease);
}
.profile-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.profile-btn[aria-pressed="true"] { border-color: var(--teal); box-shadow: inset 0 -3px 0 var(--teal); }
.pf-icon { width: 58px; height: 58px; }
.pf { fill: #2B3F3D; stroke: var(--ink); stroke-width: 1.2; transition: fill .3s; }
.pf-glue { fill: var(--teal); }
.pf-liner { fill: #E9D9A7; }
.is-foam .pf { fill: url(#p-foam); }
.toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; cursor: pointer; font-family: var(--f-head); font-weight: 500; color: var(--ink); user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { position: relative; width: 48px; height: 26px; background: var(--line-strong); transition: background-color .25s; flex: none; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; transition: transform .25s var(--ease); }
.toggle input:checked + .toggle-track { background: var(--teal-dark); }
.toggle input:checked + .toggle-track::after { transform: translateX(22px); }
.toggle input:focus-visible + .toggle-track { outline: 3px solid var(--teal-light); outline-offset: 2px; }
.profile-panels { padding: 24px clamp(20px, 3vw, 32px); }
.profile-panel h3 { margin-bottom: .3em; }
.profile-panel .pf-large { width: 100%; max-width: 340px; height: auto; margin: 6px auto 14px; }
.profile-dims { margin: 0; padding: 14px 16px; background: var(--bg-alt); font-size: .94rem; }
.profiles-ready .profile-panel:not(.is-active) { display: none; }
.profile-panel.is-active { animation: viewin .4s ease both; }
.dim-line { fill: none; stroke: var(--ink); stroke-width: 1; }
.dim-ext { fill: none; stroke: var(--muted); stroke-width: .8; stroke-dasharray: 3 3; }
.dim-label { font-family: var(--f-head); font-weight: 600; font-size: 13px; fill: var(--teal-dark); }

/* Kalkulačka o-kroužku */
.oring-tool { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border: 1px solid var(--line); }
.oring-form { padding: clamp(22px, 3vw, 32px); background: var(--bg-alt); border-right: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.oring-form .field { margin: 0; }
.oring-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.oring-out { padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: center; }
.oring-svg { width: 100%; height: auto; }
.o-ring { fill: #22302F; stroke: var(--ink); stroke-width: 1; transition: d .35s var(--ease); }
.o-dim { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.o-dim--light { stroke: var(--teal-light); stroke-width: 2; }
.oring-result { display: grid; gap: 10px; }
.oring-label { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink); line-height: 1.2; }
.oring-result dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: .95rem; }
.oring-result dt { color: var(--muted); }
.oring-result dd { margin: 0; font-weight: 600; color: var(--ink); }
.oring-tool.is-invalid .oring-svg { opacity: .3; }

/* ---------- Obory ---------- */
.industry-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); color: #fff; }
.industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1s var(--ease), opacity .5s; }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,43,42,.05) 30%, rgba(11,43,42,.92)); }
.industry-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.industry h3 { color: #fff; font-size: 1.2rem; margin-bottom: .35em; }
.industry p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.8); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.industry:hover img { transform: scale(1.06); opacity: .6; }
.industry:hover p, .industry:focus-within p { max-height: 120px; opacity: 1; }
.industry-num { position: absolute; top: 18px; left: 22px; z-index: 1; font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; color: var(--teal-light); }

/* Doprava */
.delivery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.delivery li { background: #fff; padding: 28px 26px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.delivery .icon-sq { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--ink); color: var(--teal-light); }
.delivery .icon-sq .icon { width: 26px; height: 26px; }
.delivery h3 { font-size: 1.12rem; margin: .2em 0 .3em; }
.delivery p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- CTA pruh ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px); background-image: linear-gradient(rgba(46,211,191,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(46,211,191,.06) 1px, transparent 1px); background-size: 32px 32px; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: var(--teal); opacity: .9; }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta-text h2 { margin-bottom: .35em; }
.cta-text p { margin: 0; font-size: 1.08rem; color: rgba(255,255,255,.78); max-width: 38rem; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-actions .btn { margin-bottom: 8px; }
.cta-contact { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; }
.cta-contact .icon { width: 22px; height: 22px; color: var(--teal-light); }
.cta-contact small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .8rem; color: rgba(255,255,255,.6); }

/* Související */
.related { border-top: 1px solid var(--line); }
.rel-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rel-card { display: block; position: relative; text-decoration: none; color: var(--ink); }
.rel-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt-2); }
.rel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rel-card:hover .rel-media img { transform: scale(1.07); }
.rel-name { display: block; margin-top: 10px; padding-right: 22px; font-family: var(--f-head); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.rel-arrow { position: absolute; right: 0; bottom: 2px; width: 18px; height: 18px; color: var(--teal-dark); transition: transform .3s var(--ease); }
.rel-card:hover .rel-arrow { transform: translateX(3px); }

/* ---------- Sortiment ---------- */
.cat-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.cat-row:nth-child(even) .cat-row-media { order: 2; }
.cat-row-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt-2); }
.cat-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-row:hover .cat-row-media img { transform: scale(1.04); }
.cat-row-num { font-family: var(--f-head); font-weight: 600; color: var(--teal); letter-spacing: .12em; margin-bottom: .4em; }
.cat-row h2 a { color: inherit; text-decoration: none; }
.cat-row h2 a:hover { color: var(--teal-dark); }
.cat-row .btn-row { margin-top: 1.2em; }

.search-inline { display: grid; gap: 14px; max-width: 760px; }
.search-inline .search-field { border: 1.5px solid var(--ink); background: #fff; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); }
.search-suggest button { padding: 5px 12px; background: #fff; border: 1px solid var(--line); cursor: pointer; font-size: .88rem; color: var(--ink); }
.search-suggest button:hover { border-color: var(--ink); }
.search-inline .search-results { border: 1px solid var(--line); background: #fff; }
.search-inline .search-results:empty { display: none; }

/* ---------- Vyhledávání (overlay) ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(11,43,42,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .18s; }
.search-overlay.is-open { opacity: 1; }
.search-overlay[hidden] { display: none; }
.search-panel { width: 100%; max-width: 680px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); transform: translateY(-10px); transition: transform .25s var(--ease); }
.search-overlay.is-open .search-panel { transform: none; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 10px 0 18px; border-bottom: 1px solid var(--line); }
.search-field > .icon { width: 22px; height: 22px; color: var(--teal-dark); }
.search-field input { flex: 1; min-width: 0; height: 64px; border: 0; outline: 0; background: transparent; font: 500 1.12rem var(--f-head); color: var(--ink); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results { list-style: none; margin: 0; padding: 0; max-height: 52vh; overflow-y: auto; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-hit { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; text-decoration: none; color: var(--ink); outline: none; }
.search-hit::after { content: ""; width: 8px; height: 8px; background: var(--line-strong); flex: none; transition: background-color .2s; }
.search-hit:hover, .search-hit:focus { background: var(--bg-alt); color: var(--ink); }
.search-hit:hover::after, .search-hit:focus::after { background: var(--teal); }
.search-hit-t { font-family: var(--f-head); font-weight: 600; }
.search-hit-t mark { background: var(--teal-wash); color: inherit; }
.search-hit-c { margin-left: auto; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.search-empty { padding: 18px 20px; color: var(--muted); }
.search-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 14px 20px; background: var(--bg-alt); font-size: .88rem; color: var(--muted); }
.search-foot a { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--teal-dark); }
.faq-body { overflow: hidden; }
.faq-body p { margin: 0 0 20px; color: var(--muted); max-width: 46rem; }

/* ---------- Formulář ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { border: 1px solid var(--line); background: #fff; padding: clamp(22px, 3.5vw, 40px); scroll-margin-top: calc(var(--header-h) + 20px); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--f-head); font-weight: 500; font-size: .96rem; color: var(--ink); }
.field .req { color: var(--teal-dark); }
.field .hint { font-size: .84rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 0; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-dark); box-shadow: 0 0 0 3px rgba(46,211,191,.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone { border-color: #B3261E; }
.field-error { font-size: .86rem; color: #B3261E; min-height: 0; }
.field-error:empty { display: none; }
.field.is-prefilled select { border-color: var(--teal); background-color: var(--teal-wash); }

.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 18px; text-align: center;
  border: 1.5px dashed var(--line-strong); background: var(--bg-alt); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--teal-dark); background: var(--teal-wash); }
.dropzone .icon { width: 30px; height: 30px; color: var(--teal-dark); transition: transform .3s var(--ease); }
.dropzone.is-over .icon { transform: translateY(-4px); }
.dropzone strong { font-family: var(--f-head); font-weight: 600; }
.dropzone span { font-size: .86rem; color: var(--muted); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-chip { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border: 1px solid var(--line); background: #fff; font-size: .92rem; animation: viewin .3s ease both; }
.file-ext { font-family: var(--f-head); font-weight: 700; font-size: .72rem; padding: 4px 6px; background: var(--ink); color: #fff; letter-spacing: .04em; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { color: var(--muted); font-size: .84rem; }
.file-remove { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--muted); }
.file-remove:hover { color: #B3261E; background: var(--bg-alt); }

.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; }
.radio-cards legend { padding: 0; margin-bottom: 7px; font-family: var(--f-head); font-weight: 500; font-size: .96rem; color: var(--ink); }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 14px 12px; border: 1.5px solid var(--line-strong); cursor: pointer; transition: border-color .2s, background-color .2s; }
.radio-card .icon { width: 22px; height: 22px; color: var(--teal-dark); margin-bottom: 4px; }
.radio-card b { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: .96rem; line-height: 1.25; }
.radio-card small { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.radio-card input:hover + span { border-color: var(--muted); }
.radio-card input:checked + span { border-color: var(--teal-dark); background: var(--teal-wash); box-shadow: inset 0 -3px 0 var(--teal); }
.radio-card input:focus-visible + span { outline: 3px solid var(--teal-light); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal-dark); cursor: pointer; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-actions .note { margin: 0; }
.form-status { margin: 16px 0 0; padding: 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 14px 16px; background: #FCEDEC; color: #8C1D18; border-left: 3px solid #B3261E; }
.form-status.is-info { padding: 14px 16px; background: var(--bg-alt); border-left: 3px solid var(--teal); }
.is-sending .btn[type="submit"] .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; text-align: left; }
.form-success.is-visible { display: block; animation: viewin .5s ease both; }
.success-mark { width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: var(--ink); margin-bottom: 20px; }
.success-mark svg { width: 38px; height: 38px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: checkdraw .6s .2s ease forwards; }
@keyframes checkdraw { to { stroke-dashoffset: 0; } }
.is-sent .form-body { display: none; }

.contact-card { border: 1px solid var(--line); }
.contact-card-head { padding: 24px; background: var(--ink); color: rgba(255,255,255,.8); }
.contact-card-head .logo { font-size: 1.9rem; }
.contact-list { list-style: none; margin: 0; padding: 8px 24px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon-sq { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--teal-wash); color: var(--teal-dark); }
.contact-list .icon-sq .icon { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--f-head); font-weight: 600; }
.contact-list a, .contact-list b { font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--teal-dark); }
.company-ids { padding: 16px 24px; background: var(--bg-alt); border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.company-ids p { margin: 0; }

.map { position: relative; aspect-ratio: 16 / 10; background: var(--bg-alt-2); border: 1px solid var(--line); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px, var(--bg-alt); }
.map-pin { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--teal-light); animation: pin 2.4s ease-in-out infinite; }
.map-pin .icon { width: 28px; height: 28px; }
@keyframes pin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.map-placeholder p { margin: 0; font-size: .88rem; color: var(--muted); max-width: 30rem; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: .92rem; }
.map-links a { display: inline-flex; align-items: center; gap: 6px; }
.map-links .icon { width: 15px; height: 15px; }

/* ---------- Text (právní stránky) ---------- */
.prose { max-width: 50rem; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }

/* ---------- Patička ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 88px); border-top: 4px solid var(--teal); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { font-size: 2.2rem; display: inline-block; margin-bottom: 20px; }
.footer-brand p { max-width: 22rem; font-size: .95rem; color: rgba(255,255,255,.7); margin-bottom: 1.4em; }
.footer-title { font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 1.1em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.82); font-size: .96rem; }
.footer-col a:hover { color: var(--teal-light); }
.footer-col address { font-size: .96rem; line-height: 1.75; color: rgba(255,255,255,.82); }
.footer-ids { margin-top: 1em; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--ink-3); font-size: .86rem; color: rgba(255,255,255,.55); }
.footer-bottom p { margin: 0; }

/* Zpět nahoru */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; border: 0; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background-color .2s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal-dark); }
.to-top .icon { width: 20px; height: 20px; }

/* Záložky */
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs [role="tab"] { position: relative; padding: 14px 20px; background: none; border: 0; cursor: pointer; font-family: var(--f-head); font-weight: 500; font-size: 1.02rem; color: var(--muted); transition: color .2s; }
.tabs [role="tab"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--teal); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.tabs:not(.tabs-ready) [role="tablist"] { display: none; }
.tabs:not(.tabs-ready) [role="tabpanel"] + [role="tabpanel"] { margin-top: 48px; }
[role="tabpanel"].is-active { animation: viewin .45s ease both; }

/* ---------- Doplňky ---------- */
.on-dark .lead { color: rgba(255,255,255,.8); }
.on-dark .muted, .on-dark .note { color: rgba(255,255,255,.6); }
.cat-row-media.blueprint, .media-frame.blueprint { display: flex; align-items: center; justify-content: center; aspect-ratio: auto; padding: clamp(16px, 3vw, 32px); }
.cat-row-media.blueprint .bp-drawing { max-height: 360px; }
.feature--note { background: var(--bg-alt); border: 1px dashed var(--line-strong); }
@media (min-width: 901px) {
  .type-grid > .type-card:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
  .type-grid > .type-card:last-child:nth-child(odd) .type-card-fig { border-bottom: 0; border-right: 1px solid var(--line); display: flex; align-items: center; }
}

/* ---------- Animace při posunu ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responzivita ---------- */
@media (max-width: 1240px) {
  .search-kbd { display: none; }
  .search-btn-label { display: none; }
  .search-btn { padding: 0; width: 44px; }
}
@media (max-width: 1100px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--line); padding: 0; }
  .main-nav {
    position: fixed; top: var(--mobile-top, 116px); left: 0; right: 0; bottom: 0; z-index: 99;
    background: #fff; padding: 12px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s;
    margin: 0;
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-open body { 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, .site-header.is-scrolled .nav-link { height: auto; padding: 18px 0; font-size: 1.25rem; flex: 1; }
  .nav-link::after { display: none; }
  .mega-toggle { width: 52px; height: 52px; margin: 0; border-left: 1px solid var(--line); }
  .has-mega:hover .mega-toggle .icon { transform: none; }
  .has-mega.is-open .mega-toggle .icon { transform: rotate(180deg); }
  .mega, .has-mega:hover .mega, .has-mega:focus-within .mega { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; transition: none; }
  .has-mega.is-open .mega { display: block; }
  .mega-inner { display: block; padding: 0 0 16px; }
  .mega-grid { grid-template-columns: 1fr; gap: 2px; }
  .mega-card { padding: 8px 0; }
  .mega-thumb { width: 64px; }
  .mega-text small { display: none; }
  .mega-side { display: none; }
  .nav-mobile-extra { display: grid; gap: 4px; margin-top: 24px; }
  .nav-mobile-extra .btn { margin-bottom: 10px; }
  .header-cta { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry { aspect-ratio: 4 / 3; }
  .industry p { max-height: none; opacity: 1; }
  .adv-cards { grid-template-columns: repeat(3, 1fr); }
  .adv-card:last-child { grid-column: span 2; }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .content-aside { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .page-hero-grid, .bp-grid, .why-grid, .cta-grid, .media-split, .contact-grid, .profiles, .oring-tool, .drawing-tool, .cat-row { grid-template-columns: minmax(0, 1fr); }
  .hero::before { width: 100%; opacity: .25; }
  .slider { aspect-ratio: 4 / 3; }
  .media-split--rev .media-frame, .cat-row:nth-child(even) .cat-row-media { order: 0; }
  .profile-picker, .oring-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .drawing-panel { border-left: 0; border-top: 1px solid var(--ink-3); }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery { grid-template-columns: minmax(0, 1fr); }
  .type-grid { grid-template-columns: minmax(0, 1fr); }
  .topbar-claim { display: none !important; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  :root { --header-h: 64px; }
  .site-header .logo { font-size: 1.7rem; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 6px; margin-left: auto; }
  .topbar { display: none; }
  .tiles, .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile-list { max-height: none; opacity: 1; }
  .industry-grid { grid-template-columns: minmax(0, 1fr); }
  .adv-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .feature-grid--2, .checklist, .form-grid, .radio-cards, .stats { grid-template-columns: minmax(0, 1fr); }
  .content-aside { grid-template-columns: minmax(0, 1fr); }
  .hero-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
  .hero-trust li { padding-left: 10px; }
  .hero-trust strong { font-size: 1.08rem; }
  .hero-trust span { font-size: .8rem; }
  .list-sq--cols { columns: 1; }
  .oring-out { grid-template-columns: minmax(0, 1fr); }
  .oring-svg { max-width: 220px; margin: 0 auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-grid { grid-template-columns: repeat(3, 1fr); }
  .slide-caption { bottom: 70px; }
  .slide-caption small { display: none; }
  .why-item { grid-template-columns: 52px 1fr; }
  .spec-table th, .spec-table td { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .draw { stroke-dashoffset: 0; }
  .js [data-reveal] .bp-label, .js [data-reveal] .bp-dim, .js [data-reveal] .bp-leader, .js [data-reveal] .bp-ext { opacity: .75; }
  .ticker-track { animation: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .cta-band, .to-top, .search-overlay, .related { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
