/* Pilířové stránky a případová studie (11/2026). Doplňuje /css/home-360.css (třídy .h3-*), mobil je výchozí. */

.lp [id] { scroll-margin-top: 88px; }
.lp .h3-head .h3-lead { margin-left: auto; margin-right: auto; }

/* první sekce hned pod hero nepotřebuje plnou mezeru */
.lp-hero + .h3-sec { padding-top: 20px; }

/* ---------- definice + Fakta v kostce ---------- */
.lp-def { display: grid; gap: 24px; align-items: start; }
.lp-def .h3-h2 { margin-bottom: 20px; }
.lp-text p:not(.h3-eyebrow) { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.lp-text p:last-child { margin-bottom: 0; }
.lp-text p strong, .lp-text p em { color: var(--ink); }
.lp-text p em { font-style: italic; }
.lp-text a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lp-facts { padding: 24px 22px 14px; border-radius: 26px; background: #fff; border: 1px solid rgba(21, 43, 112, .1); box-shadow: 0 24px 48px -30px rgba(21, 43, 112, .45); }
.lp-facts__h { margin: 0 0 6px; font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.lp-facts__h .h3-ico { color: #4f5bd5; }
.lp-facts dl { margin: 0; }
.lp-facts dl > div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.lp-facts dl > div:first-child { border-top: 0; }
.lp-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.lp-facts dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }

/* ---------- karty (co dostanete, příklady) ---------- */
.lp-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-item { padding: 22px 22px 20px; }
.lp-item h3 { margin: 0 0 8px; display: flex; gap: 10px; align-items: flex-start; font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.lp-item h3 .h3-ico { width: 20px; height: 20px; margin-top: 1px; color: #4f5bd5; }
.lp-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.lp-item small { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--eyebrow); }

/* ---------- hodí se / nehodí se ---------- */
.lp-fit { display: grid; gap: 16px; }
.lp-fit__col { padding: 24px 22px; }
.lp-fit__col h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.lp-fit__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-fit__col li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.lp-fit__col--yes .h3-ico { color: #4f5bd5; }
.lp-fit__col--no .h3-ico { color: #c2410c; }
.lp-fit__col--no { background: rgba(255, 255, 255, .45); }

/* ---------- text + obrázek (případová studie) ---------- */
.lp-split { display: grid; gap: 32px; align-items: center; }
.lp-split .h3-h2 { margin-bottom: 20px; }
.lp-phone { width: min(250px, 66vw); margin: 0 auto; aspect-ratio: 480 / 1039; overflow: hidden; border-radius: 38px; border: 9px solid #0a1233; background: #0a1233; box-shadow: 0 30px 60px -24px rgba(16, 30, 82, .55); }
.lp-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- galerie ---------- */
.lp-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lp-gallery figure { margin: 0; }
.lp-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: #1b2240; box-shadow: 0 20px 40px -26px rgba(16, 30, 82, .6); }
.lp-gallery figcaption { margin-top: 8px; font-size: 13px; line-height: 1.4; text-align: center; color: var(--muted); }

/* ---------- ceník: doplňky ---------- */
.lp .h3-plan--main .h3-plan__price { color: #fff; }
.lp .h3-plan--main .h3-plan__name { color: #fff; }
.lp .h3-plan .h3-btn { margin-top: auto; }
.lp-chips-h { margin: 28px 0 10px; text-align: center; font-size: 15px; font-weight: 700; color: var(--ink); }
.lp-chips { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-chips li { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy); background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); }

/* ---------- poznámka pod sekcí ---------- */
.lp-after { margin: 20px auto 0; max-width: 820px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--muted); }
/* dotyková plocha 44 px bez roztažení řádku (záporný okraj vyrovná padding) */
.lp-after a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- tabulka čísel: 3 sloupce ---------- */
.lp-table td a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--navy); font-weight: 700; }

/* ---------- důkaz: popisky produktů ---------- */
.lp .h3-products li { line-height: 1.35; }

/* ---------- odkazy „kam dál“ ---------- */
.lp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-linkcard { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.lp-linkcard:hover { transform: translateY(-3px); box-shadow: 0 26px 48px -26px rgba(21, 43, 112, .45); }
.lp-linkcard__type { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
.lp-linkcard__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 18px; line-height: 1.3; font-weight: 800; color: var(--navy); }
.lp-linkcard__title svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.lp-linkcard:hover .lp-linkcard__title svg { transform: translateX(3px); }
.lp-linkcard__desc { font-size: 15px; line-height: 1.5; color: var(--muted); }
.lp a.lp-linkcard:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; border-radius: 26px; }

/* ---------- kontakt pod formulářem ---------- */
.lp-alt { margin: 0 auto; padding: 0 20px 56px; max-width: 760px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--muted); }
.lp-alt a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--navy); font-weight: 700; }

/* ---------- tablet a desktop ---------- */
@media (min-width: 768px) {
  .lp-grid, .lp-links { grid-template-columns: repeat(2, 1fr); }
  .lp-fit { grid-template-columns: 1fr 1fr; }
  .lp-gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .lp-facts { padding: 28px 28px 16px; }
}
@media (min-width: 768px) {
  .lp-hero + .h3-sec { padding-top: 48px; }
}
@media (min-width: 1024px) {
  .lp-def { grid-template-columns: 7fr 5fr; gap: 56px; }
  .lp-facts { position: sticky; top: 96px; }
  .lp-grid--3, .lp-links { grid-template-columns: repeat(3, 1fr); }
  .lp-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .lp-split { grid-template-columns: 7fr 5fr; gap: 64px; }
  .lp-phone { width: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-linkcard, .lp-linkcard__title svg { transition: none; }
}

/* ---------- úzký textový sloupec (příběh v případové studii) ---------- */
.lp-narrow { max-width: 820px; }
