/* ──────────────────────────────────────────────────────────────
   Czech Google Ads landing pages (/cz/*) — additions on top of
   the shared styles.css design system. Keep this file tiny.
   ────────────────────────────────────────────────────────────── */

/* Stripped nav: logo + one CTA. styles.css hides the solid button's
   label on small screens (icon-only nav CTA) — on a landing page the
   demo button IS the page, so keep the label and drop the arrow. */
.nav--lp .nav__cta .btn--solid span { display: inline; }
@media (max-width: 640px) {
  .nav--lp { padding: 8px 8px 8px 16px; }
  .nav--lp .nav__cta .btn--solid { padding: 10px 14px; }
  .nav--lp .nav__cta .btn--solid svg { display: none; }
}

/* Quiet secondary link ("Vyzkoušet zdarma") */
.lp-textlink {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.lp-textlink:hover { color: var(--ink); }

/* Proof bar: client names (text only) + the three stats */
.lp-proof {
  margin-top: clamp(48px, 7vw, 72px);
  padding: 26px clamp(20px, 4vw, 40px) 30px;
  text-align: left;
}
.lp-proof__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
/* Always a single row: nowrap keeps it to one line, overflow-x keeps it
   inside the card (scrolls on narrow screens instead of wrapping). */
.lp-proof__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 26px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lp-proof__logos::-webkit-scrollbar { display: none; }
.lp-proof__logos li { flex: 0 0 auto; }
.lp-proof__logos img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.lp-proof__logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 640px) {
  /* fade the right edge so an off-screen logo reads as "scroll for more" */
  .lp-proof__logos {
    gap: 22px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent 100%);
  }
  .lp-proof__logos img { height: 22px; max-width: 108px; }
}
.lp-proof .live-stats { margin-top: 26px; }
@media (max-width: 640px) {
  .lp-proof .live-stats { grid-template-columns: 1fr; gap: 16px; }
}

/* Price-map section: the chart itself is the real /price_map/ hero chart
   (pricemap.css + pricemap.js, rendered 1:1). This only handles the section
   head + spacing around it. The `pm` class on the section supplies the
   chart's custom props (--mono, --pm-card-bg, --pm-grid-line). */
.lp-pricemap .pm-chart { margin-top: 24px; }
.lp-pricemap__cta { margin-top: 26px; }
/* If pricemap.js can't load live data it leaves the plot empty; keep the
   section from collapsing awkwardly. */
.lp-pricemap .pm-chart__empty { min-height: 200px; }

/* Comparison: three columns instead of the homepage's two */
.lp-compare-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .lp-compare-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

/* How-it-works cards without the heavy visuals don't need the
   homepage's tall min-height */
.lp-how .how-card { min-height: 0; }

/* The leaderboard is wider than a 375px viewport allows (CZK budgets,
   long Czech labels): let the platforms pill wrap under the handle
   instead of overlapping it, and give variant names room to render. */
.lp-how .lb-header { flex-wrap: wrap; }
.lp-how .lb-handle { flex: 1 0 auto; }
@media (max-width: 560px) {
  .lp-how .lb-row { grid-template-columns: 20px minmax(64px, auto) minmax(24px, 1fr) auto; }
}

/* Single centered testimonial */
.lp-testi { max-width: 640px; margin: 0 auto; }

/* FAQ */
.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.lp-faq__item { border-radius: var(--radius-md); }
.lp-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-mute);
  transition: transform 0.2s ease;
}
.lp-faq__item[open] summary::after { transform: rotate(45deg); }
.lp-faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* Final CTA: quiet signup note under the demo button */
.lp-cta-note {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--ink-mute);
}

/* Minimal footer: bottom bar only, legal links */
.footer--lp { margin-top: 24px; }
.footer--lp .footer__bottom {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
}
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.lp-footer-links a { color: var(--ink-mute); }
.lp-footer-links a:hover { color: var(--ink); }
