/* ════════════════════════════════════════════════════════════
   CASE STUDY — detail reference. Staví výhradně na prvcích a
   tokenech homepage (css/styles.css). Žádné gradienty navíc,
   žádné dekorativní bordery, kompaktní spacing.
   ════════════════════════════════════════════════════════════ */

/* Navbar na detailu vždy solidní (není pod ním tmavý hero) */
.navbar--solid { background: var(--white); }

.cs { background: var(--white); color: var(--body-color); padding-top: 104px !important; }
/* obsahový blok zúžený a vycentrovaný uprostřed stránky (symetrické okraje, jako centrovaný obsah HP) */
.cs .container { max-width: 1080px; }

/* ─── HERO: 2 sloupce — text + ukázka kreativy (telefon) ──────── */
.cs-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: 20px 0 36px !important;
}
.cs-hero-logo { height: 34px; width: auto; margin-bottom: 22px; }
.cs-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pink);
  margin-bottom: 16px;
}
.cs-hero h1 {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.5px;
  color: var(--black);
  margin-bottom: 28px;
}
.cs-hero-perex {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
  margin-top: 28px;
}

/* Metriky — HP styl: velká růžová čísla + uppercase label (VARIABILNÍ POČET) */
.cs-metrics { display: flex; flex-wrap: wrap; gap: 40px; }
.cs-metric { display: flex; flex-direction: column; gap: 6px; }
.cs-metric-value {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  color: var(--pink);
}
.cs-metric-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .15em;
}

/* Hero ukázka kreativy používá HP komponenty .result-float-scene / .result-float-video
   / .result-video / .result-float-tag / .result-expand-btn (styly v css/styles.css)
   + #videoModal a main.js → mechanismus cover → náhled → po kliku full video. */

/* Badge ocenění (Frekvence 1) — přesahuje levý horní roh videa, do videa zasahuje max svou polovinou */
.cs .result-float-badge {
  left: -50px;
  top: -50px;
  transform: none;
}
.cs .result-badge-img { width: 100px; }

/* ─── Textové sekce — kompaktní spacing (reset globálního section paddingu) ── */
.cs-section { max-width: 760px; margin: 0 0 36px; padding: 0 !important; }
/* poslední sekce před formulářem — mezera nad žlutou cta sekcí */
.cs-section:last-of-type { margin-bottom: 64px; }
.cs-section h2 {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -.3px;
  color: var(--black);
  margin-bottom: 12px;
}
.cs-section p { font-size: 17px; line-height: 1.65; margin-bottom: 12px; }
.cs-section p:last-child { margin-bottom: 0; }
.cs-section strong { font-weight: 700; }
.cs-section .cs-accent { color: var(--pink); font-weight: 700; }

/* Statistiky — velká čísla jako vizuální rozbití textu (HP styl metrik) */
.cs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 22px 0;
  margin: 18px 0 6px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cs-stat { display: flex; flex-direction: column; gap: 4px; }
.cs-stat-value {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--pink);
}
.cs-stat-label { font-size: 15px; font-weight: 600; color: var(--body-color); }
.cs-stats-source { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Citace klienta — VOLITELNÁ sekce, bez gradientu */
.cs-quote { max-width: 760px; margin: 0 0 44px; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cs-quote blockquote { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; font-style: italic; color: var(--black); }
.cs-quote blockquote .rq { color: var(--pink); font-weight: 800; font-style: normal; }
.cs-quote-author { margin-top: 18px; }
.cs-quote-name { font-weight: 700; color: var(--black); }
.cs-quote-role { font-size: 14px; color: var(--muted); }

/* Co jsme dodali — pills */
.cs-services { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-service-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
}

/* CTA — plná brandová barva (ne gradient) */
.cs-cta {
  background: var(--pink);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(36px, 4vw, 56px);
  text-align: center;
  margin: 8px 0 56px;
}
.cs-cta h2 {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--white);
}
.cs-cta .btn-primary { background: var(--white); color: var(--black); }

/* Další reference — oddělené od formuláře nad ním */
.cs-related { margin: 0; padding: 72px 0 !important; }
.cs-related h2 {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--black);
  margin-bottom: 20px;
}
.cs-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cs-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color .2s ease;
}
.cs-related-card:hover { border-color: var(--pink); }
.cs-related-card img { height: 22px; width: auto; }
.cs-related-card .cs-related-arrow { color: var(--pink); font-weight: 700; }

/* ─── Mobil ───────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .cs-hero { grid-template-columns: 1fr; gap: 28px; padding: 16px 0 40px !important; }
}
