/* Landing pages (/routes/…, /services/…) and the guide (/guide…) – SEO, PO 2026-11-17. Tokens only; the trip cards come
   from home-launch.css (the same component as on the home page). Navy hero under the white header, light sections. */
.lp { display: block; flex: 1; background: var(--c-surface); color: var(--c-text); }
.lp h2 { margin: 0 0 var(--sp-4); color: var(--c-navy); font-size: var(--fs-2xl); font-weight: var(--fw-bold); line-height: var(--lh-snug); letter-spacing: var(--ls-heading); }
.lp h3 { margin: 0 0 var(--sp-2); color: var(--c-navy); font-size: var(--fs-lg); font-weight: var(--fw-semibold); line-height: var(--lh-snug); }
.lp p { line-height: var(--lh-body); }
.lp :where(a:not(.btn):not(.home-trip)) { color: var(--c-navy); text-underline-offset: 3px; }
.lp :where(a:not(.btn):not(.home-trip)):hover { color: var(--c-slate); }
/* One left edge and the full width of the header for everything (PO 2026-11-17). */

/* Breadcrumbs: quiet, no underline (on hover only), a light chevron between; on navy inside the hero, on white otherwise. */
.lp-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); margin: 0; padding: var(--sp-5) 0 0;
  list-style: none; font-size: var(--fs-sm); line-height: var(--lh-snug); color: var(--c-muted); }
.lp-crumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.lp-crumbs li + li::before { content: ""; flex: none; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .6; margin-right: var(--sp-1); }
.lp .lp-crumbs a { color: var(--c-navy); text-decoration: none; }
.lp .lp-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-crumbs li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-hero .lp-crumbs ol { padding: 0; margin-bottom: var(--sp-6); color: var(--c-mist); }
.lp-hero .lp-crumbs li[aria-current] { color: var(--c-mist); }
.lp .lp-hero .lp-crumbs a { color: var(--c-surface); }

/* Hero */
.lp-hero { background: var(--c-navy-surface); color: var(--c-surface); padding-block: var(--sp-5) var(--sp-8); }
.lp-hero__inner { display: grid; gap: var(--sp-6); align-items: center; }
.lp-hero__map { display: none; width: 100%; height: auto; }
.lp-eyebrow { margin: 0 0 var(--sp-3); color: var(--c-mist); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.lp-eyebrow--dark { color: var(--c-muted); }
.lp-hero h1 { margin: 0; color: var(--c-surface); font-size: var(--fs-4xl); font-weight: var(--fw-bold); line-height: var(--lh-tight); letter-spacing: var(--ls-heading); text-wrap: balance; }
.lp-lead { margin: var(--sp-4) 0 0; max-width: 40rem; color: var(--c-mist); font-size: var(--fs-lg); }
.lp-lead--dark { color: var(--c-text); }
.lp-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.lp-btn-light { background: var(--c-surface); color: var(--c-navy); }
.lp-btn-light:hover { background: var(--c-mist); }
.lp-btn-ghost { border-color: var(--c-mist); color: var(--c-surface); background: transparent; }
.lp-btn-ghost:hover { background: var(--c-navy-2); }
.lp-hero .btn:focus-visible { box-shadow: var(--focus-ring); }
.lp-pairs { margin-top: var(--sp-6); }
.lp-pairs__label { margin: 0 0 var(--sp-2); color: var(--c-mist); font-size: var(--fs-sm); }
.lp-pairs ul { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.lp .lp-pairs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--sp-3); border: 1px solid var(--c-slate); border-radius: var(--r-full); color: var(--c-surface); font-size: var(--fs-sm); text-decoration: none; }
.lp .lp-pairs a:hover { border-color: var(--c-mist); background: var(--c-navy-2); color: var(--c-surface); }

/* Sections */
.lp-section { padding-block: var(--sp-6); }
.lp-section--tint, .lp-cta { padding-block: var(--sp-7); }
.lp-section--tint { background: var(--c-bg); }
.lp-hero + .lp-section, .lp-section--tint + .lp-section, .lp-section:last-child { padding-top: var(--sp-7); }
.lp-section__lead { margin: calc(-1 * var(--sp-2)) 0 var(--sp-5); color: var(--c-muted); }
.lp-prose p { margin: 0 0 var(--sp-4); }
.lp-prose ul { margin: 0 0 var(--sp-4); padding-left: var(--sp-5); }
.lp-prose li { margin-bottom: var(--sp-2); line-height: var(--lh-body); }
.lp-note { margin: var(--sp-3) 0 0; color: var(--c-muted); font-size: var(--fs-sm); }

.lp-steps { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.lp-steps li { position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-4) calc(var(--sp-4) + 40px); border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.lp-steps p, .lp-items p { margin: 0; color: var(--c-muted); }
.lp-steps__n { position: absolute; left: var(--sp-4); top: var(--sp-4); display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-full); background: var(--c-navy); color: var(--c-surface); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.lp-items { display: grid; gap: var(--sp-5); margin: 0 0 var(--sp-4); padding: 0; list-style: none; }
.lp-items li { padding-left: var(--sp-4); border-left: 2px solid var(--c-navy); }

.lp-live + .lp-live { margin-top: var(--sp-6); }
.lp-live h3 { margin-bottom: 0; }
.lp-empty { margin: var(--sp-3) 0 0; padding: var(--sp-4); border: 1px dashed var(--c-border-strong); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-muted); }

/* Example card + screenshot */
.lp-show { display: grid; gap: var(--sp-6); align-items: center; }
.lp .lp-show__card { margin-top: var(--sp-5); max-width: 26rem; grid-template-columns: minmax(0, 1fr); }
.lp-shot { justify-self: center; margin: 0; max-width: 300px; text-align: center; }
.lp-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.lp-shot figcaption { margin-top: var(--sp-3); color: var(--c-muted); font-size: var(--fs-sm); }

/* FAQ */
.lp-faq details { border-bottom: 1px solid var(--c-border); }
.lp-faq details:first-child { border-top: 1px solid var(--c-border); }
.lp-faq summary { display: flex; justify-content: space-between; gap: var(--sp-4); align-items: center; min-height: 48px; padding: var(--sp-3) 0; color: var(--c-navy); font-weight: var(--fw-semibold); cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; flex: none; font-size: var(--fs-xl); font-weight: var(--fw-regular); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }
.lp-faq p { margin: 0 0 var(--sp-4); color: var(--c-text); }


.lp-cta { background: var(--c-navy-surface); color: var(--c-mist); text-align: center; }
.lp-cta__inner > * { margin-inline: auto; }
.lp .lp-cta h2 { color: var(--c-surface); }
.lp-cta p { margin: 0 auto var(--sp-5); max-width: 36rem; }

/* "Перевізники на цьому напрямку" (real driver profiles) and the direction overview /routes */
.lp-drivers, .lp-route-cards { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.lp-drivers li, .lp-route-cards li { display: grid; }
.lp .lp-driver, .lp .lp-route-card { display: grid; align-items: center; gap: var(--sp-3); padding: var(--sp-4); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); background: var(--c-surface); color: var(--c-text); text-decoration: none; }
.lp .lp-driver { grid-template-columns: 56px minmax(0, 1fr); }
.lp .lp-driver:hover, .lp .lp-route-card:hover { border-color: var(--c-input-border); }
.lp .lp-driver:focus-visible, .lp .lp-route-card:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lp-driver__photo { width: 56px; height: 56px; border-radius: var(--r-full); object-fit: cover; background: var(--c-info-soft); }
.lp-driver__photo--initials { display: grid; place-items: center; background: var(--c-navy); color: var(--c-surface); font-weight: var(--fw-semibold); }
.lp-driver__text { display: grid; gap: 2px; min-width: 0; }
.lp-driver__name { color: var(--c-navy); font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
.lp-driver__meta, .lp-driver__trips { color: var(--c-muted); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.lp .lp-driver:hover .lp-driver__name, .lp .lp-route-card:hover .lp-route-card__title { text-decoration: underline; text-underline-offset: 3px; }
.lp-drivers__more { margin: var(--sp-4) 0 0; color: var(--c-muted); }
.lp .lp-route-card { grid-template-columns: minmax(0, 1fr) auto; min-height: 64px; }
.lp-route-card__title { color: var(--c-navy); font-weight: var(--fw-semibold); }
.lp-route-card__count { padding: 2px var(--sp-2); border-radius: var(--r-full); background: var(--c-success-soft); color: var(--c-success);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); white-space: nowrap; }
.lp-route-card__none { color: var(--c-muted); font-size: var(--fs-sm); white-space: nowrap; }
.lp-route-cards + h3 { margin-top: var(--sp-6); }
.lp-city-links { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.lp .lp-city-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4); border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md); background: var(--c-surface); color: var(--c-navy); font-weight: var(--fw-semibold); text-decoration: none; }
.lp .lp-city-links a:hover { border-color: var(--c-navy); }
.lp .lp-city-links a:focus-visible { outline: none; box-shadow: var(--focus-ring); }
@media (min-width: 640px) {
  .lp-drivers, .lp-route-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .lp-drivers, .lp-route-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Guide */
.lp-articles { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.lp-articles li { display: grid; }
.lp .lp-article-card { display: grid; align-content: start; gap: var(--sp-2); padding: var(--sp-5); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); background: var(--c-surface); color: var(--c-text); text-decoration: none; }
.lp .lp-article-card:hover { border-color: var(--c-input-border); }
.lp .lp-article-card:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lp-article-card__topic { justify-self: start; padding: 2px var(--sp-2); border-radius: var(--r-full); background: var(--c-info-soft);
  color: var(--c-navy); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.lp-article-card__title { color: var(--c-navy); font-size: var(--fs-xl); font-weight: var(--fw-semibold); line-height: var(--lh-snug); letter-spacing: var(--ls-heading); }
.lp-article-card__text { color: var(--c-muted); line-height: var(--lh-body); }
.lp-article-card__more { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); margin-top: var(--sp-2);
  color: var(--c-navy); font-weight: var(--fw-semibold); }
.lp .lp-article-card:hover .lp-article-card__more { text-decoration: underline; text-underline-offset: 3px; }
.lp-article-card__time { margin-left: auto; color: var(--c-muted); font-size: var(--fs-sm); font-weight: var(--fw-regular); }
.lp-meta { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.lp-article { padding-block: var(--sp-5) var(--sp-7); }
.lp-article h1 { margin: 0 0 var(--sp-4); color: var(--c-navy); font-size: var(--fs-4xl); font-weight: var(--fw-bold); line-height: var(--lh-tight); letter-spacing: var(--ls-heading); text-wrap: balance; }
.lp-article__head { margin-bottom: var(--sp-6); }
.lp-toc { margin: 0 0 var(--sp-7); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-lg); background: var(--c-info-soft); }
.lp .lp-toc h2 { margin-bottom: var(--sp-2); font-size: var(--fs-base); }
.lp-toc ol { margin: 0; padding: 0; list-style: none; }
.lp-toc li { margin-bottom: var(--sp-1); line-height: var(--lh-body); }
.lp-article__section { scroll-margin-top: var(--sp-5); }
/* Wide screens: the text on the left, "Зміст" next to it (sticky) – the article fills the width of the header. */
@media (min-width: 1024px) {
  .lp-article { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; column-gap: var(--sp-8); align-items: start; }
  .lp-article > * { grid-column: 1; }
  .lp-article > .lp-toc { grid-column: 2; grid-row: 1 / span 200; position: sticky; top: var(--sp-5); margin: var(--sp-7) 0 0; }
  .lp-article > .lp-toc a { font-size: var(--fs-sm); }
}
.lp .lp-article__section h2 { margin-top: var(--sp-6); font-size: var(--fs-xl); }
.lp-article__cta { margin-top: var(--sp-7); padding: var(--sp-5); border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.lp .lp-article__cta h2 { font-size: var(--fs-xl); }
.lp-article__cta p { margin: 0 0 var(--sp-4); color: var(--c-muted); }

@media (min-width: 720px) {
  .lp-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-items { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (min-width: 900px) {
  .lp-steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .lp-hero { padding-block: var(--sp-5) var(--sp-9); }
  .lp-hero .lp-crumbs ol { margin-bottom: var(--sp-7); }
  .lp-hero__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .lp-hero__map { display: block; }
  .lp-show { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .lp-section--tint, .lp-cta { padding-block: var(--sp-8); }
  .lp-hero + .lp-section, .lp-section--tint + .lp-section { padding-top: var(--sp-8); }
  .lp-section--tint .home-trips__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-articles--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-articles--related .lp-article-card__title { font-size: var(--fs-lg); }
}

/* The shared footer keeps a gap above it on other pages; here the page ends with its own navy block or white text. */
.lp + .pz-footer { margin-top: 0; }

/* "Співпраця": ready texts to copy */
.lp-share { display: grid; gap: var(--sp-5); }
.lp-share__item { display: grid; gap: var(--sp-2); padding: var(--sp-5); border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-surface); }
.lp-share__title { color: var(--c-navy); font-weight: var(--fw-semibold); }
.lp-share__text { min-height: 13rem; resize: vertical; background: var(--c-bg); }
.lp-share__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.lp-share__done { color: var(--c-success); font-size: var(--fs-sm); }
@media (min-width: 900px) { .lp-share { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* "Як це виглядає": real images of the product (lib/landing-shots.js) – phone shots narrow, wide shots wider. */
.lp-gallery { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--sp-6); }
.lp-gallery__item { margin: 0; }
.lp-gallery__item img { display: block; width: 100%; height: auto; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-surface); }
.lp-gallery__item--phone { flex: 0 1 280px; }
.lp-gallery__item--wide { flex: 1 1 520px; }
.lp-gallery__item figcaption { margin-top: var(--sp-3); color: var(--c-text); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.lp-gallery__label { display: inline-block; margin-left: var(--sp-1); padding: 1px var(--sp-2); border-radius: var(--r-full); background: var(--c-info-soft);
  color: var(--c-navy); font-size: var(--fs-xs); font-weight: var(--fw-semibold); white-space: nowrap; }
.lp-article__image { margin: 0 0 var(--sp-6); }
.lp-article__image.lp-gallery__item--phone { max-width: 280px; }
@media (max-width: 599px) { .lp-gallery__item--phone { flex-basis: 100%; max-width: 320px; } }

/* /trips "Усі поїздки" (PO 2026-11-23): filter chips as links, "Показати ще". */
.lp-chips ul { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0 0 var(--sp-4); padding: 0; list-style: none; }
.lp .lp-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-3); border: 1px solid var(--c-input-border);
  border-radius: var(--r-md); background: var(--c-surface); color: var(--c-navy); font-weight: var(--fw-semibold); text-decoration: none; }
.lp .lp-chip:hover { border-color: var(--c-navy); }
.lp .lp-chip:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lp .lp-chip[aria-current="page"] { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-surface); }
.lp-more { margin: var(--sp-5) 0 0; text-align: center; }
