/* Probuď v sobě medvěda – funnel pro majitele firem
   Barvy a písmo podle webu davidrosskohl.cz:
   krémová #fcfbf3 · tmavě hnědá #522b0c · hnědá #6e3a0d · oranžovozlatá #f8a121 · Open Sans */

:root {
  --bg: #fcfbf3;            /* krémový podklad */
  --surface: #ffffff;       /* karty */
  --surface-2: #f6f1e3;     /* jemně tónované plochy */
  --brown-900: #3d2009;
  --brown-800: #522b0c;     /* hlavička, pruhy, patička */
  --brown-700: #6e3a0d;
  --accent: #8a4a12;        /* zvýrazněný text na světlém pozadí */
  --cta: #f8a121;           /* tlačítka */
  --cta-2: #ffb84a;
  --cta-ink: #3d2009;       /* text na tlačítku */
  --line: rgba(110, 58, 13, 0.22);
  --line-soft: rgba(82, 43, 12, 0.10);
  --text: #1c140c;
  --muted: #5a4a3c;
  --muted-2: #8a7a6a;
  --on-dark: #fcfbf3;
  --on-dark-muted: #e5d6c2;
  --ok: #3f7a35;
  --no: #b5482f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px -22px rgba(61, 32, 9, 0.35);
  --max: 1120px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; color: #000; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; }
h2 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); }
.gold { color: var(--accent); }
.serif { font-style: italic; font-weight: 400; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted-2); }

/* ---------- Header (bílý pruh s logem jako na davidrosskohl.cz) ---------- */
.top { padding: 6px 0; background: #fff; border-bottom: 3px solid var(--brown-800); }
.brand-logo { height: 60px; width: auto; }
.top .top-note { color: var(--muted); font-weight: 600; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--cta);
  display: grid; place-items: center;
  color: var(--cta);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-weight: 700; letter-spacing: .02em; font-size: 15px; line-height: 1.2; }
.brand-name small { display: block; color: var(--on-dark-muted); font-weight: 400; letter-spacing: .1em; font-size: 11px; text-transform: uppercase; }
.top-note { font-size: 13px; color: var(--on-dark-muted); }
a.brand:hover .brand-name { color: var(--cta-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 800; font-size: 18px; letter-spacing: .01em;
  padding: 18px 34px; border-radius: 10px; border: 0;
  background: var(--cta);
  color: var(--cta-ink); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 #c97e12, 0 14px 28px -12px rgba(201, 126, 18, 0.6);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { background: var(--cta-2); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 #c97e12; }
.btn:focus-visible { outline: 3px solid var(--brown-700); outline-offset: 3px; }
.btn[disabled] { filter: grayscale(.3) brightness(.92); cursor: wait; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line); box-shadow: none; font-weight: 700;
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brown-700); box-shadow: none; }
.btn-block { width: 100%; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted-2); }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
.section-tight { padding: 36px 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; }
.hero h1 .gold { display: inline; }
.hero .headline h1 { font-size: clamp(30px, 3.7vw, 46px); line-height: 1.18; }
.h1-sub {
  display: block; margin-top: 16px;
  font-size: clamp(18px, 1.7vw, 21px); font-weight: 400;
  line-height: 1.5; letter-spacing: 0; color: var(--muted);
}
.h1-kicker { font-style: italic; font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--brown-700); margin: 0 0 18px; }
/* A/B/C: zobrazí se jen titulek zvolený skriptem v <head> (bez JS titulek A) */
.headline { display: none; }
html:not([data-v]) .headline[data-variant="a"],
html[data-v="a"] .headline[data-variant="a"],
html[data-v="b"] .headline[data-variant="b"],
html[data-v="c"] .headline[data-variant="c"] { display: block; }
.hero .lead { max-width: 600px; }
.center .lead { margin-left: auto; margin-right: auto; }
.hero-cta { margin-top: 34px; }

.portrait {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 420px; margin-left: auto;
  border-radius: 50%; padding: 8px;
  background: conic-gradient(from 200deg, var(--cta), var(--brown-700), var(--cta-2), var(--brown-700), var(--cta));
}
.portrait-inner {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: var(--surface-2); border: 4px solid var(--bg);
  display: grid; place-items: center; text-align: center;
  color: var(--muted-2); font-size: 14px;
}
.portrait-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.portrait-inner svg { width: 38%; color: var(--brown-700); opacity: .85; margin: 0 auto 10px; }
.portrait-badge {
  position: absolute; right: -6px; bottom: 12%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.35; color: var(--muted);
}
.portrait-badge strong { display: block; color: #000; font-size: 15px; }

/* Vzdělání a certifikace – loga vedle sebe */
.certs { padding: 28px 0 32px; background: var(--surface-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.certs .eyebrow { margin-bottom: 20px; }
.cert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { height: 110px; border-radius: 12px; padding: 12px 18px; overflow: hidden; box-shadow: 0 8px 22px -16px rgba(61, 32, 9, 0.5); }
.cert img { width: 100%; height: 100%; object-fit: contain; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px -22px rgba(61, 32, 9, 0.35);
}
.card-gold { border-color: var(--line); border-top: 4px solid var(--cta); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.pillar .num {
  font-weight: 800; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 12px;
}
.pillar h3 { font-size: 23px; }
.pillar p:last-child { margin-bottom: 0; }
.pillar .muted { font-size: 16px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(248, 161, 33, 0.18); border: 1px solid rgba(201, 126, 18, 0.45);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 5px;
  border-left: 2px solid var(--brown-700); border-bottom: 2px solid var(--brown-700); transform: rotate(-45deg);
}
.checks-no li::before { background: rgba(181, 72, 47, 0.08); border-color: rgba(181, 72, 47, 0.35); }
.checks-no li::after {
  content: "×"; left: 0; top: 4px; width: 22px; height: 22px;
  border: 0; transform: none; text-align: center;
  line-height: 21px; font-size: 17px; font-weight: 700; color: var(--no);
}

/* Sedm pater vztahu */
.floors-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.floors { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: patro 8; }
.floors li {
  counter-increment: patro -1;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-soft);
}
.floors li::before {
  content: counter(patro); grid-row: span 2;
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  color: var(--on-dark); background: var(--brown-700);
}
.floors li:last-child { border-color: var(--line); }
.floors li:last-child::before { background: var(--cta); color: var(--cta-ink); }
.floors b { font-weight: 700; font-size: 17px; }
.floors span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* VSL úvod na landing page */
.vsl-title { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; max-width: 760px; margin: 0 auto; }
.vsl-title .gold { display: block; margin-top: 10px; }
.secrets { margin-top: 32px; }
.secrets h3 { font-size: 21px; line-height: 1.3; }

/* Podpis Davida */
.signature { font-style: italic; font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--muted); margin: 0; }
.signature strong { font-style: normal; font-weight: 800; color: #000; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote { padding: 20px 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); font-style: italic; font-size: 18px; }
.quote::before { content: "„"; color: var(--accent); }
.quote::after { content: "“"; color: var(--accent); }

/* Statement */
.statement {
  border-left: 4px solid var(--cta);
  padding: 8px 0 8px 26px;
  font-size: clamp(21px, 2.5vw, 26px); line-height: 1.5;
  font-style: italic; color: var(--brown-800);
}

/* Identification / closing box – tmavě hnědý pruh */
.closing {
  text-align: center;
  background: var(--brown-800); color: var(--on-dark);
  border-radius: 22px; padding: 56px 32px;
  box-shadow: var(--shadow);
}
.closing .eyebrow { color: var(--cta); }
.closing p.big { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; line-height: 1.4; max-width: 760px; margin: 0 auto 30px; color: var(--on-dark); }

/* About */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.about .portrait { max-width: 260px; margin: 0; }

/* Video */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: var(--brown-900);
  box-shadow: var(--shadow);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  color: var(--on-dark-muted);
}
.play {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--cta);
  display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(248, 161, 33, 0.25);
}
.play::after { content: ""; border-left: 22px solid var(--cta-ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }

/* Notice */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: rgba(248, 161, 33, 0.12); border: 1px solid rgba(201, 126, 18, 0.35);
  font-size: 15px; color: var(--brown-800); text-align: left;
}
.notice .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--cta); margin-top: 7px; box-shadow: 0 0 0 4px rgba(248, 161, 33, 0.25); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { display: flex; flex-direction: column; gap: 16px; }
.testi .video { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); box-shadow: none; }
.testi blockquote { margin: 0; font-style: italic; font-size: 17px; color: var(--text); }
.testi .who { font-size: 14px; color: var(--muted-2); }
.testi .who strong { display: block; color: #000; font-weight: 700; font-size: 15px; }
/* Video reference – náhled, Vimeo se načte až po kliknutí */
.vfacade {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
  padding: 0; border: 0; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; background: var(--brown-900);
}
.vfacade img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .4s ease; }
.vfacade:hover img { transform: scale(1.03); }
.vfacade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(61, 32, 9, .45)); }
.vfacade .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; z-index: 1; width: 68px; height: 68px; }
.vfacade.playing { aspect-ratio: 9 / 16; cursor: default; width: min(100%, calc(78vh * 9 / 16)); margin: 0 auto; }
.vfacade.playing::after { display: none; }
.vfacade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.placeholder-tag {
  display: inline-block; align-self: flex-start; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 1px dashed var(--line); padding: 3px 8px; border-radius: 6px;
}

/* Steps (potvrzení) */
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px; color: var(--cta-ink);
  background: var(--cta);
}
.step + .step { margin-top: 40px; }
.reflect { display: grid; gap: 14px; margin-top: 18px; }
.reflect div {
  padding: 18px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft); border-left: 4px solid var(--cta); background: var(--surface);
  font-weight: 600; font-size: 19px;
}

/* Calendar slot */
.calendar-slot {
  min-height: 680px; border-radius: var(--radius);
  border: 2px dashed var(--line); background: var(--surface);
  display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted);
}
.calendar-slot iframe { width: 100%; min-height: 680px; border: 0; border-radius: var(--radius); background: #fff; }

/* Success badge */
.badge-ok {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(63, 122, 53, 0.10); border: 1px solid rgba(63, 122, 53, 0.35);
  color: var(--ok); font-size: 14px; font-weight: 700;
  margin-bottom: 22px;
}
.badge-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(40, 20, 6, 0.65); backdrop-filter: blur(3px);
}
.modal.open { display: flex; }
.modal-box {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--bg);
  border-top: 6px solid var(--cta); border-radius: 18px;
  padding: 40px 34px 32px; box-shadow: 0 30px 70px -20px rgba(40, 20, 6, 0.6);
  animation: pop .22s ease-out;
}
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: transparent; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer;
}
.modal-close:hover { color: #000; background: var(--surface-2); }
.modal h2 { font-size: 27px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.input, textarea.input {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1.5px solid rgba(82, 43, 12, 0.22);
  border-radius: 10px; padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.input { min-height: 120px; resize: vertical; }
.input::placeholder { color: #a8998a; }
.input:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(248, 161, 33, 0.25); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 20px; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brown-700); flex: none; }
.form-error { color: var(--no); font-size: 14px; margin: 10px 0 0; min-height: 1em; }
.hp { position: absolute !important; left: -9999px !important; }

/* Quiz */
.quiz-progress { height: 6px; border-radius: 99px; background: rgba(82, 43, 12, 0.10); overflow: hidden; margin-bottom: 10px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--cta); transition: width .3s ease; }
.quiz-count { font-size: 13px; font-weight: 600; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: pop .2s ease-out; }
.quiz-step h3 { font-size: 22px; margin-bottom: 18px; line-height: 1.3; }
.options { display: grid; gap: 10px; margin-bottom: 8px; }
.option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 10px;
  border: 1.5px solid rgba(82, 43, 12, 0.16); background: #fff;
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
  font-size: 16px;
}
.option:hover { border-color: rgba(201, 126, 18, 0.6); }
.option input { accent-color: var(--brown-700); width: 18px; height: 18px; flex: none; margin: 0; }
.option:has(input:checked) { border-color: var(--cta); background: rgba(248, 161, 33, 0.12); }
.quiz-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 22px; }
.quiz-nav .btn { padding: 15px 26px; font-size: 16px; }
.quiz-nav .btn-ghost { visibility: hidden; }
.quiz-nav .btn-ghost.show { visibility: visible; }

/* ---------- Právní stránka (GDPR) ---------- */
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 40px; }
.legal h2 { font-size: 21px; margin: 40px 0 10px; color: var(--brown-700); }
.legal .intro { font-style: italic; color: var(--muted); margin-bottom: 12px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--cta); }
.legal-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; padding: 20px 24px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--surface); }
.legal-dl dt { font-weight: 700; }
.legal-dl dd { margin: 0; }
.legal .updated { margin-top: 48px; text-align: center; font-style: italic; color: var(--muted-2); }

/* ---------- Footer ---------- */
footer {
  padding: 40px 0 48px; background: var(--brown-800);
  font-size: 13px; color: var(--on-dark-muted); text-align: center;
}
footer p { margin: 0 0 8px; }
footer a { color: var(--on-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .portrait { margin: 0 auto; max-width: 300px; }
  .grid-3 { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .cert-row { grid-template-columns: 1fr 1fr; }
  .grid-2, .quotes { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .floors-wrap { grid-template-columns: 1fr; gap: 28px; }
  .about .portrait { margin: 0 auto; max-width: 220px; }
  section { padding: 44px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 40px; }
  .btn { width: 100%; padding: 17px 22px; font-size: 17px; }
  .quiz-nav .btn { width: auto; flex: 1; }
  .card { padding: 24px 20px; }
  .closing { padding: 40px 20px; }
  .modal-box { padding: 36px 20px 24px; }
  .top-note { display: none; }
  .brand-logo { height: 52px; }
  .cert { height: 90px; padding: 10px 12px; }
  .portrait-badge { right: 0; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .testi-grid { grid-template-columns: 1fr; }
}

/* Nadtitulek na landing page přes celou šířku (na počítači na jeden řádek) */
.hero-eyebrow { display: block; margin-bottom: 22px; }
@media (min-width: 901px) { .hero-eyebrow { white-space: nowrap; } }
