/* =====================================================================
   PACK Trade – štýl webu „Bronz“ (2026)
   Grafit, výrazná oranžová meď a písmo Jost. Fotky cez celú šírku,
   výkresy z katalógu TMP ako pozadia, čiarové ikony, ktoré sa nakreslia.
   Všetko z vlastného servera – žiadne externé písma, žiadne cookies.
   ===================================================================== */

:root {
  /* akcent: výrazná oranžová meď */
  --copper: #b84c05;       /* text a odkazy na svetlom – kontrast 5,2 : 1 */
  --copper-2: #c45308;     /* tlačidlá (biely text 4,6 : 1) */
  --copper-3: #ff8d29;     /* oranž na tmavom */
  --copper-3-rgb: 255,141,41;
  --copper-dark: #8f3b04;
  --accent-line: #f26c0d;  /* akcentové čiary, ikony */
  --sheet-accent: #ff8d29;
  --ok: #2f6b3a;
  --err: #a12a1f;
  --display: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --body: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 0px;
  --paper: #ffffff;

  /* tmavé tóny: grafit */
  --ink: #1d2125;          /* hlavný text, tmavé čiary */
  --text: #2a3036;         /* bežný text */
  --night: #1d2125;        /* tmavé plochy (hlavička, úvody, výzvy) */
  --night-rgb: 29,33,37;
  --night-2: #171a1d;      /* päta */
  --shade-rgb: 20,23,26;   /* stmavenie fotiek */
  --slate: #e9ebed;        /* pozadie produktových obrázkov */
  --steel: #5e6974;        /* sekundárny text */
  --mist: #8d969f;
  --fog: #b4bcc3;          /* tlmený text na tmavom */
  --on-dark: #e8ebee;      /* text na tmavom */
  --on-dark-2: #d3d9de;
  --on-dark-3: #b9c1c8;
  --line: #dde1e5;
  --ground: #f1f2f3;       /* svetlé pozadie sekcií */
  --sheet-draw: #2b3238;   /* pozadie výkresov v katalógu */
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 36px rgba(var(--shade-rgb),.1);
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 17.5px; line-height: 1.65; font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--copper); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-dark); }
:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); }
h1, h2 { font-weight: 300; letter-spacing: -.015em; }
h1 { font-size: clamp(40px, 5.8vw, 80px); }
h2 { font-size: clamp(31px, 3.9vw, 54px); }
h3 { font-weight: 500; font-size: clamp(20px, 1.9vw, 23px); line-height: 1.25; }
h4 { font-weight: 500; font-size: 19px; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong, b { font-weight: 500; }
hr { border: 0; height: 1px; background: var(--line); margin: 48px 0; }
small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--copper-2); color: #fff; padding: 10px 16px; z-index: 100; font-weight: 500; }
.skip:focus { top: 8px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--ground { background: var(--ground); }
.section--dark { background-color: var(--night); background-image: url(/assets/img/vykres/vykres-rs-jemny.svg); background-repeat: no-repeat; background-position: right -4% top 24px; background-size: min(52%, 760px) auto; color: var(--on-dark); }
.section--vykres-ts { background-image: url(/assets/img/vykres/vykres-ts-jemny.svg); }   /* rad TS 031 444 – náčrt TS 50 zo STEP */
.section--vykres-tsn { background-image: url(/assets/img/vykres/vykres-tsn-jemny.svg); } /* rad TSN 030 444 – náčrt TSN 50 zo STEP */
.section--vykres-zap { background-image: url(/assets/img/vykres/vykres-zap-jemny.svg); } /* rad ZAP – náčrt ZAP 50 zo STEP */
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--copper-3); }
.section--dark p, .section--dark li { color: var(--on-dark-2); }

.kicker { display: block; font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--copper); margin-bottom: 14px; }
.section--dark .kicker { color: var(--copper-3); }
.lead { font-size: clamp(18px, 1.7vw, 20.5px); line-height: 1.6; color: var(--steel); max-width: 62ch; }
.section--dark .lead { color: var(--fog); }
.muted { color: var(--steel); }
.center { text-align: center; }

/* ---------- tlačidlá ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 28px; font-family: var(--body); font-size: 16.5px; font-weight: 500; letter-spacing: .01em; line-height: 1.1; text-decoration: none; border: 1px solid var(--copper-2); background: var(--copper-2); color: #fff; border-radius: var(--radius); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.section--dark .btn--ghost, .nh .btn--ghost, .ph .btn--ghost, .nb .btn--ghost, .cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.section--dark .btn--ghost:hover, .nh .btn--ghost:hover, .ph .btn--ghost:hover, .cta .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link-arrow { font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* =====================================================================
   HLAVIČKA – grafitová; nad úvodnou fotkou priehľadná
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: #fff; transition: background .3s, box-shadow .3s; }
.site-header .wrap { max-width: 1340px; display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.has-hero .site-header { background: transparent; }
.has-hero .site-header.is-scrolled, .menu-open .site-header { background: rgba(var(--night-rgb),.97); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.has-hero main > section.nh:first-of-type { margin-top: calc(-1 * var(--header-h)); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav__item { position: relative; margin: 0; }
.nav__link { display: flex; align-items: center; gap: 5px; min-height: 44px; padding: 10px 12px; color: var(--on-dark); text-decoration: none; font-family: var(--body); font-size: 15.5px; font-weight: 500; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav__link:hover, .nav__item:focus-within > .nav__link { color: #fff; background: rgba(255,255,255,.07); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--copper-3); }
.nav__caret { width: 10px; height: 10px; opacity: .7; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: 10px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub li { margin: 0; }
.nav__sub a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; font-size: 15.5px; }
.nav__sub a:hover { background: var(--ground); color: var(--copper); }
.nav__sub a[aria-current="page"] { color: var(--copper); }
.nav__sub .nav__sep { height: 1px; background: var(--line); margin: 6px 4px; }
.langs { display: flex; gap: 2px; margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.16); }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 0 6px; color: var(--fog); text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; }
.langs a:hover { color: #fff; background: rgba(255,255,255,.07); }
.langs a[aria-current="true"] { color: #fff; box-shadow: inset 0 -2px 0 var(--copper-3); }
.header-cta { margin-left: 12px; font-size: 15px; min-height: 44px; padding: 10px 18px; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; background: none; border: 1px solid rgba(255,255,255,.28); color: #fff; font-family: inherit; font-size: 14.5px; font-weight: 500; gap: 8px; align-items: center; justify-content: center; padding: 0 12px; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1300px) {
  .nav__link { padding: 10px 9px; font-size: 15px; }
  .site-header .wrap { gap: 16px; }
}
@media (max-width: 1220px) { .header-cta { display: none; } }
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--night); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 40px; overflow-y: auto; display: none; margin: 0; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { font-size: 19px; padding: 14px 4px; width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 12px; display: none; min-width: 0; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub a { color: var(--on-dark-2); font-size: 16.5px; padding: 10px 8px; }
  .nav__sub a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav__sub .nav__sep { background: rgba(255,255,255,.1); }
  .langs { margin: 20px 0 0; padding: 0; border: 0; }
  .header-cta { display: inline-flex; margin: 20px 0 0; justify-content: center; }
  body.menu-open { overflow: hidden; }
}

/* ---------- navigačná cesta ---------- */
.crumbs { font-size: 14.5px; color: var(--steel); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: flex; gap: 4px; align-items: center; }
.crumbs li + li::before { content: "›"; color: var(--mist); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--copper); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.nh .crumbs, .ph .crumbs { padding: 0 0 18px; }
.nh .crumbs, .nh .crumbs a, .ph .crumbs, .ph .crumbs a { color: var(--on-dark-3); }
.nh .crumbs [aria-current], .ph .crumbs [aria-current] { color: #fff; }
.nh .crumbs a:hover, .ph .crumbs a:hover { color: #fff; }

/* =====================================================================
   ÚVOD S FOTOGRAFIOU CEZ CELÚ ŠÍRKU (úvodná stránka, TMP, vybrané podstránky)
   ===================================================================== */
.nh { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(94vh, 900px); color: #fff; background: var(--night); overflow: hidden; }
.nh--short { min-height: min(72vh, 660px); }
.nh__media { position: absolute; inset: 0; margin: 0; }
.nh__media img, .nh__media video { display: block; width: 100%; height: 100%; object-fit: cover; animation: nh-in 2.6s cubic-bezier(.2,.7,.2,1) both; transform-origin: 70% 50%; }
/* tlačidlo Zastaviť/Prehrať pri úvodnom videu – vpravo hore pod hlavičkou, zarovnané s obsahom */
.nh__vbtn { position: absolute; z-index: 2; top: calc(var(--header-h) + 20px); right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: rgba(var(--night-rgb), .5); color: #fff; border: 1px solid rgba(255,255,255,.3); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s ease, border-color .2s ease; }
.nh__vbtn:hover, .nh__vbtn:focus-visible { background: rgba(var(--night-rgb), .85); border-color: rgba(255,255,255,.7); }
.nh__ico { width: 14px; height: 14px; fill: currentColor; }
.nh__ico--pause, .nh__vbtn.is-playing .nh__ico--play { display: none; }
.nh__vbtn.is-playing .nh__ico--pause { display: block; }
.nh__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade-rgb),.9) 0%, rgba(var(--shade-rgb),.62) 40%, rgba(var(--shade-rgb),.12) 78%), linear-gradient(0deg, rgba(var(--shade-rgb),.7) 0%, rgba(var(--shade-rgb),0) 42%), linear-gradient(180deg, rgba(var(--shade-rgb),.55) 0%, rgba(var(--shade-rgb),0) 160px); }
@keyframes nh-in { from { transform: scale(1.07); } to { transform: none; } }
.nh__inner { position: relative; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(40px, 6vw, 72px); }
.nh__text { max-width: 680px; }
.nh h1 { color: inherit; margin-bottom: 22px; }
.nh .kicker { color: var(--copper-3); }
.nh__lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; max-width: 50ch; margin-bottom: 0; color: var(--on-dark-2); }
.nh .btns { margin-top: 34px; }
.nh .specs { margin-top: 30px; }

.nh__rail { position: relative; border-top: 1px solid rgba(255,255,255,.16); background: rgba(var(--shade-rgb),.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nh__rail .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nh__rail a { position: relative; display: block; padding: 22px 24px 26px 0; color: #fff; text-decoration: none; }
.nh__rail a + a { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.nh__rail a::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--copper-3); transition: width .35s ease; }
.nh__rail a + a::before { left: 28px; }
.nh__rail a:hover::before, .nh__rail a:focus-visible::before { width: 96px; }
.nh__rail b { display: block; font-size: 18px; font-weight: 500; }
.nh__rail span { display: block; font-size: 15px; color: var(--on-dark-3); }
@media (max-width: 760px) {
  .nh { min-height: min(88vh, 760px); }
  .nh--short { min-height: min(70vh, 560px); }
  .nh__media::after { background: linear-gradient(0deg, rgba(var(--shade-rgb),.92) 0%, rgba(var(--shade-rgb),.55) 55%, rgba(var(--shade-rgb),.35) 100%); }
  .nh__rail .wrap { grid-template-columns: 1fr; }
  .nh__rail a, .nh__rail a + a { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .nh__rail a + a::before { left: 0; }
}

/* =====================================================================
   ÚVOD PODSTRÁNKY – grafit; fotka vpravo až po okraj okna (split)
   ===================================================================== */
.ph { position: relative; background-color: var(--night); color: #fff; overflow: hidden; }
.ph--plain { background-image: url(/assets/img/vykres/vykres-gk-jemny.svg); background-repeat: no-repeat; background-position: right -2% center; background-size: min(46%, 640px) auto; }
.ph__inner { position: relative; z-index: 1; padding-top: 22px; padding-bottom: clamp(44px, 6vw, 80px); }
.ph__text { max-width: 760px; }
.ph h1 { color: #fff; margin-bottom: 20px; font-size: clamp(38px, 5vw, 68px); }
.ph .kicker { color: var(--copper-3); }
.ph .lead { color: var(--on-dark-2); margin-bottom: 0; }
.ph .lead strong { color: #fff; }
.ph__media { margin: 0; }
.ph__media img { width: 100%; height: 100%; object-fit: cover; }
.ph--split .ph__inner { min-height: min(62vh, 600px); display: flex; flex-direction: column; }
.ph--split .ph__text { width: 50%; padding-right: clamp(24px, 4vw, 56px); margin-top: auto; padding-top: 28px; }
.ph--split .ph__media { position: absolute; top: 0; right: 0; bottom: 0; width: calc(50vw - 0px); }
@media (min-width: 1240px) { .ph--split .ph__media { width: calc(50vw - 12px); } }
.ph--split .ph__media::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--copper-3); z-index: 1; opacity: .7; }
.ph__media--contain { background: var(--slate); }
.ph__media--contain img { object-fit: contain; padding: clamp(16px, 3vw, 40px); }
@media (max-width: 900px) {
  .ph--split .ph__inner { min-height: 0; }
  .ph--split .ph__text { width: auto; padding-right: 0; }
  .ph--split .ph__media { position: relative; width: auto; height: auto; aspect-ratio: 16 / 10; }
  .ph--split .ph__media::before { display: none; }
}

/* parametre v úvode (aj na svetlom) */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border-top: 1px solid var(--ink); margin: 26px 0 0; max-width: 720px; }
.specs div { padding: 14px 18px 4px 0; }
.specs div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.specs b { display: block; font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; line-height: 1.1; color: var(--ink); }
.specs span { font-size: 14.5px; color: var(--steel); }
.ph .specs, .nh .specs { border-top-color: rgba(var(--copper-3-rgb),.55); }
.ph .specs div + div, .nh .specs div + div { border-left-color: rgba(255,255,255,.14); }
.ph .specs b, .nh .specs b { color: #fff; }
.ph .specs span, .nh .specs span { color: var(--fog); }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr 1fr; } .specs div:nth-child(odd) { padding-left: 0; border-left: 0; } }

/* =====================================================================
   PÁS S ČÍSLAMI
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.stat { padding: 26px 20px 26px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.stat b { display: block; font-family: var(--display); font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1; color: #fff; }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--fog); }
.stats--light { border-color: var(--ink); }
.stats--light .stat + .stat { border-color: var(--line); }
.stats--light .stat b { color: var(--ink); }
.stats--light .stat span { color: var(--steel); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); } .stats--light .stat:nth-child(n+3) { border-color: var(--line); } }

/* =====================================================================
   MRIEŽKY, KARTY, ZOZNAMY
   ===================================================================== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; } .split > [style*="order:2"] { order: 0 !important; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
a.card:hover { border-color: var(--ink); box-shadow: var(--shadow); color: inherit; }
.card__media { background: var(--slate); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.card:hover .card__media img { transform: scale(1.03); }
.card__media--contain img { object-fit: contain; padding: 14px; }
a.card:hover .card__media--contain img { transform: none; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__code { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--copper); }
.card h3 { margin: 0; font-size: clamp(20px, 1.9vw, 23px); }
.card p { margin: 0; color: var(--steel); font-size: 15.5px; line-height: 1.55; }
.card__more { margin-top: auto; padding-top: 12px; font-weight: 500; color: var(--copper); font-size: 15px; }
.card__more::after { content: " →"; }
.section--ground .card { border-color: transparent; }

.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.feature__num { font-family: var(--display); font-size: 20px; font-weight: 400; color: var(--copper); line-height: 1.1; border-top: 1px solid var(--accent-line); padding-top: 8px; }
.section--dark .feature__num { color: var(--copper-3); border-color: var(--copper-3); }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--steel); font-size: 16px; }
.section--dark .feature p { color: var(--fog); }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1.5px; background: var(--accent-line); }
.section--dark .ticks li::before { background: var(--copper-3); }
.ticks--cols { columns: 2; column-gap: 48px; }
.ticks--cols li { break-inside: avoid; }
@media (max-width: 620px) { .ticks--cols { columns: 1; } }

/* ---------- tabuľky ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0 8px; border-top: 2px solid var(--ink); background: #fff; }
table.data { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 560px; }
table.data th, table.data td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data thead th { font-family: var(--body); font-weight: 500; font-size: 15px; background: transparent; border-bottom: 1px solid var(--ink); vertical-align: bottom; color: var(--ink); }
table.data th[scope="row"], table.data td.l { text-align: left; font-weight: 500; color: var(--ink); }
table.data tbody tr:nth-child(even) td, table.data tbody tr:nth-child(even) th { background: var(--ground); }
table.data caption { caption-side: bottom; text-align: left; padding: 10px 12px; font-size: 14px; color: var(--steel); }
.note { font-size: 15px; color: var(--steel); }

/* ---------- fotky ---------- */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; }
.photo figcaption { font-size: 14.5px; color: var(--steel); padding-top: 10px; }
.section--dark .photo figcaption { color: var(--fog); }
.photo--cover img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.photo--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .gallery--c2 { grid-template-columns: 1fr; } }
/* galéria so zväčšením pri prejdení myšou (zoom: true) */
@media (hover: hover) and (pointer: fine) {
  .gallery--zoom .photo { position: relative; }
  .gallery--zoom .photo img { position: relative; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; cursor: zoom-in; }
  .gallery--zoom .photo:hover { z-index: 5; }
  .gallery--zoom .photo:hover img { transform: scale(1.8); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
  .gallery--zoom .photo:nth-child(3n+1) img { transform-origin: left center; }
  .gallery--zoom .photo:nth-child(3n) img { transform-origin: right center; }
}
@media (hover: hover) and (pointer: fine) and (max-width: 860px) {
  .gallery--zoom .photo:nth-child(n) img { transform-origin: center; }
  .gallery--zoom .photo:nth-child(2n+1) img { transform-origin: left center; }
  .gallery--zoom .photo:nth-child(2n) img { transform-origin: right center; }
}
/* mozaika – dlaždice rôznej veľkosti, popis len pri prejdení myšou (mosaic: true; rozloženie podľa počtu fotiek) */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 240px); gap: 12px; grid-auto-flow: dense; }
.mosaic .photo { position: relative; margin: 0; overflow: hidden; }
.mosaic .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mosaic .photo:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic--2 .photo { grid-column: span 2; grid-row: span 2; }
.mosaic--3 .photo:nth-child(n+2) { grid-column: span 2; }
.mosaic--4 .photo:nth-child(2) { grid-column: span 2; }
.mosaic--6 .photo:nth-child(2), .mosaic--6 .photo:nth-child(3) { grid-column: 3 / 5; }
.mosaic--6 .photo:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
.mosaic--6 .photo:nth-child(5) { grid-column: 1 / 3; grid-row: 4; }
.mosaic--6 .photo:nth-child(6) { grid-column: 3 / 5; grid-row: 3 / 5; }
.mosaic--7 .photo:nth-child(n+6) { grid-column: span 2; }
.mosaic--8 .photo:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.mosaic--8 .photo:nth-child(n+7) { grid-column: span 2; }
.mosaic .photo figcaption.mosaic__cap { margin: 0; position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 10px; color: #fff; font-size: 14px; line-height: 1.35; background: linear-gradient(0deg, rgba(var(--shade-rgb), .78), rgba(var(--shade-rgb), 0)); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.mosaic .photo .mosaic__cap b, .mosaic .photo .mosaic__cap strong { color: #fff; }
@media (hover: hover) { .mosaic .photo:hover figcaption.mosaic__cap { opacity: 1; transform: none; } .mosaic .photo:hover img { transform: scale(1.04); } }
@media (hover: none) { .mosaic .photo figcaption.mosaic__cap { display: none; } }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .mosaic .photo { grid-column: auto !important; grid-row: auto !important; }
  .mosaic .photo:first-child, .mosaic .photo:last-child:nth-child(even) { grid-column: span 2 !important; }
}

/* =====================================================================
   ČASOVÁ OS
   ===================================================================== */
.ntl__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.ntl__head h2, .ntl__head .lead { margin: 0; }
.ntl__list { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ntl__list li { position: relative; margin: 0; padding: 28px 28px 0 0; }
.ntl__list li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--accent-line); }
.ntl__list b { display: block; font-family: var(--display); font-size: clamp(36px, 3.6vw, 52px); font-weight: 300; line-height: 1; color: var(--ink); }
.ntl__list span { display: block; margin-top: 12px; color: var(--steel); font-size: 16px; max-width: 24ch; }
.ntl__list a { color: inherit; text-decoration: none; display: block; }
.ntl__list a span { text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 4px; }
.ntl__list a:hover span, .ntl__list a:hover b { color: var(--copper); }
.ntl__photo { margin: clamp(48px, 6vw, 80px) 0 0; }
.ntl__photo img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
  .ntl__head { grid-template-columns: 1fr; }
  .ntl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}

/* =====================================================================
   IKONY S VÝKRESOM V POZADÍ (výrobný program, použitie TMP)
   ===================================================================== */
.ni { position: relative; overflow: hidden; }
.ni__bg { position: absolute; right: -8%; top: 48px; width: min(54%, 800px); height: auto; pointer-events: none; opacity: .3; }
.ni .wrap { position: relative; }
.ni__head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 64px); }
.ni__grid { --n: 3; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ni__grid--4 { --n: 4; }
.ni__item { display: block; padding: 40px 36px 40px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; background: rgba(255,255,255,.82); }
.ni__grid--3 .ni__item:not(:nth-child(3n+1)), .ni__grid--4 .ni__item:not(:nth-child(4n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.section--ground .ni__item { background: color-mix(in srgb, var(--ground) 86%, transparent); }
.ni__item h3 { margin: 0 0 8px; transition: color .2s; }
.ni__item p { margin: 0; color: var(--steel); font-size: 16px; line-height: 1.55; max-width: 34ch; }
.ni__note { position: relative; margin: 28px 0 0; color: var(--steel); font-size: 16px; line-height: 1.55; }
a.ni__item:hover h3, a.ni__item:focus-visible h3 { color: var(--copper); }
.ni__more { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--copper); }
@media (max-width: 1020px) {
  .ni__grid--4 { --n: 2; }
  .ni__grid--4 .ni__item:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .ni__grid--4 .ni__item:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .ni__grid--3 { --n: 2; }
  .ni__grid--3 .ni__item:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .ni__grid--3 .ni__item:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .ni__grid--3, .ni__grid--4 { --n: 1; }
  .ni__item, .ni__grid--3 .ni__item:nth-child(2n), .ni__grid--4 .ni__item:nth-child(2n) { padding: 28px 0; border-left: 0; }
}

/* čiarové ikony – „nakreslia sa“, keď prídu do obrazu (bez knižníc, bez cookies) */
.ikona { display: block; width: 72px; height: 72px; margin-bottom: 20px; fill: none; stroke: var(--ink); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ikona .ac { stroke: var(--accent-line); }
.js-anim .ikona path, .js-anim .ikona circle { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.65,0,.35,1); transition-delay: calc(min(var(--i, 0), 5) * .12s); }
.js-anim .ikona.is-in path, .js-anim .ikona.is-in circle { stroke-dashoffset: 0; }
.js-anim .ikona .ac { transition-delay: .85s !important; }
/* pri prechode myšou sa akcent (šípka, kóta…) nakreslí znova */
@keyframes ikona-ac { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.js-anim .ni__item:hover .ikona.is-in .ac { animation: ikona-ac .7s cubic-bezier(.65,0,.35,1); }

/* pohyb mechanizmu v ikone: raz po nakreslení (is-go) a pri každom prechode myšou */
.ikona .mv-rot { transform-box: fill-box; transform-origin: center; }
.ikona .mv-sy, .ikona .mv-sx, .ikona .mv-tilt, .ikona .mv-spin { transform-box: view-box; transform-origin: var(--o); }
.ikona .mv-sk { transform-box: view-box; transform-origin: 0 0; }
@keyframes mv-rot { from { transform: rotate(0); } to { transform: rotate(var(--a)); } }
@keyframes mv-tx { from { transform: translateX(0); } to { transform: translateX(var(--d)); } }
@keyframes mv-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(var(--d)); } }
@keyframes mv-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(var(--d)); } }
@keyframes mv-sy { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(var(--k)); } }
@keyframes mv-sx { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(var(--k)); } }
@keyframes mv-tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(var(--a)); } }
@keyframes mv-spin { to { transform: rotate(360deg); } }
@keyframes mv-sk { from { transform: none; } to { transform: var(--m); } }
@keyframes mv-flick { 0%, 100% { opacity: 1; } 25% { opacity: .15; } 50% { opacity: 1; } 75% { opacity: .3; } }
.ikona [class^="mv-"] { animation-duration: var(--t, 1.6s); animation-iteration-count: var(--n, 1); animation-timing-function: var(--e, cubic-bezier(.45,0,.55,1)); }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-rot, .ikona.is-go .mv-rot { animation-name: mv-rot; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-tx, .ikona.is-go .mv-tx { animation-name: mv-tx; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-up, .ikona.is-go .mv-up { animation-name: mv-up; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-x, .ikona.is-go .mv-x { animation-name: mv-x; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-sy, .ikona.is-go .mv-sy { animation-name: mv-sy; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-sx, .ikona.is-go .mv-sx { animation-name: mv-sx; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-tilt, .ikona.is-go .mv-tilt { animation-name: mv-tilt; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-spin, .ikona.is-go .mv-spin { animation-name: mv-spin; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-flick, .ikona.is-go .mv-flick { animation-name: mv-flick; }
:is(a.ni__item:hover, a.ni__item:focus-visible, .ni__item:hover) .ikona .mv-sk, .ikona.is-go .mv-sk { animation-name: mv-sk; }

/* =====================================================================
   PRINCÍP TMP – animovaná posuvná a rotujúca skrutka
   ===================================================================== */
.np__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.np__head h2, .np__head .lead { margin: 0; }
.np__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.np__fig { margin: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(16px, 3vw, 36px); align-items: center; padding: clamp(20px, 3vw, 36px); background: var(--paper); border-top: 1px solid var(--ink); }
.section--ground .np__fig { background: #fff; }
.np__svg { width: 100%; max-width: 240px; justify-self: center; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.np__svg .ac { stroke: var(--accent-line); }
.np__svg .fill { fill: var(--ground); }
.np__svg .fill-br { fill: rgba(var(--copper-3-rgb),.28); stroke: var(--accent-line); }
.np__svg .thin { stroke-width: 1; stroke: var(--mist); }
.np__svg .fill-w { fill: #fff; }
.np__svg .axis { stroke: var(--mist); stroke-width: 1; stroke-dasharray: 10 4 2 4; }
.np__fig figcaption h3 { margin-bottom: 6px; }
.np__fig figcaption .card__code { display: block; margin-bottom: 8px; }
.np__fig figcaption p { color: var(--steel); font-size: 16px; margin-bottom: 10px; }
.np__fig figcaption a { font-weight: 500; font-size: 15.5px; text-decoration: none; }
.np__fig figcaption a:hover { text-decoration: underline; }
/* pohyb: skrutka (posuvná) alebo matica (rotujúca) ide hore-dole, závit „beží“, vstupný hriadeľ sa točí */
.np-move, .np-thread, .np-spin { animation: 7s cubic-bezier(.45,0,.55,1) infinite; }
.np-move { animation-name: np-lift; }
.np-thread { animation-name: np-lift; }
.np-spin { transform-box: fill-box; transform-origin: center; animation-name: np-spin; }
@keyframes np-lift { 0%, 8% { transform: translateY(0); } 46%, 54% { transform: translateY(-44px); } 92%, 100% { transform: translateY(0); } }
@keyframes np-spin { 0%, 8% { transform: rotate(0); } 46%, 54% { transform: rotate(1080deg); } 92%, 100% { transform: rotate(0); } }
.np__toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 44px; padding: 8px 16px; background: none; border: 1px solid var(--line); color: var(--ink); font: 500 15px/1.2 var(--body); cursor: pointer; }
.np__toggle:hover { border-color: var(--ink); }
.np__ico { width: 14px; height: 14px; fill: var(--accent-line); }
.np--play .np__ico--play, .np--stop .np__ico--pause, .np__toggle:not([aria-pressed]) .np__ico--play { display: none; }
.np__note { margin: 10px 0 0; font-size: 14.5px; color: var(--steel); max-width: 52ch; }
.np--stop .np-move, .np--stop .np-thread, .np--stop .np-spin { animation-play-state: paused; }
/* beží aj bez JavaScriptu; skript ju len zastaví, keď výkres nie je v obraze */
.np__fig.is-off .np-move, .np__fig.is-off .np-thread, .np__fig.is-off .np-spin { animation-play-state: paused; }
@media (max-width: 1020px) { .np__grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .np__head { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .np__fig { grid-template-columns: 1fr; } .np__svg { max-width: 200px; } }

/* =====================================================================
   FOTOGRAFIA CEZ CELÚ ŠÍRKU (pás s textom)
   ===================================================================== */
.nb { position: relative; display: flex; align-items: flex-end; min-height: min(80vh, 740px); color: #fff; background: var(--night); overflow: hidden; }
.nb__media { position: absolute; inset: 0; margin: 0; }
.nb__media img { width: 100%; height: 100%; object-fit: cover; }
.nb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade-rgb),.85) 0%, rgba(var(--shade-rgb),.35) 45%, rgba(var(--shade-rgb),0) 70%), linear-gradient(90deg, rgba(var(--shade-rgb),.55), rgba(var(--shade-rgb),0) 60%); }
.nb__inner { position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(44px, 6vw, 80px); }
.nb__text { max-width: 600px; }
.nb h2 { color: #fff; margin-bottom: 16px; }
.nb p { color: var(--on-dark-2); font-size: 18px; }
.nb__link { display: inline-block; margin-top: 8px; color: #fff; font-weight: 500; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--copper-3); }
.nb__link:hover { color: var(--copper-3); }
@media (max-width: 760px) { .nb { min-height: min(76vh, 620px); } }

/* =====================================================================
   REFERENCIE – FOTOGRAFICKÉ DLAŽDICE
   ===================================================================== */
.nt__head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.nt__head h2 { margin-bottom: .35em; }
.nt__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nt__item { position: relative; display: block; color: inherit; text-decoration: none; overflow: hidden; background: var(--night); }
.nt__img { display: block; overflow: hidden; }
.nt__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nt__item:hover .nt__img img { transform: scale(1.035); }
.nt__cap { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 80px 24px 24px; color: #fff; background: linear-gradient(0deg, rgba(var(--shade-rgb),.9), rgba(var(--shade-rgb),0)); }
.nt__cap b { display: block; font-family: var(--display); font-size: 22px; font-weight: 400; line-height: 1.2; }
.nt__cap span { display: block; font-size: 15px; color: var(--on-dark-2); margin-top: 4px; }
.nt__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nt__grid--2 .nt__img img { aspect-ratio: 4 / 3; }
.nt__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nt__grid--4 .nt__cap { padding: 64px 18px 18px; }
.nt__grid--4 .nt__cap b { font-size: 20px; }
@media (max-width: 1100px) { .nt__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nt__grid--4 .nt__img img { aspect-ratio: 4 / 3; } }
@media (max-width: 860px) { .nt__grid { grid-template-columns: 1fr; } .nt__img img { aspect-ratio: 16 / 10; } }

/* =====================================================================
   TMP – RAD VEĽKOSTÍ
   ===================================================================== */
/* výkresy veľkostí z obálky katalógu (návrh 2) – všetky v jednej mierke, šírka položky = šírka výkresu */
.sz { --k: min(1.6px, calc((100vw - 2 * var(--gutter)) / 697)); display: flex; align-items: flex-end; margin-top: 8px; }
.sz__item { flex: 0 0 auto; width: calc(var(--w) * var(--k)); display: block; color: inherit; text-decoration: none; }
.sz__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sz__fill { fill: rgba(var(--copper-3-rgb),.1); transition: fill .25s; }
.sz__body { fill: none; stroke: var(--on-dark); stroke-width: .9; stroke-linejoin: round; stroke-linecap: round; transition: stroke .25s; }
.sz__axis { fill: none; stroke: var(--copper-3); stroke-width: .7; stroke-dasharray: 9 2.5 1.5 2.5; opacity: .8; }
.sz__dim { fill: none; stroke: var(--on-dark); stroke-width: .7; }
.sz__arrow { fill: var(--on-dark); }
.sz__num { font-family: var(--display); font-size: 21px; font-weight: 500; fill: #fff; }
.sz__kn { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; fill: var(--copper-3); transition: fill .25s; }
a.sz__item:hover .sz__fill, a.sz__item:focus-visible .sz__fill { fill: rgba(var(--copper-3-rgb),.28); }
a.sz__item:hover .sz__body, a.sz__item:focus-visible .sz__body { stroke: var(--copper-3); }
a.sz__item:hover .sz__kn, a.sz__item:focus-visible .sz__kn { fill: #fff; }
.sz__detail { fill: none; stroke: var(--on-dark); stroke-width: .45; stroke-linejoin: round; opacity: .32; } /* rad TS: vnútorné čiary obrysu */
.sz__a { font-family: var(--body); font-size: 12px; font-style: italic; fill: var(--fog); }
.sz--ts .sz__item + .sz__item, .sz--tsn .sz__item + .sz__item, .sz--zap .sz__item + .sz__item { margin-left: calc(14 * var(--k)); }
.sz--zap { --k: min(1.6px, calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 758)); } /* rad ZAP 32 – 100: 6 veľkostí, šírka 758 jednotiek – nesmie presiahnuť .wrap */
/* mobil: dva riadky (25 – 63 a 71, 80), stále v jednej mierke */
@media (max-width: 700px) {
  .sz { --k: calc((100vw - 2 * var(--gutter)) / 392); flex-wrap: wrap; row-gap: 18px; }
  .sz--zap { --k: calc((100vw - 2 * var(--gutter)) / 440); } /* ZAP: 32 – 63 a 80, 100 */
}

/* =====================================================================
   VÝZVA
   ===================================================================== */
.cta { position: relative; background-color: var(--night); background-image: url(/assets/img/vykres/vykres-gk-jemny.svg); background-repeat: no-repeat; background-position: right -6% bottom -30%; background-size: min(40%, 560px) auto; color: #fff; padding: clamp(64px, 8vw, 112px) 0; overflow: hidden; border-top: 1px solid rgba(var(--copper-3-rgb),.35); }
.cta--vykres-ts { background-image: url(/assets/img/vykres/vykres-ts-jemny.svg); }
.cta--vykres-tsn { background-image: url(/assets/img/vykres/vykres-tsn-jemny.svg); }
.cta--vykres-zap { background-image: url(/assets/img/vykres/vykres-zap-jemny.svg); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: 12px; font-size: clamp(30px, 3.4vw, 46px); }
.cta p { color: var(--fog); margin: 0; }
.cta__contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta__phone { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.6vw, 34px); color: #fff; text-decoration: none; }
.cta__phone:hover { color: var(--copper-3); }
.cta__mail { color: var(--copper-3); }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- novinky a články ---------- */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.news time { font-size: 14px; font-weight: 500; color: var(--copper); }
.article { max-width: 760px; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.3em; }
.prose h3 { margin-top: 1.4em; }
.prose img { margin: 24px 0; }
.prose .story__video { margin: 24px 0; }
.prose .story__video video { display: block; width: 100%; height: auto; }
.prose img.img--portrait { display: block; width: 100%; max-width: 420px; height: auto; margin: 24px auto; }
.prose ul li::marker { color: var(--accent-line); }
/* tabuľky v článkoch (markdown) – rovnaký vzhľad ako table.data, text sa môže zalamovať */
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; margin: 24px 0 8px; border-top: 2px solid var(--ink); }
.prose th, .prose td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { font-weight: 500; border-bottom: 1px solid var(--ink); }
.prose tbody th, .prose tbody td:first-child { font-weight: 500; }
@media (max-width: 600px) { .prose table { font-size: 14px; } .prose th, .prose td { padding: 8px 6px; } }

/* ---------- kontakt ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.person { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent-line); padding: 22px; }
.person h3 { margin-bottom: 4px; }
.person p { margin: 0; color: var(--steel); font-size: 15px; }
.person a { display: block; margin-top: 8px; font-weight: 500; text-decoration: none; }
.person a:hover { text-decoration: underline; }
.address { font-style: normal; line-height: 1.7; }
.dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 18px; margin: 0; font-size: 15px; }
.dl dt { color: var(--steel); }
.dl dd { margin: 0; }

/* ---------- formulár ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; background: #fff; border-top: 2px solid var(--ink); padding: clamp(20px, 4vw, 40px); }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: 15.5px; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--steel); font-weight: 400; font-size: 13.5px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--on-dark-3); border-radius: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper-2); outline: none; box-shadow: 0 0 0 3px rgba(242,108,13,.25); }
.field small { display: block; color: var(--steel); margin-top: 6px; font-size: 14px; }
.field input[type=file] { font: inherit; font-size: 15px; max-width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--copper-2); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-left: 4px solid var(--err); background: #fbefed; color: var(--err); }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* ---------- typy TMP, odznak ---------- */
.type-card .card__media { aspect-ratio: 16 / 10; background: linear-gradient(180deg, #fff, var(--ground)); }
.type-card .card__media img { object-fit: contain; padding: 10px 18px; }
.type-card h3 { font-size: 34px; font-weight: 300; }
.badge { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: #fff; background: var(--copper); padding: 3px 8px; vertical-align: middle; }

/* ---------- otázky ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-size: 21px; font-weight: 400; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; font-weight: 300; color: var(--accent-line); }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding: 0 0 20px; color: var(--steel); max-width: 72ch; }

/* =====================================================================
   KATALÓG TMP
   ===================================================================== */
.cat { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start; padding: 20px 0 72px; }
.cat__toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 15px; padding-right: 6px; }
.cat__toc details { border: 0; }
.cat__toc summary { display: none; }
.cat__toc h2 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.cat__group { margin: 16px 0 4px; font-size: 14px; font-weight: 500; color: var(--steel); }
.cat__toc ol { list-style: none; padding: 0; margin: 0; }
.cat__toc li { margin: 0; }
.cat__toc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; padding: 6px 8px; color: var(--ink); text-decoration: none; border-left: 2px solid transparent; line-height: 1.4; }
.cat__toc a span:first-child { font-family: var(--display); font-weight: 500; color: var(--copper); }
.cat__toc a:hover { background: var(--ground); }
.cat__toc a[aria-current="page"] { background: var(--ground); border-left-color: var(--accent-line); font-weight: 500; }
.cat__main { min-width: 0; }
.cat__intro { font-size: 15px; color: var(--steel); margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.cat__intro svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--accent-line); }
/* bočný okraj: popisy kót na kraji výkresu (napr. D2, G, S, D) presahujú stranu o pár pixelov */
.sheet-frame { background: transparent; border-top: 2px solid var(--ink); padding: clamp(20px, 3vw, 36px) clamp(10px, 1.6vw, 20px) 0; overflow-x: auto; }
.sheet { width: 682px; margin: 0 auto; color: var(--ink); font-family: var(--body); font-size: 13px; line-height: 1.4; }
.sheet .sheet-col { width: 682px; display: flex; flex-direction: column; }
.sheet svg { max-width: none; height: auto; }
.sheet img { max-width: none; }
.sheet a.pref { color: var(--copper); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; }
.sheet button { font-family: var(--display); }
.sheet button:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 2px; }
.cat__pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.cat__pager a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-width: 220px; flex: 1; }
.cat__pager a:hover { border-color: var(--ink); }
.cat__pager small { color: var(--steel); }
.cat__pager .next { text-align: right; }
.cat__ask { margin-top: 28px; padding: 26px 28px; background: var(--night); color: #fff; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cat__ask h2 { font-size: clamp(22px, 2.2vw, 28px); color: #fff; margin: 0 0 4px; }
.cat__ask p { margin: 0; color: var(--fog); font-size: 15.5px; max-width: 54ch; }
@media (max-width: 1020px) {
  .cat { grid-template-columns: 1fr; gap: 16px; }
  .cat__toc { position: static; max-height: none; overflow: visible; border: 1px solid var(--line); padding: 0; }
  .cat__toc summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 16px; font-weight: 500; cursor: pointer; list-style: none; }
  .cat__toc summary::-webkit-details-marker { display: none; }
  .cat__toc summary::after { content: "▾"; color: var(--copper); }
  .cat__toc details[open] summary::after { content: "▴"; }
  .cat__toc .cat__toc-body { padding: 0 16px 14px; }
  .cat__toc h2 { display: none; }
}
.cat-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 28px 44px; }
.cat-index ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.cat-index li { margin: 0; border-bottom: 1px solid var(--line); }
.cat-index a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 10px 2px; text-decoration: none; color: var(--ink); }
.cat-index a:hover { color: var(--copper); background: var(--ground); }
.cat-index a span:first-child { font-family: var(--display); font-weight: 500; font-size: 17px; color: var(--copper); }
.cat-index h3 { font-size: 21px; margin-bottom: 10px; }
.cat__zoomhint { display: none; }
@media (max-width: 700px) { .cat__zoomhint { display: block; font-size: 13.5px; color: var(--steel); margin: 0 0 10px; } }

/* písmo vnútri strany katalógu (strany sú pripravené s inými písmami – tu ich zjednotíme) */
.sheet, .sheet [style*="IBM Plex Sans"], .sheet[data-sheet] .t, .sheet[data-sheet] .d, .sheet[data-sheet] .m, .sheet[data-sheet] .m th span { font-family: var(--body) !important; }
.sheet [style*="Barlow Condensed"], .sheet[data-sheet] .t tr.hi td, .sheet[data-sheet] .d th, .sheet[data-sheet] .m th, .sheet button { font-family: var(--display) !important; }
.sheet [style*="IBM Plex Mono"] { font-family: var(--body) !important; font-variant-numeric: tabular-nums; }
.sheet [style*="Barlow Condensed"], .sheet[data-sheet] .d th, .sheet[data-sheet] .m th { font-weight: 400 !important; letter-spacing: -.01em; }
.sheet[data-sheet] .t tr.hi td { font-weight: 300 !important; }
.sheet [style*="text-transform: uppercase"] { letter-spacing: .02em !important; text-transform: none !important; font-size: 14px !important; }
/* farby vnútri strany katalógu */
.sheet[data-sheet] a { color: var(--copper); }
.sheet [style^="color: #97561a"], .sheet [style*="; color: #97561a"], .sheet[data-sheet] .d td.s { color: var(--copper) !important; }
.sheet [style^="color: #1c2024"], .sheet [style*="; color: #1c2024"], .sheet[data-sheet] .t, .sheet[data-sheet] .d, .sheet[data-sheet] .m { color: var(--ink) !important; }
.sheet [style^="color: #56606a"], .sheet [style*="; color: #56606a"] { color: var(--steel) !important; }
.sheet [style*="background-color: #475567"], .sheet [style*="background: #475567"] { background-color: var(--sheet-draw) !important; background-image: none !important; }
.sheet [style*="#e3a062"] { color: var(--sheet-accent) !important; }
.sheet a[style*="background: #e3a062"] { color: var(--ink) !important; background: var(--sheet-accent) !important; } /* tlačidlo v katalógu: tmavý text na oranžovej */
.sheet [fill="#e3a062"] { fill: var(--sheet-accent); }
.sheet [stroke="#e3a062"] { stroke: var(--sheet-accent); }
.sheet [style*="border-bottom: 1px solid #97561a"] { border-bottom-color: var(--accent-line) !important; }
.sheet[data-sheet] .t tr.g td, .sheet[data-sheet] .d th, .sheet[data-sheet] .m th { border-color: var(--ink) !important; }
.sheet[data-sheet] .t td, .sheet[data-sheet] .d td, .sheet[data-sheet] .m td { border-top-color: var(--line) !important; }
.sheet[data-sheet] .d tr:nth-child(even) td, .sheet[data-sheet] .m tr:nth-child(even) td { background: var(--ground) !important; }
.sheet button { border-color: var(--ink) !important; color: var(--ink) !important; font-weight: 500 !important; }
.sheet button[aria-pressed="true"] { background: var(--ink) !important; color: #fff !important; }
/* katalóg TS: tmavé „blueprint“ panely obrázkov a výkresov ako výkresy TMP, kóty v oranžovej, svetlý rámček technických údajov */
.sheet [style*="background-color: #1d242c"] { background-color: var(--sheet-draw) !important; background-image: none !important; }
.sheet [stroke="#1d242c"] { stroke: var(--sheet-draw); }
.sheet [fill="#e8a868"] { fill: var(--sheet-accent); }
.sheet [stroke="#e8a868"] { stroke: var(--sheet-accent); }
.sheet [style*="background: #e2e6ea"] { background: var(--ground) !important; }

/* =====================================================================
   PÄTA
   ===================================================================== */
.site-footer { background: var(--night-2); color: var(--fog); font-size: 15.5px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding: 64px 0 44px; }
.site-footer h2 { font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--copper-3); margin-bottom: 14px; }
.site-footer a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer li strong { color: #fff; font-weight: 500; }
.footer__brand img { height: 38px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--fog); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer__eu { display: flex; align-items: center; gap: 12px; }
.footer__eu img { height: 30px; width: auto; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- tlač ---------- */
@media print {
  .site-header, .site-footer, .cat__toc, .cat__pager, .cat__ask, .crumbs, .cta, .skip, .cat__intro, .nh__media, .ph__media { display: none !important; }
  body { font-size: 11pt; }
  .nh, .ph { min-height: 0 !important; background: none !important; color: #000; }
  .nh h1, .ph h1, .nh__lead, .ph .lead { color: #000 !important; }
  .cat { display: block; padding: 0; }
  .sheet-frame { border: 0; padding: 0; overflow: visible; }
  .sheet { zoom: 1 !important; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- obmedziť pohyb ---------- */
/* pri „obmedziť pohyb“ stojí len priblíženie úvodnej fotky; piktogramy, video a princíp TMP bežia (rozhodnutie 2026-10-16) */
@media (prefers-reduced-motion: reduce) {
  .nh__media img, .nh__media video { animation: none !important; }
  /* princíp TMP stojí, kým ho návštevník nespustí tlačidlom */
  .np:not(.np--play) .np-move, .np:not(.np--play) .np-thread, .np:not(.np--play) .np-spin { animation-play-state: paused; }
}

/* 404 – druhý stĺpec v EN/DE */
.ph__alt h2 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); margin-top: 8px; }
.ph__alt p { color: var(--fog); }
.ph__alt a { color: var(--copper-3); }

/* =====================================================================
   FOTOPRÍBEH „Od odliatku po prevodovku“ – kroky ako operácie 10, 20, 30…
   fotka a text sa striedajú vľavo / vpravo, na mobile pod sebou
   ===================================================================== */
.story__head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 80px); }
.story__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(64px, 9vw, 136px); }
.story__step { margin: 0; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; scroll-margin-top: 100px; }
.story__step--tall { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
.story__step:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.story__step--tall:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }
.story__step:nth-child(even) .story__media { order: 2; }
.story__media { position: relative; margin: 0; }
.story__media img, .story__media video { display: block; width: 100%; height: auto; background: var(--slate); }
.story__media::after { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; background: var(--accent-line); }
.story__step:nth-child(even) .story__media::after { left: auto; right: 0; }
.story__media figcaption { font-size: 14.5px; color: var(--steel); padding-top: 10px; }
.story__text { position: relative; max-width: 520px; padding-top: 30px; border-top: 1px solid var(--line); }
.story__text::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--accent-line); }
.story__op { display: flex; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 500; color: var(--copper); margin-bottom: 14px; }
.story__op b { font-family: var(--display); font-size: clamp(52px, 6vw, 84px); font-weight: 300; line-height: .9; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.story__text h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: .45em; }
.story__text p { color: var(--steel); font-size: clamp(17px, 1.5vw, 19px); }
.story__text .link-arrow { font-size: 16px; }

/* video: náhľad + tlačidlo; hrá bez zvuku, len keď je v obraze */
.story__video { position: relative; }
.story__video video { aspect-ratio: 16 / 9; object-fit: cover; cursor: pointer; }
.story__play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; background: rgba(var(--night-rgb), .82); color: #fff; border: 1px solid rgba(255,255,255,.28); font: 500 15px/1.2 var(--body); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.story__play:hover { background: var(--night); border-color: rgba(255,255,255,.6); }
.story__ico { width: 14px; height: 14px; fill: var(--copper-3); }
.story__ico--pause, .is-playing .story__ico--play { display: none; }
.is-playing .story__ico--pause { display: block; }

/* jemné objavenie pri posúvaní (len ak systém nemá „obmedziť pohyb“) */
.js-story .story__step { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js-story .story__step.is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .story__step, .story__step:nth-child(even) { grid-template-columns: 1fr; gap: 26px; }
  .story__step:nth-child(even) .story__media { order: 0; }
  .story__step:nth-child(even) .story__media::after { left: 0; right: auto; }
  .story__step--tall .story__media { max-width: 520px; }
  .story__text { max-width: none; }
}

/* chránené e-maily: zavináč nie je v HTML, dokreslí ho CSS (pozri eleventy.config.js a site.js) */
.eml__at::before { content: "@"; }
a.eml { white-space: nowrap; }
