:root { --green: #009933; --green-dark: #007a29; --green-tint: #e9f7ee; --line: #d9e0e6; --muted: #5f6b76; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #000; font-family: 'Plus Jakarta Sans', sans-serif; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1170px; margin: 0 auto; padding: 48px 16px 60px; }

.hero { text-align: center; max-width: 1140px; margin: 0 auto 56px; }
.hero h1 { font-size: 34px; line-height: 1.28; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.hero .g { color: var(--green); }
.hero .lead { font-size: 23px; line-height: 1.3; font-weight: 400; margin: 28px 0 0; }

.card { max-width: 550px; margin: 0 auto; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .14); }
.progress { height: 6px; background: #edf0f2; }
.bar { height: 100%; width: 0; background: var(--green); transition: width .3s ease; }
.meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px 28px 0; font-size: 12px; font-weight: 500; color: var(--muted); }
.step { padding: 14px 28px 4px; }
.step h2 { font-size: 20px; line-height: 1.35; font-weight: 700; margin: 6px 0 16px; }
.hint { font-size: 14px; line-height: 1.5; color: var(--muted); margin: -6px 0 16px; }

.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt, .chip { position: relative; cursor: pointer; }
.opt input, .chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: block; padding: 14px 16px; border: 2px solid var(--line); border-radius: 10px; font-size: 16px; font-weight: 500; transition: .15s; }
.opt:hover span { border-color: var(--green); }
.opt input:checked + span, .chip input:checked + span { border-color: var(--green); background: var(--green-tint); color: var(--green-dark); font-weight: 600; }
.opt input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

textarea, .field input { width: 100%; font: 500 16px/1.4 'Plus Jakarta Sans', sans-serif; padding: 13px 14px; border: 2px solid var(--line); border-radius: 10px; color: #000; background: #fff; }
textarea { resize: vertical; min-height: 110px; }
textarea:focus, .field input:focus { outline: none; border-color: var(--green); }
::placeholder { color: #a3adb6; font-weight: 400; }
.field { display: block; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.field input { margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip span { display: block; padding: 9px 14px; border: 2px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.error { min-height: 20px; margin: 6px 28px 0; font-size: 14px; font-weight: 600; color: #c62828; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 28px 24px; }
.back { background: none; border: 0; padding: 10px 0; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: var(--muted); cursor: pointer; }
.next { background: var(--green); color: #fff; border: 0; border-radius: 10px; padding: 15px 28px; font: 700 16px 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: .15s; }
.next:hover { background: var(--green-dark); }
.next:disabled { opacity: .6; cursor: default; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 28px 0; font-size: 12px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent[hidden] { display: none; }
.consent input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.consent a { color: inherit; }

.footer { text-align: center;  font-size: 14px; padding: 30px 16px 40px; }
.footer p { margin: 0 0 16px; }
.footer a { color: #188bf6; text-decoration: none; }

/* děkovací stránka */
.thanks { text-align: center; max-width: 820px; margin: 0 auto; }
.thanks h1 { font-size: 33px; line-height: 1.3; margin: 0 0 20px; }
.thanks .lead { font-size: 20px; line-height: 1.45; margin: 0 0 28px; }
.nextsteps { text-align: left; max-width: 550px; margin: 0 auto 36px; padding: 22px 26px; border-radius: 12px; background: var(--green-tint); font-size: 16px; line-height: 1.5; }
.nextsteps h2 { font-size: 17px; margin: 0 0 10px; }
.nextsteps ol { margin: 0; padding-left: 20px; }
.nextsteps li { margin-bottom: 8px; }
.refs-title { font-size: 24px; margin: 8px 0 6px; }
.refs-sub { font-size: 15px; color: var(--muted); margin: 0 0 22px; }
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.refs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 18px rgba(0, 0, 0, .12); display: block; }

/* social proof */
.rating { text-align: center; font-size: 16px; margin: -28px 0 20px; }
.stars { color: #f5a623; letter-spacing: 2px; }
.proof { max-width: 1000px; margin: 72px auto 0; text-align: center; }
.proof h2 { font-size: 26px; line-height: 1.3; margin: 0 0 24px; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 24px; text-align: left; }
.review[hidden] { display: none; }
.more-btn { background: #fff; color: var(--green-dark); border: 2px solid var(--green); border-radius: 10px; padding: 12px 24px; font: 700 15px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.more-btn:hover { background: var(--green-tint); }
.review { margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); display: flex; flex-direction: column; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-head strong { display: block; font-size: 15px; }
.review-head .stars { font-size: 15px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; flex: none; }
.review blockquote { margin: 0 0 14px; font-size: 15px; line-height: 1.55; flex: 1; }
.review figcaption { font-size: 12px; color: var(--muted); }
.proof .refs-sub { margin-top: -14px; }
.proof-cta { margin: 40px 0 0; }
.proof-cta a { display: inline-block; text-decoration: none; }

@media (max-width: 640px) {
  .wrap { padding-top: 28px; }
  .hero { margin-bottom: 32px; }
  .hero h1, .thanks h1 { font-size: 24px; }
  .hero .lead { font-size: 18px; margin-top: 20px; }
  .thanks .lead { font-size: 17px; }
  .step, .meta { padding-left: 18px; padding-right: 18px; }
  .nav { padding: 10px 18px 20px; }
  .error, .consent { margin-left: 18px; margin-right: 18px; }
  .next { padding: 15px 22px; }
  .refs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reviews { grid-template-columns: 1fr; }
  .proof { margin-top: 48px; }
  .proof h2 { font-size: 21px; }
  .rating { margin-top: -10px; font-size: 14px; }
  .refs-title { font-size: 20px; }
}

/* zásady zpracování osobních údajů */
.legal { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
.legal h1 { font-size: 28px; line-height: 1.3; }
.legal h2 { font-size: 19px; margin: 32px 0 8px; }
.legal a { color: var(--green-dark); }
