/* Wboost landing — `/klienti` (pro firmy, obce a organizace). Source: "LP - klienti.html". */

/* ---- 01 Hero ---- */
.khero { display: flex; flex-direction: column; gap: 36px; }
.khero-head { display: flex; flex-direction: column; gap: 24px; }
.khero-head .h1 { text-wrap: wrap; }
.khero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.khero-copy { display: flex; flex-direction: column; gap: 24px; }
.khero-lead { font-size: 18px; font-weight: 700; }
.khero-checks { display: flex; flex-direction: column; gap: 12px; }
.khero-checks .chk > span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.5; }
.khero-checks b { font-size: 16px; }
.khero-checks .chk > span > span { color: var(--fg-2); }
.khero-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.khero-vis { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-end; }
.khero-vis > div { width: 100%; max-width: 560px; }
.khero-vis img { width: 100%; height: auto; display: block; margin-top: -9.25%; }

/* ---- 02 Proč platit dvakrát ---- */
.twice { display: flex; flex-direction: column; gap: 40px; }
.twice .head { margin-bottom: 0; }
.twice-cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px 56px; align-items: start; }
.twice-cols b { color: var(--fg-1); }
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); background: radial-gradient(60% 90% at 85% 0%, var(--indigo-400), transparent 70%), var(--indigo-500); color: #fff; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); display: flex; gap: 24px; align-items: center; }
.band p { font-size: 16px; line-height: 1.6; color: #fff; }
.twice-h { font-size: 22px; margin: 16px 0 -16px; letter-spacing: var(--tracking-display); }

/* "Špatně / Správně" comparison card */
.rz { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 24px; }
.rz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rz-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,2fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.rz-col { position: relative; display: flex; flex-direction: column; gap: 8px; }
.rz-fmts { display: flex; gap: clamp(12px, 2vw, 24px); align-items: flex-start; }
.rz-w34 { width: 34%; } .rz-w22 { width: 22%; } .rz-w44 { width: 44%; }
.rz-fbh { position: relative; aspect-ratio: 540/140; }
.rz-lab { font-size: 12px; font-weight: 600; color: var(--fg-3); }
.rz-lab-1 { color: var(--fg-1); }
.rz-box { position: relative; border-radius: 12px; overflow: hidden; background: var(--slate-50); box-shadow: 0 10px 24px -14px rgba(26,28,51,.35); }
.rz-cv { position: absolute; inset: 0; overflow: hidden; }
.rz-cv > div { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.rz[data-s=bad] .g, .rz[data-s=ok] .b { display: none !important; }
.rz[data-s=bad] .rz-box:has(.b) { outline: 2px solid #F3B9BA; outline-offset: 3px; }
.rz[data-s=ok] .rz-box:has(.g) { outline: 2px solid var(--mint-300); outline-offset: 3px; }
.rz-sw { display: inline-flex; background: var(--slate-100); border-radius: 999px; padding: 4px; gap: 4px; }
.rz-sw button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; border-radius: 999px; padding: 10px 18px; font: 600 14px var(--font-sans); color: var(--fg-2); cursor: pointer; transition: background .2s, color .2s; }
.rz-sw button.on[data-v=bad] { background: #B4373A; color: #fff; }
.rz-sw button.on[data-v=ok] { background: var(--mint-500); color: var(--slate-900); }
.rz-err { position: relative; align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 4px; border: 0; border-radius: 999px; background: #E5484D; color: #fff; font: 700 14px var(--font-sans); cursor: pointer; box-shadow: 0 6px 14px -4px rgba(229,72,77,.6); animation: rzPulse 1.6s ease-out infinite; transition: transform .2s; }
.rz-err:hover { transform: scale(1.08); animation-play-state: paused; }
.rz-err-i { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #E5484D; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; animation: rzBlink 1.6s steps(1) infinite; }
@keyframes rzPulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.55), 0 6px 14px -4px rgba(229,72,77,.6); } 70% { box-shadow: 0 0 0 12px rgba(229,72,77,0), 0 6px 14px -4px rgba(229,72,77,.6); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0), 0 6px 14px -4px rgba(229,72,77,.6); } }
@keyframes rzBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .rz-err, .rz-err-i { animation: none; } }

.tip { display: flex; gap: 16px; align-items: flex-start; background: color-mix(in oklab, var(--mint-100) 45%, #fff); border-radius: 18px; padding: 20px 24px; }
.tip .ico { background: var(--mint-500); color: var(--slate-900); }
.tip-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tip-body > p { font-size: 16px; line-height: 1.55; color: var(--fg-1); }
.tip-quote { position: relative; align-self: flex-start; margin: 0; background: var(--mint-500); color: var(--slate-900); border-radius: 18px 18px 18px 4px; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; }
.tip-quote figcaption { font-size: 12px; font-weight: 700; line-height: 1.6; }
.tip-quote blockquote { margin: 0; font-size: 15px; line-height: 1.55; font-style: italic; text-wrap: pretty; }

/* ---- 04 Vaše identita ---- */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feat { display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 20px 40px -24px rgba(26,28,51,.25); }
.feat-h { display: flex; align-items: center; gap: 14px; }
.feat-h .h4 { margin: 0; }
.soon { margin-top: 28px; border: 1.5px dashed var(--indigo-300); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: rgba(255,255,255,.6); }
.soon > div:first-child { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.soon .live { background: var(--mint-300); }
.soon-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- 06 Kalkulačka ---- */
.kcalc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: stretch; }
.kcalc-in { display: flex; flex-direction: column; gap: 28px; padding: 32px; }
.kcalc-note { display: flex; gap: 8px; align-items: flex-start; }
.kcalc-note .i { margin-top: 3px; }
.kcalc-out { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.res { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.res .big { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.res .big span { white-space: nowrap; }
.ptag-grey { background: var(--slate-100); color: var(--fg-2); }
.res-wb { background: linear-gradient(160deg, var(--indigo-400), var(--indigo-600)); color: #fff; box-shadow: 0 30px 50px -24px rgba(115,126,237,.8); }
.res-wb .ptag { background: rgba(255,255,255,.2); color: #fff; }
.res-sub { font-size: 14px; color: var(--indigo-50); }
.case { margin-top: 32px; padding: 0; overflow: hidden; }
.case > div { background: var(--indigo-50); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.case p { font-size: 15px; line-height: 1.6; color: var(--fg-1); }
.case .case-strong { font-weight: 600; }

/* ---- 03 Jak to funguje (+ help band) ---- */
.help { margin-top: 48px; display: flex; gap: 20px; align-items: center; background: radial-gradient(60% 120% at 90% 0%, var(--indigo-400), transparent 70%), var(--indigo-500); color: #fff; border-radius: 20px; padding: 24px 28px; box-shadow: 0 24px 48px -24px rgba(115,126,237,.7); }
.help > div { display: flex; flex-direction: column; gap: 4px; }
.help .h4 { margin: 0; color: #fff; }
.help .small { color: #fff; }

/* ---- 07 Kdo už Wboost používá ---- */
.kclients { display: flex; flex-direction: column; gap: 32px; }
.kclients .head { margin-bottom: 0; }
.klogos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.klogos > div { height: 88px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--slate-400); filter: grayscale(1); border: 1.5px dashed var(--border-1); }

/* ---- 08 Formulář ---- */
.kform-copy { display: flex; flex-direction: column; gap: 24px; }
.kform-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.kform-list li { display: flex; gap: 14px; align-items: flex-start; }
.kform-list p { font-size: 16px; line-height: 1.55; padding-top: 8px; }
.kform { gap: 16px; }
.sx-side .field input { background: #fff; }
.seg { display: flex; gap: 8px; margin-top: 2px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border-1); background: #fff; font: 500 14px var(--font-sans); color: var(--fg-1); transition: background .2s, border-color .2s, color .2s; }
.seg label:hover span { border-color: var(--indigo-300); }
.seg input:checked + span { background: var(--indigo-500); border-color: var(--indigo-500); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px var(--indigo-100); }
.designer { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; background: var(--indigo-50); border-radius: 14px; padding: 14px; }
.tgi { position: relative; }
.tgi-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 52px; padding: 7px 10px; border: 1px solid var(--border-1); border-radius: 12px; background: var(--bg-page); cursor: text; transition: border-color .2s, box-shadow .2s; }
.tgi.open .tgi-box, .tgi-box:focus-within { border-color: var(--indigo-400); box-shadow: 0 0 0 3px var(--indigo-100); }
.tgi-box input { flex: 1; min-width: 140px; border: 0 !important; background: transparent !important; padding: 6px 4px !important; outline: none; box-shadow: none !important; font: 400 16px var(--font-sans); color: var(--fg-1); }
.tgi-tag { display: inline-flex; align-items: center; gap: 4px; background: var(--indigo-500); color: #fff; border-radius: 999px; padding: 5px 6px 5px 12px; font: 500 14px var(--font-sans); }
.tgi-tag button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.tgi-tag button:hover { background: rgba(255,255,255,.35); }
.tgi-dd { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(26,28,51,.3), 0 0 0 1px var(--border-1); max-height: 260px; overflow: auto; }
.tgi-dd li { padding: 10px 12px; border-radius: 10px; font: 500 15px var(--font-sans); color: var(--fg-1); cursor: pointer; }
.tgi-dd li:hover, .tgi-dd li.act { background: var(--indigo-50); color: var(--indigo-700); }
.tgi-dd li.new { color: var(--indigo-600); }

/* ---- Modals ---- */
.md { position: fixed; inset: 0; z-index: 80; background: rgba(26,28,51,.55); display: flex; align-items: center; justify-content: center; padding: 20px; animation: mdIn .25s ease; }
.md-card { position: relative; width: min(1280px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(32px, 4vw, 64px); row-gap: 20px; box-shadow: 0 40px 80px -30px rgba(26,28,51,.6); animation: mdUp .35s cubic-bezier(.2,.8,.2,1); }
.md-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--slate-50); color: var(--fg-1); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.md-x:hover { background: var(--indigo-50); }
.md-kick { grid-column: 1 / -1; grid-row: 1; margin: 0 56px 8px 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.6; letter-spacing: var(--tracking-display); color: var(--fg-1); padding-bottom: 20px; border-bottom: 1px solid var(--border-1); }
.md-card > .md-err { grid-column: 2; grid-row: 2; justify-self: start; margin: 0; cursor: default; }
.md-img { position: relative; flex: none; border-radius: 16px; overflow: hidden; background: var(--slate-50); grid-column: 1; grid-row: 2 / 5; align-self: start; justify-self: center; height: min(calc(100vh - 260px), 540px); width: auto; max-width: 100%; }
.md-img.md-img-wide { height: auto; width: min(560px, 46vw); }
.md-list { grid-column: 2; grid-row: 3; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.md-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 1.55; color: var(--fg-1); }
.md-list li.md-tip { background: var(--mint-100); border-radius: 14px; padding: 14px 16px; margin-top: 4px; }
.md-tip .rz-ic.ok { background: #fff; }
.rz-ic { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.rz-ic .i { width: 14px; height: 14px; stroke-width: 2; }
.rz-ic.bad { background: #FDECEC; color: #B4373A; }
.rz-ic.ok { background: var(--mint-100); color: var(--mint-700); }
@keyframes mdIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mdUp { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* "Vyzkoušejte si" editor dialog */
.md-card.md-try { display: flex; flex-direction: column; gap: 24px; width: min(1320px, 100%); }
.md-try .md-kick { margin: 0 56px 0 0; }
.try-band { display: flex; gap: 16px; align-items: center; background: radial-gradient(60% 120% at 90% 0%, var(--indigo-400), transparent 70%), var(--indigo-500); color: #fff; border-radius: 18px; padding: 18px 22px; }
.try-band p { font-size: 16px; line-height: 1.5; color: #fff; }
.rz-ed { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.6fr) auto; gap: 12px; align-items: end; background: var(--slate-50); border-radius: 16px; padding: 16px; }
.rz-ed label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rz-ed label > span { font-size: 12px; font-weight: 600; color: var(--fg-3); }
.rz-ed input { width: 100%; height: 44px; font: 500 15px var(--font-sans); color: var(--fg-1); padding: 0 12px; border: 1px solid var(--border-1); border-radius: 10px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.rz-ed input:focus { border-color: var(--indigo-400); box-shadow: 0 0 0 3px var(--indigo-100); }
.rz-ed label.rz-nx { height: 44px; display: inline-flex; flex-direction: row; align-items: center; gap: 8px; border: 1px solid var(--border-1); background: #fff; border-radius: 10px; padding: 0 14px; font: 600 14px var(--font-sans); color: var(--fg-1); cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s; }
.rz-ed label.rz-nx:hover, .rz-ed label.rz-nx:focus-within { border-color: var(--indigo-300); color: var(--indigo-600); }
.try-g { display: flex; gap: clamp(12px, 1.6vw, 24px); align-items: flex-start; }
.try-c { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* ---- "Máte dotaz?" chat ---- */
.lc { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
/* The wrapper spans the (closed, invisible) panel too — only the bubble and an open panel take clicks. */
.lc-btn, .lc.open .lc-panel { pointer-events: auto; }
.lc-btn { position: relative; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--indigo-500); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 16px 32px -12px rgba(115,126,237,.8); transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s; }
.lc-btn:hover { transform: translateY(-2px); background: var(--indigo-600); }
.lc-btn .i { width: 32px; height: 32px; }
.lc-dot { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint-500); border: 3px solid #fff; }
.lc-panel { width: min(450px, calc(100vw - 40px)); height: min(600px, calc(100vh - 130px)); background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(26,28,51,.45); display: flex; flex-direction: column; overflow: hidden; transform-origin: 100% 100%; transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.lc:not(.open) .lc-panel { opacity: 0; transform: translateY(8px) scale(.96); pointer-events: none; visibility: hidden; transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; }
.lc-head { background: var(--bg-dark); color: #fff; padding: 22px 24px; display: flex; align-items: center; gap: 12px; }
.lc-head .ico.lc-av { width: 50px; height: 50px; background: rgba(115,126,237,.25); color: #fff; }
.lc-head b { font-size: 19px; display: block; }
.lc-head small { font-size: 14px; color: var(--fg-on-dark-2); display: flex; align-items: center; gap: 6px; }
.lc-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-500); }
.lc-x { margin-left: auto; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lc-x:hover { background: rgba(255,255,255,.2); }
.lc-body { flex: 1; overflow: auto; padding: 22px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-page); }
.lc-m { max-width: 82%; padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: #fff; font-size: 16px; line-height: 1.5; color: var(--fg-1); box-shadow: 0 6px 14px -10px rgba(26,28,51,.3); white-space: pre-wrap; overflow-wrap: anywhere; }
.lc-m.me { align-self: flex-end; background: var(--indigo-500); color: #fff; border-radius: 16px 16px 4px 16px; }
.lc-m a { color: inherit; text-decoration: underline; }
.lc-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border-1); }
.lc-form input { flex: 1; min-width: 0; font: 400 16px var(--font-sans); padding: 15px 16px; border-radius: 12px; border: 1px solid var(--border-1); background: var(--bg-page); color: var(--fg-1); }
.lc-form input:focus { outline: 0; box-shadow: var(--focus-ring); border-color: var(--indigo-400); background: #fff; }
.lc-form button { width: 54px; height: 54px; border: 0; border-radius: 12px; background: var(--indigo-500); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.lc-form button:hover { background: var(--mint-500); }
.lc-form button[disabled] { opacity: .6; cursor: progress; }

/* ---- ≤900 ---- */
@media (max-width: 900px) {
  .twice-cols, .feats, .kcalc, .designer { grid-template-columns: minmax(0,1fr); }
  .klogos { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }

  .khero { gap: 20px; }
  .khero-grid, .khero-copy { display: contents; }
  .khero-lead { order: 1; }
  .khero-vis { order: 2; justify-content: flex-start; }
  .khero-vis > div { max-width: min(88%, 360px); }
  .khero-vis img { margin-top: 0; }
  .khero-checks, .khero-cta { order: 3; }

  .rz > * { order: 5; }
  .rz-top, .rz-grid { display: contents; }
  .rz-top > .small { order: 1; }
  .rz-poster { order: 2; }
  .rz-sw { order: 3; align-self: flex-start; }
  .rz-fmts { order: 4; gap: 22px; justify-content: space-between; }
  .rz-w34 { width: 30.6%; } .rz-w22 { width: 19.8%; } .rz-w44 { width: 39.6%; }
}
@media (max-width: 860px) {
  .rz-ed { grid-template-columns: 1fr 1fr; }
  .rz-ed label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .try-g { flex-wrap: wrap; }
  .try-c { flex: 1 1 40% !important; }
  .md-card { grid-template-columns: 1fr; grid-template-rows: none; }
  .md-card > * { grid-column: 1 !important; grid-row: auto !important; }
  .md-img { height: min(56vh, 520px); }
  .md-img.md-img-wide { height: auto; }
}
