/* =========================================================
   RH Lab. — design system
   Light daylight palette · Plus Jakarta Sans + JetBrains Mono
   ========================================================= */

:root {
  --bg: #F5F4EF;
  --bg-2: #EDECE5;
  --surface: #FFFFFF;
  --ink: #14201B;
  --ink-2: #33403A;
  --muted: #69736E;
  --line: #E3E1D9;
  --line-2: #D2D0C6;

  --green: #12704F;
  --green-hover: #0C5D41;
  --green-ink: #0B4F37;
  --green-soft: #E2EFE8;
  --green-tint: #F1F7F3;

  --warn: #D2542A;
  --warn-soft: #FBE9E1;

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

  --shadow-1: 0 1px 2px rgba(20, 32, 27, .04), 0 1px 1px rgba(20, 32, 27, .03);
  --shadow-2: 0 1px 2px rgba(20, 32, 27, .04), 0 18px 40px -18px rgba(20, 32, 27, .18);
  --shadow-3: 0 2px 4px rgba(20, 32, 27, .04), 0 40px 80px -32px rgba(20, 32, 27, .28);

  --f-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --nav-h: 68px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 0, "tnum" 1; letter-spacing: -.01em; }
.i { width: 18px; height: 18px; flex: none; }
.i--lg { width: 26px; height: 26px; }

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
}
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  color: var(--ink-2); font-weight: 600; font-size: 12.5px;
}
.section-index {
  font-family: var(--f-mono); font-size: 12.5px; color: var(--muted);
  letter-spacing: .02em; margin-bottom: 18px;
}
.mono-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
}
.h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 700; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 52ch; margin-top: 20px; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 18px; max-width: 60ch; }

.pulse {
  position: relative; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); display: inline-block; flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--green); opacity: 0; animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -10px rgba(18, 112, 79, .7); }
.btn--primary:hover { background: var(--green-hover); }
.btn--outline { border-color: var(--line-2); background: var(--surface); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); }
.btn__price {
  font-family: var(--f-mono); font-weight: 500; font-size: 14px;
  padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.16);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.chip .i { width: 15px; height: 15px; }
.chip--green { background: var(--green-soft); color: var(--green-ink); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}

/* ---------- form controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field__label i { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 92px; line-height: 1.45; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2314201B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field input::placeholder, .field textarea::placeholder { color: #A3A9A5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9BBB1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(18, 112, 79, .12);
}
.field.is-invalid input { border-color: var(--warn); box-shadow: 0 0 0 4px rgba(210, 84, 42, .1); }
.field--full { grid-column: 1 / -1; }
.field--inline { flex-direction: row; align-items: center; gap: 12px; }

/* segmented */
.seg {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.seg__btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.seg__btn input { position: absolute; opacity: 0; pointer-events: none; }
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-active, .seg__btn:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.seg__btn:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.seg--xs .seg__btn { height: 26px; padding: 0 10px; font-size: 12px; }
.seg--full { display: flex; width: 100%; }
.seg--full .seg__btn { flex: 1; height: 42px; white-space: normal; text-align: center; line-height: 1.2; }

/* switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  position: relative; width: 42px; height: 24px; border-radius: 999px; flex: none;
  background: #D6D5CC; transition: background-color .25s var(--ease);
}
.switch__thumb {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .3s var(--ease);
}
.switch input:checked + .switch__track { background: var(--green); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--green); outline-offset: 3px; }
.switch__label { font-size: 14px; font-weight: 600; }
.switch--lg .switch__track { width: 52px; height: 30px; }
.switch--lg .switch__thumb { width: 24px; height: 24px; }
.switch--lg input:checked + .switch__track .switch__thumb { transform: translateX(22px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(245, 244, 239, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 800; font-size: 21px; letter-spacing: -.04em; }
.logo__dot { color: var(--green); }
.logo--lg { font-size: 34px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav__links a:hover { background: rgba(20, 32, 27, .05); color: var(--ink); }
.nav__links a.is-active { color: var(--ink); background: rgba(20, 32, 27, .06); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 22px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mnav {
  position: absolute; top: var(--nav-h); left: 12px; right: 12px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-3); display: flex; flex-direction: column; gap: 2px;
}
.mnav a:not(.btn) { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.mnav a:not(.btn):hover { background: var(--bg); }
.mnav .btn { margin-top: 8px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(16px, 4vh, 48px)) 0 clamp(24px, 5vh, 56px);
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    radial-gradient(900px 600px at 0% 100%, rgba(226, 239, 232, .65), rgba(226, 239, 232, 0) 70%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20, 32, 27, .07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 0%, transparent 75%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero__title {
  margin-top: 22px; font-size: clamp(42px, 6.1vw, 84px); line-height: .98;
  letter-spacing: -.045em; font-weight: 800;
}
.hero__title-sub {
  display: block; margin-top: 14px; font-size: clamp(20px, 2.1vw, 28px);
  letter-spacing: -.025em; font-weight: 600; color: var(--green);
}
.hero__lead { margin-top: 22px; font-size: clamp(16px, 1.35vw, 18px); color: var(--ink-2); max-width: 50ch; }
.hero__lead strong { color: var(--ink); font-weight: 650; }

.telemetry-mini {
  margin-top: clamp(20px, 3.5vh, 32px); padding: 14px; max-width: 600px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(255, 255, 255, .78);
}
.telemetry-mini__head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 12px; }
.telemetry-mini__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tm {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .4s, background-color .4s;
}
.tm__label { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm__value { font-family: var(--f-mono); display: flex; align-items: baseline; gap: 3px; color: var(--green); transition: color .4s; }
.tm__value b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.tm__value small { font-size: 13px; font-weight: 500; }
.tm__from { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }
.tm__from s { text-decoration-color: var(--warn); }
.telemetry-mini.is-before .tm { background: #FFFCFA; }
.telemetry-mini.is-before .tm__value { color: var(--warn); }
.telemetry-mini.is-before .tm__from { visibility: hidden; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero__trust .i { color: var(--green); }

/* quick order */
.quick { padding: clamp(18px, 2vw, 26px); box-shadow: var(--shadow-3); position: relative; }
.quick__form { display: flex; flex-direction: column; gap: 14px; }
.quick__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quick__title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.pkgs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pkg {
  position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px; border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg:hover { border-color: #C5C7BD; }
.pkg:has(input:checked) { border-color: var(--green); background: var(--green-tint); box-shadow: 0 0 0 1px var(--green) inset; }
.pkg:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.pkg__num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; background: var(--bg); color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.pkg:has(input:checked) .pkg__num { background: var(--green); color: #fff; }
.pkg__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pkg__body b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.pkg__body em { font-style: normal; color: var(--green); }
.pkg__body small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
em.pro, .pro {
  font-style: normal; font-family: var(--f-mono); font-size: .62em; font-weight: 600; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 6px; background: var(--ink); color: #fff; vertical-align: .25em;
}
.pkg__price { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--f-mono); line-height: 1.15; }
.pkg__price b { font-size: 17px; font-weight: 600; }
.pkg__price s { font-size: 11.5px; color: var(--muted); min-height: 0; }
.pkg__price s:empty { display: none; }
.quick__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.quick__row--inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.quick__done { display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; padding: 8px 0; }
.quick__done h3 { font-size: 22px; letter-spacing: -.02em; }
.done__icon { width: 56px; height: 56px; border-radius: 50%; margin: 6px auto 2px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.done__icon .i { width: 28px; height: 28px; }
.done__lead { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.done__summary { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; padding: 12px 14px; background: var(--bg); border-radius: 12px; text-align: left; }

/* =========================================================
   ECO
   ========================================================= */
.eco { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.eco__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.eco__title { font-size: clamp(38px, 5.4vw, 74px); line-height: 1; letter-spacing: -.045em; font-weight: 800; max-width: 12ch; }
.eco__text > p { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.eco__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line-2); }
.eco__stats div { padding: 18px 16px 0 0; }
.eco__stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.eco__stats dt { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; color: var(--green); letter-spacing: -.04em; }
.eco__stats dd { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* =========================================================
   LABORATÓRNY PROTOKOL (scroll)
   ========================================================= */
.lab { position: relative; height: 430vh; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #F1F0EA 0%, #F7F6F2 50%, #EFEEE8 100%); }
.lab__stage {
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  display: flex; align-items: center; overflow: hidden;
}
.lab__stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20,32,27,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,27,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000, transparent 80%);
}
.lab__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lab__copy .section-index { margin-bottom: 14px; }
.lab__title { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.lab__title span { color: var(--green); font-weight: 600; font-size: .72em; letter-spacing: -.03em; }
.lab__steps { margin-top: clamp(18px, 3vh, 30px); border-top: 1px solid var(--line-2); }
.lab-step {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
  cursor: pointer; color: #8E9792; transition: color .3s var(--ease);
}
.lab-step b { display: block; font-size: 16px; font-weight: 650; letter-spacing: -.015em; line-height: 1.35; }
.lab-step p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .35s var(--ease); }
.lab-step__num { display: grid; place-items: center; width: 32px; height: 24px; border-radius: 7px; border: 1px solid var(--line-2);
  font-size: 11.5px; transition: background-color .3s, color .3s, border-color .3s; }
.lab-step:hover { color: var(--ink-2); }
.lab-step.is-done { color: var(--ink-2); }
.lab-step.is-done .lab-step__num { border-color: var(--green); color: var(--green); }
.lab-step.is-active { color: var(--ink); }
.lab-step.is-active .lab-step__num { background: var(--green); border-color: var(--green); color: #fff; }
.lab-step.is-active p { max-height: 120px; opacity: 1; margin-top: 6px; }

.lab__panel {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-3); padding: clamp(18px, 2vw, 26px);
}
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel__count { font-size: 12px; color: var(--muted); }
.panel__count b { color: var(--ink); }
.panel__screens { position: relative; height: clamp(330px, 48vh, 420px); margin-top: 18px; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 16px;
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.readout { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.readout__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.readout b { font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--green); font-feature-settings: "tnum" 1; }
.readout small { font-size: .4em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.screen__note { margin-top: auto; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.diag { display: flex; flex-direction: column; gap: 10px; }
.diag__row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name state" "what what" "bar bar"; gap: 2px 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .3s, background-color .3s; }
.diag__name { grid-area: name; font-weight: 650; font-size: 15px; }
.diag__what { grid-area: what; font-size: 12.5px; color: var(--muted); }
.diag__state { grid-area: state; font-size: 12px; color: var(--muted); }
.diag__bar { grid-area: bar; display: block; height: 3px; margin-top: 8px; background: var(--bg-2); border-radius: 3px; overflow: hidden; }
.diag__bar i { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.diag__row.is-done { border-color: rgba(18,112,79,.35); background: var(--green-tint); }
.diag__row.is-done .diag__state { color: var(--green-ink); font-weight: 600; }

.chart { width: 100%; height: clamp(150px, 24vh, 210px); overflow: visible; }
.chart__grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__limit { stroke: var(--warn); stroke-width: 1; stroke-dasharray: 4 5; opacity: .55; vector-effect: non-scaling-stroke; }
.chart__lbl { font-family: var(--f-mono); font-size: 11px; fill: var(--warn); opacity: .8; }
.chart__before, .chart__after { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.chart__before { stroke: var(--warn); opacity: .85; }
.chart__after { stroke: var(--green); stroke-width: 3.5; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 18px; height: 3px; border-radius: 3px; }
.legend__before::before { background: var(--warn); }
.legend__after::before { background: var(--green); }

.bars { display: flex; flex-direction: column; gap: 14px; }
.bars__row { display: grid; grid-template-columns: 40px 1fr 64px; align-items: center; gap: 12px; font-size: 13px; }
.bars__row b { text-align: right; font-size: 14px; }
.bars__track { display: block; height: 14px; border-radius: 14px; background: var(--bg-2); overflow: hidden; }
.bars__fill { display: block; height: 100%; width: 100%; border-radius: 14px; background: var(--green);
  transform: scaleX(var(--v, 0)); transform-origin: left; }
.bars__fill--warn { background: var(--warn); opacity: .8; }
.bars__scale { display: flex; justify-content: space-between; padding-left: 52px; padding-right: 76px; font-size: 11px; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; }
.tiles i { display: block; aspect-ratio: 1.6; border-radius: 4px; background: #B9C3BE;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .35s; }
.tiles i:nth-child(-n+11) { background: var(--green); }
.tiles i.is-off { opacity: .13; transform: scale(.7); }
.ram { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font-size: 13px; margin-top: auto; }
.ram b { font-size: 14px; }

.done-strip { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--green-tint); border: 1px solid rgba(18,112,79,.25); color: var(--green-ink); font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.lab.is-finished .done-strip { opacity: 1; transform: none; }

.panel__progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; }
.panel__progress i { position: relative; display: block; height: 3px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.panel__progress i::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(var(--s, 0)); transform-origin: left; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(72px, 8vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head__lead { margin-top: 0; max-width: 44ch; }

/* results */
.results__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.compare-ctrl { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; max-width: 420px; }
.range { display: block; }
.range input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--warn), #E7B24C 45%, var(--green)); outline: none; cursor: grab;
}
.range input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-2), 0 0 0 4px rgba(255,255,255,.7);
}
.range input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--green); outline-offset: 2px; }
.range__labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }

.meters { padding: clamp(18px, 2.5vw, 32px); display: flex; flex-direction: column; gap: 6px; }
.meter { padding: 16px 4px; }
.meter + .meter { border-top: 1px solid var(--line); }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.meter__label { font-weight: 600; font-size: 15px; }
.meter__label em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--green-ink); background: var(--green-soft); padding: 2px 6px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }
.meter__val { font-size: 14px; color: var(--muted); white-space: nowrap; }
.meter__val b { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -.04em; color: var(--ink); transition: color .3s; }
.meter__val small { font-size: 12px; }
.meter.is-hot .meter__val b { color: var(--warn); }
.meter__bar { position: relative; margin-top: 12px; height: 10px; border-radius: 10px; background: var(--bg-2); overflow: visible; }
.meter__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 10px; background: var(--green); width: 30%; transition: background-color .3s; }
.meter.is-hot .meter__bar i { background: var(--warn); }
.meter__mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--warn); opacity: .5; border-radius: 2px; }
.meter__foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); }
.meter__delta { color: var(--green-ink); font-weight: 600; }

/* prípadové štúdie (reálne audity PRED / PO) */
.cases { margin-top: clamp(56px, 7vw, 96px); }
.cases__head { display: grid; grid-template-columns: 1fr auto; gap: 14px 40px; align-items: end; margin-bottom: 22px; }
.cases__head .mono-label { grid-column: 1 / -1; }
.cases__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.cases__title span { display: block; margin-top: 6px; font-size: clamp(15px, 1.4vw, 17px); letter-spacing: -.01em; font-weight: 600; color: var(--muted); }
.cases__lead { grid-column: 1; color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.cases__safe { grid-column: 2; grid-row: 2 / span 2; display: flex; flex-direction: column; gap: 8px; align-self: end; }
.cases__safe li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green-ink); background: var(--green-tint); border: 1px solid var(--green-soft); padding: 6px 12px 6px 10px; border-radius: 999px; white-space: nowrap; }
.cases__safe .i { width: 16px; height: 16px; color: var(--green); }

.gains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gain { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); }
.gain__num { font-size: clamp(24px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; color: var(--green); }
.gain__lbl { font-weight: 700; font-size: 15px; line-height: 1.3; }
.gain__note { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: auto; padding-top: 4px; }

.case { margin-top: 18px; padding: clamp(18px, 2.5vw, 30px); }
.case__bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.case__tabs .seg__btn { font-size: 13.5px; }
.case__panel { outline: none; animation: caseIn .4s var(--ease); }
@keyframes caseIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.case__device { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 24px; flex-wrap: wrap; padding: 18px 0 6px; }
.case__device h4 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.case__specs { display: flex; flex-wrap: wrap; gap: 6px; }
.case__specs li { font-size: 11.5px; color: var(--ink-2); padding: 3px 8px; border-radius: 6px; background: var(--bg-2); }
.case__rows { display: flex; flex-direction: column; }
.crow { display: grid; grid-template-columns: minmax(150px, 15rem) 1fr 10rem; gap: 4px 20px; align-items: center; padding: 14px 0; }
.crow + .crow { border-top: 1px solid var(--line); }
.crow__lbl { font-weight: 600; font-size: 14.5px; }
.crow__vals { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.crow__vals s { color: var(--muted); text-decoration-color: rgba(210, 84, 42, .55); }
.crow__vals i { font-style: normal; color: var(--muted); }
.crow__vals b { font-weight: 600; color: var(--ink); font-size: 16px; }
.crow__vals small { font-size: 11.5px; }
.crow__delta { justify-self: end; font-size: 12.5px; font-weight: 600; color: var(--green-ink); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.crow__note { grid-column: 2 / -1; font-size: 12.5px; color: var(--muted); }
.case__verdict { margin-top: 10px; padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line-2); }
.case__verdict p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.cases__note { max-width: 80ch; }

/* pricing */
.pricing { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.isic-toggle { display: inline-flex; align-items: center; gap: 14px; padding: 8px 10px 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.isic-toggle__lbl { font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.isic-toggle__lbl.is-on { color: var(--ink); }
.isic-toggle__lbl[data-isic-lbl="isic"] { padding-right: 8px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); cursor: pointer;
  transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease), opacity .3s;
}
@media (hover: hover) {
  .plans:hover .plan:not(:hover):not(.is-selected) { opacity: .78; }
  .plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-3); border-color: rgba(18,112,79,.5); z-index: 1; }
}
.plan.is-selected { border-color: var(--green); box-shadow: 0 0 0 2px var(--green) inset, var(--shadow-3); background: var(--green-tint); }
.plan.is-selected::after {
  content: "✓ Vybraný"; position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
}
.plan--featured { background: var(--green-tint); border-color: rgba(18, 112, 79, .35); }
.plan__badge {
  position: absolute; top: -13px; left: 28px; height: 26px; padding: 0 12px; display: inline-flex; align-items: center;
  border-radius: 999px; background: var(--green); color: #fff; font-size: 12.5px; font-weight: 700;
}
.plan__num { font-size: 13px; color: var(--muted); }
.plan__head h3 { margin-top: 10px; font-size: 24px; letter-spacing: -.03em; font-weight: 700; }
.plan__head p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); min-height: 3em; }
.plan__price { display: flex; flex-direction: column; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan__price b { font-size: clamp(42px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: 1; display: inline-block; }
.plan__price b.is-flip { animation: flip .45s var(--ease); }
@keyframes flip { 0% { opacity: 0; transform: translateY(10px); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.plan__alt { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan__list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%2312704F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.plan__list strong { color: var(--ink); font-weight: 650; }

.addons { margin-top: clamp(48px, 6vw, 80px); }
.addons__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.addons__head p { color: var(--muted); font-size: 14.5px; }
.addons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addon {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon:hover { border-color: #C5C7BD; }
.addon:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.addon:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.addon__box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; color: transparent; transition: all .2s; margin-top: 1px; }
.addon__box .i { width: 14px; height: 14px; }
.addon:has(input:checked) .addon__box { background: var(--green); border-color: var(--green); color: #fff; }
.addon__txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.addon__txt b { font-size: 14.5px; }
.addon__txt small { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.addon__price { font-size: 14px; font-weight: 600; color: var(--green-ink); white-space: nowrap; }
.addon__price.is-flip { animation: flip .45s var(--ease); display: inline-block; }
.addon--qty .addon__price { padding: 2px 8px; border-radius: 999px; background: var(--green-soft); font-size: 13px; }

.summary {
  margin-top: 18px; display: flex; align-items: center; gap: 24px; padding: 16px 16px 16px 24px;
  box-shadow: var(--shadow-1); border-radius: var(--r); flex-wrap: wrap;
}
.summary__info { flex: 1; min-width: 200px; }
.summary__line { margin-top: 4px; font-weight: 600; font-size: 15px; }
.summary__total { display: flex; flex-direction: column; align-items: flex-end; }
.summary__total b { font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; height: 42px; }
.stepper button { width: 38px; height: 100%; font-size: 18px; color: var(--ink-2); }
.stepper button:hover { background: var(--bg); }
.stepper button:disabled { color: var(--line-2); cursor: not-allowed; background: none; }
.stepper input { width: 48px; height: 100%; border: 0; border-inline: 1px solid var(--line); text-align: center; font-family: var(--f-mono); padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.field--inline .field__label { white-space: nowrap; }

/* process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line-2); }
.step { position: relative; padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.step + .step::before { left: -4px; }
.step__num { font-size: 13px; color: var(--green); font-weight: 600; }
.step h3 { margin-top: 12px; font-size: 22px; letter-spacing: -.025em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; max-width: 34ch; }

.places { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.place { padding: 26px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 10px; }
.place__top { display: flex; align-items: center; justify-content: space-between; color: var(--green); margin-bottom: 8px; }
.place h3 { font-size: 21px; letter-spacing: -.02em; }
.place p { color: var(--ink-2); font-size: 14.5px; }
.place__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.place__tags li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.place--accent { background: var(--green); border-color: var(--green); color: #fff; }
.place--accent .place__top, .place--accent .mono-label { color: rgba(255,255,255,.75); }
.place--accent p { color: rgba(255,255,255,.86); }

/* safety */
.safety { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.safety__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.g { background: var(--surface); padding: clamp(22px, 2.6vw, 32px); }
.g .i { color: var(--green); }
.g h3 { margin-top: 18px; font-size: 18px; letter-spacing: -.02em; }
.g p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* faq */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.acc { border-top: 1px solid var(--line-2); }
.acc__item { border-bottom: 1px solid var(--line-2); }
.acc__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; letter-spacing: -.015em;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover { color: var(--green-ink); }
.acc__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .35s var(--ease), background-color .2s, border-color .2s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.acc__item[open] .acc__icon { background: var(--green); border-color: var(--green); color: #fff; }
.acc__item[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 15.5px; max-width: 64ch; }

/* booking */
.booking { background: linear-gradient(180deg, var(--bg) 0%, #ECF3EE 100%); }
.booking__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; align-items: start; }
.booking__form { padding: clamp(24px, 3.4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.book__opts { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.book__addons { font-size: 13.5px; color: var(--muted); }
.book__addons a { color: var(--green-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.book__msg { font-size: 13.5px; color: var(--green-ink); font-weight: 600; }
.book__msg.is-error { color: var(--warn); }
.preview { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--nav-h) + 20px); }
.preview__card { padding: 22px; }
.preview__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.preview__head b { font-size: 20px; }
.preview__msg {
  margin: 0; padding: 16px 18px; border-radius: 4px 16px 16px 16px; background: var(--green-tint);
  border: 1px solid rgba(18,112,79,.18); font-family: var(--f-sans); font-size: 14px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word; color: var(--ink); max-height: 420px; overflow: auto;
}
.contact { padding: 8px 22px; box-shadow: var(--shadow-1); }
.contact__row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; }
.contact__row + .contact__row { border-top: 1px solid var(--line); }
.contact__row a, .contact__row span:last-child { font-weight: 600; font-size: 15px; }
.contact__row a:hover { color: var(--green); }

/* footer */
.footer { background: var(--ink); color: #D9DEDB; padding: 72px 0 28px; }
.footer .logo { color: #fff; }
.footer .mono-label { color: #8E9893; margin-bottom: 10px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__claim { margin-top: 12px; color: #A7B0AB; max-width: 30ch; }
.footer__col p { font-size: 15px; line-height: 1.7; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8E9893; }

/* mobile CTA */
.mcta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
  align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-3);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.mcta.is-on { transform: none; }
.mcta div { display: flex; flex-direction: column; line-height: 1.15; }
.mcta b { font-size: 18px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

@media (min-width: 961px) and (max-height: 860px) {
  .hero__title { font-size: clamp(40px, 5vw, 66px); margin-top: 16px; }
  .hero__title-sub { margin-top: 10px; font-size: 22px; }
  .hero__lead { margin-top: 16px; font-size: 16px; }
  .telemetry-mini { margin-top: 18px; padding: 12px; }
  .tm { padding: 9px 10px 8px; }
  .hero__trust { display: none; }
  .pkg { padding-top: 7px; padding-bottom: 7px; }
  .quick__form { gap: 10px; }
  .quick .field input { height: 42px; }
  .quick .quick__note { display: none; }
  .quick .field__label i { display: none; }
}


/* =========================================================
   CONSENT + LEGAL
   ========================================================= */
.consent { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; cursor: pointer; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; color: transparent; transition: all .2s; margin-top: 1px; }
.consent__box .i { width: 13px; height: 13px; }
.consent input:checked + .consent__box { background: var(--green); border-color: var(--green); color: #fff; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--green); outline-offset: 2px; }
.consent a { color: var(--green-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(18,112,79,.35); }
.consent a:hover { text-decoration-color: currentColor; }
.consent em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 4px; }
.consent.is-invalid .consent__box { border-color: var(--warn); box-shadow: 0 0 0 4px rgba(210, 84, 42, .12); }
.consent.is-invalid { color: var(--warn); }
.quick .consent { font-size: 12.5px; }
.book__legal { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.book__privacy { font-size: 12.5px; color: var(--muted); }
.fineprint--center { text-align: center; margin: 22px auto 0; }
.fineprint a, .book__privacy a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }

.footer__grid { grid-template-columns: 1.2fr 1.5fr .9fr .9fr; }
.footer__col--wide p { font-size: 14.5px; }
.footer__col b { color: #fff; font-weight: 650; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer__links a { font-size: 14px; font-weight: 500; color: #C9D0CC; text-decoration: underline; text-decoration-color: rgba(255,255,255,.18); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.footer__links a:hover { color: #fff; text-decoration-color: rgba(255,255,255,.6); }
.footer__bottom { margin-top: 22px; }

/* dialog */
html.is-modal, html.is-modal body { overflow: hidden; }
.legal {
  width: min(920px, calc(100vw - 32px)); max-width: none; height: min(88vh, 980px); max-height: none;
  margin: auto; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg); color: var(--ink); box-shadow: var(--shadow-3); overflow: hidden;
}
.legal[open] { display: flex; flex-direction: column; animation: legal-in .38s var(--ease); }
.legal--short { height: auto; max-height: 88vh; }
.legal::backdrop { background: rgba(20, 32, 27, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s ease; }
@keyframes legal-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
.legal__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 14px 0 24px; border-bottom: 1px solid var(--line); background: rgba(245,244,239,.92);
}
.legal__bar .logo { font-size: 18px; }
.legal__tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.legal__tabs a { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.legal__tabs a:hover { color: var(--ink); }
.legal__tabs a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.legal__close { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); flex: none; }
.legal__close:hover { border-color: var(--ink); }
.legal__close span { position: absolute; left: 11px; right: 11px; top: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transform: rotate(45deg); }
.legal__close span + span { transform: rotate(-45deg); }
.legal__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.legal__doc { max-width: 760px; padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 64px) 64px; }
.legal__eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }
.legal__eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.legal__title { margin-top: 16px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.03; letter-spacing: -.04em; font-weight: 700; }
.legal__lead { margin-top: 22px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal__sec { position: relative; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-2); scroll-margin-top: 16px; }
.legal__num { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.legal__sec h3 { margin-top: 8px; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.legal__sec p, .legal__sec li { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.legal__sec p { margin-top: 14px; }
.legal__sec ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.legal__sec li { position: relative; padding-left: 22px; }
.legal__sec li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.legal__sec b { color: var(--ink); font-weight: 650; }
.legal__sec a, .legal__lead a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18,112,79,.35); }
.legal__sec code { font-family: var(--f-mono); font-size: .86em; padding: 1px 6px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.legal__note { margin-top: 18px; padding: 18px 22px; border-left: 3px solid var(--green); background: var(--green-tint); border-radius: 0 12px 12px 0; font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.legal__card { margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.legal__card p { margin-top: 0; font-size: 15px; line-height: 1.75; }
.legal__card-name { font-size: 19px !important; font-weight: 700; letter-spacing: -.02em; color: var(--ink) !important; margin-bottom: 6px !important; }
.legal__form { margin-top: 20px; padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--surface); }
.legal__form p { margin-top: 10px; font-size: 14.5px; }
.legal__form-title { margin-top: 0 !important; font-weight: 700; color: var(--ink) !important; font-size: 16px !important; }
.legal__form-hint { font-size: 13px !important; color: var(--muted) !important; }
.legal__form .btn { margin-top: 16px; }
.legal__date { font-size: 13.5px !important; color: var(--muted) !important; }

@media (max-width: 640px) {
  .legal { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  .legal--short { height: 100dvh; }
  .legal__bar { padding: 0 10px 0 16px; gap: 10px; }
  .legal__bar .logo { display: none; }
  .legal__tabs a { padding: 6px 10px; font-size: 12.5px; }
  .footer__links { flex-direction: column; gap: 12px; }
}


/* =========================================================
   RH LAB — logo tag, formuláre (odosielanie), potvrdenie
   ========================================================= */
.logo { display: inline-flex; align-items: baseline; white-space: nowrap; }
.logo__tag {
  margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); align-self: center;
}
.footer__tag { margin-top: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8E9893; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  font-size: 13.5px; line-height: 1.5; color: #8A3517; background: var(--warn-soft);
  border: 1px solid rgba(210, 84, 42, .25); border-radius: 12px; padding: 10px 14px;
}
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.form-status code { font-family: var(--f-mono); font-size: .92em; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }
form[aria-busy="true"] .btn .i { animation: nudge 1s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.wa-mini {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: center;
  font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 4px;
}
.wa-mini .i { width: 16px; height: 16px; }
.wa-mini:hover { color: var(--green-ink); }
.done { display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; outline: none; }
.done h3 { font-size: 22px; letter-spacing: -.02em; }
.done__id {
  font-size: 14px; color: var(--green-ink); background: var(--green-tint); border: 1px solid rgba(18,112,79,.25);
  border-radius: 12px; padding: 12px 14px;
}
.done__id b { display: block; margin-top: 2px; font-size: 22px; letter-spacing: .02em; color: var(--green); }
.book__done { padding: 36px 0 6px; max-width: 460px; margin: 0 auto; }
.book__actions { align-items: center; }

/* vstupná animácia hero (čisté CSS, bez knižníc) */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .quick { animation: rise .8s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .05s; }
  .hero__copy > :nth-child(3) { animation-delay: .1s; }
  .hero__copy > :nth-child(4) { animation-delay: .15s; }
  .hero__copy > :nth-child(5) { animation-delay: .2s; }
  .quick { animation-delay: .12s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* notebooky 1366×768 až 1536×864 */
@media (min-width: 961px) and (max-height: 900px) {
  .section { padding: 64px 0; }
  .eco { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .h2 { font-size: clamp(32px, 3.8vw, 50px); }
  .lead { margin-top: 14px; }
  .meter { padding: 12px 4px; }
  .plan { gap: 16px; }
  .plan__head p { min-height: 0; }
  .plan__price { padding-bottom: 14px; }
  .lab-step { padding: 9px 0; }
  .lab-step p { font-size: 13.5px; }
  .panel__screens { height: 365px; }
  .diag__row { padding: 8px 12px; }
  .diag__bar { margin-top: 6px; }
  .diag { gap: 8px; }
  .screen__note { font-size: 12.5px; }
  .screen { gap: 12px; }
  .readout b { font-size: clamp(40px, 4.4vw, 60px); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .logo__tag { display: none; }
}
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 9px; font-size: 14px; }
  .nav__status { display: none; }
  .gains { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .hero { min-height: 0; align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { display: contents; }
  .hero__copy > .eyebrow { order: 1; }
  .hero__title { order: 2; margin-top: 4px; }
  .hero__lead { order: 3; margin-top: 0; }
  .quick { order: 4; }
  .telemetry-mini { order: 5; margin-top: 0; max-width: none; }
  .hero__trust { order: 6; margin-top: 0; }
  .hero__grid { gap: 18px; }

  .eco__grid, .results__grid, .safety__grid, .faq__grid, .booking__grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); }
  .step, .step + .step { padding: 0 0 32px 28px; border-left: 0; }
  .step::before, .step + .step::before { left: -4px; top: 6px; }
  .places { grid-template-columns: 1fr; }
  .preview { position: static; }
  /* doplnky: 2 + 1 bez osirotenej karty — posledná (množstevná zľava) cez celú šírku */
  .addons__grid { grid-template-columns: 1fr 1fr; }
  .addons__grid > .addon:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cases__head { grid-template-columns: 1fr; }
  .cases__lead, .cases__safe { grid-column: 1; grid-row: auto; }
  .cases__safe { flex-direction: row; flex-wrap: wrap; align-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mcta { display: flex; }
  .lab { height: 380vh; }
  .lab__stage { align-items: flex-start; padding-top: 18px; }
  .lab__grid { grid-template-columns: 1fr; gap: 16px; }
  .lab__title { font-size: 28px; }
  .lab__title span { display: none; }
  .lab__steps { margin-top: 12px; border-top: 0; }
  .lab-step { display: none; border-bottom: 0; padding: 0; }
  .lab-step.is-active { display: grid; }
  .panel__screens { height: 330px; }
  .screen__note { display: none; }
  .readout b { font-size: 44px; }
  .lab__copy .section-index { margin-bottom: 8px; }
  body { padding-bottom: 0; }

}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav .btn--sm { display: none; }
  .logo__tag { display: none; }
  .telemetry-mini__grid { grid-template-columns: 1fr 1fr; }
  .quick__row--inputs, .form-grid { grid-template-columns: 1fr; }
  .eco__stats { grid-template-columns: 1fr; }
  .eco__stats div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .eco__stats div { padding: 14px 0; }
  .addons__grid { grid-template-columns: 1fr; }
  .addons__grid > .addon:last-child:nth-child(odd) { grid-column: auto; }
  .gains { gap: 10px; }
  .gain { padding: 16px 14px; }
  .case__bar { flex-direction: column; align-items: stretch; }
  .case__tabs { display: flex; width: 100%; }
  .case__tabs .seg__btn { flex: 1; }
  .crow { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .crow__vals { grid-column: 1 / -1; grid-row: 2; }
  .crow__delta { grid-column: 2; grid-row: 1; }
  .crow__note { grid-column: 1 / -1; }
  .cases__safe li { white-space: normal; }
  .guarantees { grid-template-columns: 1fr; }
  .summary { padding: 16px; gap: 14px; }
  .summary .btn { width: 100%; }
  .summary__total { align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; }
  .isic-toggle { width: 100%; justify-content: space-between; }
  .acc__body p { padding-right: 0; }
  .book__actions .btn { width: 100%; }
  .pkg__body small { white-space: normal; }
}

@media (max-width: 460px) {
  .gains { grid-template-columns: 1fr; }
  .crow__vals b { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
