:root {
  --bg: #FBF7EE;
  --bg-alt: #F3ECDD;
  --card: #FFFFFF;
  --ink: #1C1F2E;
  --muted: #555A6B;
  --line: #E6DCC7;
  --navy: #1E2235;
  --navy-2: #2A2F47;
  --blue: #2350D8;
  --blue-dark: #1A3FB0;
  --yellow: #FBE38A;
  --yellow-ink: #6B5300;
  --radius: 14px;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* zástupné údaje, ktoré treba pred nasadením doplniť */
.doplnit {
  background: var(--yellow);
  color: var(--yellow-ink);
  padding: 0 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* hlavička */
.top { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.logo span { color: var(--blue); }
.top__call { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--ink); font-size: 0.95rem; padding: 8px 0; }
.top__call-label { font-size: 0.8rem; color: var(--muted); }

/* úvod */
.hero { padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.hero__in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: inherit; padding: 0 2px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }

.person { display: flex; align-items: center; gap: 14px; }
.person__photo { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; font-size: 0.55rem; flex: none; overflow: hidden; }
.person__photo .doplnit { padding: 0 2px; }
.person strong { display: block; }
.person span { color: var(--muted); font-size: 0.95rem; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background .15s, transform .15s; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:hover { background: #fff; }

/* mobil s ukážkou */
.hero__demo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone { width: 280px; border-radius: 36px; background: var(--navy); padding: 12px; box-shadow: 0 24px 48px -20px rgba(30, 34, 53, .45); transform: rotate(2deg); }
.phone__screen { background: #F5F6F2; border-radius: 26px; overflow: hidden; font-size: 12px; color: #1C2624; min-height: 460px; }
.demo__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 12px; font-weight: 600; background: #fff; }
.demo__pill { background: #1F3A34; color: #fff; border-radius: 6px; padding: 4px 8px; font-size: 10px; }
.demo__hero { background: #1F3A34; color: #fff; padding: 20px 14px; display: flex; flex-direction: column; gap: 8px; }
.demo__hero small { color: #E0C98F; letter-spacing: .1em; text-transform: uppercase; font-size: 9px; }
.demo__hero b { font-family: Georgia, serif; font-weight: 500; font-size: 20px; line-height: 1.15; }
.demo__hero span { color: #DCE5E1; }
.demo__hero .demo__btn { background: #D4B66E; color: #1B2B27; border-radius: 6px; padding: 9px; text-align: center; font-weight: 600; margin-top: 4px; }
.demo__row { margin: 10px 12px 0; background: #fff; border: 1px solid #DDE2DC; border-radius: 8px; padding: 11px 12px; font-weight: 500; }
.hero__demo figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 0.9rem; }

.hand { font-family: var(--font-hand); font-size: 1.6rem; color: var(--blue); line-height: 1.1; }
.hand--sign { font-size: 2.2rem; color: var(--ink); }
.hand--light { color: var(--yellow); }

/* sekcie */
.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.sub { color: var(--muted); margin-top: 12px; max-width: 620px; }

.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.compare__col { border-radius: var(--radius); padding: 28px; }
.compare__col ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.compare__col li { padding-left: 24px; position: relative; }
.compare__col--bez { background: var(--bg-alt); }
.compare__col--bez li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.compare__col--s { background: var(--navy); color: #fff; }
.compare__col--s h3 { color: var(--yellow); }
.compare__col--s li::before { content: "+"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }

.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.about__photo { aspect-ratio: 4 / 3.4; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 24px; font-size: 0.9rem; }
.about__text { display: flex; flex-direction: column; gap: 16px; }
.about__text p { color: var(--muted); }
.about__text .hand--sign { color: var(--ink); }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps p { color: var(--muted); font-size: 0.97rem; }
.steps__n { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.price__text { display: flex; flex-direction: column; gap: 16px; }
.price__text > p { color: var(--muted); }
.guarantee { display: flex; gap: 12px; align-items: flex-start; background: #FFF6D6; border-radius: 10px; padding: 16px 18px; color: var(--ink); }
.guarantee svg { flex: none; color: var(--ink); margin-top: 2px; }
.price__card { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 32px; box-shadow: 8px 8px 0 var(--yellow); display: flex; flex-direction: column; gap: 14px; }
.price__num { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; }
.price__note { color: var(--muted); margin-top: -6px; }
.price__card .checks { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price__extra { font-size: 0.93rem; color: var(--muted); }

.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

.cta { background: var(--navy); color: #fff; padding: 72px 0; }
.cta__in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.cta h2 { margin: 8px 0 14px; }
.cta p { color: #C9CCDA; }
.cta__boxes { display: grid; gap: 14px; }
.cta__box { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.cta__box:hover { color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.cta__box span { font-size: 0.85rem; color: var(--muted); }
.cta__box strong { font-size: 1.2rem; }

.foot { background: var(--navy-2); color: #C9CCDA; font-size: 0.9rem; padding: 24px 0; }

/* tablet */
@media (max-width: 960px) {
  .hero__in, .about, .price, .cta__in { grid-template-columns: 1fr; }
  .hero__demo { order: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
}

/* mobil */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 56px; }
  .section { padding: 56px 0; }
  .compare, .steps { grid-template-columns: 1fr; }
  .top__call-label { display: none; }
  .btn { width: 100%; }
  .phone { width: 250px; }
  .price__card { padding: 24px; box-shadow: 6px 6px 0 var(--yellow); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
