/* =========================================================
   Sterilwave Slovensko – dizajnový systém (Sterilwave Brand Identity 2026)
   Farby: Screen Blue #006CEA (značka), Dark Blue #13283F (text, tmavé pásy),
   Light Blue #CFE6FB, Clinic Teal #0E8C8C (bezpečný výstup, kategória O),
   Yellow #F8AE40 (nebezpečný odpad, kategória N), Red #D92D2D
   Odtiene modrej 85 / 65 / 25 / 5 % tvoria „schodíkový“ grafický rám.
   Písmo: Halisa Wide (Regular na nadpisy, Light na text)
   ========================================================= */

@font-face { font-family: "Halisa Wide"; src: url("fonts/halisa-wide-light.woff2") format("woff2"); font-weight: 100 349; font-style: normal; font-display: swap; }
@font-face { font-family: "Halisa Wide"; src: url("fonts/halisa-wide-regular.woff2") format("woff2"); font-weight: 350 900; font-style: normal; font-display: swap; }

:root {
  /* pevné farby značky (rovnaké v svetlom aj tmavom režime) */
  --brand: #006CEA;
  --brand-85: #2682ED;
  --brand-65: #599FF1;
  --brand-25: #BFDAFA;
  --brand-5: #F2F8FE;
  --brand-dark: #13283F;
  --on-brand: #FFFFFF;
  --on-brand-muted: #CFE6FB;

  --paper: #F5F9FE;
  --surface: #FFFFFF;
  --surface-2: #E9F2FC;
  --ink: #13283F;
  --ink-2: #33475F;
  --muted: #5A6C82;
  --line: #D7E3F1;
  --line-strong: #A8BCD4;
  --accent: #006CEA;          /* Screen Blue · odkazy, tlačidlá */
  --accent-ink: #FFFFFF;
  --accent-soft: #CFE6FB;     /* Light Blue */
  --safe: #0E8C8C;            /* Clinic Teal · bezpečný výstup / O */
  --safe-ink: #FFFFFF;
  --safe-soft: #D5EEEE;
  --hazard: #F8AE40;          /* Yellow · nebezpečný odpad / N */
  --hazard-ink: #2E1D00;
  --hazard-soft: #FDEDD4;
  --deep: #13283F;            /* Dark Blue · tmavé pásy */
  --deep-ink: #EAF2FC;
  --deep-muted: #A3B5CC;
  --focus: #F8AE40;

  --f-display: "Halisa Wide", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-body: "Halisa Wide", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  --f-mono: "Halisa Wide", "Helvetica Neue", Arial, system-ui, sans-serif;

  --t-xs: 0.78rem;     /* 12,5 */
  --t-sm: 0.875rem;    /* 14 */
  --t-md: 1rem;        /* 16 */
  --t-lg: 1.1875rem;   /* 19 */
  --t-xl: 1.5rem;      /* 24 */
  --t-2xl: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  --t-3xl: clamp(1.9rem, 1.2rem + 3vw, 3.1rem);

  --wrap: 74rem;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --space-section: clamp(3rem, 2rem + 4vw, 5.5rem);
  --steps: linear-gradient(90deg, var(--brand-85) 0 25%, var(--brand-65) 25% 50%, var(--brand-25) 50% 75%, var(--brand-5) 75% 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0B1828;
    --surface: #112338;
    --surface-2: #183049;
    --ink: #EAF2FC;
    --ink-2: #C6D5E7;
    --muted: #93A7C0;
    --line: #213B58;
    --line-strong: #3A5A80;
    --accent: #6AAAF3;
    --accent-ink: #04162B;
    --accent-soft: #163A66;
    --safe: #3DB5B5;
    --safe-ink: #022121;
    --safe-soft: #0F3636;
    --hazard: #F8AE40;
    --hazard-ink: #2E1D00;
    --hazard-soft: #3B2D15;
    --deep: #07111D;
    --deep-ink: #EAF2FC;
    --deep-muted: #93A7C0;
    --brand-5: #0B1828;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0B1828;
  --surface: #112338;
  --surface-2: #183049;
  --ink: #EAF2FC;
  --ink-2: #C6D5E7;
  --muted: #93A7C0;
  --line: #213B58;
  --line-strong: #3A5A80;
  --accent: #6AAAF3;
  --accent-ink: #04162B;
  --accent-soft: #163A66;
  --safe: #3DB5B5;
  --safe-ink: #022121;
  --safe-soft: #0F3636;
  --hazard: #F8AE40;
  --hazard-ink: #2E1D00;
  --hazard-soft: #3B2D15;
  --deep: #07111D;
  --deep-ink: #EAF2FC;
  --deep-muted: #93A7C0;
  --brand-5: #0B1828;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: 300;
  line-height: 1.65;
  font-synthesis: none;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 0.9em; }
ul, ol { margin: 0; padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
strong, b { font-weight: 400; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.lead { font-size: var(--t-lg); color: var(--ink-2); line-height: 1.5; max-width: 38rem; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.eyebrow {
  font-family: var(--f-display); font-size: var(--t-xs); font-weight: 400;
  letter-spacing: 0.02em; color: var(--accent);
}
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 0.5rem 1rem; z-index: 50; }
.skip:focus { left: var(--gutter); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--brand) 0 calc(100% - 8rem), var(--brand-85) calc(100% - 8rem) calc(100% - 6rem), var(--brand-65) calc(100% - 6rem) calc(100% - 4rem), var(--brand-25) calc(100% - 4rem) calc(100% - 2rem), var(--brand-5) calc(100% - 2rem)); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { display: flex; align-items: center; }
.brand-mark img { display: block; height: 26px; width: auto; }
.on-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-light { display: none !important; }
  :root:not([data-theme="light"]) .on-dark { display: block !important; }
}
:root[data-theme="dark"] .on-light { display: none !important; }
:root[data-theme="dark"] .on-dark { display: block !important; }
.main-nav { flex: 1; min-width: 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.1rem; justify-content: safe flex-end; }
.main-nav li + li { margin: 0; }
.main-nav a {
  display: block; padding: 0.45rem 0.5rem; border-radius: var(--radius);
  color: var(--ink-2); text-decoration: none; font-size: var(--t-sm); font-weight: 400; white-space: nowrap;
}
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-cta { flex: none; }

/* Menu sa zalomí do druhého riadku skôr, než by sa prestalo zmestiť vedľa loga */
@media (max-width: 1240px) {
  .header-row { flex-wrap: wrap; gap: 0.5rem 1rem; padding-block: 0.6rem 0; }
  .header-cta { margin-left: auto; }
  .main-nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav ul { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .header-cta .btn { padding: 0.5rem 0.8rem; font-size: var(--t-xs); }
  .brand-mark img { height: 19px; }
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  font-family: var(--f-body); font-weight: 400; font-size: var(--t-sm);
  padding: 0.7rem 1.15rem; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.arrow::after { content: "→"; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-5); color: var(--brand-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Sekcie ---------- */
.section { padding-block: var(--space-section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 0.75rem; margin-bottom: 2.25rem; max-width: 44rem; }
.section-deep { background: var(--deep); color: var(--deep-ink); border-top: 0 !important; }
.section-deep h2, .section-deep h3 { color: var(--deep-ink); }
.section-deep .muted, .section-deep .eyebrow { color: var(--deep-muted); }
.section-tint { background: var(--surface); }
.section-brand { background: var(--brand); color: var(--on-brand); border-top: 0 !important; position: relative; overflow: hidden; }
.section-brand h2, .section-brand h3 { color: var(--on-brand); }
.section-brand .muted, .section-brand .eyebrow, .section-brand p { color: var(--on-brand-muted); }
.section-brand::after { content: ""; position: absolute; right: 0; top: 0; width: min(9rem, 18vw); height: 1.5rem; background: var(--steps); }
.section-deep .eyebrow { color: var(--brand-65); }
/* obrysový symbol značky ako dekorácia na modrých plochách */
.symbol-bg { position: absolute; pointer-events: none; color: #fff; opacity: .22; }
.symbol-bg svg { width: 100%; height: auto; display: block; }

/* ---------- Hero (úvod) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-brand);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  /* grafický rám: modrá plocha so schodíkmi odtieňov 85 / 65 / 25 / 5 % na pravom okraji */
  background: linear-gradient(90deg, var(--brand) 0 66%, var(--brand-85) 66% 68%, var(--brand-65) 68% 70%, var(--brand-25) 70% 72%, var(--brand-5) 72% 74%, var(--paper) 74%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero h1 { margin-block: 0.9rem 1.2rem; max-width: 16ch; color: var(--on-brand); font-size: clamp(2rem, 1.1rem + 3.4vw, 3.4rem); line-height: 1.1; }
.hero h1 .soft { color: var(--brand-25); }
.hero .eyebrow { color: var(--on-brand-muted); }
.hero .lead { color: var(--on-brand-muted); }
.hero .btn-row { margin-top: 2rem; }
.hero-img { margin: 0; position: relative; z-index: 1; }
.hero-img img { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 28px rgba(19, 40, 63, .28)); }
.section-brand .symbol-bg { width: 15rem; right: 12%; top: -3rem; opacity: .16; }
@media (max-width: 760px) { .section-brand .symbol-bg { right: -4rem; } }
.section-brand .wrap { position: relative; }
.hero .symbol-bg { width: min(24rem, 36vw); left: 52%; top: -4rem; }
@media (max-width: 860px) {
  .hero { background: var(--brand); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { max-width: 30rem; }
  .hero .symbol-bg { left: auto; right: -4rem; top: auto; bottom: -4rem; width: 18rem; }
}

/* Pás dôvery v úvode */
.trust { list-style: none; margin: 2.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255,255,255,.28); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust li { margin: 0; display: grid; gap: 0.2rem; align-content: start; }
.trust b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); color: #fff; line-height: 1.1; white-space: nowrap; }
.trust span { font-size: var(--t-xs); color: var(--on-brand-muted); line-height: 1.35; }
@media (max-width: 560px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; } }

/* Dvojstĺpec text + obsah */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Posun katalógového čísla N -> O : ústredný motív */
.shift {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--brand);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  display: grid; gap: 1.1rem;
}
.shift-row { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; align-items: center; }
.shift-label { grid-column: 1 / -1; }
.code {
  font-family: var(--f-mono); font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem);
  letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cat {
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 4px;
  font-family: var(--f-mono); font-weight: 400; font-size: 1.05rem;
}
.cat-n { background: var(--hazard); color: var(--hazard-ink); }
.cat-o { background: var(--safe); color: var(--safe-ink); }
.code-name { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--muted); line-height: 1.45; }
.shift-mid { border-block: 1px dashed var(--line-strong); padding-block: 1rem; display: grid; gap: 0.6rem; }

.cycle { display: flex; height: 2.4rem; border-radius: 4px; overflow: hidden; font-family: var(--f-mono); font-size: 0.72rem; }
.cycle span { display: flex; align-items: center; padding-inline: 0.5rem; white-space: nowrap; overflow: hidden; }
.cycle .c-grind { flex: 7; background: var(--surface-2); color: var(--ink-2); }
.cycle .c-heat { flex: 20; background: var(--hazard-soft); color: var(--ink); background-image: linear-gradient(90deg, var(--hazard-soft), var(--safe-soft)); }
.cycle .c-out { flex: 3; background: var(--safe); color: var(--safe-ink); justify-content: center; padding-inline: 0.2rem; }
.cycle-scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); }

/* ---------- Čísla ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stat { padding: 1.4rem 1.25rem 1.4rem 0; display: grid; gap: 0.3rem; align-content: start; }
.stat + .stat { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.stat-val { font-family: var(--f-display); font-weight: 400; color: var(--accent); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem); font-variant-numeric: tabular-nums; line-height: 1; }
.stat-val small { font-size: 0.5em; font-weight: 300; }
.stat-lbl { font-size: var(--t-sm); color: var(--muted); line-height: 1.4; }
/* štatistiky 2 × 2 pod textom */
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.75rem; }
.stats-2 .stat { padding: 1.25rem 1.25rem 1.25rem 0; }
.stats-2 .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
.stats-2 .stat:nth-child(even) { padding-left: 1.25rem; }
.stats-2 .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
@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 var(--line); }
}

/* ---------- Mriežky ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.point { display: grid; gap: 0.6rem; align-content: start; }
.point h3 { font-size: var(--t-lg); }
.point p { color: var(--ink-2); }
.point-mark { width: 2.5rem; height: 4px; background: var(--accent); box-shadow: 0.6rem 0 0 var(--brand-65), 1.2rem 0 0 var(--brand-25); }
.cards .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.75rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cards .card:hover { border-color: var(--brand-25); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0, 108, 234, .45); }
.cards .card h3 { margin-top: 0.4rem; }
.card-link { margin-top: auto !important; padding-top: 0.5rem; }
.card-link a { text-decoration: none; display: inline-flex; gap: 0.4rem; }
.card-link a:hover { text-decoration: underline; }
.icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; flex: none; }
.icon svg { width: 1.6rem; height: 1.6rem; }
.point-mark.hz { background: var(--hazard); box-shadow: none; }

/* ---------- Kroky procesu (skutočná postupnosť) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.steps > li { counter-increment: step; margin: 0; padding: 1.25rem 1.25rem 1.25rem 0; border-top: 3px solid var(--line-strong); display: grid; gap: 0.5rem; align-content: start; }
.steps > li + li { padding-left: 1.25rem; }
.steps > li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); }
.steps > li.is-hot { border-top-color: var(--hazard); }
.steps > li.is-safe { border-top-color: var(--safe); }
.steps > li:not(.is-hot):not(.is-safe) { border-top-color: var(--accent); }
.steps .dur { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-2); background: var(--surface-2); padding: 0.15rem 0.45rem; border-radius: 3px; justify-self: start; }
.steps p { font-size: var(--t-sm); color: var(--ink-2); }
/* kroky s fotografiami */
.steps-photo { gap: 1.25rem; }
.steps-photo > li, .steps-photo > li + li { position: relative; border-top-width: 4px; padding: 1.25rem 0 0.5rem; }
.steps-photo > li::before { position: absolute; top: 1.25rem; left: 0; z-index: 1; background: var(--brand); color: #fff; padding: 0.3rem 0.55rem; font-size: var(--t-xs); }
.steps-photo > li.is-hot::before { background: var(--hazard); color: var(--hazard-ink); }
.steps-photo > li.is-safe::before { background: var(--safe); }
.step-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--radius); margin-bottom: 0.5rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps > li:nth-child(3) { padding-left: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps > li + li { padding-left: 0; }
}

/* ---------- Časová os (postup nákupu) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; }
.timeline > li { counter-increment: tl; position: relative; margin: 0; padding: 0 0 2.25rem 3.5rem; }
.timeline > li::before {
  content: counter(tl); position: absolute; left: 0; top: -0.1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--accent); color: var(--ink);
  font-family: var(--f-mono); font-weight: 400; font-size: var(--t-sm);
}
.timeline > li::after { content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.3rem; bottom: 0.2rem; width: 2px; background: var(--line); }
.timeline > li:last-child::after { display: none; }
.timeline h3 { margin-bottom: 0.35rem; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-bottom: 0.6rem; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); }
.tl-meta b { color: var(--ink-2); font-weight: 400; }
.timeline ul { margin-top: 0.5rem; color: var(--ink-2); font-size: var(--t-sm); }

/* ---------- Cesta zákazníka ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.journey li { margin: 0; }
.journey a {
  display: grid; gap: 0.2rem; padding: 0.8rem 0.9rem 0.9rem; text-decoration: none; color: var(--ink-2);
  border-top: 3px solid var(--line); height: 100%;
}
.journey a:hover { border-top-color: var(--line-strong); background: var(--surface); }
.journey .j-n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); }
.journey .j-t { font-family: var(--f-display); font-weight: 400; font-size: var(--t-md); color: var(--ink); }
.journey .j-d { font-size: var(--t-xs); line-height: 1.4; }
.journey a[aria-current="step"] { border-top-color: var(--accent); background: var(--surface); }
.journey-lg a { padding: 1.2rem 1.1rem 1.3rem; gap: 0.4rem; }
.journey-lg .j-t { font-size: var(--t-lg); }
.journey-lg .j-d { font-size: var(--t-sm); }
.section-deep .journey a { color: var(--deep-muted); border-top-color: var(--line-strong); }
.section-deep .journey .j-t { color: var(--deep-ink); }
.section-deep .journey a:hover { background: color-mix(in srgb, var(--deep-ink) 6%, transparent); border-top-color: var(--accent); }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; }
  .journey a { grid-template-columns: 2rem 1fr; border-top: 0; border-left: 3px solid var(--line); padding: 0.6rem 0.9rem; }
  .journey a[aria-current="step"] { border-left-color: var(--accent); }
  .journey .j-d { grid-column: 2; }
  .journey-sm .j-d { display: none; }
}

/* ---------- Záhlavie podstránky ---------- */
.page-head { position: relative; overflow: hidden; padding-block: 2rem 2.75rem; background: var(--brand); color: var(--on-brand); }
.page-head::after { content: ""; position: absolute; right: 0; top: 0; width: min(9rem, 24vw); height: 1.25rem; background: var(--steps); }
@media (min-width: 1480px) { .page-head::after { height: 100%; } }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1, .page-head .eyebrow, .page-head .updated, .page-head .crumbs, .page-head .crumbs a { color: var(--on-brand); }
.page-head .lead { color: var(--on-brand-muted); }
.page-head .crumbs li + li::before { color: var(--brand-25); }
.page-head .journey a { color: var(--on-brand-muted); border-top-color: rgba(255,255,255,.3); }
.page-head .journey .j-n { color: var(--brand-25); }
.page-head .journey .j-t { color: #fff; }
.page-head .journey a:hover { background: rgba(255,255,255,.08); border-top-color: rgba(255,255,255,.7); }
.page-head .journey a[aria-current="step"] { background: rgba(255,255,255,.12); border-top-color: #fff; }
@media (max-width: 860px) {
  .page-head .journey a { border-left-color: rgba(255,255,255,.3); }
  .page-head .journey a[aria-current="step"] { border-left-color: #fff; }
}
.crumbs { font-size: var(--t-xs); color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3rem); max-width: 22ch; margin-block: 0.6rem 1rem; }
.page-head .journey { margin-top: 2rem; }
.updated { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); margin-top: 1rem; }

/* ---------- V skratke (odpoveď hneď na začiatku – dôležité pre AI) ---------- */
.tldr {
  background: var(--surface-2); border-radius: var(--radius); border-left: 4px solid var(--accent); padding: 1.25rem 1.4rem;
  display: grid; gap: 0.5rem; max-width: 46rem;
}
.tldr p { color: var(--ink); }
.tldr ul { color: var(--ink); }

/* ---------- Tabuľky ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); }
th, td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.02em; color: var(--muted); font-weight: 400; background: var(--surface-2); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 400; color: var(--ink); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.col-hl { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
table caption { caption-side: bottom; text-align: left; padding: 0.6rem 1rem; font-size: var(--t-xs); color: var(--muted); }

.yes, .no, .maybe { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 400; white-space: nowrap; }
.yes::before, .no::before, .maybe::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; }
.yes::before { background: var(--safe); }
.no::before { background: transparent; border: 2px solid var(--muted); }
.maybe::before { background: var(--hazard); }
.wcode { font-family: var(--f-mono); white-space: nowrap; }

/* ---------- Modely zariadení ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.model { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand-25); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }
.model.is-featured { border-color: var(--line); border-top-color: var(--brand); }
.model-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.model-name { font-family: var(--f-display); font-weight: 400; font-size: var(--t-xl); }
.model-name span { color: var(--accent); }
.tag { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.02em; background: var(--accent-soft); color: var(--ink); padding: 0.2rem 0.5rem; border-radius: 3px; white-space: nowrap; }
.model-cap { font-family: var(--f-display); font-size: var(--t-3xl); font-weight: 400; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.model-cap small { font-size: 0.4em; font-weight: 300; color: var(--muted); margin-left: 0.2rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1rem; margin: 0; font-size: var(--t-sm); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.model p { font-size: var(--t-sm); color: var(--ink-2); }
@media (max-width: 900px) { .models { grid-template-columns: 1fr; } }

.model-row { display: grid; grid-template-columns: 11rem 7rem 1fr; gap: 1rem; align-items: baseline; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.model-row:last-child { border-bottom: 1px solid var(--line); }
.model-row .mr-name { font-family: var(--f-display); font-weight: 400; font-size: var(--t-lg); }
.model-row .mr-cap { font-family: var(--f-mono); font-size: var(--t-md); color: var(--accent); }
.model-row p { color: var(--ink-2); font-size: var(--t-sm); }
@media (max-width: 600px) { .model-row { grid-template-columns: 1fr auto; } .model-row p { grid-column: 1 / -1; } }

/* Produktové fotografie */
.lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; margin-bottom: 2rem; }
.lineup a { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.25rem 1.4rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-bottom: 4px solid var(--brand); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.lineup a:hover { border-color: var(--brand-25); border-bottom-color: var(--brand); box-shadow: 0 14px 30px -18px rgba(0, 108, 234, .45); transform: translateY(-3px); }
.lu-img { display: flex; align-items: flex-end; justify-content: center; height: 210px; margin-bottom: 0.75rem; }
.lu-img img { max-height: 100%; width: auto; object-fit: contain; }
.lu-name { font-family: var(--f-display); font-size: var(--t-lg); }
.lu-name b { color: var(--accent); font-weight: 400; }
.lu-cap { font-family: var(--f-display); font-size: var(--t-2xl); color: var(--accent); line-height: 1.1; }
.lu-cap small { font-size: 0.5em; color: var(--muted); }
.lu-txt { font-size: var(--t-sm); color: var(--ink-2); margin-top: 0.35rem; }
.lu-meta { font-size: var(--t-xs); color: var(--muted); margin-top: auto; padding-top: 0.75rem; }
@media (max-width: 860px) { .lineup { grid-template-columns: 1fr; } .lu-img { height: 170px; } }
.model-img { width: 100%; height: 220px; object-fit: contain; background: linear-gradient(180deg, transparent 62%, var(--surface-2) 62%); border-radius: var(--radius); padding: 0.75rem; }
.range { margin: 0; background: var(--brand); padding: clamp(1.25rem, 3vw, 2.5rem); position: relative; }
.range::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(9rem, 20vw); height: 1rem; background: var(--steps); }
.range img { width: 100%; height: auto; display: block; }
.range figcaption { color: var(--on-brand-muted); font-size: var(--t-xs); margin-top: 1rem; }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); display: block; }
.photo-wide img { aspect-ratio: 16 / 7; object-fit: cover; object-position: center 60%; }
.photo figcaption { font-size: var(--t-xs); color: var(--muted); margin-top: 0.6rem; }

.figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.figure figcaption { font-size: var(--t-xs); color: var(--muted); margin-top: 0.75rem; }
.figure-scroll { overflow-x: auto; }
.figure svg text { font-family: var(--f-mono); }

/* ---------- Kalkulačka ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.calc-in { padding: 1.5rem; display: grid; gap: 1.1rem; align-content: start; }
.calc-out { padding: 1.5rem; background: var(--deep); color: var(--deep-ink); display: grid; gap: 1.25rem; align-content: start; }
.calc-out { position: relative; }
.calc-out::before { content: ""; position: absolute; top: 0; right: 0; width: 8rem; height: 0.6rem; background: var(--steps); }
.calc-out .eyebrow { color: var(--brand-65); }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 400; font-size: var(--t-sm); }
.field .hint { font-size: var(--t-xs); color: var(--muted); }
.input-unit { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.input-unit:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.input-unit input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 var(--t-md)/1.2 var(--f-mono); padding: 0.6rem 0.75rem; font-variant-numeric: tabular-nums; }
.input-unit input:focus { outline: none; }
.input-unit span { display: grid; place-items: center; padding-inline: 0.75rem; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); background: var(--surface-2); border-left: 1px solid var(--line); }
.out-big { font-family: var(--f-display); font-weight: 400; font-size: var(--t-3xl); line-height: 1; font-variant-numeric: tabular-nums; color: var(--deep-ink); }
.out-grid { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem 1rem; font-size: var(--t-sm); border-top: 1px solid color-mix(in srgb, var(--deep-ink) 18%, transparent); padding-top: 1rem; }
.out-grid dt { color: var(--deep-muted); }
.out-grid dd { margin: 0; text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 0.5rem; }
.bar { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.75rem; align-items: center; font-size: var(--t-xs); color: var(--deep-muted); }
.bar-track { height: 0.9rem; background: color-mix(in srgb, var(--deep-ink) 10%, transparent); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; transition: width .3s ease; }
.bar-fill.now { background: var(--hazard); }
.bar-fill.new { background: var(--safe); }
.calc-note { font-size: var(--t-xs); color: var(--deep-muted); }
.sample-flag { display: inline-block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.02em; background: var(--hazard-soft); color: var(--ink); padding: 0.15rem 0.45rem; border-radius: 3px; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--f-display); font-weight: 400; font-size: var(--t-lg); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1rem; font-family: var(--f-mono); font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 42rem; }
.faq .answer > * + * { margin-top: 0.8em; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group > h2 { margin-bottom: 1rem; font-size: var(--t-xl); }

/* ---------- Právne predpisy ---------- */
.law-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.law-list li { margin: 0; display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.law-list .law-no { font-family: var(--f-mono); color: var(--ink); white-space: nowrap; }
@media (max-width: 560px) { .law-list li { grid-template-columns: 1fr; gap: 0.2rem; } }

.notice { border: 1px solid var(--hazard); background: var(--hazard-soft); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: var(--t-sm); color: var(--ink); max-width: 46rem; }

/* ---------- Ďalší krok ---------- */
.next { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.next:hover { border-color: var(--accent); }
.next h2 { font-size: var(--t-xl); margin-top: 0.3rem; }
.next p { color: var(--ink-2); font-size: var(--t-sm); margin-top: 0.4rem; }
.next .go { font-size: 1.6rem; color: var(--accent); }

/* ---------- CTA pás ---------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.cta-band h2 { max-width: 22ch; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { border-color: #fff; }
.section-brand .btn-primary { background: #fff; color: var(--brand); }
.section-brand .btn-primary:hover { background: var(--brand-5); color: var(--brand-dark); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Formulár ---------- */
.form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: var(--t-md); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0.6rem 0.75rem;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form .check { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: var(--t-sm); color: var(--ink-2); }
.form .check input { margin-top: 0.3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
.req { color: var(--accent); }
.form-status { font-size: var(--t-sm); padding: 0.8rem 1rem; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); }

/* ---------- Päta ---------- */
.site-footer { background: var(--deep); color: var(--deep-muted); padding-block: 3rem 2rem; font-size: var(--t-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: var(--t-xs); font-family: var(--f-mono); letter-spacing: 0.02em; color: var(--deep-ink); font-weight: 400; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer a { color: var(--deep-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand-mark img { height: 28px; }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--brand) 0 calc(100% - 8rem), var(--brand-85) calc(100% - 8rem) calc(100% - 6rem), var(--brand-65) calc(100% - 6rem) calc(100% - 4rem), var(--brand-25) calc(100% - 4rem) calc(100% - 2rem), var(--brand-5) calc(100% - 2rem)); }
.footer-tagline { font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.3; color: var(--deep-ink); }
.footer-tagline span { color: var(--brand-65); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--deep-ink) 15%, transparent); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; font-size: var(--t-xs); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pomocné ---------- */
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2.5rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5.5rem); display: grid; gap: 1rem; font-size: var(--t-sm); }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: 0.6rem; }
.aside-box ul { padding-left: 1.1em; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .aside { position: static; } }
.placeholder { font-family: var(--f-mono); background: var(--hazard-soft); color: var(--ink); padding: 0 0.3em; border-radius: 2px; }

/* ---------- Lišta cookies ---------- */
.cookie-banner {
  position: fixed; z-index: 100; right: var(--gutter); bottom: var(--gutter);
  width: min(30rem, calc(100% - 2 * var(--gutter)));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong);
  border-radius: var(--radius); border-top: 4px solid var(--brand); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); padding: 1.1rem 1.25rem;
  font-size: var(--t-sm);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 0.9rem; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 8rem; justify-content: center; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.site-footer .linklike { color: var(--deep-ink); text-decoration: none; }
.site-footer .linklike:hover { text-decoration: underline; }

/* Pasca na robotov: pole mimo obrazovky (nie display:none, ktoré roboty rozpoznajú) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
