/* =========================================================
   Business REFRESH - prodejní stránka
   Barvy a typografie dle brandmanuálu Lucie Tužinská
   Merriweather (nadpisy) + Inter (text), hostováno lokálně
   ========================================================= */

/* ---------- Fonty (lokálně hostované, žádné externí zdroje) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/merriweather-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/merriweather-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Barevné proměnné ---------- */
:root {
  /* paleta brandmanuálu */
  --solid-vision: #0d0d0f;
  --bold-strategy: #8c111f;
  --strong-confidence: #e12618;
  --profit-pulse: #132841;
  --gentle-scale: #406b91;
  --bright-future: #b3cfe5;
  --stable-freedom: #cfcfcf;
  --pure-clarity: #f7f5f9;
  --white: #ffffff;

  /* sémantické role (všechny textové kombinace ověřeny na >= 4,5:1) */
  --bg-light: var(--pure-clarity);
  --bg-white: var(--white);
  --bg-tint: var(--bright-future);
  --bg-dark: var(--profit-pulse);
  --bg-black: var(--solid-vision);

  --text-dark: var(--solid-vision);
  --text-muted: #3d4654;                 /* 9,5:1 na bílé, 5,9:1 na Bright Future */
  --text-light: var(--pure-clarity);
  --accent: var(--strong-confidence);    /* velké texty, linky, rámečky */
  --accent-text: var(--bold-strategy);   /* červená v běžné velikosti textu */
  --accent-on-dark: var(--bright-future);

  --line: rgba(19, 40, 65, .12);
  --line-dark: rgba(179, 207, 229, .22);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(13, 13, 15, .06);
  --shadow: 0 12px 30px rgba(13, 13, 15, .09);
  --shadow-lg: 0 26px 60px rgba(13, 13, 15, .20);

  --maxw: 1140px;
  --measure: 68ch;
  --gap: clamp(18px, 2.4vw, 30px);
  --space-section: clamp(64px, 8vw, 128px);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: .002em;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  line-height: 1.18;
  margin: 0 0 .55em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 900; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; }
h4 { font-size: clamp(1.06rem, 1.5vw, 1.22rem); font-weight: 700; }

p { margin: 0 0 1.15em; max-width: var(--measure); }

/* dvojnasobna mezera nad nadpisem, ktery navazuje na bezny text */
p + h2, ul + h2, ol + h2, blockquote + h2,
p + h3, ul + h3, ol + h3, blockquote + h3,
p + h4, ul + h4, ol + h4 { margin-top: 1.6em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

a { color: var(--gentle-scale); text-underline-offset: 3px; }
a:hover { color: var(--profit-pulse); }

:focus-visible {
  outline: 3px solid var(--strong-confidence);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.section { padding: var(--space-section) 0; position: relative; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 36px);
}
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.wrap-sm { max-width: 860px; margin-inline: auto; }
.wrap-md { max-width: 960px; margin-inline: auto; }
.wrap-lg { max-width: 1040px; margin-inline: auto; }
.measure { max-width: 68ch; }
.center { text-align: center; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }

/* střídání pozadí sekcí */
.s-light  { background: var(--bg-light); color: var(--text-dark); }
.s-white  { background: var(--bg-white); color: var(--text-dark); }
.s-tint   { background: var(--bg-tint); color: var(--text-dark); }
.s-dark   { background: var(--bg-dark); color: var(--text-light); }
.s-black  { background: var(--bg-black); color: var(--text-light); }

.s-dark a, .s-black a { color: var(--bright-future); }
.s-dark a:hover, .s-black a:hover { color: var(--white); }
.s-dark :focus-visible, .s-black :focus-visible { outline-color: var(--bright-future); }

.s-light + .s-white, .s-white + .s-light { box-shadow: inset 0 1px 0 var(--line); }

/* ---------- Typografické prvky ---------- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1rem;
}
.s-dark .eyebrow, .s-black .eyebrow { color: var(--accent-on-dark); }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-muted);
}
.s-dark .lead, .s-black .lead { color: var(--bright-future); }

.hook {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--accent-text);
  margin: 0 0 1.4rem;
  max-width: 44ch;
}
.s-dark .hook, .s-black .hook { color: var(--bright-future); }

.muted { color: var(--text-muted); }
.s-dark .muted, .s-black .muted { color: var(--bright-future); }

/* krátká akcentní linka pod nadpisem sekce */
.h-rule { margin-bottom: clamp(24px, 3vw, 38px); }
.h-rule::after {
  content: "";
  display: block;
  width: 68px;
  height: 5px;
  margin-top: clamp(16px, 2vw, 22px);
  background: var(--strong-confidence);
  border-radius: 3px;
}
.h-rule.center::after { margin-left: auto; margin-right: auto; }

.rule {
  display: block;
  width: 76px;
  height: 5px;
  background: var(--strong-confidence);
  border-radius: 3px;
  margin: clamp(18px, 2.4vw, 26px) 0;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block;
  max-width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.18rem, 1.4vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  /* jednolitá akcentní červená - výplň i rámeček stejná barva */
  color: var(--pure-clarity);
  background: var(--strong-confidence);
  padding: 17px 36px;
  border: 2px solid var(--strong-confidence);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(225, 38, 24, .30);
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.s-dark .btn, .s-black .btn { color: var(--pure-clarity); }
.btn:hover, .btn:focus-visible,
.s-dark .btn:hover, .s-black .btn:hover {
  background: var(--bold-strategy);
  border-color: var(--bold-strategy);
  color: var(--pure-clarity);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(140, 17, 31, .34);
}

.btn-outline,
.s-dark .plan .btn-outline, .s-black .plan .btn-outline,
.s-dark .card .btn-outline, .s-black .card .btn-outline {
  background: transparent;
  color: var(--profit-pulse);
  border-color: var(--profit-pulse);
  box-shadow: none;
}
.btn-outline:hover, .btn-outline:focus-visible,
.s-dark .plan .btn-outline:hover, .s-black .plan .btn-outline:hover {
  background: var(--profit-pulse);
  border-color: var(--profit-pulse);
  color: var(--pure-clarity);
  box-shadow: var(--shadow);
}
.s-dark .btn-outline, .s-black .btn-outline {
  color: var(--pure-clarity);
  border-color: var(--bright-future);
}
.s-dark .btn-outline:hover, .s-black .btn-outline:hover {
  background: var(--bright-future);
  color: var(--profit-pulse);
}

.cta-block { margin: clamp(30px, 4vw, 48px) 0 0; text-align: center; }
.cta-left { text-align: left; }
.cta-note { margin: 14px auto 0; font-size: .95rem; color: var(--text-muted); }
.s-dark .cta-note { color: var(--bright-future); }

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(52px, 6.5vw, 92px);
  padding-bottom: clamp(64px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(120% 92% at 88% 0%, rgba(64, 107, 145, .55) 0%, rgba(19, 40, 65, 0) 62%),
    var(--profit-pulse);
}
.hero-head { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-head .hook { max-width: 48ch; margin-left: auto; margin-right: auto; }
.hero .rule { margin-left: auto; margin-right: auto; }
.hero h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.hero-body {
  max-width: 64ch;
  margin: clamp(30px, 4vw, 44px) auto 0;
  text-align: left;
}
.hero-body p { color: var(--pure-clarity); }
.hero .lead {
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--bright-future);
  max-width: 30ch;
  margin: 0 auto;
}
.hero-media {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: clamp(40px, 5vw, 68px) auto 0;
}
.hero-media .ph {
  background:
    repeating-linear-gradient(135deg,
      rgba(64, 107, 145, .09) 0 12px,
      rgba(64, 107, 145, .03) 12px 24px),
    var(--white);
  border: 2px dashed rgba(64, 107, 145, .5);
  box-shadow: var(--shadow-lg);
}

/* ---------- Seznamy ---------- */
ul.plain { list-style: none; margin: 0 0 1.5em; padding: 0; max-width: var(--measure); }
ul.plain > li {
  position: relative;
  padding: 0 0 0 32px;
  margin: 0 0 .9em;
}
ul.plain > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .68em;
  width: 10px;
  height: 10px;
  background: var(--strong-confidence);
  border-radius: 2px;
  transform: rotate(45deg);
}
.s-dark ul.plain > li::before, .s-black ul.plain > li::before { background: var(--bright-future); }
.s-tint ul.plain > li::before { background: var(--bold-strategy); }

ul.check, ul.cross { list-style: none; margin: 0 0 1.4em; padding: 0; }
ul.check > li, ul.cross > li { position: relative; padding-left: 32px; margin-bottom: .8em; }
ul.check > li::before, ul.cross > li::before {
  position: absolute;
  left: 0;
  top: .12em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  font-size: .76rem;
  font-weight: 700;
  border-radius: 50%;
}
ul.check > li::before {
  content: "✓";
  color: var(--white);
  background: var(--gentle-scale);
}
ul.cross > li::before {
  content: "✗";
  color: var(--white);
  background: var(--bold-strategy);
}

/* ---------- Citace ---------- */
.quote {
  position: relative;
  margin: 0 0 var(--gap);
  padding: 26px 30px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--bright-future);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  right: 18px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--bright-future);
  pointer-events: none;
}
.quote p { font-size: 1.02rem; max-width: none; }
.quote cite {
  display: block;
  margin-top: .8em;
  font-style: italic;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text-muted);
}
.s-dark .quote, .s-black .quote {
  background: rgba(247, 245, 249, .06);
  border-color: var(--line-dark);
  border-left-color: var(--gentle-scale);
  color: var(--text-light);
  box-shadow: none;
}
.s-dark .quote::before, .s-black .quote::before { color: rgba(179, 207, 229, .45); }
.s-dark .quote cite, .s-black .quote cite { color: var(--bright-future); }

/* citace uvnitř světlé karty i v tmavé sekci */
.s-dark .step .quote, .s-black .step .quote,
.s-dark .card .quote, .s-black .card .quote,
.s-dark .plan .quote, .s-black .plan .quote {
  background: var(--pure-clarity);
  color: var(--text-dark);
  border-color: var(--line);
  border-left-color: var(--bright-future);
  box-shadow: none;
}
.s-dark .step .quote::before, .s-black .step .quote::before,
.s-dark .card .quote::before, .s-black .card .quote::before { color: var(--bright-future); }
.s-dark .step .quote cite, .s-black .step .quote cite,
.s-dark .card .quote cite, .s-black .card .quote cite { color: var(--text-muted); }

/* na Bright Future pozadi byl svetly prouzek neviditelny */
.s-tint .quote { border-left-color: var(--gentle-scale); }

.quotes-2 { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 860px) { .quotes-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Karty ---------- */
.grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 760px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) and (max-width: 979px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child { grid-column: span 2; }
}
@media (min-width: 980px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(26px, 3vw, 36px);
  color: var(--text-dark);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--gentle-scale);
}
.card-accent::before { background: var(--strong-confidence); }
.card h3, .card h4 { margin-top: 0; }
.card h3 { font-size: clamp(1.08rem, 1.5vw, 1.26rem); line-height: 1.3; letter-spacing: -0.005em; }
.card p { max-width: none; }

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  font-size: 1.7rem;
  line-height: 1;
  background: var(--bright-future);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(19, 40, 65, .10);
}

/* ---------- Čtyři kroky 01-04 (timeline: kolečko + spojnice) ---------- */
.steps {
  position: relative;
  list-style: none;
  max-width: 920px;
  margin-inline: auto;
  padding: 0;
}
.steps::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 38px;
  bottom: 38px;
  width: 2px;
  background: linear-gradient(to bottom, var(--bright-future), rgba(179, 207, 229, .25));
}
.step-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: clamp(16px, 2.2vw, 28px);
  align-items: start;
  margin-bottom: var(--gap);
}
.step-row:last-child { margin-bottom: 0; }

.step-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pure-clarity);
  background: var(--gentle-scale);
  box-shadow: 0 0 0 6px var(--bg-dark);
}
.step-row:nth-child(1) .step-num { background: var(--bright-future); color: var(--profit-pulse); }
.step-row:nth-child(2) .step-num { background: var(--gentle-scale); }
.step-row:nth-child(3) .step-num { background: var(--bold-strategy); }
.step-row:nth-child(4) .step-num { background: var(--strong-confidence); }

.step {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 2.8vw, 34px);
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--bright-future);
}
.step-row:nth-child(2) .step::before { background: var(--gentle-scale); }
.step-row:nth-child(3) .step::before { background: var(--bold-strategy); }
.step-row:nth-child(4) .step::before { background: var(--strong-confidence); }

.step h4 { margin-bottom: .35em; }
.step-meta {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.2em;
  max-width: none;
}
.step-out {
  margin: auto 0 0;
  padding: 20px 24px;
  background: rgba(179, 207, 229, .34);
  border: 1px solid rgba(64, 107, 145, .26);
  border-radius: var(--radius);
}
.step-out .label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: .5em;
}
.step-note { margin-top: 1em; font-style: italic; max-width: none; }
.step .quote { margin-top: var(--gap); margin-bottom: 0; }

@media (max-width: 620px) {
  .steps::before { left: 27px; top: 30px; bottom: 30px; }
  .step-row { grid-template-columns: 56px 1fr; gap: 14px; }
  .step-num { width: 58px; height: 58px; font-size: 1.2rem; box-shadow: 0 0 0 5px var(--bg-dark); }
}

/* ---------- Obrázkové diagramy ---------- */
.figure {
  margin: clamp(30px, 4vw, 50px) auto;
  max-width: 860px;
}
.figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ---------- Velká čísla ---------- */
.stats { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 940px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  text-align: center;
  padding: clamp(18px, 2.4vw, 30px) clamp(10px, 1.6vw, 22px);
  border-top: 1px solid var(--line);
}
.s-dark .stat, .s-black .stat { border-color: var(--line-dark); }
@media (min-width: 940px) {
  .stat { border-top: 0; border-left: 1px solid var(--line); }
  .s-dark .stat, .s-black .stat { border-top: 0; border-left: 1px solid var(--line-dark); }
  .stat:first-child { border-left: 0; }
}
.stat-num {
  display: block;
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--strong-confidence);
  margin-bottom: .28em;
}
.s-light .stat-num, .s-white .stat-num, .s-tint .stat-num { color: var(--bold-strategy); }
.stat-label { font-size: .96rem; line-height: 1.5; }

#casova-narocnost .stat { padding-top: clamp(14px, 2vw, 22px); padding-bottom: clamp(14px, 2vw, 22px); }
#casova-narocnost .stats { max-width: 940px; margin-inline: auto; }
#casova-narocnost .quotes-2 { grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; }

/* pás se statistikami je mezizastávka, ne plnohodnotná sekce */
#cisla { padding: clamp(44px, 5vw, 76px) 0; }
.s-dark .stat-label, .s-black .stat-label { color: var(--bright-future); }

/* ---------- Placeholdery ---------- */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 26px;
  color: var(--profit-pulse);
  background:
    repeating-linear-gradient(135deg,
      rgba(64, 107, 145, .09) 0 12px,
      rgba(64, 107, 145, .03) 12px 24px),
    var(--pure-clarity);
  border: 2px dashed rgba(64, 107, 145, .55);
  border-radius: var(--radius-lg);
}
.ph-tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pure-clarity);
  background: var(--profit-pulse);
  border-radius: 999px;
  padding: 6px 16px;
}
.ph-text { font-size: 1rem; font-weight: 600; max-width: 46ch; margin: 0; }
.ph-ratio { font-size: .86rem; color: var(--text-muted); margin: 0; max-width: 46ch; }
.ph-16x9 { aspect-ratio: 16 / 9; max-width: 760px; margin-inline: auto; }
.ph-9x16 { aspect-ratio: 9 / 16; max-width: 300px; margin-inline: auto; }
.ph-4x3  { aspect-ratio: 4 / 3; max-width: 620px; margin-inline: auto; }
.ph-1x1  { aspect-ratio: 1 / 1; max-width: 360px; margin-inline: auto; }

/* ---------- Pás klíčových slov (jako step-meta pod nadpisem) ---------- */
p.wordband {
  margin: clamp(28px, 3.5vw, 44px) 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.s-dark .wordband, .s-black .wordband { color: var(--bright-future); }

/* ---------- Ikonový pás ---------- */
.iconband {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: clamp(28px, 3.5vw, 44px) 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
@media (min-width: 700px)  { .iconband { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .iconband { grid-template-columns: repeat(7, 1fr); } }
.iconband li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: clamp(18px, 2vw, 26px) 12px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}
.iconband li:nth-child(-n+2) { border-top: 0; }
.iconband li:nth-child(odd) { border-left: 0; }
@media (min-width: 700px) {
  .iconband li:nth-child(-n+4) { border-top: 0; }
  .iconband li:nth-child(odd) { border-left: 1px solid var(--line); }
  .iconband li:nth-child(4n+1) { border-left: 0; }
}
@media (min-width: 1040px) {
  .iconband li { border-top: 0; border-left: 1px solid var(--line); }
  .iconband li:nth-child(4n+1) { border-left: 1px solid var(--line); }
  .iconband li:first-child { border-left: 0; }
}
.iconband svg { width: 30px; height: 30px; flex: none; }
.iconband .ic {
  stroke: var(--gentle-scale);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  list-style: none;
  max-width: 620px;
  margin: clamp(30px, 4vw, 48px) auto;
  padding: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(64, 107, 145, .45), rgba(64, 107, 145, .16));
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  margin-bottom: 14px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-date {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--profit-pulse);
  color: var(--pure-clarity);
  font-family: 'Merriweather', Georgia, serif;
  text-align: center;
  line-height: 1.05;
  box-shadow: 0 0 0 6px var(--bg-light);
}
.s-white .tl-date { box-shadow: 0 0 0 6px var(--white); }
.tl-date .d { font-size: 1.28rem; font-weight: 900; letter-spacing: -0.02em; }
.tl-date .m {
  font-family: 'Inter', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  margin-top: 2px;
}
.tl-item.is-accent .tl-date { background: var(--bold-strategy); }
.tl-item.is-alt .tl-date { background: var(--bright-future); color: var(--profit-pulse); }
.tl-body { padding: 8px 0; }
.tl-body b {
  display: block;
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.3;
}

/* ---------- Bonusy + accordion ---------- */
.bonus-stack { max-width: 860px; margin-inline: auto; }
.bonus, .reward { display: flex; flex-direction: column; }
.bonus .price-tag,
.reward .price-tag {
  align-self: flex-start;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--pure-clarity);
  border: 1px solid rgba(140, 17, 31, .28);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

details.acc { margin-top: auto; border-top: 1px solid var(--line); padding-top: 4px; }

/* rozklikavatko uvnitr karet: modry ramecek obalí i rozbaleny text */
.card details.acc {
  margin-top: auto;
  padding: 0 clamp(16px, 2vw, 22px);
  background: rgba(64, 107, 145, .10);
  border: 1px solid rgba(64, 107, 145, .38);
  border-radius: var(--radius);
  transition: background .15s ease, border-color .15s ease;
}
.card details.acc:hover { background: rgba(64, 107, 145, .17); border-color: var(--gentle-scale); }
.card details.acc > summary {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 14px 0;
  color: var(--profit-pulse);
}
.card details.acc[open] > summary { border-bottom: 1px solid rgba(64, 107, 145, .28); }
.card details.acc .acc-body { padding: 16px 0; }
.card details.acc .acc-body p:last-child { margin-bottom: 0; }
details.acc > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 700;
  color: var(--gentle-scale);
  padding: 14px 0;
  transition: color .15s ease;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    linear-gradient(var(--gentle-scale), var(--gentle-scale)) center / 11px 2px no-repeat,
    linear-gradient(var(--gentle-scale), var(--gentle-scale)) center / 2px 11px no-repeat,
    rgba(64, 107, 145, .13);
  transition: transform .18s ease;
}
details.acc[open] > summary::after {
  background:
    linear-gradient(var(--gentle-scale), var(--gentle-scale)) center / 11px 2px no-repeat,
    rgba(64, 107, 145, .13);
}
details.acc > summary:hover { color: var(--profit-pulse); }
details.acc .acc-body { padding: 2px 0 16px; }
details.acc .acc-body p { max-width: none; }
details.acc .acc-body p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details.acc {
  margin: 0 0 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0 clamp(18px, 2.4vw, 26px);
  transition: box-shadow .16s ease, border-color .16s ease;
}
.faq details.acc[open] { border-color: rgba(64, 107, 145, .40); box-shadow: var(--shadow); }
.faq details.acc > summary {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-dark);
  padding: 20px 0;
}
.faq details.acc .acc-body { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 22px; }

/* ---------- Ceník ---------- */
.pricing {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  align-items: start;
  margin: clamp(56px, 6vw, 84px) 0 clamp(60px, 6.5vw, 92px);
}
@media (min-width: 940px) {
  .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: clamp(22px, 2.2vw, 30px); }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(26px, 3vw, 34px);
}
.plan h3 { margin-bottom: .25em; }
.plan .plan-sub {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.2em;
  max-width: none;
}
.plan .plan-price {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--profit-pulse);
  margin: 0;
}
.plan .plan-terms { font-size: .93rem; color: var(--text-muted); margin: .35em 0 1.4em; max-width: none; }
.plan ul { margin-bottom: 1.4em; }
.plan .btn { width: 100%; margin-top: auto; }
.plan .plan-warn { margin: 0 0 1.3em; max-width: none; text-align: center; }
.plan .plan-warn span {
  display: inline-block;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--strong-confidence);
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: 0 6px 18px rgba(225, 38, 24, .32);
}
.plan-kicker {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: .4em;
}

.plan-featured {
  border: 2px solid var(--strong-confidence);
  box-shadow: 0 26px 60px rgba(140, 17, 31, .26);
  padding-top: clamp(34px, 3.4vw, 42px);
}
@media (min-width: 940px) {
  .plan-featured { transform: scale(1.05); z-index: 1; }
}
.plan-featured .plan-price { color: var(--bold-strategy); }
.plan-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pure-clarity);
  background: var(--bold-strategy);
  border: 2px solid var(--bold-strategy);
  border-radius: 999px;
  padding: 7px 20px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Ostatní bloky ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.4em 0 0; }
.contact-list li { margin-bottom: .5em; }
.contact-list a { display: inline-block; padding: 6px 0; }

.site-footer {
  background: var(--solid-vision);
  color: var(--pure-clarity);
  padding: clamp(36px, 4.5vw, 56px) 0 30px;
  font-size: .92rem;
  line-height: 1.7;
  border-top: 1px solid rgba(179, 207, 229, .16);
}
.footer-grid {
  display: grid;
  gap: clamp(20px, 3vw, 44px);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: .5em;
}
.site-footer a { color: var(--bright-future); }
.site-footer p { max-width: none; }

.author-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .author-grid { grid-template-columns: 400px 1fr; } }
.author-grid > .ph { margin-left: auto; margin-right: auto; width: 100%; }

/* text vedle videa (portret na vysku) */
.media-split {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  grid-template-columns: 1fr;
  max-width: 1040px;
  margin-inline: auto;
  align-items: center;
}
@media (min-width: 900px) { .media-split { grid-template-columns: 1fr 300px; } }
.media-split p { max-width: none; }

.two-col { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* boxy v sekci Proc si audit neudelas sama drzi stejnou sirku jako text kolem nich */
#audit .two-col {
  max-width: 780px;
  margin: clamp(26px, 4vw, 42px) auto;
}

.box {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(26px, 3vw, 36px);
  color: var(--text-dark);
}
.box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--gentle-scale);
}
.box p { max-width: none; }
.box-no::before { background: var(--bold-strategy); }
.box h3, .box h4 { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- CRO prvky ---------- */
/* zvýraznění kotevní ceny v textu */
.num-hl {
  background: linear-gradient(to top, rgba(179, 207, 229, .75) 42%, transparent 42%);
  padding: 0 .12em;
}
.s-dark .num-hl, .s-black .num-hl {
  background: linear-gradient(to top, rgba(64, 107, 145, .85) 42%, transparent 42%);
}

/* rozdíl mezi variantami v ceníku */
.plan-diff {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: -.6em 0 1.5em;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-muted);
  max-width: none;
}
.plan-diff span {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pure-clarity);
  background: var(--bold-strategy);
  border-radius: 999px;
  padding: 3px 12px;
}

/* informacni ramecek (terminy callu) */
.infobox {
  max-width: 620px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: clamp(20px, 2.6vw, 26px) clamp(22px, 3vw, 28px);
  background: var(--white);
  border: 1px solid rgba(64, 107, 145, .32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.infobox .infobox-head { margin-bottom: .9em; max-width: none; }
.infobox .infobox-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: .8em;
  max-width: none;
}
.infobox ul.plain { margin-bottom: 0; max-width: none; }
.infobox ul.plain > li { margin-bottom: .5em; font-style: italic; }
.infobox ul.plain > li:last-child { margin-bottom: 0; }

/* termín / urgence */
.deadline {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 22px);
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 2px solid var(--strong-confidence);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.deadline-mark {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--strong-confidence);
  color: var(--white);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}
.deadline h4 { margin-bottom: .4em; }
.deadline p { margin-bottom: 0; max-width: none; color: var(--text-muted); }

