/* ==========================================================================
   Focus — firemní web. Vlastní styl, záměrně vzdušnější než aplikace.
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --bg-2:      #f6f7fb;
  --bg-3:      #eef1f8;
  --ink:       #10141c;
  --ink-2:     #414b5c;
  --muted:     #7a8496;
  --line:      #e5e9f0;
  --brand:     #4353c4;
  --brand-2:   #3443a6;
  --brand-bg:  #eef0fd;
  --ok:        #0d7a56;
  --ok-bg:     #e4f5ee;
  --warn:      #96650b;
  --warn-bg:   #fdf1da;
  --danger:    #b62f28;
  --danger-bg: #fdecea;
  --r:    16px;
  --r-s:  10px;
  --pill: 999px;
  --sh:   0 1px 2px rgba(16,20,28,.05);
  --sh-2: 0 12px 32px -10px rgba(16,20,28,.18), 0 2px 8px rgba(16,20,28,.05);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ------------------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -.4px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px; flex: 0 0 34px;
  background: linear-gradient(140deg, var(--brand) 0%, #6c7ce8 100%);
  color: #fff; display: grid; place-items: center; font-size: 16px;
  box-shadow: 0 2px 10px -2px rgba(67,83,196,.55);
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 800px) { .site-nav a.hide-sm { display: none; } }

/* ---------- Buttons ------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: var(--r-s);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-family: var(--font); font-size: 15.5px; font-weight: 600; cursor: pointer;
  transition: all .16s var(--ease); white-space: nowrap;
}
.btn:hover { text-decoration: none; box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--bg-2); box-shadow: none; transform: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Sections ----------------------------------------------------- */

section { padding: 84px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--brand); margin-bottom: 14px;
}
h1 { font-size: 52px; line-height: 1.1; letter-spacing: -1.6px; margin: 0 0 22px; font-weight: 800; }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.9px; margin: 0 0 16px; font-weight: 750; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.3px; margin: 0 0 8px; font-weight: 700; }
.lead { font-size: 19px; color: var(--ink-2); line-height: 1.6; margin: 0 0 26px; }
.sec-intro { max-width: 680px; margin-bottom: 40px; }
@media (max-width: 720px) { h1 { font-size: 36px; letter-spacing: -1px; } h2 { font-size: 26px; } .lead { font-size: 17px; } section { padding: 56px 0; } }

/* ---------- Hero --------------------------------------------------------- */

.hero { padding: 92px 0 76px; background: radial-gradient(1200px 500px at 12% -10%, var(--brand-bg) 0%, transparent 62%); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--muted); }

.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); overflow: hidden;
}
.mock-bar { height: 34px; background: var(--bg-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6dbe6; display: block; }
.mock-body { padding: 16px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-days { flex: 0 0 52px; text-align: center; font-weight: 800; font-size: 16px; letter-spacing: -.5px; }
.mock-days small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; opacity: .7; }
.mock-main { flex: 1; min-width: 0; }
.mock-t { font-size: 14px; font-weight: 650; }
.mock-s { font-size: 12.5px; color: var(--muted); }

/* ---------- Cards / grid ------------------------------------------------- */

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px; box-shadow: var(--sh);
  transition: box-shadow .18s var(--ease), transform .18s var(--ease);
}
.card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card-ico {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 22px; background: var(--bg-3);
}
.card.flat:hover { transform: none; box-shadow: var(--sh); }

.pain {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.pain:last-child { border-bottom: 0; }
.pain-q { font-size: 17px; font-weight: 650; font-style: italic; color: var(--ink); }
.pain-a { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Steps -------------------------------------------------------- */

.steps { counter-reset: s; display: grid; gap: 2px; }
.step {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 20px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-n {
  width: 38px; height: 38px; border-radius: 50%; background: var(--brand-bg); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.step-price { font-size: 14px; color: var(--muted); font-weight: 600; white-space: nowrap; padding-top: 8px; }
.step p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 720px) { .step { grid-template-columns: 44px 1fr; } .step-price { grid-column: 2; padding-top: 0; } }

/* ---------- Module chips ------------------------------------------------- */

.mods { display: flex; flex-wrap: wrap; gap: 10px; }
.mod {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: var(--pill);
  border: 1px solid var(--line); background: #fff;
  font-size: 15px; font-weight: 550; color: var(--ink-2);
}
.mod b { color: var(--ink); font-weight: 650; }

/* ---------- Pricing ------------------------------------------------------ */

.price-hero {
  background: linear-gradient(140deg, var(--brand) 0%, #5866d6 100%);
  color: #fff; border-radius: var(--r); padding: 34px; box-shadow: var(--sh-2);
}
.price-hero .amount { font-size: 44px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.05; }
.price-hero .unit { font-size: 17px; opacity: .85; margin-top: 4px; }
.price-hero .fill { display: inline-block; border-bottom: 2px dashed rgba(255,255,255,.5); min-width: 130px; }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.rules li:last-child { border-bottom: 0; }
.rules li::before {
  content: "✓"; position: absolute; left: 0; top: 11px;
  width: 21px; height: 21px; border-radius: 50%; background: var(--ok-bg); color: var(--ok);
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.rules li b { color: var(--ink); }
.highlight { background: var(--warn-bg); padding: 1px 6px; border-radius: 5px; font-weight: 650; color: var(--ink); }

/* ---------- Boundaries --------------------------------------------------- */

.bounds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr)); gap: 20px; }
.bound { border-radius: var(--r); padding: 24px; border: 1px solid var(--line); background: #fff; }
.bound h3 { display: flex; align-items: center; gap: 9px; }
.bound ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.bound li { margin-bottom: 6px; }
.bound.yes { border-color: #cfe8dc; background: linear-gradient(180deg,#fff 0%, var(--ok-bg) 260%); }
.bound.no  { border-color: #f0d9d6; background: linear-gradient(180deg,#fff 0%, var(--danger-bg) 260%); }

/* ---------- CTA ---------------------------------------------------------- */

.cta { background: var(--ink); color: #fff; border-radius: var(--r); padding: 46px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #b3bccb; font-size: 17px; max-width: 620px; margin: 0 auto 26px; }

/* ---------- Footer ------------------------------------------------------- */

.site-foot { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14.5px; color: var(--muted); }
.site-foot .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-foot .right { margin-left: auto; }

/* ---------- Badges / notes ----------------------------------------------- */

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--pill);
  font-size: 13px; font-weight: 650; background: var(--bg-3); color: var(--ink-2);
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.brand { background: var(--brand-bg); color: var(--brand); }

.note {
  border-left: 3px solid var(--brand); background: var(--brand-bg);
  padding: 16px 20px; border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 15px; color: var(--ink-2);
}
.note b { color: var(--ink); }
.note.ok { border-color: var(--ok); background: var(--ok-bg); }

.muted { color: var(--muted); }
.small { font-size: 14px; }
.mt-1 { margin-top: 10px } .mt-2 { margin-top: 22px } .mt-3 { margin-top: 34px }
.mb-2 { margin-bottom: 22px } .mb-3 { margin-bottom: 34px }
.center { text-align: center; }
