/* =================================================================
   Suprema — poptávkový funnel · stylesheet
   Modelingová agentura Praha. Paleta: černá #0a0a0a (inkoust) ·
   krvavě červená #b91c2e (akcent) · teplá bílá.
   Písmo: Manrope (moderní grotesk, nadpisy i text). Logo zůstává
   ve firemním serifovém wordmarku (obrázek).
   ================================================================= */

:root {
  color-scheme: light;

  --accent:       #b91c2e;   /* krvavě červená (akcent značky) */
  --accent-deep:  #8f1523;   /* tmavší červená pro hover/press */
  --accent-soft:  #f7e7e9;   /* světlý červený tint (pozadí) */
  --accent-text:  #a3182a;   /* červená pro text na světlém (kontrast AA) */
  --ink:          #0a0a0a;   /* černý inkoust */
  --ink-2:        #141414;   /* světlejší černá (tmavé karty) */
  --ink-3:        #2a2a2a;   /* linky na tmavém */
  --paper:        #faf9f7;   /* teple světlá */
  --tint:         #f2f0ec;   /* světlé pásmo sekcí */
  --white:        #ffffff;
  --slate:        #4a4a4a;   /* běžný text na světlém */
  --slate-2:      #6f6b66;   /* tlumený text */
  --border:       #e6e3de;   /* světlá linka */
  --border-2:     #d8d4cd;   /* výraznější světlá linka */
  --nude:         #f1dcde;   /* červeně tónované pozadí čísel kroků */

  --err:          #c02640;   /* chybová (odlišná od značkové krvavé) */
  --err-soft:     #fdf2f4;

  --ff:       "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1400px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 116px);

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-btn: 3px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 12px 34px rgba(0,0,0,.10);
  --shadow-lg: 0 28px 64px rgba(0,0,0,.18);
  --shadow-accent: 0 14px 40px rgba(185,28,46,.28);
}

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

body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { line-height: 1.14; font-weight: 600; letter-spacing: -0.01em; }
h1, h2 { font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p  { text-wrap: pretty; }
.hl { color: var(--accent); }

.serif { font-family: var(--ff); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--white); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 7px 16px 7px 13px; box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(185,28,46,.16); }

.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
.kicker.light { color: var(--accent); }

.microcopy { font-size: .85rem; color: var(--slate-2); }
.microcopy.light { color: rgba(255,255,255,.6); }

/* ---------- Tlačítka (editorial: hranatá, verzálky, prostrkaná) ---------- */
.btn { --pad-y: 15px; --pad-x: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--pad-y) var(--pad-x); border: 1px solid transparent; border-radius: var(--r-btn); font-weight: 600; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; line-height: 1; transition: transform .2s ease, box-shadow .28s ease, background .2s ease, border-color .2s ease, color .2s ease; white-space: nowrap; }
.btn svg { transition: transform .2s ease; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 18px 46px rgba(185,28,46,.36); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { --pad-y: 18px; --pad-x: 34px; font-size: .82rem; }
.btn-sm { --pad-y: 11px; --pad-x: 20px; font-size: .72rem; }

/* ---------- Hlavička (jen právní podstránky) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,249,247,.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-logo { height: 26px; width: auto; flex: none; }
.brand-name { color: var(--ink); }

/* ---------- HERO + FORMULÁŘ ---------- */
.hero { position: relative; padding: clamp(30px, 4vw, 56px) 0 var(--section); overflow: hidden; background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%); color: #fff; }
.hero-glow { position: absolute; top: -16%; right: -8%; width: 58vw; height: 58vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(185,28,46,.26), rgba(185,28,46,0) 62%); z-index: 0; pointer-events: none; }

/* Karta formuláře */
.form-card { background: var(--white); color: var(--ink); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 2.6vw, 36px); position: relative; }
.form-head { margin-bottom: 20px; }
.form-head h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.1; }
.form-head p { color: var(--slate-2); font-size: .92rem; margin-top: 8px; }
.form-progress { margin-bottom: 24px; }
.form-progress-bar { height: 5px; background: var(--accent-soft); border-radius: var(--r-pill); overflow: hidden; }
.form-progress-bar span { display: block; height: 100%; width: 33%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--accent-deep)); transition: width .45s cubic-bezier(.4,0,.2,1); }
.form-progress-label { margin-top: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.step-pane { border: 0; padding: 0; min-inline-size: 0; }
.step-pane[hidden] { display: none; }
.step-pane.is-active { animation: paneIn .4s ease both; }
@keyframes paneIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.step-q { font-size: 1.4rem; font-weight: 700; line-height: 1.16; letter-spacing: -0.02em; margin-bottom: 18px; padding: 0; }
.step-q:focus, .step-q:focus-visible { outline: none; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.choice-grid.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 400px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-box { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 15px 17px; border: 1px solid var(--border-2); border-radius: var(--r); transition: border-color .18s, background .18s, box-shadow .18s, transform .12s; }
.choice-box.row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.choice-ico { color: var(--accent-text); line-height: 0; margin-bottom: 3px; }
.choice-ico svg { width: 26px; height: 26px; }
.choice input:checked + .choice-box .choice-ico { color: var(--accent-deep); }
.choice-title { font-weight: 600; font-size: 1rem; }
.choice-desc { font-weight: 400; font-size: .82rem; color: var(--slate-2); }
.choice-price { font-weight: 700; color: var(--accent-text); white-space: nowrap; font-size: .9rem; }
.choice-tag { position: absolute; top: 10px; right: 10px; z-index: 2; pointer-events: none; background: var(--accent); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.choice:hover .choice-box { border-color: var(--accent); transform: translateY(-1px); }
.choice input:focus-visible + .choice-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice input:checked + .choice-box { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }

.field { margin-bottom: 16px; }
.field > label { display: block; }
.field-label { display: block; font-weight: 600; font-size: .82rem; letter-spacing: .02em; margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--slate-2); font-size: .82rem; text-transform: none; letter-spacing: 0; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 15px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--border-2); border-radius: var(--r); transition: border-color .16s, box-shadow .16s, background .16s; }
.field select { min-height: 51px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate-2) 50%), linear-gradient(135deg, var(--slate-2) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.custom-select { position: relative; }
.custom-select > select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cs-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 51px; padding: 13px 15px; border: 1px solid var(--border-2); border-radius: var(--r); background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .16s, box-shadow .16s, background .16s; }
.cs-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.custom-select.is-empty .cs-label { color: #9a938c; }
.cs-caret { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .16s ease; }
.custom-select.is-open .cs-caret { transform: rotate(180deg); }
.custom-select.is-open .cs-trigger, .cs-trigger:focus-visible { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(185,28,46,.13); }
.custom-select:has(select[aria-invalid="true"]) .cs-trigger { border-color: var(--err); background: var(--err-soft); }
.cs-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--border-2); border-radius: var(--r); box-shadow: var(--shadow-lg); max-height: min(260px, 48vh); overflow-y: auto; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .16s ease, transform .16s ease; }
.custom-select.is-open .cs-list { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cs-option { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; padding: 11px 12px; border-radius: 6px; color: var(--ink); font-size: .92rem; cursor: pointer; transition: background .12s ease, color .12s ease; }
.cs-option:hover, .cs-option.is-active { background: var(--paper); }
.cs-option.is-selected { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.cs-option.cs-placeholder { color: #9a938c; }
.cs-option-text { min-width: 0; order: 2; }
.cs-tag { order: 1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 9px; border-radius: var(--r-pill); background: rgba(185,28,46,.11); color: var(--accent-text); font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.cs-option.is-selected .cs-tag { background: rgba(185,28,46,.18); }
.field textarea { resize: vertical; min-height: 112px; }
.field input::placeholder, .field textarea::placeholder { color: #9a938c; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background-color: var(--white); box-shadow: 0 0 0 3px rgba(185,28,46,.13); }
.field-hint { font-size: .82rem; color: var(--slate-2); margin-top: 7px; }
.field-help { display: block; color: var(--slate-2); font-size: .82rem; line-height: 1.55; margin: -2px 0 8px; }
.field-error { font-size: .84rem; color: var(--err); margin-top: 7px; font-weight: 500; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--err); background-color: var(--err-soft); }
.field-row { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.field-row .field { flex: 1 1 190px; }
.choice-field { margin: 4px 0 16px; padding: 14px 16px; border: 1px solid var(--border-2); border-radius: var(--r); background: var(--paper); }
.choice-field legend { padding: 0 4px; font-size: .9rem; font-weight: 600; }
.choice-field label { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; color: var(--ink); font-size: .92rem; cursor: pointer; }
.choice-field input { width: 17px; height: 17px; flex: none; margin-top: 2px; accent-color: var(--accent-deep); }
.choice-field input:focus-visible { outline: 2px solid rgba(185,28,46,.4); outline-offset: 2px; }
/* Segmentovaný přepínač */
.seg { display: inline-flex; gap: 8px; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.seg-opt span { display: block; padding: 10px 22px; border: 1px solid var(--border-2); border-radius: var(--r-pill); font-weight: 600; font-size: .88rem; color: var(--ink); background: var(--paper); transition: border-color .16s, background .16s, color .16s; }
.seg-opt input:hover + span { border-color: var(--ink); }
.seg-opt input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.seg-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(185,28,46,.16); }

.estimate { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; margin-bottom: 18px; background: var(--ink); color: #fff; border-radius: var(--r); }
.estimate-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.estimate-value { font-family: var(--ff); font-size: 1.7rem; font-weight: 600; color: #fff; letter-spacing: 0; }
.estimate-note { font-size: .8rem; color: rgba(255,255,255,.6); }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--slate); margin: 4px 0; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent-deep); }
.consent a { color: var(--accent-text); text-decoration: underline; }

.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn-submit { flex: 1; min-width: 0; white-space: normal; }
.btn-submit-short { display: none; }
@media (max-width: 560px) {
  .btn-submit-full { display: none; }
  .btn-submit-short { display: inline; }
}
.lead-form [data-next] { color: #fff; }
.form-foot { text-align: center; margin-top: 14px; }

/* Mezikrok: dobrovolné doplnění */
.form-ask { text-align: center; padding: 10px 6px 4px; animation: paneIn .4s ease both; }
.ask-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); margin-bottom: 18px; }
.ask-ico svg { width: 26px; height: 26px; }
.form-ask h3 { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.form-ask > p { color: var(--slate); font-size: .98rem; line-height: 1.6; max-width: 44ch; margin: 0 auto; }
.ask-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }

.form-success { text-align: center; padding: 26px 8px; animation: paneIn .4s ease both; }
.success-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: var(--shadow-accent); }
.form-success h3 { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.form-success p { color: var(--slate); max-width: 38ch; margin: 0 auto; }

/* ---------- Logo strip (důvěra) ---------- */
.proof { margin-top: clamp(44px, 6vw, 76px); padding-top: clamp(30px, 4vw, 46px); border-top: 1px solid rgba(255,255,255,.12); position: relative; z-index: 1; }
.proof-label { text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.proof-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 52px); }
.proof-logos li { display: flex; align-items: center; }
.proof-logos img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .6; }
.proof-logos .ph-logo { font-family: var(--ff); font-weight: 500; font-size: 1.25rem; letter-spacing: .01em; color: #fff; opacity: .62; white-space: nowrap; }

/* ---------- Sekce funnelu ---------- */
.section-head { max-width: 820px; margin: 0 auto clamp(38px, 5vw, 58px); text-align: center; position: relative; }
.section-head .section-sub { color: var(--slate); margin-top: 16px; font-size: 1.05rem; }
.section-head--dark h2 { color: #fff; }
.section-head--dark .section-sub { color: rgba(255,255,255,.66); }

.fsection { padding: var(--section) 0; }
.fsection--dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.fsection--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px circle at 50% -12%, rgba(185,28,46,.16), transparent 60%); pointer-events: none; }
.fsection--dark > .container { position: relative; z-index: 1; }
.fsection--dark h2 { color: #fff; }
.fsection--tint { background: var(--tint); }
#jak-to-funguje { background: var(--white); }
.fsection .kicker { text-align: center; }
.fsection-lead { color: var(--slate); font-size: 1.08rem; max-width: 52ch; margin: 18px auto 0; }
.fsection--dark .fsection-lead { color: rgba(255,255,255,.72); }

/* CTA blok v sekci */
.fcta { text-align: center; margin-top: clamp(38px, 5vw, 52px); }
.fcta .microcopy { margin-top: 14px; }

/* Záruka / důvěra pod balíčky */
.guarantee { display: flex; align-items: center; gap: 15px; text-align: left; max-width: 640px; margin: clamp(30px, 4vw, 42px) auto 0; padding: 20px 24px; border: 1px solid var(--ink-3); border-radius: var(--r); background: rgba(185,28,46,.08); }
.guarantee svg { color: var(--accent); flex: none; }
.guarantee p { color: rgba(255,255,255,.82); font-size: .96rem; }
.guarantee strong { color: #fff; font-weight: 600; }

/* Nabídka personálu — tři karty na tmavé sekci */
#nabidka .section-sub { color: rgba(255,255,255,.66); }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 880px) { .packages { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.pkg { position: relative; display: flex; flex-direction: column; text-align: left; padding: clamp(26px, 2.6vw, 36px); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); background: rgba(255,255,255,.03); transition: border-color .25s ease, transform .22s ease, background .25s ease; }
.pkg:hover { transform: translateY(-4px); border-color: rgba(185,28,46,.5); background: rgba(255,255,255,.05); }
.pkg-num { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.pkg-name { color: #fff; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 10px; }
.pkg-desc { color: rgba(255,255,255,.66); font-size: .96rem; line-height: 1.55; }
.pkg-price { color: #fff; font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; margin: 20px 0 0; }
.pkg-per { font-family: var(--ff); font-size: .82rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.pkg-note { color: rgba(255,255,255,.58); font-size: .85rem; margin-top: 6px; }
.pkg-list { display: grid; gap: 11px; margin: 24px 0 28px; }
.pkg-list li { position: relative; padding-left: 28px; font-size: .95rem; color: rgba(255,255,255,.82); }
.pkg-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: rgba(185,28,46,.2); }
.pkg-list li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pkg-cta { margin-top: auto; width: 100%; }
.pkg--feature { border-color: var(--accent); background: rgba(185,28,46,.1); box-shadow: 0 0 0 1px var(--accent), 0 26px 60px -30px rgba(185,28,46,.55); }
.pkg--feature:hover { border-color: var(--accent); }
.pkg-tag { position: absolute; top: -12px; left: clamp(26px, 2.6vw, 36px); background: var(--accent); color: #fff; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
#nabidka .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
#nabidka .btn-ghost:hover { color: var(--ink); background: #fff; border-color: #fff; }

/* Srovnávací tabulka */
.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; }
.compare { margin-top: clamp(.5rem, 2vw, 1.5rem); }
.compare-scroll { overflow-x: auto; }
.compare-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 1.05rem 1.1rem; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-size: .9rem; font-weight: 600; color: var(--slate); line-height: 1.25; vertical-align: bottom; border-bottom: 1px solid var(--border-2); }
.compare-table th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--tint); text-align: left; font-weight: 600; color: var(--ink); width: 34%; min-width: 210px; }
.compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--tint); }
.compare-table .col-us { background: rgba(185,28,46,.07); }
.compare-table thead .col-us { color: var(--accent-text); font-weight: 700; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.compare-table tbody tr:last-child .col-us { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }
.c-yes::after { content: ""; display: inline-block; width: .64rem; height: .36rem; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translateY(-.12rem); }
.c-no::after { content: ""; display: inline-block; width: .9rem; height: 2px; border-radius: 2px; background: var(--border-2); vertical-align: middle; }
@media (max-width: 767px) {
  .compare-scroll { overflow: visible; }
  .compare-table thead { display: none; }
  .compare-table tbody { display: block; }
  .compare-table tr { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
  .compare-table tbody tr:last-child { margin-bottom: 0; }
  .compare-table th[scope="row"] { display: block; position: static; width: auto; min-width: 0; margin-bottom: .55rem; padding: 0 0 .7rem; font-size: 1.1rem; background: none; border-bottom: 1px solid var(--border); }
  .compare-table td { display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: .5rem 0; border: none; }
  .compare-table td::before { font-size: .94rem; font-weight: 500; color: var(--slate); }
  .compare-table td:nth-of-type(1)::before { content: "Náhodná brigáda"; }
  .compare-table td:nth-of-type(2)::before { content: "Vlastní zaměstnanci"; }
  .compare-table td:nth-of-type(3)::before { content: "Levná agentura"; }
  .compare-table td:nth-of-type(4)::before { content: "Suprema"; }
  .compare-table td.col-us { margin: .45rem -1.25rem -1.1rem; padding: .75rem 1.25rem; background: rgba(185,28,46,.09); border-radius: 0 0 calc(var(--r) - 1px) calc(var(--r) - 1px); }
  .compare-table td.col-us::before { color: var(--ink); font-weight: 700; }
}

/* ---------- Patička funnelu ---------- */
.funnel-footer { background: #070707; color: rgba(255,255,255,.6); text-align: left; padding: clamp(50px, 6vw, 76px) 0 30px; }
.ff-grid { display: grid; grid-template-columns: 1.5fr 1.15fr 1fr; gap: clamp(28px, 5vw, 56px); padding-bottom: clamp(28px, 4vw, 40px); border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 820px) { .ff-grid { grid-template-columns: 1fr 1fr; } .ff-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ff-grid { grid-template-columns: 1fr; gap: 30px; } }
.ff-logo { height: 30px; width: auto; margin-bottom: 16px; }
.ff-tag { font-size: .92rem; line-height: 1.65; max-width: 42ch; }
.ff-head { color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.ff-list { display: grid; gap: 15px; }
.ff-list li { display: grid; gap: 2px; }
.ff-list a, .ff-list address { display: inline-flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.88); font-weight: 500; font-size: .95rem; font-style: normal; transition: color .18s ease; width: fit-content; }
.ff-list a:hover { color: var(--accent); }
.ff-list a svg, .ff-list address svg { width: 17px; height: 17px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ff-sub { font-size: .8rem; color: rgba(255,255,255,.5); padding-left: 27px; }
.ff-operator { margin-top: 22px; font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.ff-operator strong { color: rgba(255,255,255,.82); font-weight: 600; }
.ff-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .82rem; color: rgba(255,255,255,.5); }
.ff-bottom a:hover { color: var(--accent); }
.ff-bottom-note { max-width: 54ch; }

/* Sekce „Kdo jsme?" — textový seznam, velký serif */
.whois-list { max-width: 980px; margin-inline: auto; border-top: 1px solid var(--border-2); }
.whois-item { padding: clamp(22px, 3.2vw, 40px) 0; border-bottom: 1px solid var(--border-2); }
.whois-line { font-size: clamp(1.3rem, 2.5vw, 1.95rem); font-weight: 500; line-height: 1.28; letter-spacing: -0.02em; color: var(--slate); text-wrap: balance; }
.whois-line strong { display: block; font-weight: 700; color: var(--ink); }
.whois-line .muted { color: var(--slate-2); font-weight: 500; }
.whois-note { margin-top: 14px; font-family: var(--ff); font-size: .9rem; line-height: 1.55; color: var(--slate-2); }
.whois-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 6vw, 72px); margin-top: clamp(38px, 5vw, 56px); }
.whois-stat { text-align: center; }
.whois-stat .num { font-size: clamp(2.4rem, 4.6vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
.whois-stat .lbl { margin-top: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }

/* Referenční citace */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }
.quote { display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 2.6vw, 34px); background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.quote-mark { font-size: 3rem; line-height: .6; color: var(--accent); height: 22px; font-weight: 700; }
.quote-text { font-size: 1.05rem; line-height: 1.55; font-weight: 500; color: var(--ink); flex: 1 1 auto; }
.quote-by { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.quote-name { font-weight: 700; font-size: .95rem; }
.quote-role { font-size: .84rem; color: var(--slate-2); }

/* Jak to funguje — zig-zag */
.flow { display: flex; flex-direction: column; align-items: stretch; max-width: 720px; margin-inline: auto; }
.flow-step { position: relative; width: min(520px, 92%); display: flex; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 24px 26px; transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease; }
.flow-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(185,28,46,.45); }
.flow-step.is-left { align-self: flex-start; }
.flow-step.is-right { align-self: flex-end; }
.flow-num { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(185,28,46,.3); }
.flow-body { flex: 1 1 auto; min-width: 0; }
.flow-body h3 { font-size: 1.14rem; margin-bottom: 5px; letter-spacing: -0.01em; }
.flow-body p { font-size: .94rem; color: var(--slate); line-height: 1.55; }
.flow-ico { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); }
.flow-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-arrow { display: flex; justify-content: center; padding: clamp(18px, 3vw, 34px) 0; }
.flow-arrow svg { width: 40px; height: auto; color: var(--accent); opacity: .55; transform: rotate(-8deg); }
.flow-arrow--alt svg { transform: rotate(8deg) scaleX(-1); }
@media (max-width: 640px) {
  .flow-step { width: 100%; padding: 18px 18px; gap: 14px; }
  .flow-ico { display: none; }
  .flow-arrow svg { width: 32px; transform: none; }
  .flow-arrow--alt svg { transform: scaleX(-1); }
}

/* ---------- EXIT INTENT ---------- */
.exit-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); animation: fade .25s ease; }
.exit-overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.exit-modal { position: relative; width: 100%; max-width: 470px; background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 38px); box-shadow: var(--shadow-lg); animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.exit-modal .eyebrow { margin-bottom: 18px; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
.exit-modal h3 { font-weight: 700; font-size: 1.55rem; line-height: 1.14; margin: 0 0 12px; letter-spacing: -0.02em; }
.exit-modal > p { color: var(--slate); }
.exit-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; background: var(--paper); border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--slate); display: grid; place-items: center; }
.exit-close:hover { background: var(--border); color: var(--ink); }
.exit-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 12px; }
.exit-form input { flex: 1 1 180px; min-width: 0; padding: 15px 16px; font: inherit; border: 1px solid var(--border-2); border-radius: var(--r); background: var(--paper); }
.exit-form .btn { flex: 1 1 auto; --pad-x: 20px; }
.exit-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(185,28,46,.13); }

/* ---------- POPUP FORMULÁŘ ---------- */
body.modal-open { overflow: hidden; }
.form-overlay { position: fixed; inset: 0; z-index: 320; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.68); backdrop-filter: blur(4px); animation: fade .25s ease; }
.form-overlay[hidden] { display: none; }
.form-modal { position: relative; width: 100%; max-width: 500px; max-height: 92vh; display: flex; animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.form-modal-mount { width: 100%; overflow-y: auto; overflow-x: hidden; border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.form-modal .form-card { box-shadow: none; border-radius: var(--r-lg); }
.form-modal .form-head { padding-right: 34px; }
.form-modal-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow-sm); font-size: 1.4rem; line-height: 1; color: var(--slate); }
.form-modal-close:hover { background: var(--border); color: var(--ink); }

/* ---------- Dodatečné kroky ---------- */
.step4-sub { color: var(--slate); margin-bottom: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease var(--d, 0s), transform .6s cubic-bezier(.2,.7,.3,1) var(--d, 0s); }

/* ---------- Animace ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dotpulse { 0% { box-shadow: 0 0 0 0 rgba(185,28,46,.45); } 70% { box-shadow: 0 0 0 8px rgba(185,28,46,0); } 100% { box-shadow: 0 0 0 0 rgba(185,28,46,0); } }
@keyframes shimmer { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(240%); } }
@keyframes breathe { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.eyebrow .dot { animation: dotpulse 2.4s ease-out infinite; }
.hero-glow { animation: breathe 9s ease-in-out infinite; transform-origin: center; }

/* jemná linka pod hero highlightem */
.hl { position: relative; }

/* lesk na progress baru */
.form-progress-bar span { position: relative; overflow: hidden; }
.form-progress-bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-120%); animation: shimmer 2.8s ease-in-out infinite; }

/* nakreslení fajfky v success */
.success-ico svg path { stroke-dasharray: 32; stroke-dashoffset: 32; animation: draw .5s ease .15s forwards; }

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

/* =================================================================
   FUNNEL LAYOUT (centrovaný, jednosloupcový)
   ================================================================= */
.promo-bar { background: var(--ink); color: #fff; text-align: center; font-size: .82rem; font-weight: 500; letter-spacing: .04em; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.promo-bar p { display: inline-flex; align-items: center; gap: 10px; justify-content: center; }
.promo-bar svg { color: var(--accent); flex: none; }
.promo-bar strong { color: var(--accent); font-weight: 700; }

/* Hero: centrovaný, form-first */
.hero-inner { max-width: 1000px; margin-inline: auto; text-align: center; position: relative; z-index: 1; }
.hero-logo { height: clamp(34px, 5vw, 46px); width: auto; margin: 0 auto clamp(26px, 4vw, 40px); }
.hero-intro { color: rgba(255,255,255,.6); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
.hero-inner h1 { margin: 0 0 20px; font-size: clamp(2.3rem, 5.2vw, 4.3rem); line-height: 1.05; letter-spacing: -0.03em; }
.hero-inner .lede { color: rgba(255,255,255,.72); font-size: clamp(1.05rem, 1.7vw, 1.28rem); margin: 0 auto 32px; max-width: 52ch; }
.hero-inner .lede strong { color: #fff; font-weight: 600; }
.hero-inner .form-card { text-align: left; max-width: 660px; margin-inline: auto; }
.hero-reassure { margin-top: 16px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-cta { margin-top: 28px; }
.hero .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; box-shadow: none; }

@keyframes formBump {
  0%   { transform: none; }
  22%  { transform: scale(1.02) translateY(-5px); }
  48%  { transform: scale(.994) translateY(0); }
  72%  { transform: scale(1.006); }
  100% { transform: none; }
}
@keyframes formGlow {
  0%   { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(185,28,46,0); }
  30%  { box-shadow: var(--shadow-lg), 0 0 0 6px rgba(185,28,46,.32); }
  100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(185,28,46,0); }
}
.form-card.bump { animation: formBump .72s cubic-bezier(.34,1.56,.64,1), formGlow .72s ease; }

/* =================================================================
   TISK
   ================================================================= */
@media print {
  .cc-root, .exit-overlay, .form-overlay, .hero-glow, .promo-bar, .skip-link { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero, .fsection--dark, .funnel-footer { background: none !important; color: var(--ink); }
  .hero :is(h1, .hero-intro, .lede, .hero-reassure, .proof-label, .ph-logo),
  .fsection--dark :is(h2, .section-sub, .pkg-name, .pkg-price, .pkg-desc, .pkg-note, .pkg-list li, .guarantee p, .guarantee strong),
  .funnel-footer :is(p, a, h3, strong, .ff-tag) { color: var(--ink) !important; }
  .pkg, .guarantee { border-color: var(--border-2); box-shadow: none; }
  .hero-logo, .ff-logo, .proof-logos img { filter: none !important; opacity: 1 !important; }
}

/* =================================================================
   COOKIE CONSENT (opt-in dle české legislativy)
   ================================================================= */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; padding: 0 clamp(12px, 4vw, 28px) clamp(12px, 3vw, 22px); }
.cc-banner[hidden] { display: none; }
.cc-banner-inner { max-width: var(--container); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px clamp(18px, 3vw, 32px); flex-wrap: wrap; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 16px clamp(16px, 2.4vw, 24px); }
.cc-text { flex: 1 1 360px; font-size: .9rem; color: var(--slate); line-height: 1.5; }
.cc-text strong { color: var(--ink); font-weight: 700; }
.cc-text a { color: var(--accent-text); text-decoration: underline; }
.cc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 560px) { .cc-actions { width: 100%; } .cc-actions .btn { flex: 1 1 auto; } }

.cc-overlay { position: fixed; inset: 0; z-index: 420; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); animation: fade .25s ease; }
.cc-overlay[hidden] { display: none; }
html.cc-open { overflow: hidden; }
.cc-modal { position: relative; width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 36px); animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.cc-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); font-size: 1.5rem; line-height: 1; color: var(--slate); }
.cc-close:hover { background: var(--border); color: var(--ink); }
.cc-modal h2 { font-size: 1.5rem; letter-spacing: 0; }
.cc-modal-sub { color: var(--slate); font-size: .94rem; margin-top: 8px; }
.cc-cats { display: grid; gap: 12px; margin: 22px 0; }
.cc-cat { border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-cat-name { font-weight: 700; color: var(--ink); }
.cc-cat p { font-size: .85rem; color: var(--slate-2); margin-top: 6px; line-height: 1.5; }
.cc-badge { font-size: .72rem; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.cc-switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-slider { position: absolute; inset: 0; background: var(--border-2); border-radius: var(--r-pill); transition: background .18s ease; }
.cc-slider::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: var(--shadow-sm); transition: transform .18s ease; }
.cc-switch input:checked + .cc-slider { background: var(--accent); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(18px); }
.cc-switch input:focus-visible + .cc-slider { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-modal-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 480px) { .cc-modal-actions .btn { flex: 1 1 auto; } }
