/* ════════════════════════════════════════════════════════════════
   Elvian · Zaměstnanecký portál — landing page · návrh v1 (24. 9. 2026)
   Brand: Manuál vizuálního stylu Elvian 2026
   Navy dominuje · ivory a beige dávají teplo · zlatá jen akcent (linka, detail)
   Ostré tvary: JEDNO globální pravidlo níže, žádné zaoblení po selektorech.
   ════════════════════════════════════════════════════════════════ */

:root {
  --paper: #FAF6EE;
  --paper-2: #F0E6D3;
  --beige: #E8DCC8;
  --cream: #FCF9F3;
  --white-warm: #FFFDF8;
  --ink: #232B3E;
  --ink-soft: #3D4557;
  --navy: #1F2A44;
  --navy-lift: #2B3960;
  --abyss: #192138;
  --abyss-2: #131A2C;
  --gold: #C6A75E;
  --gold-deep: #A8894A;
  --gold-hot: #D9C28A;
  --muted: #7A7466;
  --line: rgba(31, 42, 68, .11);
  --line-strong: rgba(31, 42, 68, .2);
  --line-gold: rgba(198, 167, 94, .38);
  --line-dark: rgba(198, 167, 94, .18);
  --ivory-70: rgba(250, 246, 238, .72);
  --ivory-55: rgba(250, 246, 238, .55);
  --ivory-40: rgba(250, 246, 238, .4);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 80px;
  --wrap: 1240px;
  --gutter: 64px;

  --shadow-soft: 0 1px 2px rgba(31, 42, 68, .05), 0 18px 48px -18px rgba(31, 42, 68, .2);
  --shadow-lift: 0 2px 4px rgba(31, 42, 68, .06), 0 34px 80px -24px rgba(31, 42, 68, .38);
}

/* ── Ostré tvary — plošně, jednou provždy ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
[hidden] { display: none !important; }

/* ── Základ ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* jemné zrno papíru přes celou stránku */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .12  0 0 0 0 .16  0 0 0 0 .27  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - var(--gutter)); margin-inline: auto; position: relative; }

::selection { background: var(--navy); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Typografie ───────────────────────────────────────────────── */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -.018em;
}
h1 { font-size: clamp(40px, 4.3vw, 66px); line-height: 1.06; }
h2 { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.07; }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }
h2, h3 { text-wrap: balance; }
.br-d { display: none; }
@media (min-width: 1101px) { .br-d { display: inline; } h1 { white-space: normal; } }
p, li { text-wrap: pretty; }
.nw { white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 12px/1.2 var(--font-body);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--gold); flex: none; }
.eyebrow-sm { font-size: 11px; letter-spacing: .28em; gap: 12px; }
.eyebrow-dark { color: var(--gold); }
.eyebrow-sm::before { width: 6px; height: 6px; }

.section { padding: 148px 0; position: relative; overflow: hidden; }
.section-head {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end;
  margin-bottom: 80px;
}
.section-head h2 { margin-top: 26px; }
.section-lead { font-size: 18px; color: var(--ink-soft); max-width: 30em; padding-bottom: 8px; }

/* ── Tlačítka ─────────────────────────────────────────────────── */
.btn {
  -webkit-appearance: none; appearance: none;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 58px; padding: 0 30px;
  font: 600 15px/1 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: scaleX(1); }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .6s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary { background: var(--navy); color: var(--paper); box-shadow: 0 20px 44px -20px rgba(31, 42, 68, .6); }
.btn-primary:hover { background: var(--abyss-2); }
.btn-ghost {
  color: var(--navy); border-color: var(--line-strong);
  background: rgba(255, 253, 248, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: var(--paper); color: var(--navy); }
.btn-light:hover { background: var(--white-warm); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; box-shadow: none; }

/* ── Navigace (sklo) ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(250, 246, 238, .55);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.nav.is-scrolled { background: rgba(250, 246, 238, .8); border-bottom-color: var(--line); }
.nav-logo { position: relative; display: block; }
.nav-logo img { transition: opacity .5s var(--ease); }
.nav-logo .logo-ivory { position: absolute; left: 0; top: 0; opacity: 0; }
.nav.is-dark, .nav.is-dark.is-scrolled { background: rgba(19, 26, 44, .62); border-bottom-color: rgba(250, 246, 238, .08); }
.nav.is-dark .logo-navy { opacity: 0; }
.nav.is-dark .logo-ivory { opacity: 1; }
.nav.is-dark .nav-links a { color: var(--ivory-70); }
.nav.is-dark .nav-links a:hover { color: var(--paper); }
.nav.is-dark .btn-primary { background: var(--paper); color: var(--navy); box-shadow: none; }
.nav-inner {
  width: min(var(--wrap), 100% - var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo img { width: 132px; height: auto; }
.nav-brand { display: flex; align-items: center; gap: 22px; }
.nav-back {
  font: 500 14px/1 var(--font-body); color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  padding-left: 22px; border-left: 1px solid rgba(31, 42, 68, .18); transition: color .4s var(--ease), border-color .4s var(--ease);
}
.nav-back:hover { color: var(--navy); }
.nav.is-dark .nav-back { color: var(--ivory-70); border-color: rgba(250, 246, 238, .25); }
.nav.is-dark .nav-back:hover { color: var(--paper); }
.nb-short { display: none; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  position: relative;
  font: 500 14px/1 var(--font-body); color: var(--ink-soft); text-decoration: none;
  padding: 8px 0; transition: color .4s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── 1 · Úvod ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(780px, 100vh, 980px);
  padding: calc(var(--nav-h) + 72px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 70% -10%, rgba(232, 220, 200, .95), transparent 62%),
    radial-gradient(760px 520px at -10% 110%, rgba(232, 220, 200, .6), transparent 60%),
    var(--paper);
}
/* architektonický navy blok vpravo */
.hero-block {
  position: absolute;
  top: calc(var(--nav-h) + 36px); right: 0; bottom: 56px;
  width: 37vw;
  background: linear-gradient(155deg, var(--navy-lift) 0%, var(--navy) 38%, var(--abyss-2) 100%);
  overflow: hidden;
}
.hero-block::before {           /* jemná zlatá mřížka */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(198, 167, 94, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 167, 94, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 100%);
}
.hero-block::after {            /* vnitřní zlatý rám */
  content: ""; position: absolute; inset: 20px;
  border: 1px solid var(--line-dark);
}
.hero-glow {
  position: absolute; width: 520px; height: 520px; left: -120px; top: 12%;
  background: radial-gradient(closest-side, rgba(198, 167, 94, .24), transparent);
  filter: blur(10px);
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.22fr .78fr; gap: 56px; align-items: center;
}
.hero-copy h1 { margin: 28px 0 30px; }
.hero-lead { font-size: 19px; line-height: 1.7; color: var(--ink-soft); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 76px; max-width: 620px;
  border-top: 1px solid var(--line);
}
.hero-fact { position: relative; padding: 22px 20px 0 0; }
.hero-fact::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--gold); }
.hero-fact dt { font: italic 400 27px/1.15 var(--font-display); color: var(--gold-deep); }
.hero-fact dd { margin-top: 10px; font: 500 11px/1.45 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* skleněné okno portálu */
.hero-visual { position: relative; min-height: 560px; }
.portal-window {
  position: absolute; top: 20px; left: -24px;
  width: min(430px, 100%);
  padding: 22px 22px 14px;
  background: linear-gradient(135deg, rgba(255, 253, 248, .88) 0%, rgba(255, 253, 248, .7) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.portal-window::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 2px; background: var(--gold); z-index: 2; }
.pw-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pw-bar img { width: 15px; height: 19px; }
.pw-title { font: 600 14px/1 var(--font-body); color: var(--navy); }
.pw-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font: 500 10.5px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.pw-status::before { content: ""; width: 6px; height: 6px; background: var(--gold); }
.pw-hello { font: 400 27px/1.2 var(--font-display); color: var(--navy); margin: 20px 0 10px; }
.pw-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.pw-list li:last-child { border-bottom: 0; }
.pw-ico {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--navy);
}
.pw-ico svg, .pw-chev, .mini-ok svg, .pw-chip-ico svg, .success-mark svg {
  width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: square; stroke-linejoin: miter;
}
.pw-list li.is-ok .pw-ico { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.pw-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pw-txt b { font: 600 14px/1.25 var(--font-body); color: var(--ink); }
.pw-txt small { font: 400 12.5px/1.3 var(--font-body); color: var(--muted); }
.pw-chev { color: var(--muted); width: 15px; height: 15px; }
.pw-bar-progress { display: block; height: 2px; background: var(--line); margin-top: 7px; max-width: 220px; }
.pw-bar-progress i { display: block; height: 100%; background: var(--gold); }

.pw-chip {
  position: absolute; right: -8px; bottom: 26px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 16px;
  color: var(--paper);
  background: linear-gradient(135deg, rgba(31, 42, 68, .78), rgba(19, 26, 44, .6));
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(250, 246, 238, .22);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(250, 246, 238, .22);
}
.pw-chip-ico { width: 34px; height: 34px; display: grid; place-items: center; background: var(--gold); color: var(--navy); flex: none; }
.pw-chip b { display: block; font: 600 13.5px/1.3 var(--font-body); }
.pw-chip small { display: block; font: 400 12px/1.3 var(--font-body); color: var(--ivory-70); margin-top: 2px; }

/* ── 2 · Poznáváte se ─────────────────────────────────────────── */
.problems-section { background: var(--paper); }
.problems {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.problem {
  position: relative;
  padding: 52px 52px 56px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .8s var(--ease);
}
.problem:hover { background: rgba(232, 220, 200, .32); }
.problem .num { font: italic 400 20px/1 var(--font-display); color: var(--gold-deep); }
.problem h3 {
  font: 400 clamp(23px, 2.1vw, 29px)/1.28 var(--font-display);
  color: var(--navy); letter-spacing: -.01em;
  margin: 22px 0 26px; max-width: 16em;
}
.problem .rule { display: block; width: 36px; height: 1px; background: var(--gold); margin-bottom: 20px; transition: width .8s var(--ease); }
.problem:hover .rule { width: 88px; }
.problem p { font-size: 16.5px; color: var(--ink-soft); max-width: 29em; }

/* ── 4 · Co najde kdo (světlé sklo) ───────────────────────────── */
.roles-section {
  background:
    radial-gradient(820px 520px at 92% 8%, rgba(232, 220, 200, .95), transparent 62%),
    radial-gradient(640px 460px at 4% 96%, rgba(198, 167, 94, .16), transparent 60%),
    var(--paper);
}
.roles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.roles::before {                 /* teplé světlo za sklem karet */
  content: ""; position: absolute; z-index: -1;
  left: 14%; right: 14%; top: 16%; bottom: 4%;
  background: radial-gradient(closest-side, rgba(198, 167, 94, .62), rgba(232, 220, 200, .7) 55%, transparent);
  filter: blur(38px);
}
.role {
  position: relative;
  padding: 46px 38px 40px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 253, 248, .72) 0%, rgba(255, 253, 248, .44) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.role::before { content: ""; position: absolute; top: -1px; left: -1px; width: 64px; height: 2px; background: var(--gold); transition: width .9s var(--ease); }
.role:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, .9); }
.role:hover::before { width: calc(100% + 2px); }
.role h3 { font: 400 27px/1.22 var(--font-display); color: var(--navy); letter-spacing: -.01em; margin: 22px 0 26px; }
.role li {
  position: relative; padding: 12px 0 12px 22px;
  font-size: 15.5px; line-height: 1.45; color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.role li::before { content: ""; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; background: var(--gold); }

/* ── 5 · Lidé ─────────────────────────────────────────────────── */
.people { background: var(--beige); }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; z-index: 2; }
.people-body { position: relative; }
.people-body::before { content: ""; position: absolute; left: -48px; top: -12px; bottom: -12px; width: 1px; background: linear-gradient(180deg, transparent, var(--gold-deep) 18%, var(--gold-deep) 82%, transparent); opacity: .55; }
.people-symbol { width: 56px; height: 56px; margin-bottom: 40px; }
.people-head h2 { margin-top: 26px; }
.people-text { font: 300 21px/1.7 var(--font-body); color: var(--ink); max-width: 30em; }
.people-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.people-facts div { position: relative; padding-top: 22px; border-top: 1px solid rgba(31, 42, 68, .16); }
.people-facts div::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--gold-deep); }
.people-facts strong { display: block; font: 600 16px/1.35 var(--font-body); color: var(--navy); }
.people-facts span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-soft); }

/* ── 6 · Jak začneme ──────────────────────────────────────────── */
.steps-section { background: var(--paper); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps::before { content: ""; position: absolute; top: 32px; left: 64px; right: 0; height: 1px; background: var(--line-gold); }
.step { position: relative; }
.step-num {
  position: relative; z-index: 2;
  display: grid; place-items: center; width: 64px; height: 64px;
  background: var(--paper); border: 1px solid var(--gold);
  font: italic 400 22px/1 var(--font-display); color: var(--navy);
}
.step h3 { font: 600 19px/1.35 var(--font-body); color: var(--navy); margin: 32px 0 12px; padding-right: 16px; }
.step p { font-size: 16px; color: var(--ink-soft); padding-right: 16px; }

.promise {
  margin-top: 96px;
  display: flex; align-items: center; gap: 40px;
  padding: 40px 48px;
  background: rgba(255, 253, 248, .7);
  border: 1px solid var(--line-gold);
  position: relative;
}
.promise::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--gold); }
.promise-label { flex: none; font: 500 11px/1.2 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); }
.promise p { font: italic 400 clamp(22px, 2.3vw, 30px)/1.3 var(--font-display); color: var(--navy); }

/* ── 7 · Ukázka + formulář ────────────────────────────────────── */
.cta {
  color: var(--paper);
  background:
    radial-gradient(900px 620px at 85% 15%, rgba(198, 167, 94, .16), transparent 60%),
    radial-gradient(900px 700px at -5% 105%, rgba(52, 68, 108, .7), transparent 60%),
    var(--navy);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(198, 167, 94, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 167, 94, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 50%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 75% 50%, #000 25%, transparent 75%);
}
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1.05fr; gap: 88px; align-items: center; }
.cta h2 { color: var(--paper); margin-top: 26px; }
.cta h2 em { color: var(--gold); }
.cta-lead { margin-top: 28px; font-size: 19px; color: var(--ivory-70); max-width: 26em; }
.cta-points { margin-top: 36px; display: grid; gap: 14px; }
.cta-points li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--paper); }
.cta-points li::before { content: ""; width: 7px; height: 7px; background: var(--gold); flex: none; }

.form-wrap { position: relative; }
.form-wrap::before {             /* odsazený zlatý rám */
  content: ""; position: absolute; top: -22px; right: -22px; bottom: 22px; left: 22px;
  border: 1px solid rgba(198, 167, 94, .42);
}
.form-wrap::after {              /* záře prosvítající sklem */
  content: ""; position: absolute; width: 70%; height: 70%; right: -8%; top: -10%;
  background: radial-gradient(closest-side, rgba(96, 120, 182, .5), transparent);
  filter: blur(26px);
}
.form-panel {
  position: relative; z-index: 1;
  padding: 52px 52px 44px;
  background: linear-gradient(160deg, rgba(250, 246, 238, .13) 0%, rgba(250, 246, 238, .045) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(1.05); backdrop-filter: blur(26px) saturate(1.05);
  border: 1px solid rgba(250, 246, 238, .18);
  box-shadow: inset 0 1px 0 rgba(250, 246, 238, .15), 0 50px 90px -40px rgba(0, 0, 0, .65);
}
.form-panel::before { content: ""; position: absolute; top: -1px; left: -1px; width: 72px; height: 2px; background: var(--gold); }
.field { position: relative; margin-bottom: 28px; }
.field label {
  display: block; margin-bottom: 4px;
  font: 500 11px/1.4 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-55);
}
.field .opt { letter-spacing: .06em; text-transform: none; color: var(--ivory-40); margin-left: 6px; }
.field input, .field select {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 46px; padding: 0;
  background: transparent; color: var(--paper);
  font: 400 17px/1 var(--font-body);
  border: 0; border-bottom: 1px solid rgba(250, 246, 238, .3);
  outline: none;
  transition: border-color .5s var(--ease);
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6A75E' stroke-width='1.6'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 16px;
}
.field select option { color: var(--navy); background: var(--paper); }
.field input:focus, .field select:focus { border-bottom-color: var(--gold); }
.field input::placeholder { color: var(--ivory-40); font-size: 15px; }
.field.is-invalid input { border-bottom-color: #D98C7A; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
.consent { margin: 6px 0 30px; font-size: 12.5px; line-height: 1.55; color: var(--ivory-55); }
.form-panel .btn-light { width: 100%; }
.form-after { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--ivory-55); }

.form-success { text-align: left; padding: 12px 0 8px; }
.success-mark { display: grid; place-items: center; width: 56px; height: 56px; background: var(--gold); color: var(--navy); }
.success-mark svg { width: 24px; height: 24px; stroke-width: 1.8; }
.form-success h3 { margin-top: 28px; font: 400 40px/1.1 var(--font-display); color: var(--paper); }
.form-success p { margin-top: 14px; font-size: 17px; color: var(--ivory-70); }
.form-success .preview-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(250, 246, 238, .14); font-size: 12.5px; color: var(--ivory-40); }

/* ── Patička ──────────────────────────────────────────────────── */
.footer { background: var(--abyss-2); color: var(--ivory-55); padding: 76px 0 36px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); opacity: .5; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.footer-brand img { width: 140px; height: auto; }
.footer-tag { margin-top: 22px; font: 500 11px/1.4 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-55); }
.footer-address { font-style: normal; font-size: 14px; line-height: 1.8; text-align: right; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(250, 246, 238, .08); font-size: 12.5px; line-height: 1.6; color: var(--ivory-40); }
.footer-bottom img { width: 22px; height: 22px; opacity: .9; }

/* ── Mobil: připnuté tlačítko ─────────────────────────────────── */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 238, .78);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .6s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { width: 100%; height: 52px; }

/* ════════════════════════════════════════════════════════════════
   v2 · Úvodní choreografie (inspirace Linear) — klidně, z rozmazání do ostrosti
   ════════════════════════════════════════════════════════════════ */

html.js [data-intro] {
  opacity: 0; transform: translate3d(0, 16px, 0); filter: blur(8px);
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
html.is-loaded [data-intro] { opacity: 1; transform: none; filter: none; }

.hero h1 .w { display: inline-block; }
html.js .hero h1 .w {
  opacity: 0; filter: blur(14px); transform: translate3d(0, .28em, 0);
  transition: opacity 1.2s var(--ease), filter 1.3s var(--ease), transform 1.3s var(--ease);
  transition-delay: calc(.2s + var(--i) * 65ms);
}
html.is-loaded .hero h1 .w { opacity: 1; filter: none; transform: none; }

/* navy blok se odhalí jako opona */
html.js .hero-block {
  -webkit-clip-path: inset(0 0 0 100%); clip-path: inset(0 0 0 100%);
  transition: -webkit-clip-path 1.7s var(--ease) .15s, clip-path 1.7s var(--ease) .15s;
}
html.is-loaded .hero-block { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }

/* okno portálu vyjede s perspektivou, pak jemně reaguje na myš */
.portal-window { overflow: hidden; --rx: 0deg; --ry: 0deg; transform: perspective(1600px) rotateX(var(--rx)) rotateY(var(--ry)); }
html.js .portal-window {
  opacity: 0; filter: blur(8px);
  transform: perspective(1600px) rotateX(18deg) rotateY(-12deg) translate3d(0, 80px, 0) scale(.93);
  transition: opacity 1.3s var(--ease) .8s, filter 1.3s var(--ease) .8s, transform 1.7s var(--ease) .8s;
}
html.is-loaded .portal-window { opacity: 1; filter: none; transform: perspective(1600px) rotateX(var(--rx)) rotateY(var(--ry)); }
html.is-loaded .portal-window.is-live { transition: transform 1s var(--ease); }
.portal-window::after {                 /* jeden odlesk přes sklo */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-160%) skewX(-12deg);
}
html.is-loaded .portal-window::after { animation: pw-sweep 1.8s var(--ease) 2.1s 1 both; }
@keyframes pw-sweep { to { transform: translateX(290%) skewX(-12deg); } }

html.js .pw-chip { opacity: 0; transform: translate3d(36px, 0, 0); transition: opacity 1s var(--ease) 2.2s, transform 1.3s var(--ease) 2.2s; }
html.is-loaded .pw-chip { opacity: 1; transform: none; }

/* živé světlo v navy bloku (inspirace Stripe — ale v barvách značky a pomalu) */
.hero-glow { filter: none; animation: glow-a 22s ease-in-out infinite alternate; }
.hero-glow-2 {
  position: absolute; width: 680px; height: 680px; right: -200px; bottom: -180px;
  background: radial-gradient(closest-side, rgba(96, 120, 182, .5), transparent);
  animation: glow-b 28s ease-in-out infinite alternate;
}
@keyframes glow-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(90px, 70px, 0) scale(1.18); } 100% { transform: translate3d(-40px, 150px, 0) scale(.92); } }
@keyframes glow-b { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-130px, -90px, 0) scale(1.12); } 100% { transform: translate3d(-50px, -190px, 0) scale(.95); } }

/* ════════════════════════════════════════════════════════════════
   v2 · Scéna s notebookem (inspirace Mercury) — při posouvání vjedeme do obrazovky
   ════════════════════════════════════════════════════════════════ */
.scene { position: relative; height: 560vh; background: #EDE7DC; --z: 0; }
.scene-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: linear-gradient(180deg, #F3EEE5 0%, #E6DED2 30%, #EADFCC 48%, #F4E8D2 56%, #EFE3CE 100%);
}

/* fotografie krajiny — kamera po ní sjede a najede k notebooku */
.cam { position: absolute; left: 0; top: 0; z-index: 1; transform-origin: 0 0; will-change: transform; }
.cam-photo { display: block; width: 100%; height: auto; }
.cam-fade {
  position: absolute; left: 0; right: 0; top: 0; height: 30vh; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, #F3EEE5 0%, rgba(243, 238, 229, .82) 32%, rgba(243, 238, 229, 0) 100%);
  opacity: var(--fo, 1);
}
/* obrazovka notebooku na fotce — náš portál v perspektivě */
.quad { position: absolute; left: 0; top: 0; z-index: 3; transform-origin: 0 0; will-change: transform; pointer-events: none; opacity: var(--qo, 1); }
.quad .device-lid { box-shadow: none; border-radius: var(--qr, 0px) !important; overflow: hidden; }
.quad-tint {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: var(--qt, 1);
  background: linear-gradient(128deg, rgba(222, 230, 238, .34) 0%, rgba(222, 230, 238, .06) 34%, rgba(18, 26, 42, .2) 70%, rgba(18, 26, 42, .32) 100%);
}

/* navy jeviště, které se rozsvítí, až vjedeme do obrazovky */
.stage {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--st, 0);
  background: radial-gradient(1200px 760px at 50% 60%, rgba(64, 82, 128, .7), rgba(25, 33, 56, 0) 68%), var(--abyss);
}

.scene-head {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 52px); z-index: 4;
  opacity: var(--ho, 1);
  transform: translate3d(0, var(--hy, 0px), 0);
}
.scene-head .section-head { margin-bottom: 0; }
.scene-head h2 { margin-top: 22px; }

.device { position: absolute; left: 50%; top: 0; z-index: 3; width: var(--lid-w, 1000px); will-change: transform, opacity; opacity: var(--dv, 0); }
.device-lid { transition: box-shadow .4s linear; }
.device-lid {
  position: relative; width: var(--lid-w); height: var(--lid-h); padding: var(--bezel);
  background: linear-gradient(180deg, #2C3654 0%, #1A2136 55%, #141A2B 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .12), 0 60px 140px -40px rgba(0, 0, 0, .85);
}
.device-cam { position: absolute; top: calc(var(--bezel) / 2 - 3px); left: 50%; width: 6px; height: 6px; margin-left: -3px; background: #0A0E18; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07); }
.device-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--cream); }
.device-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 38%);
  opacity: calc(1 - var(--z));
}
.device-base {
  position: relative; width: calc(var(--lid-w) * 1.14); height: calc(var(--lid-w) * .024); margin-left: calc(var(--lid-w) * -.07);
  background: linear-gradient(180deg, #434E70 0%, #262E47 40%, #161C2E 100%);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .9);
  opacity: calc(1 - var(--z) * 1.4);
}
.device-base span { position: absolute; top: 0; left: 50%; width: 15%; height: 36%; margin-left: -7.5%; background: rgba(0, 0, 0, .35); }

/* aplikace uvnitř obrazovky — velikosti v em, škálují se s obrazovkou */
.app {
  --fs: calc(var(--screen-w, 1200px) * .0128);
  font-size: var(--fs); line-height: 1.45;
  height: 100%; display: grid; grid-template-columns: 15.5em 1fr;
  color: var(--ink); font-family: var(--font-body); text-align: left;
}
.app-side { background: var(--navy); color: var(--paper); padding: 1.8em 1.1em 1.4em; display: flex; flex-direction: column; }
.app-brand { display: flex; align-items: center; gap: .7em; padding: 0 .8em 1.6em; font-weight: 600; font-size: 1.05em; border-bottom: 1px solid rgba(250, 246, 238, .1); }
.app-brand img { width: .85em; height: auto; }
.app-nav { display: flex; flex-direction: column; gap: .25em; margin-top: 1.4em; }
.app-nav span { position: relative; padding: .75em .9em; font-size: .92em; color: rgba(250, 246, 238, .56); transition: color .5s var(--ease), background .5s var(--ease); }
.app-nav span::before { content: ""; position: absolute; left: 0; top: .6em; bottom: .6em; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .5s var(--ease); }
.app[data-step="0"] .nav-0, .app[data-step="1"] .nav-1, .app[data-step="2"] .nav-2, .app[data-step="3"] .nav-3 { color: var(--paper); background: rgba(250, 246, 238, .07); }
.app[data-step="0"] .nav-0::before, .app[data-step="1"] .nav-1::before, .app[data-step="2"] .nav-2::before, .app[data-step="3"] .nav-3::before { transform: scaleY(1); }
.app-side-foot { margin-top: auto; padding: 0 .8em; font-size: .68em; letter-spacing: .16em; text-transform: uppercase; color: rgba(250, 246, 238, .38); }

.app-main { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: linear-gradient(180deg, var(--cream), var(--paper)); }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 2em; padding: 1.15em 2.4em; border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .75); }
.app-rail { display: flex; gap: 2em; }
.app-rail li { display: flex; align-items: center; gap: .75em; font-size: .72em; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .5s var(--ease); }
.app-rail b { display: grid; place-items: center; width: 2.5em; height: 2.5em; border: 1px solid var(--line-strong); font: italic 400 1.2em/1 var(--font-display); letter-spacing: 0; color: var(--muted); transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.app-rail li.is-done { color: var(--ink-soft); }
.app-rail li.is-done b { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.app-rail li.is-cur { color: var(--navy); }
.app-rail li.is-cur b { border-color: var(--gold); color: var(--navy); box-shadow: 0 0 0 .25em rgba(198, 167, 94, .2); }
.app-user { display: flex; align-items: center; gap: .8em; font-size: .88em; color: var(--ink-soft); }
.app-role { display: inline-grid; }
.app-role span { grid-area: 1 / 1; text-align: right; white-space: nowrap; opacity: 0; transform: translate3d(0, .4em, 0); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.app[data-step="0"] .u-0, .app[data-step="1"] .u-1, .app[data-step="2"] .u-2, .app[data-step="3"] .u-3 { opacity: 1; transform: none; }
.app-user i { display: block; width: 2.3em; height: 2.3em; background: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }

.app-panels { position: relative; }
.app-panel {
  position: absolute; inset: 0; padding: 2.4em 2.4em;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.8em; align-items: center;
  opacity: 0; transform: translate3d(0, 1.4em, 0);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.app[data-step="0"] .p-0, .app[data-step="1"] .p-1, .app[data-step="2"] .p-2, .app[data-step="3"] .p-3 { opacity: 1; transform: none; }
.panel-label { font-size: .72em; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.panel-copy h3 { font: 400 2.5em/1.12 var(--font-display); color: var(--navy); letter-spacing: -.01em; margin: .45em 0 .5em; text-wrap: balance; }
.panel-copy p:last-child { font-size: 1.05em; color: var(--ink-soft); }

.card { position: relative; background: var(--white-warm); border: 1px solid var(--line); padding: 1.5em 1.7em 1.6em; box-shadow: 0 1px 2px rgba(31, 42, 68, .04), 0 1.6em 3.4em -1.8em rgba(31, 42, 68, .32); }
.card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 3.4em; height: 2px; background: var(--gold); }
.card-h { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: .9em; margin-bottom: 1.1em; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.card-h small { font-weight: 400; font-size: .82em; color: var(--muted); }
.card-h .count { display: grid; place-items: center; min-width: 1.8em; height: 1.8em; background: var(--navy); color: var(--gold); font-weight: 600; font-size: .8em; }

.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.fields label { display: block; font-size: .66em; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fields b { display: block; margin-top: .35em; padding-bottom: .45em; border-bottom: 1px solid var(--line-strong); font-weight: 500; color: var(--ink); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35em; margin-top: 1.3em; }
.week span { display: flex; flex-direction: column; align-items: center; gap: .1em; padding: .5em 0; font-size: .9em; font-weight: 500; color: var(--muted); border: 1px solid var(--line); }
.week span i { font-style: normal; font-size: .68em; letter-spacing: .12em; text-transform: uppercase; }
.week span.on { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.week span.on i { color: var(--gold); }
.balance { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .45em 1em; margin-top: 1.2em; font-size: .9em; color: var(--ink-soft); }
.balance b { color: var(--navy); font-weight: 600; }
.balance em { grid-column: 1 / -1; display: block; height: 2px; background: var(--line); }
.balance em i { display: block; height: 100%; width: 28%; background: var(--gold); }
.card-actions { margin-top: 1.4em; display: flex; justify-content: flex-end; }

.ui-btn { display: inline-flex; align-items: center; height: 2.6em; padding: 0 1.3em; font-size: .88em; font-weight: 600; white-space: nowrap; border: 1px solid transparent; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.ui-send { background: var(--navy); color: var(--paper); }
.ui-send .t-b { display: none; }
.app.is-act .p-0 .ui-send { background: var(--abyss-2); color: var(--gold-hot); animation: ui-press .5s var(--ease) 1; }
.app.is-act .p-0 .ui-send .t-a { display: none; }
.app.is-act .p-0 .ui-send .t-b { display: inline; }
@keyframes ui-press { 40% { transform: scale(.95); } 100% { transform: none; } }

.req { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1em; padding: 1em 0; border-bottom: 1px solid var(--line); }
.req:last-child { border-bottom: 0; padding-bottom: 0; }
.req .av { display: grid; place-items: center; width: 2.6em; height: 2.6em; font-style: normal; font-size: .82em; font-weight: 600; letter-spacing: .06em; background: var(--beige); color: var(--navy); }
.req b { display: block; font-weight: 600; color: var(--ink); }
.req small { display: block; margin-top: .15em; font-size: .84em; color: var(--muted); }
.req-actions { display: flex; gap: .5em; }
.ui-approve { border-color: var(--gold); color: var(--navy); background: rgba(198, 167, 94, .14); }
.ui-ghost { border-color: var(--line-strong); color: var(--ink-soft); }
.req-done { display: none; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.req-done small { display: inline; margin-left: .35em; font-weight: 400; color: var(--muted); }
.app.is-act .p-1 .req-actions { display: none; }
.app.is-act .p-1 .req-done { display: inline-block; animation: ui-pop .6s var(--ease) both; }
.req-main::before { content: ""; position: absolute; left: -1.7em; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transition: transform .6s var(--ease); }
.app.is-act .p-1 .req-main::before { transform: scaleY(1); }
.req-muted { opacity: .5; }
@keyframes ui-pop { from { opacity: 0; transform: translate3d(0, .4em, 0); } to { opacity: 1; transform: none; } }

.tr { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1em; padding: .8em 0; border-bottom: 1px solid var(--line); font-size: .92em; color: var(--ink-soft); }
.tr.th { padding-top: 0; font-size: .64em; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tr-new {
  max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; border-bottom-color: transparent;
  color: var(--navy); font-weight: 600;
  transition: max-height .8s var(--ease), padding .8s var(--ease), opacity .6s var(--ease) .15s, background 1.2s var(--ease);
}
.tr-new span:last-child { color: var(--gold-deep); }
.app.is-act .p-2 .tr-new { max-height: 4em; padding: .8em .6em; margin: 0 -.6em; opacity: 1; background: rgba(198, 167, 94, .14); border-bottom-color: var(--line); }
.auto-note { display: flex; align-items: center; gap: .6em; margin-top: 1em; font-size: .86em; font-weight: 500; color: var(--gold-deep); opacity: 0; transform: translate3d(0, .4em, 0); transition: opacity .6s var(--ease) .45s, transform .6s var(--ease) .45s; }
.auto-note::before { content: "✓"; display: grid; place-items: center; width: 1.7em; height: 1.7em; background: var(--navy); color: var(--gold); font-size: .85em; }
.app.is-act .p-2 .auto-note { opacity: 1; transform: none; }

.pay-row { display: grid; grid-template-columns: 1.3fr 1.2fr auto; align-items: baseline; gap: 1em; padding: .85em 0; border-bottom: 1px solid var(--line); font-size: .94em; }
.pay-row b { font-weight: 600; color: var(--ink); }
.pay-row span { color: var(--ink-soft); }
.pay-row small { font-size: .8em; letter-spacing: .06em; color: var(--gold-deep); }
.pay-row small::before { content: "✓ "; }
.pay-hi { margin: 0 -.6em; padding-left: .6em; padding-right: .6em; background: rgba(198, 167, 94, .1); }
.pay-ready { display: flex; align-items: center; gap: .7em; margin-top: 1.2em; font-weight: 600; color: var(--navy); opacity: .22; transition: opacity .6s var(--ease); }
.pay-ready i { display: grid; place-items: center; width: 1.9em; height: 1.9em; font-style: normal; font-size: .9em; background: var(--gold); color: var(--navy); transform: scale(.55); transition: transform .7s var(--ease-spring, var(--ease)); }
.app.is-act .p-3 .pay-ready { opacity: 1; }
.app.is-act .p-3 .pay-ready i { transform: none; }

/* pointa po scéně */
.punch { position: relative; background: var(--abyss); padding: 40px 0 150px; color: var(--paper); }
.punch .story-punch { margin-top: 0; }

/* bez animací (uživatel si je vypnul): scéna jako obyčejná sekce */
.scene.is-static { height: auto; }
.scene.is-static .scene-sticky { position: relative; height: auto; padding: calc(var(--nav-h) + 40px) 0 110px; }
.scene.is-static .scene-head { position: relative; top: auto; opacity: 1; transform: none; margin-bottom: 64px; }
.scene.is-static .device { position: relative; left: auto; margin: 0 auto !important; transform: none !important; }
.scene.is-static .cam, .scene.is-static .cam-fade, .scene.is-static .quad { display: none; }
.scene.is-static .device { opacity: 1; }
.scene.is-static .stage { opacity: 1; }
.scene.is-static .scene-head { z-index: 3; }
.scene.is-static .scene-head h2, .scene.is-static .scene-head .section-lead { color: var(--paper); }
.scene.is-static .scene-head h2 em, .scene.is-static .scene-head .eyebrow { color: var(--gold); }

/* pointa — typografie */
.story-punch {
  position: relative;
  margin: 110px auto 0; max-width: 21em; text-align: center;
  font: italic 400 clamp(28px, 3.1vw, 44px)/1.3 var(--font-display);
  color: var(--paper); letter-spacing: -.01em;
  padding-top: 48px;
}
.story-punch::before { content: ""; position: absolute; top: 0; left: 50%; width: 56px; height: 1px; margin-left: -28px; background: var(--gold); }
.story-punch em { color: var(--gold); }
.story-note { margin-top: 28px; text-align: center; font-size: 12.5px; letter-spacing: .02em; color: var(--ivory-40); }


/* ── Postupné odkrývání ───────────────────────────────────────── */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal], html.js [data-intro], html.js .hero h1 .w, html.js .portal-window, html.js .pw-chip { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; animation: none !important; }
  html.js .hero-block { -webkit-clip-path: none !important; clip-path: none !important; }
  .hero-glow, .hero-glow-2 { animation: none !important; }
}

/* ── Tablet ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-block { top: auto; bottom: 0; width: 100%; height: 470px; }
  .hero-visual { min-height: 520px; max-width: 520px; margin-inline: auto; width: 100%; }
  .portal-window { left: 0; top: 30px; }
  .pw-chip { right: 0; bottom: 36px; }
  .roles { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .people-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-grid { grid-template-columns: 1fr; gap: 64px; }
  .people-body::before { display: none; }
}

/* ── Mobil ────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --gutter: 40px; --nav-h: 68px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-brand { gap: 12px; }
  .nav-back { padding-left: 12px; font-size: 13px; }
  .nb-long { display: none; }
  .nb-short { display: inline; }
  .nav-logo img { width: 120px; }
  .nav .btn-sm { height: 40px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
  .nav-inner { gap: 12px; }
  .section { padding: 96px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 52px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 52px; }
  .hero-fact { padding: 18px 0 18px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .hero-fact dd { margin-top: 0; text-align: right; }
  .hero-block { height: 300px; }
  .hero-visual { min-height: 0; padding: 8px 0 56px; }
  .portal-window { position: relative; top: 0; left: 0; width: 100%; padding: 18px 18px 8px; }
  .pw-list li:nth-child(n+5) { display: none; }
  .pw-chip { position: relative; right: auto; bottom: auto; width: fit-content; max-width: 94%; margin: -20px 0 0 auto; }
  .problems { grid-template-columns: 1fr; }
  .problem { padding: 40px 28px 44px; }
  .role { padding: 38px 28px 32px; }
  .people-facts { grid-template-columns: 1fr; gap: 24px; }
  .people-text { font-size: 18px; }
  .people-body::before { display: none; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
  .step h3 { margin-top: 24px; }
  .promise { flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 28px; margin-top: 64px; }
  .form-wrap::before { top: -14px; right: -10px; bottom: 14px; left: 10px; }
  .form-panel { padding: 36px 24px 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-address { text-align: left; }
  .footer { padding-bottom: 110px; }
  .mobile-cta { display: block; }
}

/* ── Scéna: tablet (bez postranního menu, větší písmo v aplikaci) ── */
@media (max-width: 1100px) and (min-width: 761px) {
  .device .app { --fs: calc(var(--screen-w) * .0152); grid-template-columns: 1fr; }
  .device .app-side { display: none; }
  .device .app-panel { gap: 2em; }
}

/* ── Scéna: mobil (telefon místo notebooku) ── */
@media (max-width: 760px) {
  .scene { height: 560vh; }
  .scene-head { top: calc(var(--nav-h) + 24px); }
  .scene-head .section-lead { font-size: 15.5px; }
  .device.is-phone .device-base { display: none; }
  .device.is-phone .device-cam { display: none; }
  .device .app { --fs: calc(var(--screen-w) * .037); grid-template-columns: 1fr; }
  .device .app-side, .device .app-user { display: none; }
  .device .app-top { flex-direction: column; align-items: stretch; gap: .6em; padding: 1.4em 1.2em .9em; }
  .device .app-rail { gap: .4em; justify-content: space-between; }
  .device .app-rail li span { display: none; }
  .device .app-rail li.is-cur span { display: inline; }
  .device .app-panel { grid-template-columns: 1fr; align-content: start; align-items: start; gap: 1.3em; padding: 1.5em 1.2em; }
  .device .panel-copy h3 { font-size: 1.9em; }
  .device .week, .device .balance, .device .req-muted { display: none; }
  .device .fields { grid-template-columns: 1fr 1fr; }
  .device .fields div:last-child { display: none; }
  .device .tr { grid-template-columns: 1.5fr 1fr 1fr; }
  .device .tr span:nth-child(2) { display: none; }
  .device .pay-row { grid-template-columns: 1fr auto; }
  .device .pay-row small { display: none; }
  .device .req { grid-template-columns: auto 1fr; }
  .device .req-actions, .device .req-done { grid-column: 1 / -1; }
  .punch { padding: 24px 0 110px; }
}

/* ── v4 · úvod: fotka hor v pravé ploše (ladí s fotkou notebooku ve scéně) ── */
.hero-block {
  background: var(--navy) url("hory-1400.jpg") 50% 38% / cover no-repeat;
}
.hero-block::before {            /* místo mřížky jemné navy zabarvení — značka + kontrast pro sklo */
  -webkit-mask-image: none; mask-image: none;
  background: linear-gradient(180deg, rgba(25, 33, 56, .08) 0%, rgba(25, 33, 56, .22) 55%, rgba(19, 26, 44, .58) 100%);
}
.hero-glow, .hero-glow-2 { display: none; }
@media (max-width: 760px) {
  .hero-block { background-image: url("hory-800.jpg"); background-position: 50% 60%; }
}

/* ════════════════════════════════════════════════════════════════
   v5 · Po vzoru Mercury: méně a větší — fotka jako úvod, klidné sekce, žádné ozdoby
   ════════════════════════════════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* navigace: nad fotkou průhledná, po odjetí sklo */
body.v5 .nav { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
body.v5 .nav.is-scrolled { background: rgba(250, 246, 238, .78); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border-bottom-color: var(--line); }
body.v5 .nav.is-dark, body.v5 .nav.is-dark.is-scrolled { background: rgba(19, 26, 44, .62); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border-bottom-color: rgba(250, 246, 238, .08); }

/* úvod nad fotkou */
body.v5 .scene { height: 540vh; }
body.v5 .cam-fade { height: 58vh; background: linear-gradient(180deg, rgba(243, 238, 229, .94) 0%, rgba(243, 238, 229, .7) 40%, rgba(243, 238, 229, 0) 100%); }
.v5-hero { top: calc(var(--nav-h) + 7vh); text-align: center; pointer-events: var(--hpe, auto); }
.v5-hero h1 { font-size: clamp(40px, 5vw, 76px); line-height: 1.05; max-width: 13em; margin: 0 auto; }
.v5-hero h1 .w { display: inline-block; }
html.js .v5-hero h1 .w { opacity: 0; filter: blur(14px); transform: translate3d(0, .28em, 0); transition: opacity 1.2s var(--ease), filter 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: calc(.3s + var(--i) * 70ms); }
html.is-loaded .v5-hero h1 .w { opacity: 1; filter: none; transform: none; }
.v5-hero-lead { margin: 24px auto 0; max-width: 40em; font-size: 19px; line-height: 1.6; color: var(--ink-soft); text-wrap: balance; }
.v5-hero-cta { display: flex; margin: 34px auto 0; max-width: 520px; box-shadow: 0 26px 60px -30px rgba(31, 42, 68, .55); }
.v5-hero-cta input {
  -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 58px; padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .75); border-right: 0; outline: none;
  background: rgba(255, 253, 248, .74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font: 400 16px var(--font-body); color: var(--ink);
}
.v5-hero-cta input::placeholder { color: var(--muted); }
.v5-hero-cta input:focus { border-color: var(--gold); background: rgba(255, 253, 248, .92); }
.v5-hero-cta .btn { flex: none; height: 58px; }
.v5-hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
html.js .cam-photo { opacity: 0; transform: scale(1.06); transform-origin: 50% 40%; transition: opacity 1.6s var(--ease), transform 3s var(--ease); }
html.is-loaded .cam-photo { opacity: 1; transform: none; }

/* sekce: střídání tmavá / světlá / teplá, hodně vzduchu */
body.v5 .section { padding: 170px 0; }
body.v5 h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.08; }
.v5-dark { background: var(--abyss); color: var(--paper); }
.v5-dark h2 { color: var(--paper); }
.v5-dark h2 em { color: var(--gold); }
.v5-light { background: var(--paper); }
.v5-warm { background: var(--beige); }

/* 2 · všechno na jednom místě */
.v5-punch { max-width: 20em; margin: 0 auto 150px; text-align: center; font: italic 400 clamp(28px, 3vw, 44px)/1.3 var(--font-display); color: var(--paper); letter-spacing: -.01em; }
.v5-punch em { color: var(--gold); }
.v5-roles-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.v5-roles-copy h2 { max-width: 11em; }
.v5-tabs { margin-top: 48px; border-top: 1px solid rgba(250, 246, 238, .12); }
.v5-tabs li { position: relative; padding: 22px 0 22px 26px; border-bottom: 1px solid rgba(250, 246, 238, .12); cursor: pointer; outline: none; }
.v5-tabs li::before { content: ""; position: absolute; left: 0; top: 31px; width: 6px; height: 6px; background: var(--gold); opacity: 0; transition: opacity .4s var(--ease); }
.v5-tabs li b { font: 600 17px/1.3 var(--font-body); color: var(--ivory-55); transition: color .4s var(--ease); }
.v5-tabs li p { max-height: 0; overflow: hidden; opacity: 0; font-size: 15.5px; line-height: 1.6; color: var(--ivory-70); transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.v5-tabs li:hover b { color: var(--ivory-70); }
.v5-tabs li.is-on b { color: var(--paper); }
.v5-tabs li.is-on::before { opacity: 1; }
.v5-tabs li.is-on p { max-height: 7em; opacity: 1; margin-top: 8px; }
.v5-tabs li:focus-visible b { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.v5-link { display: inline-flex; gap: 10px; margin-top: 36px; padding-bottom: 4px; color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--gold); }
.v5-link span { transition: transform .5s var(--ease); }
.v5-link:hover span { transform: translateX(4px); }

.v5-ui { position: relative; background: var(--cream); color: var(--ink); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .85), 0 0 0 1px rgba(250, 246, 238, .08); }
.v5-ui::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 2px; background: var(--gold); z-index: 2; }
.v5-ui-bar { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.v5-ui-bar img { width: 12px; height: auto; }
.v5-ui-bar b { font-weight: 600; color: var(--navy); }
.v5-ui-who { margin-left: auto; display: inline-grid; color: var(--muted); font-size: 13px; }
.v5-ui-who span { grid-area: 1 / 1; text-align: right; white-space: nowrap; opacity: 0; transition: opacity .4s var(--ease); }
.v5-ui[data-on="0"] .w-0, .v5-ui[data-on="1"] .w-1, .v5-ui[data-on="2"] .w-2 { opacity: 1; }
.v5-ui-body { position: relative; min-height: 410px; font-size: 14px; }
.v5-panel { position: absolute; inset: 28px; opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.v5-panel.is-on { opacity: 1; transform: none; }
.v5-hello { font: 400 28px/1.2 var(--font-display); color: var(--navy); margin-bottom: 12px; }
.v5-rows > div { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.v5-rows > div:last-child { border-bottom: 0; }
.v5-rows i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; font-style: normal; font-size: 14px; border: 1px solid var(--line-strong); color: var(--navy); }
.v5-rows .ok i { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.v5-rows span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.v5-rows b { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.v5-rows small { font-size: 12.5px; color: var(--muted); }
.v5-rows em { font-style: normal; color: var(--muted); }
.v5-rows u { display: block; height: 2px; max-width: 220px; margin-top: 7px; background: var(--line); text-decoration: none; }
.v5-rows u s { display: block; height: 100%; background: var(--gold); text-decoration: none; }
.v5-card-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.v5-card-h b { font-weight: 600; font-size: 15px; color: var(--navy); }
.v5-card-h small { font-size: 12.5px; color: var(--muted); }
.v5-req { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.v5-req i { width: 38px; height: 38px; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .06em; background: var(--beige); color: var(--navy); }
.v5-req b { display: block; font-weight: 600; color: var(--ink); }
.v5-req small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.v5-req .done { font-style: normal; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.v5-req .btns { display: flex; gap: 6px; font-style: normal; }
.v5-req .btns s { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; text-decoration: none; font-size: 12.5px; font-weight: 600; border: 1px solid var(--gold); color: var(--navy); background: rgba(198, 167, 94, .12); }
.v5-req .btns s.g { border-color: var(--line-strong); background: none; color: var(--ink-soft); }
.v5-tr { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); }
.v5-th { padding-top: 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.v5-tr.hi { margin: 0 -10px; padding-left: 10px; padding-right: 10px; background: rgba(198, 167, 94, .14); color: var(--navy); font-weight: 600; }
.v5-tr.hi span:last-child { color: var(--gold-deep); }
.v5-ready { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; color: var(--navy); }
.v5-ready i { display: grid; place-items: center; width: 28px; height: 28px; font-style: normal; font-size: 13px; background: var(--gold); color: var(--navy); }
.v5-note { margin-top: 44px; text-align: center; font-size: 12.5px; color: var(--ivory-40); }

/* 3 · poznáváte se — nadpis drží na místě, otázky jedou */
.v5-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: start; }
.v5-split-head { position: sticky; top: calc(var(--nav-h) + 60px); }
.v5-split-head p { margin-top: 24px; max-width: 24em; font-size: 18px; color: var(--ink-soft); }
.v5-qa { border-top: 1px solid var(--line); counter-reset: q; }
.v5-qa li { position: relative; padding: 40px 0 42px; border-bottom: 1px solid var(--line); counter-increment: q; }
.v5-qa li::before { content: "0" counter(q); position: absolute; left: -60px; top: 47px; font: italic 400 18px/1 var(--font-display); color: var(--gold-deep); }
.v5-qa h3 { max-width: 20em; font: 400 clamp(22px, 2vw, 28px)/1.28 var(--font-display); color: var(--navy); letter-spacing: -.01em; }
.v5-qa p { margin-top: 14px; max-width: 34em; font-size: 16.5px; color: var(--ink-soft); }

/* 4 · lidé */
.v5-narrow { max-width: 820px; text-align: center; }
.v5-statement p { margin: 28px auto 0; max-width: 36em; font: 300 21px/1.7 var(--font-body); color: var(--ink); }
.v5-facts { display: flex; justify-content: center; gap: 56px; margin-top: 52px; }
.v5-facts div { position: relative; min-width: 220px; padding-top: 18px; border-top: 1px solid rgba(31, 42, 68, .18); text-align: left; }
.v5-facts div::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--gold-deep); }
.v5-facts strong { display: block; font-size: 16px; font-weight: 600; color: var(--navy); }
.v5-facts span { display: block; margin-top: 3px; font-size: 15px; color: var(--ink-soft); }

/* 5 · jak začneme */
.v5-center { text-align: center; }
.v5-steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 80px; }
.v5-steps-row li { position: relative; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.v5-steps-row li::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--gold); }
.v5-steps-row span { font: italic 400 20px var(--font-display); color: var(--gold-deep); }
.v5-steps-row h3 { margin: 16px 0 10px; font: 600 19px/1.35 var(--font-body); color: var(--navy); }
.v5-steps-row p { font-size: 16px; color: var(--ink-soft); }
.v5-principle { max-width: 22em; margin: 100px auto 0; text-align: center; font: italic 400 clamp(24px, 2.4vw, 34px)/1.3 var(--font-display); color: var(--navy); }

/* 6 · ukázka */
.v5-cta::before { display: none; }
.v5-cta-inner { max-width: 720px; text-align: center; }
.v5-cta h2 { margin-top: 0; }
.v5-cta .cta-lead { margin: 24px auto 0; }
.v5-cta .form-wrap { max-width: 640px; margin: 64px auto 0; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  html.js .v5-hero h1 .w, html.js .cam-photo { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .v5-roles-grid { grid-template-columns: 1fr; gap: 56px; }
  .v5-split { grid-template-columns: 1fr; gap: 48px; }
  .v5-split-head { position: static; }
  .v5-qa li::before { position: static; display: block; margin-bottom: 12px; }
}
@media (max-width: 760px) {
  body.v5 .section { padding: 110px 0; }
  .v5-hero { top: calc(var(--nav-h) + 3.5vh); }
  .v5-hero h1 { font-size: 38px; }
  .v5-hero-lead { margin-top: 16px; font-size: 16px; }
  .v5-hero-cta { flex-direction: column; margin-top: 24px; box-shadow: none; }
  .v5-hero-cta input { height: 52px; border-right: 1px solid rgba(255, 255, 255, .75); }
  .v5-hero-cta .btn { width: 100%; height: 52px; }
  .v5-punch { margin-bottom: 90px; }
  .v5-roles-grid, .v5-split { grid-template-columns: 1fr; gap: 48px; }
  .v5-split-head { position: static; }
  .v5-qa li::before { position: static; display: block; margin-bottom: 12px; }
  .v5-ui-body { min-height: 390px; }
  .v5-panel { inset: 20px; }
  .v5-tr { grid-template-columns: 1.4fr 1fr 1fr; }
  .v5-tr span:nth-child(2) { display: none; }
  .v5-req { grid-template-columns: auto 1fr; }
  .v5-req em { grid-column: 1 / -1; }
  .v5-facts { flex-direction: column; align-items: center; gap: 24px; }
  .v5-steps-row { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
}

/* obrazovka notebooku naběhne spolu s fotkou, ne dřív */
html.js:not(.is-loaded) .quad { opacity: 0; }
html.is-loaded .quad { animation: v5-quad-in 1.6s var(--ease) .15s backwards; }
@keyframes v5-quad-in { from { opacity: 0; } }
body.v5 .cam-fade { height: 50vh; background: linear-gradient(180deg, rgba(243, 238, 229, .88) 0%, rgba(243, 238, 229, .55) 42%, rgba(243, 238, 229, 0) 100%); }
@media (prefers-reduced-motion: reduce) { html.js:not(.is-loaded) .quad { opacity: 1; } html.is-loaded .quad { animation: none; } }
.v5-rows i svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
@media (max-width: 760px) { .v5-hero-cta input { flex: none; width: 100%; } }

/* ── v5 · skutečné obrazovky portálu v zařízení ─────────────────── */
.shots { position: relative; width: 100%; height: 100%; background: #F7F2E9; }
.shots img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .7s var(--ease); }
.shots .shot-m { display: none; }
.device.is-phone .shots .shot-d { display: none; }
.device.is-phone .shots .shot-m { display: block; }
.shots[data-step="0"] .s-0, .shots[data-step="1"] .s-1, .shots[data-step="2"] .s-2, .shots[data-step="3"] .s-3 { opacity: 1; }

/* titulky pod notebookem — příběh krok za krokem */
.scene-caps {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: var(--caps-h, 170px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; color: var(--paper); pointer-events: none; opacity: var(--co, 0);
}
.caps-rail { display: flex; gap: 10px; }
.caps-rail li { display: grid; place-items: center; width: 30px; height: 30px; font: italic 400 13px/1 var(--font-display); color: var(--ivory-55); border: 1px solid rgba(250, 246, 238, .22); transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.caps-rail li.is-done { background: rgba(250, 246, 238, .12); color: var(--ivory-70); }
.caps-rail li.is-cur { border-color: var(--gold); color: var(--gold); }
.caps-text { position: relative; width: min(780px, 92vw); height: 62px; }
.cap { position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cap b { display: block; font: 400 clamp(20px, 1.9vw, 26px)/1.25 var(--font-display); color: var(--paper); }
.cap span { display: block; margin-top: 6px; font-size: 15px; color: var(--ivory-70); }
.scene[data-step="0"] .c-0, .scene[data-step="1"] .c-1, .scene[data-step="2"] .c-2, .scene[data-step="3"] .c-3 { opacity: 1; transform: none; }

/* přepínač pohledů — skutečné obrazovky */
.v5-ui { aspect-ratio: 16 / 10; overflow: hidden; }
.v5-shot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .6s var(--ease); }
.v5-shot.is-on { opacity: 1; }

@media (max-width: 760px) {
  .caps-rail li { width: 26px; height: 26px; font-size: 12px; }
  .caps-text { height: 70px; }
  .cap b { font-size: 19px; }
  .cap span { font-size: 13.5px; }
}
.v5-hero-actions { display: flex; justify-content: center; margin-top: 34px; }
.v5-hero-actions .btn { box-shadow: 0 26px 60px -30px rgba(31, 42, 68, .6); }
@media (max-width: 760px) { .v5-hero-actions { margin-top: 24px; } .v5-hero-actions .btn { width: 100%; } }
/* odstavec o lidech: na počítači na tři řádky */
.v5-statement .v5-narrow { max-width: 1040px; }
.v5-statement p { max-width: 47em; text-wrap: balance; }

/* ── v5 · Jana — citát přes fotku (po vzoru Mercury) ── */
.v5-quote { position: relative; margin: 72px 0 0; overflow: hidden; background: #E9E4DC; box-shadow: 0 40px 90px -50px rgba(31, 42, 68, .45); }
.v5-quote::before { content: ""; position: absolute; top: 0; left: 0; z-index: 2; width: 72px; height: 2px; background: var(--gold); }
.v5-quote img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.v5-quote blockquote { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; margin: 0; padding-right: 6%; display: flex; flex-direction: column; justify-content: center; }
.v5-quote blockquote p { font: 400 clamp(24px, 2.3vw, 34px)/1.3 var(--font-display); color: var(--navy); letter-spacing: -.01em; text-wrap: balance; }
.v5-quote footer { position: relative; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(31, 42, 68, .18); }
.v5-quote footer::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--gold-deep); }
.v5-quote footer b { display: block; font-size: 16px; font-weight: 600; color: var(--navy); }
.v5-quote footer span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 1100px) and (min-width: 761px) {
  .v5-quote blockquote { width: 46%; padding-right: 4%; }
  .v5-quote blockquote p { font-size: 22px; }
}
@media (max-width: 760px) {
  .v5-quote { margin-top: 48px; }
  .v5-quote img { aspect-ratio: 4 / 5; }
  .v5-quote blockquote { position: static; width: auto; padding: 28px 24px 30px; background: var(--paper); }
  .v5-quote blockquote p { font-size: 22px; }
}
@media (min-width: 1101px) { .v5-quote blockquote { width: 35%; padding-right: 4.5%; } }
/* princip na jeden řádek (na počítači) */
@media (min-width: 900px) { .v5-principle { max-width: none; white-space: nowrap; } }
