/* ==========================================================================
   QRLAB – obsahové stránky (landing, řešení, právní informace, cookies, mapa)
   Načítá se v kontextu "site" po base.css, pages.css a app.css.
   ========================================================================== */

.site-page .main-wrapper { padding: 0; max-width: none; }

/* Sjednotit odsazení od hlavičky napříč všemi stránkami s bannerem */
.site-page .page-content {
  padding-top: 25px;
}

/* Oborové záložky pod bannerem */
.niche-tabs {
  margin: 30px auto 45px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.niche-tabs a.active { color: var(--blue); background: var(--pale); border-color: var(--blue); }

/* Hero landing stránky */
.tpl-landing-hero {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-height: 480px;
  display: flex !important;
  align-items: center;
  margin-bottom: 35px;
  box-shadow: 0 4px 20px rgba(11, 23, 54, 0.03);
}
.tpl-landing-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  background-size: cover;
  background-position: right center;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 10%, rgba(0, 0, 0, 0.6) 28%, #000000 55%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 10%, rgba(0, 0, 0, 0.6) 28%, #000000 55%);
}
.tpl-landing-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 12%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}
.tpl-landing-hero-content {
  position: relative;
  z-index: 2;
  padding: 50px 48px;
  max-width: 580px;
}
.tpl-landing-hero .pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 100px;
  background: #e4f0ff;
  color: var(--blue);
  padding: 9px 14px;
  font-size: 10px;
  letter-spacing: .09em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tpl-landing-hero .pill i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #1ec993;
  border-radius: 50%;
}
.tpl-landing-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tpl-landing-hero h1 span, .tpl-landing-hero .blue {
  color: var(--blue);
}
.tpl-landing-hero .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}
.tpl-landing-hero .actions {
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
.tpl-landing-hero .checks {
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  flex-wrap: wrap;
}
.hero-landing { background-image: url('../assets/img/hero.webp?v=20261022_ultra'); }

/* Srovnání problém × řešení */
.compare .panel { margin-bottom: 0; }
.compare-old { background: #fbfcfe; }
.compare-new { border-color: #cfe0fb; background: #f8fbff; }
.muted-eyebrow { color: #8190a6; }
.compare { margin-bottom: 70px; }

.landing-block { margin: 0 0 70px; }
.feature-panel h3 { margin: 12px 0 12px; font-size: 18px; }
.feature-panel p { margin: 0; }

/* Kalkulace úspor */
.landing-calc { align-items: stretch; margin-bottom: 70px; }
.landing-calc > div:first-child { max-width: 420px; }
.landing-calc h2 { font-size: 30px; }
.calc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.calc-col { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.calc-col small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #8190a6; }
.calc-col strong { display: block; font-size: 22px; margin: 10px 0; letter-spacing: -.02em; }
.calc-new strong { color: var(--blue); }
.calc-col p { font-size: 12px !important; margin: 0; }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-list .panel { margin-bottom: 12px; padding: 22px 26px; }
.faq-list .panel p { margin: 0; }

.landing-cta { margin-bottom: 40px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.landing-lang { display: flex; align-items: center; gap: 12px; justify-content: flex-end; font-size: 12px; color: var(--muted); }
.landing-lang select { border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font: inherit; color: var(--navy); background: #fff; }

/* Právní texty */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-nav { position: sticky; top: 110px; display: grid; gap: 4px; }
.legal-nav a { font-size: 13px; color: var(--muted); padding: 10px 14px; border-radius: 8px; }
.legal-nav a:hover { background: var(--pale); color: var(--navy); }
.legal-nav a.active { background: #eaf2ff; color: var(--blue); font-weight: 650; }
.legal-body { font-size: 15px; line-height: 1.8; color: #33445d; }
.legal-body h2 { font-size: 24px; margin: 36px 0 14px; }
.legal-body h3 { font-size: 18px; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: #4a5a70; font-size: 14px; }
.legal-body ul, .legal-body ol { padding-left: 20px; }
.legal-body .terms-section { margin-bottom: 24px; }
.operator-card dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; margin: 0; font-size: 14px; }
.operator-card dt { color: var(--muted); }
.operator-card dd { margin: 0; font-weight: 600; }
.legal-meta { font-size: 12px; color: var(--muted); }

/* Cookies */
.cookie-row h3 { font-size: 16px; }
.cookie-row p { margin: 0; font-size: 13px; }
.cookie-row input:disabled { opacity: .55; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }

/* Řešení – karta s ikonou */
.solution-card { display: flex; flex-direction: column; }
.solution-card .icon-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--pale); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 18px; }
.solution-card p { flex: 1; }
.solution-card .button { align-self: flex-start; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.solutions-grid .panel { margin: 0; }

@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-calc { display: block; }
  .landing-calc > div:first-child { max-width: none; margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .niche-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; }
  .tpl-landing-hero { min-height: auto; display: block !important; }
  .tpl-landing-hero-content { padding: 35px 25px 20px; }
  .tpl-landing-hero-bg {
    position: relative;
    width: 100%;
    height: 240px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000000 25%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000000 25%);
  }
  .tpl-landing-hero-bg::before { display: none; }
  .calc-cols { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .legal-nav { position: static; display: flex; overflow-x: auto; }
  .legal-nav a { white-space: nowrap; }
  .operator-card dl { grid-template-columns: 1fr; gap: 4px; }
  .operator-card dd { margin-bottom: 10px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .landing-lang { justify-content: flex-start; }
}
